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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65adf4
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x50
mov eax, dword [0x6d6ec0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x54], esi
push 0
push 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
push 0
test eax, eax
js 0x42e79b
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 0x42e793
lea eax, [ebp - 0x38]
push eax
push 0x699d6c
push 1
push 0
push 0x699d7c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x42e793
mov eax, dword [ebp - 0x38]
push 0xc
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x58], eax
call fcn.0061f577
mov edi, eax
add esp, 4
mov dword [ebp - 0x54], edi
mov dword [ebp - 4], 0
test edi, edi
je 0x42e56c
xorps xmm0, xmm0
movq qword [edi], xmm0
mov dword [edi + 8], 0
push str.ROOTCIMV2
mov dword [edi + 4], 0
mov dword [edi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [edi], eax
test eax, eax
je 0x42e869
jmp 0x42e56e
xor edi, edi
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x54], edi
test edi, edi
je 0x42e873
lea eax, [ebp - 0x34]
mov dword [ebp - 4], 1
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push dword [edi]
push dword [ebp - 0x38]
call dword [ebp - 0x58]
mov dword [ebp - 0x18], eax
or ecx, 0xffffffff
mov dword [ebp - 4], 0xffffffff
lock xadd dword [edi + 8], ecx
dec ecx
jne 0x42e5ec
mov ecx, dword [edi]
test ecx, ecx
je 0x42e5c7
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x42e5de
push eax
call fcn.0061f486
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
call fcn.0061f90d
mov eax, dword [ebp - 0x18]
add esp, 8
test eax, eax
js 0x42e78a
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [ebp - 0x34]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
mov eax, dword [ebp - 0x34]
js 0x42e784
mov eax, dword [eax]
lea ecx, [ebp - 0x54]
push str.SELECT__FROM_Win32_OperatingSystem
mov eax, dword [eax + 0x50]
mov dword [ebp - 0x5c], eax
call fcn.00410aa0
mov dword [ebp - 4], 2
mov edi, dword [eax]
test edi, edi
je 0x42e63c
mov edi, dword [edi]
jmp 0x42e63e
xor edi, edi
push 0x6a7414
lea ecx, [ebp - 0x58]
call fcn.00410aa0
mov byte [ebp - 4], 3
mov eax, dword [eax]
test eax, eax
je 0x42e659
mov eax, dword [eax]
jmp 0x42e65b
xor eax, eax
lea ecx, [ebp - 0x40]
push ecx
push 0
push 0x30
push edi
push eax
push dword [ebp - 0x34]
call dword [ebp - 0x5c]
mov edi, dword [ebp - 0x58]
mov dword [ebp - 0x5c], eax
test edi, edi
je 0x42e6c0
or ecx, 0xffffffff
lock xadd dword [edi + 8], ecx
dec ecx
jne 0x42e6b9
test edi, edi
je 0x42e6b9
mov eax, dword [edi]
test eax, eax
je 0x42e697
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x42e6ae
push eax
call fcn.0061f486
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
call fcn.0061f90d
add esp, 8
mov dword [ebp - 0x58], 0
mov dword [ebp - 4], 0xffffffff
mov edi, dword [ebp - 0x54]
test edi, edi
je 0x42e712
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
dec eax
jne 0x42e712
test edi, edi
je 0x42e712
mov eax, dword [edi]
test eax, eax
je 0x42e6f0
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x42e707
push eax
call fcn.0061f486
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
call fcn.0061f90d
add esp, 8
cmp dword [ebp - 0x5c], 0
jl 0x42e781
mov ecx, dword [ebp - 0x40]
test ecx, ecx
je 0x42e781
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
nop word [eax + eax]
lea edx, [ebp - 0x18]
mov dword [ebp - 0x18], 0
mov eax, dword [ecx]
push edx
lea edx, [ebp - 0x3c]
push edx
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
cmp dword [ebp - 0x18], 0
je 0x42e781
mov ecx, dword [ebp - 0x3c]
lea edx, [ebp - 0x50]
push 0
push 0
push edx
mov eax, dword [ecx]
push 0
push str.Caption
push ecx
call dword [eax + 0x10]
test eax, eax
jns 0x42e7db
lea eax, [ebp - 0x50]
push eax
call edi
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 0x40]
test ecx, ecx
jne 0x42e730
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
push 0
xorps xmm0, xmm0
mov ecx, esi
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
push 0x6a6438
mov dword [esi + 0x14], 0
call fcn.00423ce0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0061f478
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov edx, dword [ebp - 0x48]
xorps xmm0, xmm0
mov ecx, edx
mov dword [ebp - 0x20], 0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x1c], 0
lea eax, [ecx + 2]
mov dword [ebp - 0x54], eax
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42e800
sub ecx, dword [ebp - 0x54]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x30]
call fcn.00423ce0
lea eax, [ebp - 0x50]
mov dword [ebp - 4], 4
push eax
call edi
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
call fcn.00405680
lea ecx, [ebp - 0x30]
call fcn.00406410
jmp 0x42e7bb
push 0x8007000e
call fcn.0061eef0
push 0x8007000e
call fcn.0061eef0
int3