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

Disassembly:
push 0xffffffffffffffff
push 0x62789c
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 0x51eadd
mov dword [esp + 0x10], ebx
lea eax, [esp + 0x10]
mov edi, 1
push eax
push 0x63bf70
push edi
push ebx
push 0x63bf60
mov dword [esp + 0x5c], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x51eac1
cmp dword [esp + 0x10], ebx
je 0x51eac1
mov dword [esp + 0x14], ebx
push 0xc
mov byte [esp + 0x4c], 1
call fcn.005feedc
add esp, 4
mov dword [esp + 0x24], eax
cmp eax, ebx
mov byte [esp + 0x48], 2
je 0x51e5c7
push str.ROOTWMI
mov ecx, eax
call fcn.0051eb90
jmp 0x51e5c9
xor eax, eax
cmp eax, ebx
mov byte [esp + 0x48], 1
mov dword [esp + 0x18], eax
jne 0x51e5e4
push 0x8007000e
call fcn.005f78d9
mov eax, dword [esp + 0x18]
cmp eax, ebx
mov byte [esp + 0x48], 3
je 0x51e5f1
mov eax, dword [eax]
jmp 0x51e5f3
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.0051eb00
cmp esi, ebx
jl 0x51ea91
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x51ea91
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 0x51e66e
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [esp + 0x14]
mov byte [esp + 0x48], bl
cmp eax, ebx
je 0x51e655
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x48], 0xffffffff
cmp eax, ebx
je 0x51eadd
jmp 0x51ead7
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 0x51ea4e
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x51ea4e
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 0x51e6d5
cmp eax, ebx
je 0x51e6d5
cmp dword [esp + 0x20], edi
je 0x51e6f2
cmp eax, ebx
mov byte [esp + 0x48], 4
je 0x51e6e4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp esi, ebx
jne 0x51e9f6
mov eax, dword [esp + 0x1c]
jmp 0x51e6a1
lea edx, [esp + 0x30]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push 0xc
call fcn.005feedc
add esp, 4
mov dword [esp + 0x2c], eax
cmp eax, ebx
mov byte [esp + 0x48], 6
je 0x51e724
push str.SmbiosMajorVersion
mov ecx, eax
call fcn.0051eb50
mov esi, eax
jmp 0x51e726
xor esi, esi
cmp esi, ebx
mov byte [esp + 0x48], 5
mov dword [esp + 0x2c], esi
jne 0x51e73d
push 0x8007000e
call fcn.005f78d9
cmp esi, ebx
mov byte [esp + 0x48], 7
je 0x51e74a
mov ecx, dword [esi]
jmp 0x51e74c
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 0x51e775
mov ecx, esi
call fcn.0051ebd0
cmp edi, ebx
jl 0x51e9d8
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.005feedc
add esp, 4
mov dword [esp + 0x2c], eax
cmp eax, ebx
mov byte [esp + 0x48], 8
je 0x51e7b6
push str.SmbiosMinorVersion
mov ecx, eax
call fcn.0051eb50
mov esi, eax
jmp 0x51e7b8
xor esi, esi
cmp esi, ebx
mov byte [esp + 0x48], 5
mov dword [esp + 0x2c], esi
jne 0x51e7cf
push 0x8007000e
call fcn.005f78d9
cmp esi, ebx
mov byte [esp + 0x48], 9
je 0x51e7dc
mov ecx, dword [esi]
jmp 0x51e7de
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 0x51e807
mov ecx, esi
call fcn.0051ebd0
cmp edi, ebx
jl 0x51e9d8
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.005feedc
mov esi, eax
add esp, 4
mov dword [esp + 0x2c], esi
cmp esi, ebx
mov byte [esp + 0x48], 0xa
je 0x51e869
push str.SMBiosData
mov dword [esi + 4], ebx
mov dword [esi + 8], 1
call fcn.005f7808
cmp eax, ebx
mov dword [esi], eax
jne 0x51e86b
mov eax, str.SMBiosData
test eax, eax
je 0x51e86b
push 0x8007000e
call fcn.005f78d9
jmp 0x51e86b
xor esi, esi
cmp esi, ebx
mov byte [esp + 0x48], 5
mov dword [esp + 0x2c], esi
jne 0x51e882
push 0x8007000e
call fcn.005f78d9
cmp esi, ebx
mov byte [esp + 0x48], 0xb
je 0x51e88f
mov ecx, dword [esi]
jmp 0x51e891
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 0x51e8ba
mov ecx, esi
call fcn.0051ebd0
cmp edi, ebx
jl 0x51e9d8
cmp word [esp + 0x30], 0x2011
jne 0x51e9d8
mov eax, dword [esp + 0x38]
mov esi, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
cmp eax, 0x800000
mov dword [ebp + 8], eax
jbe 0x51e934
mov eax, dword [esp + 0x18]
mov byte [esp + 0x48], 4
cmp eax, ebx
je 0x51e8f6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x48], 1
cmp eax, ebx
je 0x51e909
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x14]
mov byte [esp + 0x48], bl
cmp eax, ebx
je 0x51e91b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x48], 0xffffffff
cmp eax, ebx
je 0x51eadd
jmp 0x51ead7
add eax, 4
push eax
call fcn.005feedc
add esp, 4
cmp eax, ebx
mov dword [ebp + 4], eax
jne 0x51e998
mov eax, dword [esp + 0x18]
mov byte [esp + 0x48], 4
cmp eax, ebx
je 0x51e95a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x48], 1
cmp eax, ebx
je 0x51e96d
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x14]
mov byte [esp + 0x48], bl
cmp eax, ebx
je 0x51e97f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x48], 0xffffffff
cmp eax, ebx
je 0x51eadd
jmp 0x51ead7
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 0x51e9f6
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 0x51ea0f
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x14]
mov byte [esp + 0x48], bl
cmp eax, ebx
je 0x51ea21
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x48], 0xffffffff
cmp eax, ebx
je 0x51ea37
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 0x51ea67
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
mov byte [esp + 0x48], bl
cmp eax, ebx
je 0x51ea79
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x48], 0xffffffff
cmp eax, ebx
je 0x51eadd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x51eadd
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [esp + 0x14]
mov byte [esp + 0x48], bl
cmp eax, ebx
je 0x51eaa9
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x48], 0xffffffff
cmp eax, ebx
je 0x51eadd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x51eadd
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x48], 0xffffffff
cmp eax, ebx
je 0x51eadd
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