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

Disassembly:
mov eax, 0x495754
call fcn.004691dc
sub esp, 0xf0
push ebx
lea eax, [ebp - 0xfc]
push eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0xfc], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
xor ebx, ebx
cmp dword [ebp - 0xf8], 5
ja 0x459b45
jne 0x459b40
cmp dword [ebp - 0xf4], 1
jae 0x459b45
mov byte [ebp - 0xd], bl
jmp 0x459b49
mov byte [ebp - 0xd], 1
push ebx
push ebx
mov byte [ebp - 0xe], 1
call dword [sym.imp.ole32.dll_CoInitializeEx]
cmp eax, 0x80010106
jne 0x459b61
mov byte [ebp - 0xe], bl
jmp 0x459b69
cmp eax, ebx
jl 0x459cfe
push ebx
push ebx
push ebx
push 3
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push ebx
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
cmp eax, 0x80010119
je 0x459b89
cmp eax, ebx
jl 0x459cf3
mov dword [ebp - 0x18], ebx
lea eax, [ebp - 0x18]
push eax
push 0x4bc47c
push 1
push ebx
push 0x4bc54c
mov dword [ebp - 4], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x459ce2
mov dword [ebp - 0x14], ebx
push str.rootcimv2
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.00414450
mov eax, dword [eax]
cmp eax, ebx
mov byte [ebp - 4], 2
je 0x459bd0
mov edx, dword [eax]
jmp 0x459bd2
xor edx, edx
push esi
mov ecx, dword [ebp - 0x18]
mov esi, dword [ecx]
lea eax, [ebp - 0x14]
push eax
mov al, byte [ebp - 0xd]
neg al
push ebx
push ebx
sbb eax, eax
and eax, 0x80
push eax
push ebx
push ebx
push ebx
push edx
push ecx
call dword [esi + 0xc]
mov ecx, dword [ebp - 0x20]
cmp ecx, ebx
mov esi, eax
mov byte [ebp - 4], 1
je 0x459c05
call fcn.00414670
cmp esi, ebx
pop esi
jl 0x459cd2
push ebx
push ebx
push 3
push 3
push ebx
push ebx
push 0xa
push dword [ebp - 0x14]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov eax, str.SerialNumber
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x24], eax
push 3
lea eax, [ebp - 0x30]
push eax
push str.SELECT__FROM_Win32_BIOS
push dword [ebp - 0x14]
lea eax, [ebp - 0x68]
push eax
mov dword [ebp - 0x2c], str.Caption
mov dword [ebp - 0x28], str.Manufacturer
mov dword [ebp - 0x20], str.Model
call fcn.0045942c
add esp, 0x14
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x68]
push eax
push 3
mov byte [ebp - 4], 3
call fcn.00459a20
mov ecx, dword [ebp - 0x1c]
push ebx
lea eax, [ebp - 0x4c]
push eax
call fcn.004595c9
cmp dword [eax + 0x14], ebx
push ebx
push 1
lea ecx, [ebp - 0x4c]
sete byte [ebp - 0xd]
call fcn.00401c90
cmp byte [ebp - 0xd], bl
je 0x459cc7
push 2
lea eax, [ebp - 0x24]
push eax
push str.SELECT__FROM_Win32_PhysicalMedia
push dword [ebp - 0x14]
lea eax, [ebp - 0x4c]
push eax
call fcn.0045942c
add esp, 0x14
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x4c]
push eax
push ebx
mov byte [ebp - 4], 4
call fcn.00459a20
push ebx
push 1
lea ecx, [ebp - 0x4c]
call fcn.00401c90
push ebx
push 1
lea ecx, [ebp - 0x68]
call fcn.00401c90
mov eax, dword [ebp - 0x14]
cmp eax, ebx
mov byte [ebp - 4], bl
je 0x459ce2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x459cf3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp byte [ebp - 0xe], bl
je 0x459cfe
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 0xc]
xor al, al
pop ebx
mov dword fs:[0], ecx
leave
ret