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

Disassembly:
push 0xffffffffffffffff
push 0x62888c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push ebp
push esi
xor ebx, ebx
push edi
mov ebp, ecx
push ebx
mov dword [esp + 0x2c], ebx
call dword [sym.imp.ole32.dll_CoInitialize]
cmp eax, ebx
jl 0x51fa3d
mov dword [esp + 0x10], ebx
lea eax, [esp + 0x10]
mov edi, 1
push eax
push 0x63cf88
push edi
push ebx
push 0x63cf78
mov dword [esp + 0x5c], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x51fa21
cmp dword [esp + 0x10], ebx
je 0x51fa21
mov dword [esp + 0x14], ebx
push 0xc
mov byte [esp + 0x4c], 1
call fcn.005ffe3f
add esp, 4
mov dword [esp + 0x24], eax
cmp eax, ebx
mov byte [esp + 0x48], 2
je 0x51f527
push str.ROOTWMI
mov ecx, eax
call fcn.0051fb00
jmp 0x51f529
xor eax, eax
cmp eax, ebx
mov byte [esp + 0x48], 1
mov dword [esp + 0x18], eax
jne 0x51f544
push 0x8007000e
call fcn.005f8835
mov eax, dword [esp + 0x18]
cmp eax, ebx
mov byte [esp + 0x48], 3
je 0x51f551
mov eax, dword [eax]
jmp 0x51f553
xor eax, eax
mov ecx, dword [esp + 0x10]
lea esi, [esp + 0x14]
push esi
push ebx
mov edx, dword [ecx]
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push ecx
call dword [edx + 0xc]
lea ecx, [esp + 0x18]
mov esi, eax
call fcn.0051fa70
cmp esi, ebx
jl 0x51f9f1
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x51f9f1
push ebx
push ebx
push 3
push 3
push ebx
push ebx
push 0xa
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
cmp eax, ebx
jge 0x51f5ce
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [esp + 0x14]
mov byte [esp + 0x48], bl
cmp eax, ebx
je 0x51f5b5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x48], 0xffffffff
cmp eax, ebx
je 0x51fa3d
jmp 0x51fa37
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x1c]
push edx
push ebx
mov ecx, dword [eax]
push ebx
push str.MSSMBios_RawSMBiosTables
push eax
mov byte [esp + 0x5c], 4
call dword [ecx + 0x48]
cmp eax, ebx
jl 0x51f9ae
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x51f9ae
mov dword [esp + 0x18], ebx
lea edx, [esp + 0x20]
mov dword [esp + 0x20], ebx
mov ecx, dword [eax]
push edx
lea edx, [esp + 0x1c]
mov byte [esp + 0x4c], 5
push edx
push edi
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
mov esi, eax
mov eax, dword [esp + 0x18]
cmp esi, ebx
jl 0x51f635
cmp eax, ebx
je 0x51f635
cmp dword [esp + 0x20], edi
je 0x51f652
cmp eax, ebx
mov byte [esp + 0x48], 4
je 0x51f644
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp esi, ebx
jne 0x51f956
mov eax, dword [esp + 0x1c]
jmp 0x51f601
lea edx, [esp + 0x30]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push 0xc
call fcn.005ffe3f
add esp, 4
mov dword [esp + 0x2c], eax
cmp eax, ebx
mov byte [esp + 0x48], 6
je 0x51f684
push str.SmbiosMajorVersion
mov ecx, eax
call fcn.0051fac0
mov esi, eax
jmp 0x51f686
xor esi, esi
cmp esi, ebx
mov byte [esp + 0x48], 5
mov dword [esp + 0x2c], esi
jne 0x51f69d
push 0x8007000e
call fcn.005f8835
cmp esi, ebx
mov byte [esp + 0x48], 7
je 0x51f6aa
mov ecx, dword [esi]
jmp 0x51f6ac
xor ecx, ecx
mov eax, dword [esp + 0x18]
lea edi, [esp + 0x24]
push ebx
push edi
mov edx, dword [eax]
lea edi, [esp + 0x38]
push edi
push ebx
push ecx
push eax
call dword [edx + 0x10]
cmp esi, ebx
mov edi, eax
mov byte [esp + 0x48], 5
je 0x51f6d5
mov ecx, esi
call fcn.0051fb40
cmp edi, ebx
jl 0x51f938
mov cl, byte [esp + 0x38]
lea edx, [esp + 0x30]
push edx
mov byte [ebp], cl
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push 0xc
call fcn.005ffe3f
add esp, 4
mov dword [esp + 0x2c], eax
cmp eax, ebx
mov byte [esp + 0x48], 8
je 0x51f716
push str.SmbiosMinorVersion
mov ecx, eax
call fcn.0051fac0
mov esi, eax
jmp 0x51f718
xor esi, esi
cmp esi, ebx
mov byte [esp + 0x48], 5
mov dword [esp + 0x2c], esi
jne 0x51f72f
push 0x8007000e
call fcn.005f8835
cmp esi, ebx
mov byte [esp + 0x48], 9
je 0x51f73c
mov ecx, dword [esi]
jmp 0x51f73e
xor ecx, ecx
mov eax, dword [esp + 0x18]
lea edi, [esp + 0x24]
push ebx
push edi
mov edx, dword [eax]
lea edi, [esp + 0x38]
push edi
push ebx
push ecx
push eax
call dword [edx + 0x10]
cmp esi, ebx
mov edi, eax
mov byte [esp + 0x48], 5
je 0x51f767
mov ecx, esi
call fcn.0051fb40
cmp edi, ebx
jl 0x51f938
mov cl, byte [esp + 0x38]
lea edx, [esp + 0x30]
push edx
mov byte [ebp + 1], cl
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push 0xc
call fcn.005ffe3f
mov esi, eax
add esp, 4
mov dword [esp + 0x2c], esi
cmp esi, ebx
mov byte [esp + 0x48], 0xa
je 0x51f7c9
push str.SMBiosData
mov dword [esi + 4], ebx
mov dword [esi + 8], 1
call fcn.005f8764
cmp eax, ebx
mov dword [esi], eax
jne 0x51f7cb
mov eax, str.SMBiosData
test eax, eax
je 0x51f7cb
push 0x8007000e
call fcn.005f8835
jmp 0x51f7cb
xor esi, esi
cmp esi, ebx
mov byte [esp + 0x48], 5
mov dword [esp + 0x2c], esi
jne 0x51f7e2
push 0x8007000e
call fcn.005f8835
cmp esi, ebx
mov byte [esp + 0x48], 0xb
je 0x51f7ef
mov ecx, dword [esi]
jmp 0x51f7f1
xor ecx, ecx
mov eax, dword [esp + 0x18]
lea edi, [esp + 0x24]
push ebx
push edi
mov edx, dword [eax]
lea edi, [esp + 0x38]
push edi
push ebx
push ecx
push eax
call dword [edx + 0x10]
cmp esi, ebx
mov edi, eax
mov byte [esp + 0x48], 5
je 0x51f81a
mov ecx, esi
call fcn.0051fb40
cmp edi, ebx
jl 0x51f938
cmp word [esp + 0x30], 0x2011
jne 0x51f938
mov eax, dword [esp + 0x38]
mov esi, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
cmp eax, 0x800000
mov dword [ebp + 8], eax
jbe 0x51f894
mov eax, dword [esp + 0x18]
mov byte [esp + 0x48], 4
cmp eax, ebx
je 0x51f856
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x48], 1
cmp eax, ebx
je 0x51f869
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x14]
mov byte [esp + 0x48], bl
cmp eax, ebx
je 0x51f87b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x48], 0xffffffff
cmp eax, ebx
je 0x51fa3d
jmp 0x51fa37
add eax, 4
push eax
call fcn.005ffe3f
add esp, 4
cmp eax, ebx
mov dword [ebp + 4], eax
jne 0x51f8f8
mov eax, dword [esp + 0x18]
mov byte [esp + 0x48], 4
cmp eax, ebx
je 0x51f8ba
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x48], 1
cmp eax, ebx
je 0x51f8cd
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x14]
mov byte [esp + 0x48], bl
cmp eax, ebx
je 0x51f8df
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x48], 0xffffffff
cmp eax, ebx
je 0x51fa3d
jmp 0x51fa37
mov ecx, dword [ebp + 8]
mov dword [esp + 0x28], 1
mov byte [ecx + eax], bl
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 4]
mov byte [edx + eax + 1], bl
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 4]
mov byte [ecx + edx + 2], bl
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 4]
mov byte [eax + ecx + 3], bl
mov ecx, dword [ebp + 8]
mov edi, dword [ebp + 4]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [esp + 0x18]
mov byte [esp + 0x48], 4
cmp eax, ebx
je 0x51f956
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x48], 1
cmp eax, ebx
je 0x51f96f
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x14]
mov byte [esp + 0x48], bl
cmp eax, ebx
je 0x51f981
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x48], 0xffffffff
cmp eax, ebx
je 0x51f997
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x48], 1
cmp eax, ebx
je 0x51f9c7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
mov byte [esp + 0x48], bl
cmp eax, ebx
je 0x51f9d9
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x48], 0xffffffff
cmp eax, ebx
je 0x51fa3d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x51fa3d
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [esp + 0x14]
mov byte [esp + 0x48], bl
cmp eax, ebx
je 0x51fa09
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x48], 0xffffffff
cmp eax, ebx
je 0x51fa3d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x51fa3d
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x48], 0xffffffff
cmp eax, ebx
je 0x51fa3d
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret