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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62ecd0
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x721970]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00408620
mov dword [ebp - 0x98], eax
mov byte [ebp - 0x11], 0
push str.select__from
lea ecx, [ebp - 0x40]
call fcn.00418d40
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0xbc]
call fcn.00418d40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xbc]
push ecx
lea ecx, [ebp - 0x40]
call fcn.00419090
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xbc]
call fcn.00418cc0
mov dword [ebp - 0x18], 0
lea edx, [ebp - 0x18]
push edx
push 0x6df428
push 1
push 0
push 0x6df418
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x40f98f
mov byte [ebp - 0x22], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00418cc0
mov al, byte [ebp - 0x22]
jmp 0x40fd94
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x65b5d4
lea ecx, [ebp - 0x94]
call fcn.0040bfc0
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x90]
mov dword [ebp - 0x8c], ecx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x8c]
call fcn.0040c160
push eax
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [eax + 0xc]
call edx
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x94]
call fcn.0040c080
cmp dword [ebp - 0x10], 0
jge 0x40fa27
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ecx + 8]
call eax
mov byte [ebp - 0x24], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00418cc0
mov al, byte [ebp - 0x24]
jmp 0x40fd94
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x40fa7f
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [eax + 8]
call edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ecx + 8]
call eax
mov byte [ebp - 0x21], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00418cc0
mov al, byte [ebp - 0x21]
jmp 0x40fd94
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x28]
push ecx
push 0
push 0x30
lea ecx, [ebp - 0x40]
call fcn.00419160
push eax
lea ecx, [ebp - 0x68]
call fcn.0040bfc0
mov dword [ebp - 0x4c], eax
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x80], edx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x80]
call fcn.0040c160
push eax
push 0x65b610
lea ecx, [ebp - 0x5c]
call fcn.00412f20
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x44]
call fcn.0040c160
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [edx + 0x50]
call ecx
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x5c]
call fcn.0040c080
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.0040c080
cmp dword [ebp - 0x10], 0
jl 0x40fd40
cmp dword [ebp - 0x28], 0
je 0x40fd40
mov dword [ebp - 0x64], 0
lea edx, [ebp - 0x64]
push edx
lea eax, [ebp - 0x20]
push eax
push 1
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [edx + 0x10]
call ecx
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x40fd40
cmp dword [ebp - 0x20], 0
je 0x40fd40
push 0
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 0x78]
push eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x88]
call fcn.0040bfc0
mov dword [ebp - 0x7c], eax
mov edx, dword [ebp - 0x7c]
mov dword [ebp - 0x84], edx
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x84]
call fcn.0040c160
push eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ecx + 0x10]
call eax
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x88]
call fcn.0040c080
lea ecx, [ebp - 0x34]
call fcn.00418c90
mov byte [ebp - 4], 6
cmp dword [ebp - 0x10], 0
jl 0x40fbdb
movzx ecx, word [ebp - 0x78]
cmp ecx, 8
jne 0x40fbdb
mov edx, dword [ebp - 0x70]
push edx
call fcn.004424a0
add esp, 4
push eax
lea ecx, [ebp - 0x34]
call fcn.00418f40
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp dword [ebp + 0x10], 0
je 0x40fcd3
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00610037
add esp, 4
test eax, eax
jbe 0x40fcd3
push 0
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 0x78]
push eax
push 0
mov ecx, dword [ebp + 0x10]
push ecx
lea ecx, [ebp - 0x60]
call fcn.0040bfc0
mov dword [ebp - 0x50], eax
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x58], edx
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x58]
call fcn.0040c160
push eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ecx + 0x10]
call eax
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x60]
call fcn.0040c080
cmp dword [ebp - 0x10], 0
jl 0x40fcc9
movzx ecx, word [ebp - 0x78]
cmp ecx, 8
jne 0x40fcc9
mov edx, dword [ebp - 0x70]
push edx
call fcn.004424a0
add esp, 4
push eax
lea ecx, [ebp - 0xa4]
call fcn.00418d40
mov byte [ebp - 4], 8
push 0x65b614
lea ecx, [ebp - 0xb0]
call fcn.00418d40
mov byte [ebp - 4], 9
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp - 0x34]
call fcn.00419090
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xb0]
call fcn.00418cc0
lea ecx, [ebp - 0xa4]
push ecx
lea ecx, [ebp - 0x34]
call fcn.00419090
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xa4]
call fcn.00418cc0
lea edx, [ebp - 0x78]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [ebp - 0x34]
call fcn.00419670
test eax, eax
jne 0x40fd26
lea ecx, [ebp - 0x34]
call fcn.00419180
mov ecx, dword [ebp + 0x18]
cmp eax, dword [ecx]
jge 0x40fd19
lea ecx, [ebp - 0x34]
call fcn.00419180
add eax, 1
push eax
lea ecx, [ebp - 0x34]
call fcn.00419160
push eax
mov edx, dword [ebp + 0x18]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
call fcn.0061006f
add esp, 0x10
mov byte [ebp - 0x11], 1
lea ecx, [ebp - 0x34]
call fcn.00419180
mov edx, dword [ebp + 0x18]
mov dword [edx], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ecx + 8]
call eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.00418cc0
cmp dword [ebp - 0x1c], 0
je 0x40fd54
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [edx + 8]
call ecx
cmp dword [ebp - 0x18], 0
je 0x40fd68
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [eax + 8]
call edx
cmp dword [ebp - 0x28], 0
je 0x40fd7c
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ecx + 8]
call eax
mov cl, byte [ebp - 0x11]
mov byte [ebp - 0x23], cl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00418cc0
mov al, byte [ebp - 0x23]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret