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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bb9fe
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x6218c0]
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.00406fc0
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 0x5ebbb0
push 1
push 0
push 0x5ebbc0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x49613c
lea ecx, [ebp - 0x60]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0x5ca4d4
lea ecx, [ebp - 0x8c]
call fcn.00479800
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.00479ae0
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 0x495ec4
mov dword [ebp - 0x74], 1
jmp 0x495ecb
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.00479a10
movzx edx, byte [ebp - 0x59]
test edx, edx
je 0x49612e
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 0x496120
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.00479800
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.00479ae0
push eax
push 0x5ca54c
lea ecx, [ebp - 0xa0]
call fcn.00479800
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.00479ae0
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 0x495f9a
mov dword [ebp - 0x78], 1
jmp 0x495fa1
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.00479a10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa4]
call fcn.00479a10
movzx eax, byte [ebp - 0x5a]
test eax, eax
je 0x496120
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 0x496112
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 0x4960f7
mov ecx, dword [ebp - 0xb8]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00406cb0
mov byte [ebp - 4], 4
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
lea ecx, [ebp - 0x28]
call fcn.00406a40
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.005702e7
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.00406a40
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.004061c0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x40]
call fcn.0047e0c0
mov edx, dword [ebp - 0x70]
mov dword [ebp - 0xb0], edx
mov eax, dword [ebp - 0xb0]
push eax
call fcn.005702f0
add esp, 4
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x58]
call fcn.00406170
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00406c10
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.00406f80
mov ecx, dword [ebp - 0x80]
or ecx, 1
mov dword [ebp - 0x80], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00406170
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.0057029b
mov esp, ebp
pop ebp
ret