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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e2cc0
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x50c7c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0
push 0
mov dword [ebp - 0x28], 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x499488
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 0x4eec18
push 1
push 0
push 0x4eec08
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x499482
push str.ROOTWMI
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x10], 0
call fcn.00495d90
mov dword [ebp - 4], 0
mov eax, dword [eax]
test eax, eax
je 0x4993ff
mov edx, dword [eax]
jmp 0x499401
xor edx, edx
mov eax, dword [ebp - 0x14]
lea esi, [ebp - 0x10]
push esi
push 0
push 0
mov ecx, dword [eax]
push 0
push 0
push 0
push 0
push edx
push eax
call dword [ecx + 0xc]
mov dword [ebp - 4], 0xffffffff
mov esi, eax
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x499430
call fcn.00495e50
test esi, esi
js 0x499479
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [ebp - 0x10]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
mov eax, dword [ebp - 0x10]
js 0x499473
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
mov ecx, dword [eax]
push edx
push 0
push 0
push str.MSSMBios_RawSMBiosTables
push eax
call dword [ecx + 0x48]
test eax, eax
jns 0x4994a0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x30]
push edx
lea edx, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push edx
push 1
mov dword [ebp - 0x30], 0
mov ecx, dword [eax]
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x499628
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 0x40]
push eax
call esi
push str.SmbiosMajorVersion
lea ecx, [ebp - 0x2c]
call fcn.00495d00
mov dword [ebp - 4], 1
mov eax, dword [eax]
test eax, eax
je 0x4994f5
mov edx, dword [eax]
jmp 0x4994f7
xor edx, edx
mov eax, dword [ebp - 0x18]
lea ebx, [ebp - 0x20]
push 0
push ebx
lea ebx, [ebp - 0x40]
mov ecx, dword [eax]
push ebx
push 0
push edx
push eax
call dword [ecx + 0x10]
mov dword [ebp - 4], 0xffffffff
mov ebx, eax
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x499522
call fcn.00495e50
test ebx, ebx
js 0x49961e
mov al, byte [ebp - 0x38]
mov byte [edi], al
lea eax, [ebp - 0x40]
push eax
call esi
push str.SmbiosMinorVersion
lea ecx, [ebp - 0x2c]
call fcn.00495d00
mov dword [ebp - 4], 2
mov edx, dword [eax]
test edx, edx
je 0x499553
mov edx, dword [edx]
jmp 0x499555
xor edx, edx
mov eax, dword [ebp - 0x18]
lea ebx, [ebp - 0x20]
push 0
push ebx
lea ebx, [ebp - 0x40]
mov ecx, dword [eax]
push ebx
push 0
push edx
push eax
call dword [ecx + 0x10]
mov dword [ebp - 4], 0xffffffff
mov ebx, eax
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x499580
call fcn.00495e50
test ebx, ebx
js 0x49961e
mov al, byte [ebp - 0x38]
mov byte [edi + 1], al
lea eax, [ebp - 0x40]
push eax
call esi
push str.SMBiosData
lea ecx, [ebp - 0x24]
call fcn.00495d00
mov dword [ebp - 4], 3
mov edx, dword [eax]
test edx, edx
je 0x4995b2
mov edx, dword [edx]
jmp 0x4995b4
xor edx, edx
mov eax, dword [ebp - 0x18]
lea esi, [ebp - 0x20]
push 0
push esi
lea esi, [ebp - 0x40]
mov ecx, dword [eax]
push esi
push 0
push edx
push eax
call dword [ecx + 0x10]
mov dword [ebp - 4], 0xffffffff
mov esi, eax
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x4995e6
call fcn.00495e50
mov dword [ebp - 0x24], 0
test esi, esi
js 0x49961e
mov eax, 0x2011
cmp ax, word [ebp - 0x40]
jne 0x49961e
mov eax, dword [ebp - 0x38]
mov esi, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
push eax
mov dword [edi + 8], eax
call fcn.004a7933
push dword [edi + 8]
mov dword [edi + 4], eax
push esi
push eax
call fcn.004ad250
add esp, 0x10
mov dword [ebp - 0x28], 1
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret