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

Disassembly:
push 0x60
mov eax, 0x10041e4b
call fcn.10021f0e
xor ebx, ebx
push ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x4c], ebx
mov byte [ebp - 0x31], bl
call dword [sym.imp.ole32.dll_CoInitialize]
push ebx
push ebx
push ebx
push 3
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push ebx
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
cmp eax, ebx
jl 0x1001b305
mov dword [ebp - 0x44], ebx
lea eax, [ebp - 0x44]
push eax
push 0x100508bc
push 0x17
push ebx
push 0x10049dd0
mov byte [ebp - 4], 1
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, dword [ebp - 0x44]
push str.ROOTCIMV2
call edi
mov dword [ebp - 0x40], eax
cmp eax, ebx
jne 0x1001b156
push 0x8007000e
call fcn.10002c51
lea edx, [ebp - 0x48]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
mov byte [ebp - 4], 2
mov ecx, dword [esi]
push esi
call dword [ecx + 0xc]
mov byte [ebp - 4], 1
push dword [ebp - 0x40]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
push ebx
push ebx
push 3
push 3
push ebx
push ebx
push 0xa
push dword [ebp - 0x48]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
push str.SELECT__FROM_Win32_Process
call edi
mov dword [ebp - 0x38], eax
cmp eax, ebx
je 0x1001b14c
push 0x10050704
mov byte [ebp - 4], 3
call edi
mov edi, eax
mov dword [ebp - 0x40], edi
cmp edi, ebx
je 0x1001b14c
lea edx, [ebp - 0x3c]
push edx
push ebx
push 0x30
mov byte [ebp - 4], 4
push dword [ebp - 0x38]
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x50]
push edi
call esi
mov byte [ebp - 4], 1
push dword [ebp - 0x38]
jmp 0x1001b2cc
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x38]
push ecx
push 1
push 0xffffffffffffffff
push dword [ebp - 0x3c]
mov dword [ebp - 0x40], ebx
mov eax, dword [eax]
call dword [eax + 0x10]
cmp eax, ebx
jne 0x1001b2db
cmp dword [ebp - 0x40], ebx
je 0x1001b2db
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 0x6c]
push eax
call esi
lea eax, [ebp - 0x5c]
push eax
call esi
push ebx
push ebx
lea edx, [ebp - 0x6c]
push edx
push ebx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
push str.Name
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
push ebx
push ebx
lea edx, [ebp - 0x5c]
push edx
push ebx
push str.ProcessId
push eax
call dword [ecx + 0x10]
push dword [ebp - 0x64]
lea esi, [ebp - 0x30]
call fcn.1000763c
mov byte [ebp - 4], 7
cmp dword [ebp + 0x1c], 8
mov eax, dword [ebp + 8]
jae 0x1001b25c
lea eax, [ebp + 8]
push dword [ebp + 0x18]
lea edi, [ebp - 0x30]
push eax
call fcn.1001c550
cmp eax, 0xffffffff
je 0x1001b28c
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
push ebx
push ebx
lea edx, [ebp - 0x5c]
push edx
push ebx
push str.ProcessId
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x31], 1
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x6c]
push eax
call esi
lea eax, [ebp - 0x5c]
push eax
call esi
push 1
xor edi, edi
lea esi, [ebp - 0x30]
call fcn.10003078
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x5c]
push eax
call esi
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 1
push eax
cmp byte [ebp - 0x31], bl
jne 0x1001b2d9
call esi
cmp dword [ebp - 0x3c], ebx
jne 0x1001b1d6
jmp 0x1001b2e8
call esi
mov eax, dword [ebp - 0x3c]
cmp eax, ebx
je 0x1001b2e8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x48]
cmp eax, ebx
je 0x1001b2f5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x44]
cmp eax, ebx
je 0x1001b305
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
push 1
xor edi, edi
lea esi, [ebp + 8]
call fcn.10003078
mov eax, dword [ebp - 0x4c]
call fcn.10021f58
ret 0x1c