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

Disassembly:
push 0x2c
mov eax, 0x4395b4
call fcn.00424c95
lea eax, [ebp - 0x14]
xor edi, edi
push eax
push 0x43d9f0
inc edi
xor ebx, ebx
push edi
push ebx
push 0x43dac0
mov dword [ebp - 0x14], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4103f6
push str.ROOTCIMV2
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x10], ebx
call fcn.004100e0
mov eax, dword [eax]
mov dword [ebp - 4], ebx
test eax, eax
je 0x410238
mov ecx, dword [eax]
jmp 0x41023a
mov ecx, ebx
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
push edx
push ebx
push ebx
mov esi, dword [eax]
push ebx
push ebx
push ebx
push ebx
push ecx
mov ecx, dword [esi + 0xc]
push eax
call dword [0x43b27c]
call dword [esi + 0xc]
or dword [ebp - 4], 0xffffffff
mov esi, eax
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x410269
call fcn.004101bb
test esi, esi
js 0x4103e3
push ebx
push ebx
push 3
push 3
push ebx
push ebx
push 0xa
push dword [ebp - 0x10]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x4103d0
push str.SELECT__FROM_Win32_OperatingSystem
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x1c], ebx
call fcn.00410095
mov esi, eax
push 0x43bbe0
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], edi
call fcn.00410095
mov ecx, dword [esi]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x4102bc
mov edx, dword [ecx]
jmp 0x4102be
mov edx, ebx
mov eax, dword [eax]
test eax, eax
je 0x4102c8
mov ecx, dword [eax]
jmp 0x4102ca
mov ecx, ebx
mov eax, dword [ebp - 0x10]
lea edi, [ebp - 0x1c]
push edi
push ebx
push 0x30
mov esi, dword [eax]
push edx
push ecx
push eax
mov ecx, dword [esi + 0x50]
call dword [0x43b27c]
call dword [esi + 0x50]
mov ecx, dword [ebp - 0x20]
mov esi, eax
test ecx, ecx
je 0x4102f6
call fcn.004101bb
mov dword [ebp - 0x20], ebx
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x410306
call fcn.004101bb
test esi, esi
js 0x4103d0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4103d0
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x18], ebx
push ecx
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x24], ebx
mov esi, dword [eax]
push ecx
push 1
push 0xffffffffffffffff
mov ecx, dword [esi + 0x10]
push eax
call dword [0x43b27c]
call dword [esi + 0x10]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x410393
cmp dword [ebp - 0x24], 0
jbe 0x410393
mov esi, dword [eax]
lea ecx, [ebp - 0x38]
push ebx
push ebx
push ecx
mov ecx, dword [esi + 0x10]
push ebx
push 0x43bbe4
push eax
call dword [0x43b27c]
call dword [esi + 0x10]
push str.Windows_10
push dword [ebp - 0x30]
call fcn.00428388
pop ecx
test eax, eax
lea eax, [ebp - 0x38]
pop ecx
push eax
setne bl
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x43b27c]
call esi
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x43b27c]
call esi
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x43b27c]
call esi
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ecx]
mov esi, dword [edx + 8]
mov ecx, esi
call dword [0x43b27c]
call esi
mov al, bl
jmp 0x4103f8
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x43b27c]
call esi
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x43b27c]
call esi
xor al, al
call fcn.00424c63
ret