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

Disassembly:
push 0xffffffffffffffff
push 0x627dfc
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 0x51dd1d
mov dword [esp + 0x10], ebx
lea eax, [esp + 0x10]
mov edi, 1
push eax
push 0x657040
push edi
push ebx
push 0x657030
mov dword [esp + 0x5c], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x51dd01
cmp dword [esp + 0x10], ebx
je 0x51dd01
mov dword [esp + 0x14], ebx
push 0xc
mov byte [esp + 0x4c], 1
call fcn.005fdccd
add esp, 4
mov dword [esp + 0x24], eax
cmp eax, ebx
mov byte [esp + 0x48], 2
je 0x51d807
push str.ROOTWMI
mov ecx, eax
call fcn.0051ddd0
jmp 0x51d809
xor eax, eax
cmp eax, ebx
mov byte [esp + 0x48], 1
mov dword [esp + 0x18], eax
jne 0x51d824
push 0x8007000e
call fcn.005f66c5
mov eax, dword [esp + 0x18]
cmp eax, ebx
mov byte [esp + 0x48], 3
je 0x51d831
mov eax, dword [eax]
jmp 0x51d833
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.0051dd40
cmp esi, ebx
jl 0x51dcd1
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x51dcd1
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 0x51d8ae
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [esp + 0x14]
mov byte [esp + 0x48], bl
cmp eax, ebx
je 0x51d895
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x48], 0xffffffff
cmp eax, ebx
je 0x51dd1d
jmp 0x51dd17
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 0x51dc8e
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x51dc8e
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 0x51d915
cmp eax, ebx
je 0x51d915
cmp dword [esp + 0x20], edi
je 0x51d932
cmp eax, ebx
mov byte [esp + 0x48], 4
je 0x51d924
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp esi, ebx
jne 0x51dc36
mov eax, dword [esp + 0x1c]
jmp 0x51d8e1
lea edx, [esp + 0x30]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push 0xc
call fcn.005fdccd
add esp, 4
mov dword [esp + 0x2c], eax
cmp eax, ebx
mov byte [esp + 0x48], 6
je 0x51d964
push str.SmbiosMajorVersion
mov ecx, eax
call fcn.0051dd90
mov esi, eax
jmp 0x51d966
xor esi, esi
cmp esi, ebx
mov byte [esp + 0x48], 5
mov dword [esp + 0x2c], esi
jne 0x51d97d
push 0x8007000e
call fcn.005f66c5
cmp esi, ebx
mov byte [esp + 0x48], 7
je 0x51d98a
mov ecx, dword [esi]
jmp 0x51d98c
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 0x51d9b5
mov ecx, esi
call fcn.0051de10
cmp edi, ebx
jl 0x51dc18
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.005fdccd
add esp, 4
mov dword [esp + 0x2c], eax
cmp eax, ebx
mov byte [esp + 0x48], 8
je 0x51d9f6
push str.SmbiosMinorVersion
mov ecx, eax
call fcn.0051dd90
mov esi, eax
jmp 0x51d9f8
xor esi, esi
cmp esi, ebx
mov byte [esp + 0x48], 5
mov dword [esp + 0x2c], esi
jne 0x51da0f
push 0x8007000e
call fcn.005f66c5
cmp esi, ebx
mov byte [esp + 0x48], 9
je 0x51da1c
mov ecx, dword [esi]
jmp 0x51da1e
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 0x51da47
mov ecx, esi
call fcn.0051de10
cmp edi, ebx
jl 0x51dc18
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.005fdccd
mov esi, eax
add esp, 4
mov dword [esp + 0x2c], esi
cmp esi, ebx
mov byte [esp + 0x48], 0xa
je 0x51daa9
push str.SMBiosData
mov dword [esi + 4], ebx
mov dword [esi + 8], 1
call fcn.005f65f4
cmp eax, ebx
mov dword [esi], eax
jne 0x51daab
mov eax, str.SMBiosData
test eax, eax
je 0x51daab
push 0x8007000e
call fcn.005f66c5
jmp 0x51daab
xor esi, esi
cmp esi, ebx
mov byte [esp + 0x48], 5
mov dword [esp + 0x2c], esi
jne 0x51dac2
push 0x8007000e
call fcn.005f66c5
cmp esi, ebx
mov byte [esp + 0x48], 0xb
je 0x51dacf
mov ecx, dword [esi]
jmp 0x51dad1
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 0x51dafa
mov ecx, esi
call fcn.0051de10
cmp edi, ebx
jl 0x51dc18
cmp word [esp + 0x30], 0x2011
jne 0x51dc18
mov eax, dword [esp + 0x38]
mov esi, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
cmp eax, 0x800000
mov dword [ebp + 8], eax
jbe 0x51db74
mov eax, dword [esp + 0x18]
mov byte [esp + 0x48], 4
cmp eax, ebx
je 0x51db36
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x48], 1
cmp eax, ebx
je 0x51db49
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x14]
mov byte [esp + 0x48], bl
cmp eax, ebx
je 0x51db5b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x48], 0xffffffff
cmp eax, ebx
je 0x51dd1d
jmp 0x51dd17
add eax, 4
push eax
call fcn.005fdccd
add esp, 4
cmp eax, ebx
mov dword [ebp + 4], eax
jne 0x51dbd8
mov eax, dword [esp + 0x18]
mov byte [esp + 0x48], 4
cmp eax, ebx
je 0x51db9a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x48], 1
cmp eax, ebx
je 0x51dbad
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x14]
mov byte [esp + 0x48], bl
cmp eax, ebx
je 0x51dbbf
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x48], 0xffffffff
cmp eax, ebx
je 0x51dd1d
jmp 0x51dd17
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 0x51dc36
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 0x51dc4f
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x14]
mov byte [esp + 0x48], bl
cmp eax, ebx
je 0x51dc61
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x48], 0xffffffff
cmp eax, ebx
je 0x51dc77
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 0x51dca7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
mov byte [esp + 0x48], bl
cmp eax, ebx
je 0x51dcb9
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x48], 0xffffffff
cmp eax, ebx
je 0x51dd1d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x51dd1d
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [esp + 0x14]
mov byte [esp + 0x48], bl
cmp eax, ebx
je 0x51dce9
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x48], 0xffffffff
cmp eax, ebx
je 0x51dd1d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x51dd1d
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x48], 0xffffffff
cmp eax, ebx
je 0x51dd1d
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