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

Disassembly:
push 0xffffffffffffffff
push 0x10096c40
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100c230c]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
xor ebp, ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x48], 1
lea eax, [esp + 0x1c]
push eax
push 0x100a2610
push 1
push ebp
push 0x100a26e0
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebp
jl 0x1002bab4
mov dword [esp + 0x18], ebp
mov ebx, 3
mov byte [esp + 0x48], bl
mov esi, dword [esp + 0x1c]
cmp esi, ebp
je 0x1002bb95
lea ecx, [esp + 0x28]
push ecx
mov edi, str.ROOTCIMV2
call fcn.10021380
mov byte [esp + 0x48], 4
mov eax, dword [eax]
cmp eax, ebp
je 0x1002ba78
mov eax, dword [eax]
jmp 0x1002ba7a
xor eax, eax
mov edx, dword [esi]
mov edx, dword [edx + 0xc]
lea ecx, [esp + 0x18]
push ecx
push ebp
push ebp
push 0x80
push ebp
push ebp
push ebp
push eax
push esi
call edx
mov esi, eax
mov byte [esp + 0x48], bl
lea edi, [esp + 0x28]
call fcn.10021420
cmp esi, ebp
jge 0x1002bade
mov byte [esp + 0x48], 1
lea eax, [esp + 0x18]
push eax
call fcn.1005ee00
mov dword [esp + 0x48], 0xffffffff
lea ecx, [esp + 0x1c]
push ecx
call fcn.1005ee00
xor eax, eax
xor edx, edx
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
mov edx, dword [esp + 0x18]
push ebp
push ebp
push ebx
push ebx
push ebp
push ebp
push 0xa
push edx
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
cmp eax, ebp
jl 0x1002baa5
cmp dword [esp + 0x18], ebp
je 0x1002bb95
lea ecx, [esp + 0x20]
push ecx
call fcn.1002bcf0
mov byte [esp + 0x48], 5
mov esi, dword [esp + 0x18]
push str.SELECT__FROM_Win32_PhysicalMemory
lea ebx, [esp + 0x28]
call fcn.1002b3c0
mov edi, eax
mov byte [esp + 0x48], 6
push 0x100aad50
lea ebx, [esp + 0x2c]
call fcn.1002b3c0
mov byte [esp + 0x48], 7
mov ecx, dword [edi]
cmp ecx, ebp
je 0x1002bb44
mov ecx, dword [ecx]
jmp 0x1002bb46
xor ecx, ecx
mov eax, dword [eax]
cmp eax, ebp
je 0x1002bb50
mov eax, dword [eax]
jmp 0x1002bb52
xor eax, eax
mov edx, dword [esi]
lea edi, [esp + 0x20]
push edi
push ebp
push 0x30
push ecx
push eax
mov eax, dword [edx + 0x50]
push esi
call eax
mov esi, eax
mov byte [esp + 0x48], 6
lea edi, [esp + 0x28]
call fcn.10021420
mov byte [esp + 0x48], 5
lea edi, [esp + 0x24]
call fcn.10021420
cmp esi, ebp
jge 0x1002bbce
mov byte [esp + 0x48], 3
lea ecx, [esp + 0x20]
push ecx
call fcn.1005ee00
mov byte [esp + 0x48], 1
lea edx, [esp + 0x18]
push edx
call fcn.1005ee00
mov dword [esp + 0x48], 0xffffffff
lea eax, [esp + 0x1c]
push eax
call fcn.1005ee00
xor eax, eax
xor edx, edx
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
xor esi, esi
xor edi, edi
cmp dword [esp + 0x20], ebp
je 0x1002bca1
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea ecx, [esp + 0x24]
push ecx
call fcn.1002bcf0
mov byte [esp + 0x48], 8
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x28]
push ecx
push 1
mov dword [esp + 0x34], ebp
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
push 0x7d0
push eax
call edx
cmp eax, ebp
jl 0x1002bc86
cmp dword [esp + 0x28], ebp
je 0x1002bc92
lea eax, [esp + 0x2c]
push eax
call ebx
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
push ebp
push ebp
lea edx, [esp + 0x34]
push edx
push ebp
push 0x100aad54
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp eax, ebp
jl 0x1002bc60
cmp word [esp + 0x2c], 8
jne 0x1002bc60
mov eax, dword [esp + 0x34]
cmp eax, ebp
je 0x1002bc60
push 0xa
push ebp
push eax
call fcn.10077a7f
add esp, 0xc
add esi, eax
adc edi, edx
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov byte [esp + 0x48], 5
lea edx, [esp + 0x24]
push edx
call fcn.1005ee00
cmp dword [esp + 0x20], ebp
jne 0x1002bbe2
jmp 0x1002bca1
mov byte [esp + 0x48], 5
lea eax, [esp + 0x24]
push eax
jmp 0x1002bc9c
mov byte [esp + 0x48], 5
lea ecx, [esp + 0x24]
push ecx
call fcn.1005ee00
mov byte [esp + 0x48], 3
lea edx, [esp + 0x20]
push edx
call fcn.1005ee00
mov byte [esp + 0x48], 1
lea eax, [esp + 0x18]
push eax
call fcn.1005ee00
mov dword [esp + 0x48], 0xffffffff
lea ecx, [esp + 0x1c]
push ecx
call fcn.1005ee00
mov eax, esi
mov edx, edi
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret