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

Disassembly:
push 0xb8
mov eax, 0x10139544
call fcn.1011094a
mov esi, dword [ebp + 8]
xor eax, eax
push eax
xor ebx, ebx
mov dword [ebp - 0x48], esi
push 2
inc ebx
mov dword [ebp - 0x4c], esi
push 6
mov dword [ebp - 0x44], ebx
mov byte [esi], al
mov dword [ebp - 4], eax
call fcn.10063887
add esp, 0xc
test al, al
je 0x100f3b38
push 0
mov byte [esi], 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x100f39d7
xor eax, eax
push eax
push eax
push eax
push 3
push eax
push eax
push eax
push 0xffffffffffffffff
push eax
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
js 0x100f39d1
lea eax, [ebp - 0x38]
xor esi, esi
push eax
push 0x101a5578
push ebx
push esi
push 0x101a5568
mov dword [ebp - 0x38], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x100f39d1
push str.ROOTCIMV2
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x34], esi
call fcn.100eecbe
mov eax, dword [eax]
mov byte [ebp - 4], bl
test eax, eax
je 0x100f395a
mov ecx, dword [eax]
jmp 0x100f395c
mov ecx, esi
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x34]
push edx
xor edx, edx
push edx
mov esi, dword [eax]
push edx
push edx
push edx
push edx
push edx
push ecx
mov ecx, dword [esi + 0xc]
push eax
call dword [0x1014488c]
call dword [esi + 0xc]
mov ecx, dword [ebp - 0x18]
mov esi, eax
xor eax, eax
mov byte [ebp - 4], al
test ecx, ecx
je 0x100f3990
call fcn.100f3e41
xor eax, eax
test esi, esi
js 0x100f39be
push eax
push eax
push 3
push 3
push eax
push eax
push 0xa
push dword [ebp - 0x34]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x100f39df
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x1014488c]
call esi
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x1014488c]
call esi
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
inc eax
jmp 0x100f3c9f
and dword [ebp - 0x40], 0
lea ecx, [ebp - 0x18]
push str.SELECT__FROM_Win32_ComputerSystem
call fcn.100eec6e
mov esi, eax
push 0x101a159c
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
call fcn.100eec6e
mov ecx, eax
mov eax, dword [esi]
mov byte [ebp - 4], 3
test eax, eax
je 0x100f3a13
mov edx, dword [eax]
jmp 0x100f3a15
xor edx, edx
mov eax, dword [ecx]
test eax, eax
je 0x100f3a1f
mov ecx, dword [eax]
jmp 0x100f3a21
xor ecx, ecx
mov eax, dword [ebp - 0x34]
lea edi, [ebp - 0x40]
push edi
push 0
push 0x30
mov esi, dword [eax]
push edx
push ecx
push eax
mov ecx, dword [esi + 0x50]
call dword [0x1014488c]
call dword [esi + 0x50]
mov ecx, dword [ebp - 0x3c]
mov esi, eax
test ecx, ecx
je 0x100f3a4f
call fcn.100f3e41
and dword [ebp - 0x3c], 0
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 0
test ecx, ecx
je 0x100f3a5f
call fcn.100f3e41
test esi, esi
js 0x100f39ab
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x100f3af0
mov esi, dword [eax]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, dword [esi + 0x10]
push 1
push 0xffffffffffffffff
push eax
call dword [0x1014488c]
call dword [esi + 0x10]
cmp dword [ebp - 0x18], 0
je 0x100f3af0
xor eax, eax
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
lea ecx, [ebp - 0x28]
xor ebx, ebx
push ebx
push ebx
stosd dword es:[edi], eax
push ecx
push ebx
push 0x101a15a0
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp - 0x3c]
push eax
mov esi, dword [eax]
mov ecx, dword [esi + 0x10]
call dword [0x1014488c]
call dword [esi + 0x10]
cmp word [ebp - 0x20], bx
mov ecx, dword [ebp - 0x48]
setne al
mov dword [ebp - 0x44], ebx
mov byte [ecx], al
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x1014488c]
call esi
and dword [ebp - 0x3c], ebx
jmp 0x100f3a6b
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x1014488c]
call esi
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x1014488c]
call esi
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x1014488c]
call esi
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp ebx, 1
jne 0x100f3c9d
xor eax, eax
lea edi, [ebp - 0x24]
stosd dword es:[edi], eax
xor ecx, ecx
push ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
inc eax
lea edi, [ebp - 0x28]
cpuid
mov esi, ebx
pop ebx
mov dword [edi], eax
mov dword [edi + 4], esi
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
mov eax, dword [ebp - 0x20]
sar eax, 0x1f
test al, 1
je 0x100f3c9a
mov eax, dword [ebp - 0x48]
xor ebx, ebx
mov byte [eax], 1
jmp 0x100f3c9d
mov ebx, dword [ebp - 0x44]
mov eax, ebx
call fcn.10110897
ret