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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x10], 2
mov dword [ebp - 8], 0
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
je 0x47ec40
cmp dword [ebp - 0x14], 0
jne 0x47ec49
mov dword [ebp - 8], 1
jmp 0x47ec61
cmp dword [ebp - 0x14], 0x80010106
je 0x47ec61
mov dword [ebp - 0x10], 4
mov eax, dword [ebp - 0x10]
jmp 0x47efbf
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0x627914
push 1
push 0
push 0x6279e4
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jge 0x47ec9a
mov dword [ebp - 0x10], 3
jmp 0x47efb0
mov dword [ebp - 0xc], 0
push str.ROOTWMI
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0xc]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ecx + 0xc]
call eax
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp dword [ebp - 0x14], 0
jge 0x47ed03
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [eax + 8]
call edx
mov dword [ebp - 0x10], 6
jmp 0x47efb0
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jge 0x47ed51
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [edx + 8]
call ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [eax + 8]
call edx
mov dword [ebp - 0x10], 7
jmp 0x47efb0
mov dword [ebp - 0x18], 0
push str.MSSMBios_RawSMBiosTables
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [eax + 0x48]
call edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp dword [ebp - 0x14], 0
jge 0x47edc5
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [edx + 8]
call ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [eax + 8]
call edx
mov dword [ebp - 0x10], 5
jmp 0x47efb0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x20]
push ecx
push 1
push 0xffffffffffffffff
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [eax + 0x10]
call edx
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jl 0x47ef76
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push str.SmbiosMajorVersion
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x1c], eax
push 0
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x38]
push edx
push 0
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [edx + 0x10]
call ecx
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp dword [ebp - 0x14], 0
jge 0x47ee52
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x47ef66
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 dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x1c], eax
push 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x38]
push ecx
push 0
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ecx + 0x10]
call eax
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp dword [ebp - 0x14], 0
jge 0x47eeb4
lea edx, [ebp - 0x38]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x47ef66
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [ebp - 0x38]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push str.SMBiosData
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x1c], eax
push 0
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x38]
push eax
push 0
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [eax + 0x10]
call edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp dword [ebp - 0x14], 0
jl 0x47ef5c
movzx ecx, word [ebp - 0x38]
cmp ecx, 0x2011
je 0x47ef15
jmp 0x47ef5c
mov dword [ebp - 0x44], 0
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x48]
push ecx
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x48]
call fcn.0047ea20
test eax, eax
je 0x47ef55
mov dword [ebp - 0x10], 0
jmp 0x47ef5c
mov dword [ebp - 0x10], 1
lea ecx, [ebp - 0x38]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [eax + 8]
call edx
jmp 0x47ef80
cmp dword [ebp - 0x14], 0
je 0x47edc5
cmp dword [ebp - 0x18], 0
je 0x47ef94
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ecx + 8]
call eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [edx + 8]
call ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [eax + 8]
call edx
cmp dword [ebp - 8], 0
je 0x47efbc
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret