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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x748b90
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x8312b0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4c], ecx
mov eax, dword [ebp + 8]
push 0
push 0
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x516fc6
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0
push eax
push 0x7d9190
push 1
push 0
push 0x7d9180
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x516fc0
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x28], 0
push str.ROOTWMI
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
call fcn.0047e310
mov dword [ebp - 4], 0
mov eax, dword [eax]
test eax, eax
je 0x516f21
mov eax, dword [eax]
jmp 0x516f23
xor eax, eax
lea ecx, [ebp - 0x28]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push dword [ebp - 0x24]
call esi
mov dword [ebp - 4], 0xffffffff
or edi, 0xffffffff
mov esi, dword [ebp - 0x44]
mov ebx, eax
test esi, esi
je 0x516f8f
mov ecx, edi
lock xadd dword [esi + 8], ecx
dec ecx
jne 0x516f8f
test esi, esi
je 0x516f8f
mov eax, dword [esi]
test eax, eax
je 0x516f6d
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x516f84
push eax
call fcn.006f4f76
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.006f4f2f
add esp, 8
test ebx, ebx
js 0x516fb7
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [ebp - 0x28]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x516fcd
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
xor al, al
jmp 0x517269
mov ecx, dword [ebp - 0x28]
lea edx, [ebp - 0x40]
push edx
push 0
push 0
mov dword [ebp - 0x40], 0
mov eax, dword [ecx]
push str.MSSMBios_RawSMBiosTables
push ecx
call dword [eax + 0x48]
test eax, eax
js 0x516fae
mov ecx, dword [ebp - 0x40]
lea edx, [ebp - 0x1c]
push edx
lea edx, [ebp - 0x20]
mov dword [ebp - 0x20], 0
push edx
push 1
mov dword [ebp - 0x1c], 0
mov eax, dword [ecx]
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
test eax, eax
js 0x51724e
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x44]
push str.SmbiosMajorVersion
mov eax, dword [eax]
mov esi, dword [eax + 0x10]
call fcn.005164c0
mov dword [ebp - 4], 1
mov eax, dword [eax]
test eax, eax
je 0x517049
mov eax, dword [eax]
jmp 0x51704b
xor eax, eax
push 0
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x3c]
push ecx
push 0
push eax
push dword [ebp - 0x20]
call esi
mov dword [ebp - 4], 0xffffffff
mov ebx, eax
mov esi, dword [ebp - 0x44]
test esi, esi
je 0x5170b0
mov ecx, edi
lock xadd dword [esi + 8], ecx
dec ecx
jne 0x5170b0
test esi, esi
je 0x5170b0
mov eax, dword [esi]
test eax, eax
je 0x51708e
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x5170a5
push eax
call fcn.006f4f76
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.006f4f2f
add esp, 8
test ebx, ebx
js 0x517244
mov ecx, dword [ebp - 0x4c]
mov al, byte [ebp - 0x34]
mov byte [ecx + 1], al
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x44]
push str.SmbiosMinorVersion
mov eax, dword [eax]
mov esi, dword [eax + 0x10]
call fcn.005164c0
mov dword [ebp - 4], 2
mov eax, dword [eax]
test eax, eax
je 0x5170f1
mov eax, dword [eax]
jmp 0x5170f3
xor eax, eax
push 0
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x3c]
push ecx
push 0
push eax
push dword [ebp - 0x20]
call esi
mov dword [ebp - 4], 0xffffffff
mov ebx, eax
mov esi, dword [ebp - 0x44]
test esi, esi
je 0x517158
mov ecx, edi
lock xadd dword [esi + 8], ecx
dec ecx
jne 0x517158
test esi, esi
je 0x517158
mov eax, dword [esi]
test eax, eax
je 0x517136
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x51714d
push eax
call fcn.006f4f76
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.006f4f2f
add esp, 8
test ebx, ebx
js 0x517244
mov ecx, dword [ebp - 0x4c]
mov al, byte [ebp - 0x34]
mov byte [ecx + 2], al
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x48]
push str.SMBiosData
mov eax, dword [eax]
mov esi, dword [eax + 0x10]
call fcn.005164c0
mov dword [ebp - 4], 3
mov eax, dword [eax]
test eax, eax
je 0x517199
mov eax, dword [eax]
jmp 0x51719b
xor eax, eax
push 0
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x3c]
push ecx
push 0
push eax
push dword [ebp - 0x20]
call esi
mov dword [ebp - 4], 0xffffffff
mov ebx, eax
mov esi, dword [ebp - 0x48]
test esi, esi
je 0x517205
lock xadd dword [esi + 8], edi
dec edi
jne 0x5171fe
test esi, esi
je 0x5171fe
mov eax, dword [esi]
test eax, eax
je 0x5171dc
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x5171f3
push eax
call fcn.006f4f76
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.006f4f2f
add esp, 8
mov dword [ebp - 0x48], 0
test ebx, ebx
js 0x517244
mov eax, 0x2011
cmp ax, word [ebp - 0x3c]
jne 0x517244
mov eax, dword [ebp - 0x34]
mov ebx, dword [ebp - 0x4c]
mov esi, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
push eax
mov dword [ebx + 4], eax
call fcn.006f4f6d
mov ecx, dword [ebp - 0x54]
mov dword [ecx], eax
mov ecx, eax
mov edx, dword [ebx + 4]
push edx
push esi
call fcn.004b4b50
add esp, 0xc
mov dword [ebp - 0x50], 1
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov al, byte [ebp - 0x50]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.006f4f1e
mov esp, ebp
pop ebp
ret 4