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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47b24c
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x48d1f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 0x48086c
push 1
push 0
push 0x48093c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x42e3c6
push 0xc
mov dword [ebp - 0x10], 0
call fcn.004669a5
mov edi, eax
add esp, 4
mov dword [ebp - 0x28], edi
mov dword [ebp - 4], 0
test edi, edi
je 0x42e2f5
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 0x42e5d4
jmp 0x42e2f7
xor edi, edi
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x28], edi
test edi, edi
je 0x42e5de
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
push ecx
push 0
push 0
mov esi, dword [eax]
push 0
push 0
push 0
mov esi, dword [esi + 0xc]
mov ecx, esi
push 0
push dword [edi]
mov dword [ebp - 4], 1
push eax
call dword [0x47d2b8]
call esi
lea ecx, [edi + 8]
mov dword [ebp - 4], 0xffffffff
push ecx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x42e381
mov ecx, dword [edi]
test ecx, ecx
je 0x42e35f
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x42e376
push eax
call fcn.004669ec
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
call fcn.004669d5
add esp, 8
test esi, esi
js 0x42e3b3
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [ebp - 0x10]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x42e3da
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x47d2b8]
call esi
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x47d2b8]
call esi
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
push str.SELECT__FROM_Win32_OperatingSystem
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
call fcn.0042e110
mov esi, eax
push 0x47e100
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 2
call fcn.0042e110
mov ecx, dword [esi]
mov byte [ebp - 4], 3
test ecx, ecx
je 0x42e412
mov edx, dword [ecx]
jmp 0x42e414
xor edx, edx
mov eax, dword [eax]
test eax, eax
je 0x42e41e
mov ecx, dword [eax]
jmp 0x42e420
xor ecx, ecx
mov eax, dword [ebp - 0x10]
lea edi, [ebp - 0x18]
push edi
push 0
push 0x30
mov esi, dword [eax]
push edx
push ecx
push eax
mov esi, dword [esi + 0x50]
mov ecx, esi
call dword [0x47d2b8]
call esi
mov esi, dword [ebp - 0x20]
mov edi, eax
test esi, esi
je 0x42e494
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x42e48d
test esi, esi
je 0x42e48d
mov eax, dword [esi]
test eax, eax
je 0x42e46b
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x42e482
push eax
call fcn.004669ec
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.004669d5
add esp, 8
mov dword [ebp - 0x20], 0
mov esi, dword [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x42e4e9
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x42e4e9
test esi, esi
je 0x42e4e9
mov eax, dword [esi]
test eax, eax
je 0x42e4c7
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x42e4de
push eax
call fcn.004669ec
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.004669d5
add esp, 8
test edi, edi
js 0x42e3a0
mov eax, dword [ebp - 0x18]
xor bl, bl
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x24], 0
test eax, eax
je 0x42e587
mov esi, dword [eax]
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
mov esi, dword [esi + 0x10]
mov ecx, esi
push 1
push 0xffffffffffffffff
push eax
call dword [0x47d2b8]
call esi
cmp dword [ebp - 0x24], 0
je 0x42e587
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x38]
push 0
push 0
push ecx
mov esi, dword [eax]
push 0
push 0x47e104
push eax
mov esi, dword [esi + 0x10]
mov ecx, esi
call dword [0x47d2b8]
call esi
push str.Windows_10
push dword [ebp - 0x30]
call fcn.004690fb
add esp, 8
test eax, eax
setne al
or bl, al
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x47d2b8]
call esi
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x42e508
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x47d2b8]
call esi
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x47d2b8]
call esi
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ecx]
mov esi, dword [edx + 8]
mov ecx, esi
call dword [0x47d2b8]
call esi
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x8007000e
call fcn.00467e10
push 0x8007000e
call fcn.00467e10
int3