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

Disassembly:
push 0xffffffffffffffff
push 0x1001a3d6
mov eax, dword fs:[0]
push eax
sub esp, 0x13c
mov eax, dword [0x10022018]
xor eax, esp
mov dword [esp + 0x138], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10022018]
xor eax, esp
push eax
lea eax, [esp + 0x150]
mov dword fs:[0], eax
mov eax, dword [esp + 0x164]
xor ebx, ebx
push 0x103
lea ecx, [esp + 0x49]
push ebx
push ecx
mov dword [esp + 0x3c], eax
mov byte [esp + 0x50], bl
call sub.MSVCR90.dll_memset
mov edx, dword [esp + 0x16c]
push edx
lea eax, [esp + 0x54]
push str.SELECT__FROM_Win32_Process_where_ProcessId_d
push eax
call dword [sym.imp.MSVCR90.dll_sprintf]
add esp, 0x18
push ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jl 0x10011e92
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
jge 0x10011cd7
cmp eax, 0x80010119
jne 0x10011e8c
lea ecx, [esp + 0x44]
push ecx
call fcn.10019ba0
lea edx, [esp + 0x1c]
push edx
push 0x1001b484
push 1
push ebx
push 0x1001b554
mov ebp, eax
mov dword [esp + 0x30], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x10011e8c
lea eax, [esp + 0x28]
push eax
mov edi, str.ROOTCIMV2
mov dword [esp + 0x1c], ebx
call fcn.10005160
mov dword [esp + 0x158], ebx
mov eax, dword [eax]
cmp eax, ebx
je 0x10011d2b
mov ecx, dword [eax]
jmp 0x10011d2d
xor ecx, ecx
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
lea esi, [esp + 0x18]
push esi
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ecx
push eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [esp + 0x28]
mov esi, eax
mov dword [esp + 0x158], 0xffffffff
call fcn.10005200
cmp esi, ebx
jl 0x10011d84
mov eax, dword [esp + 0x18]
push ebx
push ebx
push 3
push 3
push ebx
push ebx
push 0xa
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
cmp eax, ebx
jge 0x10011d8d
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x1c]
jmp 0x10011e84
mov dword [esp + 0x20], ebx
lea ebx, [esp + 0x28]
call fcn.100050d0
mov dword [esp + 0x158], 1
mov eax, dword [eax]
xor ebx, ebx
cmp eax, ebx
je 0x10011db1
mov ecx, dword [eax]
jmp 0x10011db3
xor ecx, ecx
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
lea esi, [esp + 0x20]
push esi
push ebx
push 0x30
push ebp
push ecx
push eax
mov eax, dword [edx + 0x50]
call eax
lea edi, [esp + 0x28]
mov esi, eax
mov dword [esp + 0x158], 0xffffffff
call fcn.10005200
cmp esi, ebx
jl 0x10011d78
mov eax, dword [esp + 0x20]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], ebx
cmp eax, ebx
je 0x10011e68
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea esp, [esp]
mov ecx, dword [eax]
lea edx, [esp + 0x2c]
push edx
lea edx, [esp + 0x28]
push edx
push 1
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp dword [esp + 0x2c], ebx
je 0x10011e68
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
push ebx
push ebx
lea edx, [esp + 0x3c]
push edx
push ebx
push 0x1001e394
push eax
mov eax, dword [ecx + 0x10]
call eax
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x30]
push ecx
push 0x1001e190
push edx
call dword [sym.imp.MSVCR90.dll_sprintf]
add esp, 0xc
lea eax, [esp + 0x34]
push eax
call esi
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x10011e00
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x1c]
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]
mov ecx, dword [esp + 0x150]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x138]
xor ecx, esp
call fcn.100191d2
add esp, 0x148
ret