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

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff8
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x4c
mov edi, dword [ecx + 4]
mov eax, dword [ecx]
mov dword [ebp - 0x38], edi
test byte [0x10003038], 8
jne 0x10002a80
lea eax, [ebp - 0x28]
mov dword [esp + 0xc], 0x10005bb8
mov dword [esp + 0x10], eax
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov dword [esp], 0x100052d8
call dword [sym.imp.combase.dll_CoCreateInstance]
sub esp, 0x14
mov ebx, eax
test eax, eax
js 0x10002a70
mov dword [esp], str.ROOTCIMV2
mov esi, dword [sym.imp.oleaut32.dll_SysAllocString]
call esi
mov edi, eax
mov eax, dword [ebp - 0x28]
sub esp, 4
mov edx, dword [eax]
test edi, edi
je 0x10002ada
lea ecx, [ebp - 0x2c]
mov dword [esp + 4], edi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp], eax
call dword [edx + 0xc]
mov ebx, eax
mov eax, dword [ebp - 0x28]
sub esp, 0x24
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov dword [esp], edi
mov edi, dword [sym.imp.oleaut32.dll_SysFreeString]
call edi
sub esp, 4
test ebx, ebx
js 0x10002a70
mov dword [esp], str.Win32_BIOS
call esi
mov esi, eax
mov eax, dword [ebp - 0x2c]
sub esp, 4
mov edx, dword [eax]
test esi, esi
je 0x10002ada
lea ecx, [ebp - 0x34]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], ecx
mov dword [esp + 8], 0x30
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [edx + 0x48]
mov ebx, eax
mov eax, dword [ebp - 0x2c]
sub esp, 0x14
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov dword [esp], esi
call edi
sub esp, 4
test ebx, ebx
js 0x10002a70
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x24]
mov edx, dword [eax]
mov dword [esp + 0x10], ecx
lea ecx, [ebp - 0x30]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], 1
mov dword [esp + 4], 0x3e8
mov dword [esp], eax
call dword [edx + 0x10]
mov ebx, eax
mov eax, dword [ebp - 0x34]
sub esp, 0x14
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
test ebx, ebx
js 0x10002a70
mov eax, dword [ebp - 0x30]
lea edi, [ebp - 0x20]
mov edx, dword [eax]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0
mov dword [esp + 4], str.SerialNumber
mov dword [esp], eax
call dword [edx + 0x10]
mov ebx, eax
mov eax, dword [ebp - 0x30]
sub esp, 0x18
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
test ebx, ebx
js 0x10002a70
mov esi, dword [ebp - 0x18]
mov dword [esp], edi
call dword [sym.imp.oleaut32.dll_VariantClear]
sub esp, 4
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_wcslen]
mov edx, dword [ebp - 0x38]
mov dword [esp], esi
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call sym._WindowsCreateString_12
sub esp, 0xc
mov ebx, eax
test eax, eax
js 0x10002a70
test byte [0x10003038], 8
je 0x10002a70
test esi, esi
je 0x10002ad0
mov eax, esi
shr eax, 0x10
je 0x10002ab8
mov dword [esp + 4], 0xffffffff
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, str._invalid_
test edx, edx
jne 0x10002a48
mov edx, 0xffffffff
mov eax, esi
call sym._wine_dbgstr_wn.part.0
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Returning_serial_number:__s._n
mov dword [esp + 8], str.statics_get_SerialNumber
mov dword [esp + 4], 0x10003038
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
lea esp, [ebp - 0x10]
mov eax, ebx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 8
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.iface__p__value__p._n
mov dword [esp + 8], str.statics_get_SerialNumber
mov dword [esp + 4], 0x10003038
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x10002819
movzx esi, si
mov dword [esp], str._04x
mov dword [esp + 4], esi
call sym._wine_dbg_sprintf
jmp 0x10002a48
mov eax, str._null_
jmp 0x10002a48
mov dword [esp], eax
mov ebx, 0x8007000e
call dword [edx + 8]
push eax
jmp 0x10002a70