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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x577f9e
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x5c4680]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x80], 0
lea ecx, [ebp - 0x40]
call fcn.0042b2d0
mov dword [ebp - 4], 0
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x60], 0
lea eax, [ebp - 0x6c]
push eax
push 0x59a12c
push 1
push 0
push 0x59a13c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x4873cc
lea ecx, [ebp - 0x60]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0x57e34c
lea ecx, [ebp - 0x8c]
call fcn.00479030
mov dword [ebp - 0x84], eax
mov edx, dword [ebp - 0x84]
mov dword [ebp - 0x88], edx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x88]
call fcn.004793d0
push eax
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x6c]
push edx
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jl 0x487154
mov dword [ebp - 0x74], 1
jmp 0x48715b
mov dword [ebp - 0x74], 0
mov cl, byte [ebp - 0x74]
mov byte [ebp - 0x59], cl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x8c]
call fcn.00479300
movzx edx, byte [ebp - 0x59]
test edx, edx
je 0x4873be
push 0
push 0
push 3
push 3
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
mov eax, dword [ebp - 0x60]
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jl 0x4873b0
mov dword [ebp - 0x68], 0
lea ecx, [ebp - 0x68]
push ecx
push 0
push 0x20
push str.SELECT_UUID_FROM_Win32_ComputerSystemProduct
lea ecx, [ebp - 0xa4]
call fcn.00479030
mov dword [ebp - 0x90], eax
mov edx, dword [ebp - 0x90]
mov dword [ebp - 0x94], edx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x94]
call fcn.004793d0
push eax
push 0x57e3c4
lea ecx, [ebp - 0xa0]
call fcn.00479030
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x9c], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x9c]
call fcn.004793d0
push eax
mov ecx, dword [ebp - 0x60]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x60]
push eax
mov ecx, dword [edx + 0x50]
call ecx
test eax, eax
jl 0x48722a
mov dword [ebp - 0x78], 1
jmp 0x487231
mov dword [ebp - 0x78], 0
mov dl, byte [ebp - 0x78]
mov byte [ebp - 0x5a], dl
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa0]
call fcn.00479300
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa4]
call fcn.00479300
movzx eax, byte [ebp - 0x5a]
test eax, eax
je 0x4873b0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0xa8], 0
lea ecx, [ebp - 0xa8]
push ecx
lea edx, [ebp - 0x64]
push edx
push 1
push 0xffffffffffffffff
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x68]
push edx
mov eax, dword [ecx + 0x10]
call eax
test eax, eax
jl 0x4873a2
lea ecx, [ebp - 0xc0]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push 0
push 0
lea edx, [ebp - 0xc0]
push edx
push 0
push str.UUID
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x64]
push edx
mov eax, dword [ecx + 0x10]
call eax
test eax, eax
jl 0x487387
mov ecx, dword [ebp - 0xb8]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00403d10
mov byte [ebp - 4], 4
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
lea ecx, [ebp - 0x28]
call fcn.00403d90
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x7c], eax
mov edx, dword [ebp - 0x7c]
push edx
call fcn.0053143c
add esp, 4
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x70], eax
push 0
push 0
mov ecx, dword [ebp - 0x7c]
push ecx
mov edx, dword [ebp - 0x70]
push edx
push 0xffffffffffffffff
lea ecx, [ebp - 0x28]
call fcn.00403d90
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [ebp - 0x70]
push eax
lea ecx, [ebp - 0x58]
call fcn.004022c0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x40]
call fcn.004864b0
mov edx, dword [ebp - 0x70]
mov dword [ebp - 0xb0], edx
mov eax, dword [ebp - 0xb0]
push eax
call fcn.00531445
add esp, 4
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x58]
call fcn.00402270
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00403c70
lea ecx, [ebp - 0xc0]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov edx, dword [ebp - 0x64]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x64]
push ecx
mov edx, dword [eax + 8]
call edx
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x68]
push edx
mov eax, dword [ecx + 8]
call eax
mov ecx, dword [ebp - 0x60]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x60]
push eax
mov ecx, dword [edx + 8]
call ecx
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x6c]
push ecx
mov edx, dword [eax + 8]
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp + 8]
call fcn.0042b500
mov ecx, dword [ebp - 0x80]
or ecx, 1
mov dword [ebp - 0x80], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00402270
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005313f0
mov esp, ebp
pop ebp
ret