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

Disassembly:
sub esp, 0x28
push ebx
xor ebx, ebx
cmp byte [0x45bbe8], bl
je 0x40d9f5
mov al, 1
pop ebx
add esp, 0x28
ret
push 0xfa00
push ebx
push 0x44c1e8
call fcn.0041fd10
add esp, 0xc
push ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jl 0x40dab3
lea eax, [esp + 8]
push eax
push 0x43fd90
push 1
push ebx
push 0x43fe60
mov dword [esp + 0x1c], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x40daad
mov eax, dword [esp + 8]
lea edx, [esp + 4]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
mov dword [esp + 0x20], ebx
mov ecx, dword [eax]
push str.ROOTWMI
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jl 0x40daa1
mov eax, dword [esp + 4]
push ebx
push ebx
push 3
push 3
push ebx
push ebx
push 0xa
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
mov eax, dword [esp + 4]
jl 0x40da99
lea edx, [esp + 0x10]
push edx
push ebx
push ebx
mov dword [esp + 0x1c], ebx
mov ecx, dword [eax]
push str.MSSMBios_RawSMBiosTables
push eax
mov eax, dword [ecx + 0x48]
call eax
test eax, eax
jge 0x40dac0
mov eax, dword [esp + 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
xor al, al
pop ebx
add esp, 0x28
ret
mov eax, dword [esp + 0x10]
push esi
lea edx, [esp + 0x1c]
push edx
lea edx, [esp + 0x14]
push edx
push 1
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], ebx
mov ecx, dword [eax]
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp eax, ebx
jl 0x40dbed
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea ecx, [esp + 0x20]
push ecx
call esi
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
push ebx
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x28]
push ecx
push ebx
push str.SmbiosMajorVersion
push eax
call edx
test eax, eax
jl 0x40dbe2
mov cl, byte [esp + 0x28]
lea edx, [esp + 0x20]
push edx
mov byte [0x44c1e0], cl
call esi
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push ebx
lea edx, [esp + 0x1c]
push edx
lea edx, [esp + 0x28]
push edx
push ebx
push str.SmbiosMinorVersion
push eax
mov eax, dword [ecx + 0x10]
call eax
test eax, eax
jge 0x40db59
lea ecx, [esp + 0x20]
push ecx
jmp 0x40dbe7
mov dl, byte [esp + 0x28]
lea eax, [esp + 0x20]
push eax
mov byte [0x44c1e1], dl
call esi
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push ebx
lea edx, [esp + 0x1c]
push edx
lea edx, [esp + 0x28]
push edx
push ebx
push str.SMBiosData
push eax
mov eax, dword [ecx + 0x10]
call eax
test eax, eax
jl 0x40dbe2
mov ecx, 0x2011
cmp cx, word [esp + 0x20]
jne 0x40dbe2
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
mov dword [0x44c1e4], eax
cmp eax, 0xfa00
jb 0x40dbd3
mov eax, dword [esp + 8]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
pop esi
xor al, al
pop ebx
add esp, 0x28
ret
push eax
push ecx
push 0x44c1e8
call fcn.00421650
add esp, 0xc
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [esp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
pop esi
mov byte [0x45bbe8], 1
mov al, 1
pop ebx
add esp, 0x28
ret