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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10186c43
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x102d5908]
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 - 0x10], esp
mov edi, dword [ebp + 8]
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
mov dword [ebp - 0xc8], edi
mov dword [ebp - 0xe8], 0
mov dword [ebp - 4], 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
mov dword [ebp - 0xb4], 0
lea eax, [ebp - 0xb4]
mov byte [ebp - 4], 1
push eax
push 0x10190718
push 0x17
push 0
push 0x101f8e8c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x10065c00
call dword [sym.imp.ole32.dll_CoUninitialize]
push 0
mov dword [edi + 0x14], 0xf
mov ecx, edi
mov dword [edi + 0x10], 0
push 0x102c07f1
mov byte [edi], 0
call fcn.10050790
mov ecx, dword [ebp - 0xb4]
mov byte [ebp - 4], 0
test ecx, ecx
je 0x10065bf9
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, edi
jmp 0x10066025
mov dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0xb4]
push 0x10192a24
mov byte [ebp - 4], 2
mov dword [ebp - 0xc0], eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [ebp - 0xcc], esi
test esi, esi
jne 0x10065c3b
push 0x8007000e
call fcn.10061fa0
mov ecx, dword [ebp - 0xc0]
lea edx, [ebp - 0xb8]
push edx
push 0
push 0
mov eax, dword [ecx]
push 0
push 0
push 0
push 0
push esi
push ecx
mov byte [ebp - 4], 3
call dword [eax + 0xc]
push esi
mov dword [ebp - 0xc0], eax
mov byte [ebp - 4], 2
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp dword [ebp - 0xc0], 0
jge 0x10065cd8
mov ecx, dword [ebp - 0xb4]
test ecx, ecx
je 0x10065c93
mov dword [ebp - 0xb4], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
push 0x102c07f1
mov ecx, edi
call fcn.1004fbc0
mov eax, dword [ebp - 0xb8]
mov byte [ebp - 4], 1
test eax, eax
je 0x10065cb9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xb4]
mov byte [ebp - 4], 0
test eax, eax
je 0x10065bf9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, edi
jmp 0x10066025
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [ebp - 0xb8]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x10065d19
mov ecx, dword [ebp - 0xb8]
test ecx, ecx
je 0x10065c79
mov dword [ebp - 0xb8], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
jmp 0x10065c79
mov dword [ebp - 0xc4], 0
push str.Select_Name_from_Win32_OperatingSystem
mov byte [ebp - 4], 4
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [ebp - 0xe4], esi
test esi, esi
jne 0x10065d48
push 0x8007000e
call fcn.10061fa0
mov eax, dword [ebp - 0xb8]
lea ecx, [ebp - 0xcc]
push 0x10192a90
mov byte [ebp - 4], 5
mov dword [ebp - 0xc0], eax
call fcn.10060290
mov edx, eax
mov ecx, dword [ebp - 0xc0]
mov byte [ebp - 4], 6
mov eax, dword [ecx]
lea ecx, [ebp - 0xc4]
push ecx
mov ecx, dword [ebp - 0xc0]
push 0
push 0x20
push esi
push dword [edx]
push ecx
call dword [eax + 0x50]
push dword [ebp - 0xcc]
mov dword [ebp - 0xc0], eax
mov byte [ebp - 4], 5
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp dword [ebp - 0xc0], 0
jge 0x10065e17
mov ecx, dword [ebp - 0xb8]
test ecx, ecx
je 0x10065dc7
mov dword [ebp - 0xb8], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0xb4]
test ecx, ecx
je 0x10065de1
mov dword [ebp - 0xb4], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
push 0x102c07f1
mov ecx, edi
call fcn.1004fbc0
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0xc4]
mov byte [ebp - 4], 2
test eax, eax
je 0x10065ca5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x10065ca5
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0xc4]
lea edx, [ebp - 0xd0]
push edx
lea edx, [ebp - 0xbc]
mov byte [ebp - 4], 7
push edx
mov ecx, dword [eax]
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
cmp dword [ebp - 0xd0], 0
jne 0x10065ed3
mov ecx, dword [ebp - 0xbc]
test ecx, ecx
je 0x10065e70
mov dword [ebp - 0xbc], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0xb8]
test ecx, ecx
je 0x10065e8a
mov dword [ebp - 0xb8], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0xb4]
test ecx, ecx
je 0x10065ea4
mov dword [ebp - 0xb4], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
push 0x102c07f1
mov ecx, edi
call fcn.1004fbc0
mov eax, dword [ebp - 0xbc]
mov byte [ebp - 4], 5
test eax, eax
je 0x10065df3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x10065df3
lea eax, [ebp - 0xe0]
xorps xmm0, xmm0
push eax
movdqu xmmword [ebp - 0xe0], xmm0
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0xbc]
lea edx, [ebp - 0xe0]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push 0x10192a94
push eax
mov byte [ebp - 4], 8
call dword [ecx + 0x10]
push 3
push dword [ebp - 0xd8]
lea eax, [ebp - 0xac]
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0xb0], eax
call fcn.10069340
push dword [ebp - 0xb0]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 9
call fcn.1004fbc0
mov eax, dword [ebp - 0xb0]
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 8
cmp eax, ecx
je 0x10065f5c
push eax
call dword [sym.imp.MSVCR120.dll_free]
add esp, 4
mov ecx, dword [ebp - 0xbc]
test ecx, ecx
je 0x10065f76
mov dword [ebp - 0xbc], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0xb8]
test ecx, ecx
je 0x10065f90
mov dword [ebp - 0xb8], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0xb4]
test ecx, ecx
je 0x10065fb0
mov dword [ebp - 0xb4], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0xb4]
mov edx, dword [ebp - 0xc4]
test edx, edx
je 0x10065fd0
mov dword [ebp - 0xc4], 0
mov eax, dword [edx]
push edx
call dword [eax + 8]
mov ecx, dword [ebp - 0xb4]
test ecx, ecx
je 0x10065fe4
mov dword [ebp - 0xb4], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.1004fc20
lea ecx, [ebp - 0x2c]
call fcn.1004fc90
lea eax, [ebp - 0xe0]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x10065eb6
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.1018427c
mov esp, ebp
pop ebp
ret