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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push 2
xor ebx, ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
push ebx
push ebx
push ebx
push 3
push ebx
push ebx
neg eax
push ebx
sbb al, al
push 0xffffffffffffffff
inc al
push ebx
mov byte [ebp - 1], al
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
cmp eax, ebx
jge 0x401049
cmp eax, 0x80010119
je 0x401049
cmp byte [ebp - 1], bl
je 0x401042
call dword [sym.imp.ole32.dll_CoUninitialize]
xor al, al
jmp 0x40129f
lea eax, [ebp - 0x14]
push eax
push 0x4020bc
push 1
push ebx
push 0x40218c
mov dword [ebp - 0x14], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x401076
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x401037
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x401037
push esi
push edi
mov edi, dword [ebp - 0x14]
push str.ROOTCIMV2
lea esi, [ebp - 0x1c]
mov dword [ebp - 0x10], ebx
call fcn.00401482
mov eax, dword [eax]
mov ecx, dword [edi]
lea edx, [ebp - 0x10]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push edi
call dword [ecx + 0xc]
push dword [ebp - 0x1c]
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov esi, eax
call edi
cmp esi, ebx
jl 0x401236
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
mov eax, dword [ebp - 0x10]
jl 0x401239
push str.SELECT__FROM_Win32_ComputerSystem
lea esi, [ebp - 0x28]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x1c], eax
call fcn.00401482
mov eax, dword [eax]
push 0x4023d8
lea esi, [ebp - 0x24]
mov dword [ebp - 0x20], eax
call fcn.00401482
mov eax, dword [eax]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
lea esi, [ebp - 0xc]
push esi
push ebx
push 0x30
push dword [ebp - 0x20]
push eax
push ecx
call dword [edx + 0x50]
push dword [ebp - 0x24]
mov esi, eax
call edi
push dword [ebp - 0x28]
call edi
cmp esi, ebx
mov eax, dword [ebp - 0xc]
jl 0x40122c
lea edx, [ebp - 0x18]
push edx
lea edx, [ebp - 8]
push edx
push 1
push 0xffffffffffffffff
mov dword [ebp - 8], ebx
mov dword [ebp - 0x18], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
test eax, eax
mov eax, dword [ebp - 8]
jl 0x40121f
mov ecx, dword [eax]
push ebx
push ebx
push dword [ebp + 8]
push ebx
push str.Manufacturer
push eax
call dword [ecx + 0x10]
test eax, eax
mov eax, dword [ebp - 8]
jl 0x40121f
mov ecx, dword [eax]
push ebx
push ebx
push dword [ebp + 0xc]
push ebx
push str.Model
push eax
call dword [ecx + 0x10]
test eax, eax
mov eax, dword [ebp - 8]
jl 0x40121f
cmp eax, ebx
je 0x40118b
mov dword [ebp - 8], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xc]
cmp eax, ebx
je 0x40119b
mov dword [ebp - 0xc], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
push str.SELECT__FROM_Win32_BIOS
lea esi, [ebp - 0x1c]
mov dword [ebp - 0x28], eax
call fcn.00401482
mov eax, dword [eax]
push 0x4023d8
lea esi, [ebp - 0x20]
mov dword [ebp - 0x24], eax
call fcn.00401482
mov eax, dword [eax]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx]
lea esi, [ebp - 0xc]
push esi
push ebx
push 0x30
push dword [ebp - 0x24]
push eax
push ecx
call dword [edx + 0x50]
push dword [ebp - 0x20]
mov esi, eax
call edi
push dword [ebp - 0x1c]
call edi
cmp esi, ebx
jge 0x4011eb
mov eax, dword [ebp - 8]
jmp 0x40121f
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
lea edx, [ebp - 0x18]
push edx
lea edx, [ebp - 8]
push edx
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
test eax, eax
mov eax, dword [ebp - 8]
jl 0x40121f
mov ecx, dword [eax]
push ebx
push ebx
push dword [ebp + 0x10]
push ebx
push str.Version
push eax
call dword [ecx + 0x10]
test eax, eax
mov eax, dword [ebp - 8]
jge 0x40125f
cmp eax, ebx
je 0x401229
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xc]
cmp eax, ebx
je 0x401236
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x401243
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x401250
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp byte [ebp - 1], bl
je 0x40125b
call dword [sym.imp.ole32.dll_CoUninitialize]
xor al, al
jmp 0x40129d
cmp eax, ebx
je 0x401269
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xc]
cmp eax, ebx
je 0x401276
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x401283
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x401290
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp byte [ebp - 1], bl
je 0x40129b
call dword [sym.imp.ole32.dll_CoUninitialize]
mov al, 1
pop edi
pop esi
pop ebx
leave
ret