Function at 0x10006c40
Capabilities:
Connect to wmi namespace via wbemlocator
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003bafa
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x1004f054]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x60], esi
push 0
push 0
mov dword [ebp - 0x60], esi
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x10007164
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]
test eax, eax
js 0x10006f1e
lea eax, [ebp - 0x64]
mov dword [ebp - 0x64], 0
push eax
push 0x1003d3d0
push 1
push 0
push 0x1003d3e0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x10006f1e
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x68], 0
push 0xc
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x5c], eax
call fcn.10017643
mov edi, eax
add esp, 4
mov dword [ebp - 0x60], edi
mov dword [ebp - 4], 0
test edi, edi
je 0x10006d1f
push str.ROOTCIMV2
mov dword [edi + 4], 0
mov dword [edi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [edi], eax
test eax, eax
je 0x1000716f
jmp 0x10006d21
xor edi, edi
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x60], edi
test edi, edi
je 0x1000716f
lea eax, [ebp - 0x68]
mov dword [ebp - 4], 1
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push dword [edi]
push dword [ebp - 0x64]
call dword [ebp - 0x5c]
mov dword [ebp - 0x5c], eax
or ecx, 0xffffffff
mov dword [ebp - 4], 0xffffffff
lock xadd dword [edi + 8], ecx
dec ecx
jne 0x10006d9f
mov ecx, dword [edi]
test ecx, ecx
je 0x10006d7a
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x10006d91
push eax
call fcn.100179be
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
call fcn.1001798d
mov eax, dword [ebp - 0x5c]
add esp, 8
test eax, eax
js 0x10006f15
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x6c], 0
push 0xc
mov eax, dword [eax]
mov eax, dword [eax + 0x50]
mov dword [ebp - 0x60], eax
call fcn.10017643
mov edi, eax
add esp, 4
mov dword [ebp - 0x7c], edi
mov dword [ebp - 4], 2
test edi, edi
je 0x10006def
push str.SELECT__FROM_Win32_OperatingSystem
mov dword [edi + 4], 0
mov dword [edi + 8], 1
call fcn.10018580
mov dword [edi], eax
jmp 0x10006df1
xor edi, edi
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x80], edi
test edi, edi
je 0x1000716f
mov dword [ebp - 4], 3
mov eax, dword [edi]
push 0xc
mov dword [ebp - 0x7c], eax
call fcn.10017643
add esp, 4
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x74], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x10006e48
push 0x10049110
mov dword [eax + 4], 0
mov dword [eax + 8], 1
call fcn.10018580
mov ecx, dword [ebp - 0x5c]
mov dword [ecx], eax
mov eax, ecx
jmp 0x10006e4d
xor eax, eax
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 3
mov dword [ebp - 0x74], eax
test eax, eax
je 0x10007179
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 5
push ecx
push 0
push 0x30
push dword [ebp - 0x7c]
push dword [eax]
push dword [ebp - 0x68]
call dword [ebp - 0x60]
mov dword [ebp - 0x60], eax
or ecx, 0xffffffff
mov eax, dword [ebp - 0x5c]
lock xadd dword [eax + 8], ecx
dec ecx
jne 0x10006ebf
mov ecx, dword [eax]
test ecx, ecx
je 0x10006e9a
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x5c]
mov dword [eax], 0
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x10006eb4
push ecx
call fcn.100179be
mov eax, dword [ebp - 0x5c]
add esp, 4
mov dword [eax + 4], 0
push 0xc
push eax
call fcn.1001798d
add esp, 8
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
dec eax
jne 0x10006f06
mov eax, dword [edi]
test eax, eax
je 0x10006ee4
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x10006efb
push eax
call fcn.100179be
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
call fcn.1001798d
add esp, 8
cmp dword [ebp - 0x60], 0
jge 0x10006f4e
mov eax, dword [ebp - 0x68]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x64]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov dword [esi], 0
mov ecx, esi
mov dword [esi + 0x10], 0
push 0
mov dword [esi + 0x14], 0xf
push 0x10048cf8
mov byte [esi], 0
call fcn.10002a00
jmp 0x10007142
push 0
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x40]
push 0x10048cf8
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.10002a00
mov dword [ebp - 4], 6
mov ecx, dword [ebp - 0x6c]
test ecx, ecx
je 0x100070fc
mov eax, dword [ecx]
lea edx, [ebp - 0x78]
push edx
lea edx, [ebp - 0x70]
push edx
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
cmp dword [ebp - 0x78], 0
je 0x100070fc
mov ecx, dword [ebp - 0x70]
lea edx, [ebp - 0x90]
push 0
push 0
push edx
mov eax, dword [ecx]
push 0
push 0x10049114
push ecx
call dword [eax + 0x10]
test eax, eax
js 0x100070db
cmp word [ebp - 0x90], 8
jne 0x100070db
push dword [ebp - 0x88]
call fcn.10018460
mov edx, eax
mov dword [ebp - 0x28], 0
mov ecx, edx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea edi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10007010
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.10002a00
mov byte [ebp - 4], 7
lea eax, [ebp - 0x28]
mov ecx, 0xe
mov dword [ebp - 0x58], 0
cmp dword [ebp - 0x18], ecx
mov dword [ebp - 0x48], 0
cmovb ecx, dword [ebp - 0x18]
cmp dword [ebp - 0x14], 0x10
push ecx
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x58]
push eax
mov dword [ebp - 0x44], 0xf
call fcn.10002a00
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x10007091
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10007087
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000715f
push edx
push ecx
call fcn.1001798d
add esp, 8
movups xmm0, xmmword [ebp - 0x58]
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [ebp - 0x48]
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x14]
movq qword [ebp - 0x30], xmm0
cmp edx, 0x10
jb 0x100070db
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100070d1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000715f
push edx
push ecx
call fcn.1001798d
add esp, 8
lea eax, [ebp - 0x90]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x70]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 0x6c]
test ecx, ecx
jne 0x10006f96
mov eax, dword [ebp - 0x68]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x64]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x6c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
movups xmm0, xmmword [ebp - 0x40]
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x30]
movq qword [esi + 0x10], xmm0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10017373
mov esp, ebp
pop ebp
ret
call fcn.1001f428
call dword [sym.imp.KERNEL32.dll_GetLastError]
call fcn.10006c10
push 0x8007000e
call fcn.10018440
push 0x8007000e
call fcn.10018440
int3