Function at 0x101be98
Capabilities:
Check os version
Connect to wmi namespace via wbemlocator
Reference wmi statements

Disassembly:
push 0x180
mov eax, 0x102cf9f
call fcn.01028cb5
xor ebx, ebx
mov dword [ebp - 0x170], ecx
mov dword [ebp - 0x158], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x164], ebx
mov dword [ebp - 0x160], ebx
mov dword [ebp - 0x168], ebx
mov dword [ebp - 0x15c], ebx
mov dword [ebp - 0x16c], ebx
add ecx, 0x108
mov byte [ebp - 4], 6
call fcn.0101bac5
push 0x118
lea eax, [ebp - 0x148]
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x14c]
push eax
mov dword [ebp - 0x14c], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push eax
call fcn.01019c6a
cmp dword [ebp - 0x148], 6
lea ecx, [ebp - 0x158]
jb 0x101bf2d
push 0x1003b98
jmp 0x101bf32
push 0x1003b80
call fcn.01018afc
lea eax, [ebp - 0x168]
push eax
push 0x101066c
push 1
push ebx
push 0x101073c
call dword [sym.imp.ole32.dll_CoCreateInstance]
push eax
call fcn.01018a3e
mov eax, dword [ebp - 0x168]
mov ecx, dword [eax]
lea edx, [ebp - 0x15c]
push edx
push ebx
push ebx
push 0x80
push ebx
push ebx
push ebx
push dword [ebp - 0x158]
push eax
call dword [ecx + 0xc]
push eax
call fcn.01018a3e
push ebx
push ebx
push 3
push 6
push ebx
push ebx
push 0xffffffffffffffff
push dword [ebp - 0x15c]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
push eax
call fcn.01018a3e
push 0x1003b78
lea ecx, [ebp - 0x164]
call fcn.01018afc
push 0x1003b20
lea ecx, [ebp - 0x160]
call fcn.01018afc
mov eax, dword [ebp - 0x15c]
mov ecx, dword [eax]
lea edx, [ebp - 0x16c]
push edx
push ebx
push 0x20
push dword [ebp - 0x160]
push dword [ebp - 0x164]
push eax
call dword [ecx + 0x50]
push eax
call fcn.01018a3e
xor esi, esi
mov edi, 0xc102
mov dword [ebp - 0x150], ebx
cmp esi, ebx
jne 0x101c0f5
mov eax, dword [ebp - 0x16c]
lea edx, [ebp - 0x178]
push edx
lea edx, [ebp - 0x150]
push edx
push 1
push 0xffffffffffffffff
mov dword [ebp - 0x178], ebx
mov ecx, dword [eax]
push eax
mov byte [ebp - 4], 7
call dword [ecx + 0x10]
mov esi, eax
cmp esi, ebx
jne 0x101c0d8
lea eax, [ebp - 0x18c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0x150]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x174]
push edx
lea edx, [ebp - 0x18c]
push edx
push ebx
push 0x1003afc
push eax
mov byte [ebp - 4], 8
call dword [ecx + 0x10]
push eax
call fcn.01018a3e
cmp dword [ebp - 0x174], 8
jne 0x101c0c7
push dword [ebp - 0x184]
lea ecx, [ebp - 0x30]
call fcn.0101ad14
mov ecx, dword [ebp - 0x170]
lea eax, [ebp - 0x30]
push eax
add ecx, 0x108
mov byte [ebp - 4], 9
call fcn.0101be53
push edi
call fcn.0102728b
cmp eax, ebx
je 0x101c0b8
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x101c0a9
lea eax, [ebp - 0x2c]
push eax
push 0x1003a68
push edi
call fcn.01027339
add esp, 0xc
push ebx
push 1
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 8
call fcn.0101aa32
lea eax, [ebp - 0x18c]
push eax
mov byte [ebp - 4], 7
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x150]
mov byte [ebp - 4], 6
cmp eax, ebx
je 0x101bfeb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x101bfeb
mov dword [ebp - 4], 5
jmp 0x101c147
cmp dword [ebp - 0x150], ebx
mov eax, dword [ebp - 0x16c]
setge byte [ebp - 0x151]
mov byte [ebp - 4], 4
cmp eax, ebx
je 0x101c168
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x15c]
mov byte [ebp - 4], 3
cmp eax, ebx
je 0x101c17c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x168]
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x101c190
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 1
cmp dword [ebp - 0x160], ebx
je 0x101c1a8
push dword [ebp - 0x160]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], bl
cmp dword [ebp - 0x164], ebx
je 0x101c1bf
push dword [ebp - 0x164]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x158], ebx
je 0x101c1d7
push dword [ebp - 0x158]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov al, byte [ebp - 0x151]
call fcn.01028d20
ret