Function at 0x408ef0
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
xor ebx, ebx
push ebx
push ebx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0xc], 2
mov dword [ebp - 0x20], ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
cmp eax, 1
je 0x408f26
cmp eax, ebx
je 0x408f26
cmp eax, 0x80010106
je 0x408f2d
lea eax, [ebx + 4]
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x20], 1
lea eax, [ebp - 8]
push eax
push 0x434c1c
push 1
push ebx
push 0x434cec
mov dword [ebp - 8], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x408f57
mov dword [ebp - 0xc], 3
jmp 0x40918a
push esi
mov esi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push edi
push str.ROOTWMI
mov dword [ebp - 4], ebx
call esi
lea edx, [ebp - 4]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
mov edi, eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push ebx
push edi
push eax
mov eax, dword [ecx + 0xc]
call eax
push edi
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ebx, eax
call edi
test ebx, ebx
jns 0x408fa7
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 0xc], 6
jmp 0x409188
mov eax, dword [ebp - 4]
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x408fe5
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 0xc], 7
jmp 0x409188
push str.MSSMBios_RawSMBiosTables
mov dword [ebp - 0x18], 0
call esi
lea edx, [ebp - 0x18]
push edx
push 0
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push 0
push ebx
push eax
mov eax, dword [ecx + 0x48]
call eax
push ebx
mov dword [ebp - 0x10], eax
call edi
xor ebx, ebx
cmp dword [ebp - 0x10], ebx
jl 0x40916b
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x40916b
lea edx, [ebp - 0x24]
push edx
lea edx, [ebp - 0x14]
push edx
push 1
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x24], ebx
mov ecx, dword [eax]
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp eax, ebx
jl 0x409148
lea ecx, [ebp - 0x38]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push str.SmbiosMajorVersion
call esi
push 0
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x38]
push ecx
mov ebx, eax
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
push 0
push ebx
push eax
call edx
push ebx
mov dword [ebp - 0x10], eax
call edi
cmp dword [ebp - 0x10], 0
jge 0x409087
lea eax, [ebp - 0x38]
push eax
jmp 0x409137
lea ecx, [ebp - 0x38]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea edx, [ebp - 0x38]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push str.SmbiosMinorVersion
call esi
push 0
lea edx, [ebp - 0x1c]
push edx
lea edx, [ebp - 0x38]
push edx
mov ebx, eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push 0
push ebx
push eax
mov eax, dword [ecx + 0x10]
call eax
push ebx
mov dword [ebp - 0x10], eax
call edi
cmp dword [ebp - 0x10], 0
jge 0x4090ce
lea ecx, [ebp - 0x38]
push ecx
jmp 0x409137
lea edx, [ebp - 0x38]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push str.SMBiosData
call esi
push 0
lea edx, [ebp - 0x1c]
push edx
lea edx, [ebp - 0x38]
push edx
mov esi, eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push 0
push esi
push eax
mov eax, dword [ecx + 0x10]
call eax
push esi
mov ebx, eax
call edi
test ebx, ebx
js 0x409133
mov ecx, 0x2011
cmp cx, word [ebp - 0x38]
jne 0x409133
mov eax, dword [ebp - 0x30]
mov edx, dword [eax + 0xc]
mov ecx, dword [ebp - 0x28]
mov eax, dword [eax + 0x10]
push ecx
push eax
push edx
call fcn.00408da0
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x38]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x409188
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 0xc], 5
pop edi
pop esi
cmp dword [ebp - 0x20], 0
je 0x409196
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0xc]
pop ebx
mov esp, ebp
pop ebp
ret