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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x42b6dc]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x21c], 0
movq xmm0, qword [str.SELECT__FROM]
mov dword [ebp - 0x230], eax
mov eax, dword [0x428260]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x204], eax
mov ax, word [0x428264]
push edi
mov edi, dword [ebp + 8]
mov word [ebp - 0x200], ax
mov al, byte [0x428266]
push 0x1f1
mov byte [ebp - 0x1fe], al
lea eax, [ebp - 0x1fd]
push 0
push eax
mov ebx, ecx
movq qword [ebp - 0x20c], xmm0
call fcn.0040eab0
push esi
lea eax, [ebp - 0x20c]
push 0x200
push eax
call fcn.0040b371
add esp, 0x18
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x408dc9
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
lea eax, [ebp - 0x210]
push eax
push 0x422374
push 1
push 0
push 0x422444
mov dword [ebp - 0x210], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x408dc3
mov dword [ebp - 0x214], 0
test edi, edi
jne 0x408d11
lea eax, [edi + 1]
push str.ROOTCIMV2
lea ecx, [ebp - 0x21c]
jmp 0x408d1d
mov eax, 2
push edi
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x220], eax
call fcn.00407d10
mov eax, dword [eax]
test eax, eax
je 0x408d32
mov edx, dword [eax]
jmp 0x408d34
xor edx, edx
mov eax, dword [ebp - 0x210]
lea esi, [ebp - 0x214]
mov ecx, dword [eax]
push esi
push 0
push 0
push 0
push 0
push 0
push 0
push edx
push eax
call dword [ecx + 0xc]
mov esi, eax
mov eax, dword [ebp - 0x220]
test al, 2
je 0x408d7a
and eax, 0xfffffffd
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x220], eax
call fcn.00407d70
mov eax, dword [ebp - 0x220]
test al, 1
je 0x408d89
lea ecx, [ebp - 0x21c]
call fcn.00407d70
test esi, esi
js 0x408db7
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [ebp - 0x214]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x408ddf
mov eax, dword [ebp - 0x214]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x210]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00409def
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x218], 0
call fcn.00407cc0
mov eax, dword [eax]
test eax, eax
je 0x408e05
mov esi, dword [eax]
jmp 0x408e07
xor esi, esi
push 0x428280
lea ecx, [ebp - 0x21c]
call fcn.00407cc0
mov eax, dword [eax]
test eax, eax
je 0x408e21
mov edx, dword [eax]
jmp 0x408e23
xor edx, edx
mov eax, dword [ebp - 0x214]
lea edi, [ebp - 0x218]
mov ecx, dword [eax]
push edi
push 0
push 0x30
push esi
push edx
push eax
call dword [ecx + 0x50]
lea ecx, [ebp - 0x21c]
mov esi, eax
call fcn.00407d70
lea ecx, [ebp - 0x224]
call fcn.00407d70
test esi, esi
js 0x408dab
push 0x400
push 0
push ebx
mov dword [ebp - 0x22c], 0
call fcn.0040eab0
mov ecx, dword [ebp - 0x218]
add esp, 0xc
test ecx, ecx
je 0x408f3b
mov eax, dword [ecx]
lea edx, [ebp - 0x22c]
push edx
lea edx, [ebp - 0x228]
push edx
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
cmp dword [ebp - 0x22c], 0
je 0x408f3b
mov eax, dword [ebp - 0x228]
push 0
mov ecx, dword [eax]
push 0
lea edx, [ebp - 0x244]
push edx
push 0
push dword [ebp - 0x230]
push eax
call dword [ecx + 0x10]
mov edx, dword [ebp - 0x23c]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408ed3
push 0
push 0
push 0x400
push ebx
sub ecx, esi
sar ecx, 1
push ecx
push edx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
add ebx, eax
lea edi, [ebx - 1]
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x408f00
mov ax, word [0x427fa0]
mov word [edi], ax
lea eax, [ebp - 0x244]
push eax
inc ebx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x228]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 0x218]
test ecx, ecx
jne 0x408e84
mov eax, dword [ebp - 0x214]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x210]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x218]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.00409def
mov esp, ebp
pop ebp
ret