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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10014fc8
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x1001d080]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
xor esi, esi
push esi
push esi
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x10002b9a
push esi
push esi
push esi
push 3
push esi
push esi
push esi
push 0xffffffffffffffff
push esi
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
js 0x10002b94
lea eax, [esp + 0x14]
push eax
push 0x10018330
push 1
push esi
push 0x10018400
mov dword [esp + 0x28], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, esi
jl 0x10002b94
lea ebx, [esp + 0x24]
mov dword [esp + 0x10], esi
call fcn.100029b0
mov dword [esp + 0x58], esi
mov eax, dword [eax]
cmp eax, esi
je 0x10002b32
mov ecx, dword [eax]
jmp 0x10002b34
xor ecx, ecx
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
lea edi, [esp + 0x10]
push edi
push esi
push esi
push esi
push esi
push esi
push esi
push ecx
push eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [esp + 0x24]
mov ebx, eax
mov dword [esp + 0x58], 0xffffffff
call fcn.10002a50
cmp ebx, esi
jl 0x10002b88
mov eax, dword [esp + 0x10]
push esi
push esi
push 3
push 3
push esi
push esi
push 0xa
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
cmp eax, esi
jge 0x10002bb4
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, 1
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push str.SELECT__FROM_Win32_Processor
lea ebx, [esp + 0x2c]
mov dword [esp + 0x1c], esi
call fcn.10002920
mov edi, eax
push 0x10018688
lea ebx, [esp + 0x28]
mov dword [esp + 0x5c], 1
call fcn.10002920
mov byte [esp + 0x58], 2
mov ecx, dword [edi]
test ecx, ecx
je 0x10002bed
mov ecx, dword [ecx]
jmp 0x10002bef
xor ecx, ecx
mov eax, dword [eax]
test eax, eax
je 0x10002bf9
mov edx, dword [eax]
jmp 0x10002bfb
xor edx, edx
mov eax, dword [esp + 0x10]
mov esi, dword [eax]
lea edi, [esp + 0x18]
push edi
push 0
push 0x30
push ecx
push edx
push eax
mov eax, dword [esi + 0x50]
call eax
lea edi, [esp + 0x24]
mov ebx, eax
call fcn.10002a50
lea edi, [esp + 0x28]
mov dword [esp + 0x58], 0xffffffff
call fcn.10002a50
test ebx, ebx
js 0x10002b7c
mov eax, dword [esp + 0x18]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
mov dword [esp + 0x1c], 0
test eax, eax
je 0x10002ca7
lea esp, [esp]
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
lea edx, [esp + 0x24]
push edx
push 1
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp dword [esp + 0x1c], 0
je 0x10002ca7
lea ecx, [esp + 0x2c]
push ecx
call esi
mov eax, dword [esp + 0x20]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
push 0
push 0
lea ecx, [esp + 0x34]
push ecx
push 0
push 0x1001868c
push eax
call edx
mov eax, dword [esp + 0x34]
push eax
call fcn.100109e0
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x10002c50
push str.SELECT__FROM_Win32_DiskDrive
lea ebx, [esp + 0x28]
call fcn.10002920
mov edi, eax
push 0x10018688
lea ebx, [esp + 0x2c]
mov dword [esp + 0x5c], 3
call fcn.10002920
mov byte [esp + 0x58], 4
mov ecx, dword [edi]
test ecx, ecx
je 0x10002cdc
mov ecx, dword [ecx]
jmp 0x10002cde
xor ecx, ecx
mov eax, dword [eax]
test eax, eax
je 0x10002ce8
mov edx, dword [eax]
jmp 0x10002cea
xor edx, edx
mov eax, dword [esp + 0x10]
mov edi, dword [eax]
lea ebx, [esp + 0x18]
push ebx
push 0
push 0x30
push ecx
push edx
mov edx, dword [edi + 0x50]
push eax
call edx
lea edi, [esp + 0x28]
mov ebx, eax
call fcn.10002a50
lea edi, [esp + 0x24]
mov dword [esp + 0x58], 0xffffffff
call fcn.10002a50
test ebx, ebx
js 0x10002b7c
mov eax, dword [esp + 0x18]
test eax, eax
je 0x10002d9d
lea ecx, [ecx]
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
lea edx, [esp + 0x24]
push edx
push 1
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp dword [esp + 0x1c], 0
je 0x10002d9d
lea ecx, [esp + 0x3c]
push ecx
call esi
mov eax, dword [esp + 0x20]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
push 0
push 0
lea ecx, [esp + 0x44]
push ecx
push 0
push str.PNPDeviceID
push eax
call edx
mov eax, dword [esp + 0x44]
push eax
call fcn.100109e0
mov ecx, dword [ebp + 8]
push 0x100186dc
push eax
mov dword [ecx + 4], eax
call fcn.100094d0
add esp, 8
test eax, eax
je 0x10002d95
mov byte [eax], 0
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x10002d30
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4