Function at 0x40be20
Capabilities:
Connect to wmi namespace via wbemlocator
Reference wmi statements

Disassembly:
push 0xffffffffffffffff
push 0x516fd0
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x577690]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x577690]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
xor ebp, ebp
push ebp
push 0x5616e2
mov dword [esp + 0x2c], ecx
call fcn.00403d20
push ebp
push ebp
call dword [sym.imp.ole32.dll_CoInitializeEx]
cmp eax, ebp
jge 0x40be79
cmp eax, 0x80010106
jne 0x40bee1
lea eax, [esp + 0x14]
push eax
push 0x51951c
push 1
push ebp
push 0x5195ec
mov dword [esp + 0x28], ebp
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x40bee1
mov esi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push 0x5684d8
mov dword [esp + 0x1c], ebp
call esi
lea edx, [esp + 0x18]
push edx
push ebp
push ebp
push ebp
push ebp
push ebp
mov edi, eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
push ebp
push edi
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jge 0x40beeb
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, 1
jmp 0x40c05a
mov eax, dword [esp + 0x18]
push ebp
push ebp
push 3
push 3
push ebp
push ebp
push 0xa
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jge 0x40bf12
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x40becf
push 0x5684f0
call esi
push str.SELECT__FROM_Win32_ComputerSystemProduct
mov edi, eax
call esi
mov ecx, dword [esp + 0x18]
lea esi, [esp + 0x20]
push esi
push ebp
push 0x30
push eax
mov dword [esp + 0x30], ebp
mov edx, dword [ecx]
mov eax, dword [edx + 0x50]
push edi
push ecx
call eax
cmp eax, ebp
jl 0x40bf04
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x28]
push edx
lea edx, [esp + 0x20]
push edx
push 1
mov dword [esp + 0x28], ebp
mov dword [esp + 0x34], ebp
mov ecx, dword [eax]
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0x10]
call eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
push ebp
push ebp
lea edx, [esp + 0x34]
push edx
push ebp
push str.UUID
push eax
mov eax, dword [ecx + 0x10]
call eax
mov eax, dword [esp + 0x34]
cmp eax, ebp
je 0x40c017
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
xor ecx, ecx
push eax
mov eax, dword [esp + 0x38]
lea esi, [esp + 0x6c]
mov dword [esp + 0x84], 7
mov dword [esp + 0x80], ebp
mov word [esp + 0x70], cx
call fcn.00404d10
lea ebx, [esp + 0x44]
mov edi, esi
mov dword [esp + 0x90], ebp
call fcn.00412890
lea ebx, [esp + 0x3c]
mov esi, eax
call fcn.00412840
mov edx, dword [esi + 4]
mov ecx, dword [esi]
push edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
push ecx
push edx
push eax
lea esi, [esp + 0x5c]
call fcn.004138a0
mov ecx, dword [esp + 0x24]
push 0xffffffffffffffff
push ebp
push eax
mov byte [esp + 0x9c], 1
call fcn.004032e0
mov ecx, esi
call fcn.00402180
mov esi, edi
mov dword [esp + 0x90], 0xffffffff
call fcn.00404ce0
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.004f8e7f
add esp, 0x80
ret