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

Disassembly:
push 0xffffffffffffffff
push 0x100f1698
mov eax, dword fs:[0]
push eax
sub esp, 0x118
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1011f07c]
xor eax, esp
push eax
lea eax, [esp + 0x12c]
mov dword fs:[0], eax
xor ebp, ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x134], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x20], ebp
lea eax, [esp + 0x108]
push eax
mov byte [esp + 0x138], 2
call fcn.100c4a40
lea ecx, [esp + 0xc8]
push ecx
mov byte [esp + 0x138], 3
call fcn.100b3e60
lea edx, [esp + 0xe8]
push edx
mov byte [esp + 0x138], 4
call fcn.100b3e60
lea eax, [esp + 0xa8]
push eax
mov byte [esp + 0x138], 5
call fcn.100b3e60
lea ecx, [esp + 0x84]
call dword [0x100f3984]
lea ecx, [esp + 0x88]
call dword [0x100f3984]
lea ecx, [esp + 0x90]
mov dword [esp + 0x8c], vtable.CFileData.0
call dword [0x100f3984]
lea ecx, [esp + 0x98]
mov dword [esp + 0x94], ebp
call dword [0x100f3984]
mov dword [esp + 0x9c], ebp
mov dword [esp + 0xa0], ebp
push 2
push ebp
mov byte [esp + 0x13c], 9
call dword [sym.imp.ole32.dll_CoInitializeEx]
push ebp
push ebp
push ebp
push 3
push ebp
push ebp
push ebp
push 0xffffffffffffffff
push ebp
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
lea ecx, [esp + 0x38]
push ecx
push 0x100f46e4
push 1
push ebp
push 0x100f47b4
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebp
jl 0x100ce7f9
mov edi, dword [esp + 0x38]
push str.ROOTCIMV2
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [esp + 0x18], esi
cmp esi, ebp
jne 0x100ce43f
mov eax, 0x8007000e
call fcn.1000e680
lea eax, [esp + 0x1c]
push eax
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
mov byte [esp + 0x150], 0xa
mov edx, dword [edi]
mov ecx, dword [edx + 0xc]
push esi
push edi
call ecx
mov byte [esp + 0x134], 9
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push esi
mov edi, eax
call ebx
cmp edi, ebp
jl 0x100ce7f9
mov edx, dword [esp + 0x1c]
push ebp
push ebp
push 3
push 3
push ebp
push ebp
push 0xa
push edx
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
cmp eax, ebp
jl 0x100ce7f9
mov edi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ebp, dword [esp + 0x1c]
push str.SELECT__FROM_CIM_Process
call edi
mov esi, eax
mov dword [esp + 0x18], esi
test esi, esi
jne 0x100ce4b8
mov eax, 0x8007000e
call fcn.1000e680
push 0x10109a90
mov byte [esp + 0x138], 0xb
call edi
mov edi, eax
mov dword [esp + 0x24], edi
test edi, edi
jne 0x100ce4db
mov eax, 0x8007000e
call fcn.1000e680
lea ecx, [esp + 0x20]
push ecx
push 0
push 0x30
push esi
mov byte [esp + 0x144], 0xc
mov eax, dword [ebp]
mov edx, dword [eax + 0x50]
push edi
push ebp
call edx
push edi
mov ebp, eax
call ebx
push esi
mov byte [esp + 0x138], 9
call ebx
test ebp, ebp
jl 0x100ce7f7
mov eax, dword [esp + 0x20]
xor ebp, ebp
mov dword [esp + 0x50], ebp
cmp eax, ebp
je 0x100ce71f
mov edi, dword [sym.imp.OLEAUT32.dll_VariantClear]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov bl, 0x12
nop
mov dword [esp + 0x18], ebp
lea edx, [esp + 0x50]
push edx
lea edx, [esp + 0x1c]
push edx
push 1
mov byte [esp + 0x140], 0xd
mov ecx, dword [eax]
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp dword [esp + 0x50], ebp
je 0x100ce707
lea ecx, [esp + 0x54]
push ecx
call edi
lea edx, [esp + 0x3c]
push edx
call edi
lea eax, [esp + 0x74]
push eax
call edi
lea ecx, [esp + 0x24]
push ecx
call edi
lea edx, [esp + 0x64]
push edx
call edi
push ebp
push ebp
lea edx, [esp + 0x44]
push edx
mov byte [esp + 0x140], bl
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
push ebp
push str.ProcessID
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp eax, ebp
jl 0x100ce6be
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
push ebp
push ebp
lea edx, [esp + 0x6c]
push edx
push ebp
push str.Caption
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp eax, ebp
jl 0x100ce6be
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
push ebp
push ebp
lea edx, [esp + 0x5c]
push edx
push ebp
push str.ExecutablePath
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp eax, ebp
jl 0x100ce6be
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
push ebp
push ebp
lea edx, [esp + 0x7c]
push edx
push ebp
push str.CommandLine
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp eax, ebp
jl 0x100ce6be
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
push ebp
push ebp
lea edx, [esp + 0x2c]
push edx
push ebp
push str.ParentProcessID
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp eax, ebp
jl 0x100ce6be
mov eax, 3
cmp word [esp + 0x3c], ax
je 0x100ce67b
lea eax, [esp + 0x64]
push eax
call esi
lea ecx, [esp + 0x24]
push ecx
call esi
lea edx, [esp + 0x74]
push edx
call esi
lea eax, [esp + 0x3c]
push eax
call esi
lea ecx, [esp + 0x54]
push ecx
call esi
mov byte [esp + 0x134], 9
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x100ce6f9
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x100ce6f9
cmp word [esp + 0x24], ax
jne 0x100ce6be
mov eax, 8
cmp word [esp + 0x54], ax
jne 0x100ce69a
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x5c]
push ebp
push eax
jmp 0x100ce6a7
cmp word [esp + 0x64], ax
jne 0x100ce6be
mov ecx, dword [esp + 0x6c]
push ebp
push ebp
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x148]
push edx
push eax
call fcn.100cbc80
lea ecx, [esp + 0x64]
push ecx
call esi
lea edx, [esp + 0x24]
push edx
call esi
lea eax, [esp + 0x74]
push eax
call esi
lea ecx, [esp + 0x3c]
push ecx
call esi
lea edx, [esp + 0x54]
push edx
call esi
mov byte [esp + 0x134], 9
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x100ce6f9
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x20]
cmp eax, ebp
jne 0x100ce530
jmp 0x100ce71f
mov byte [esp + 0x134], 9
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x100ce71f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov edi, dword [esp + 0x13c]
cmp dword [edi + 0x7c], ebp
je 0x100ce7f7
mov ecx, dword [edi + 0x7c]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
test eax, eax
je 0x100ce7f7
mov ecx, dword [edi + 0x7c]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
push 1
push str.protection
call edx
test eax, eax
je 0x100ce7f7
mov eax, dword [edi + 0xc0]
mov edx, dword [eax + 0x14]
lea ecx, [edi + 0xc0]
push 0xffffffffffffffff
mov dword [esp + 0x1c], ecx
call edx
mov byte [esp + 0x134], 0x13
mov eax, dword [edi + 0x98]
mov ebp, dword [eax]
mov esi, dword [edi + 0x80]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], esi
nop
mov ebx, dword [edi + 0x98]
mov eax, dword [edi + 0x80]
test esi, esi
je 0x100ce7a4
cmp esi, eax
je 0x100ce7aa
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp ebp, ebx
je 0x100ce7e4
test esi, esi
jne 0x100ce7e0
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp ebp, dword [esi + 0x18]
jne 0x100ce7c3
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
lea edx, [ebp + 0x10]
mov ecx, edi
call fcn.100ccbb0
lea esi, [esp + 0x24]
call fcn.100d7cf0
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
jmp 0x100ce790
mov esi, dword [esi]
jmp 0x100ce7b8
mov byte [esp + 0x134], 9
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
call edx
xor ebp, ebp
lea ecx, [esp + 0x98]
mov dword [esp + 0x8c], vtable.CFileData.0
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x90]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x88]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x84]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea esi, [esp + 0xa8]
mov byte [esp + 0x134], 0x14
call fcn.100b3ee0
mov eax, dword [esp + 0xa8]
push eax
call sub.mfc90u.dll_delete_1
add esp, 4
lea esi, [esp + 0xe8]
mov byte [esp + 0x134], 0x15
call fcn.100098e0
mov ecx, dword [esp + 0xe8]
push ecx
call sub.mfc90u.dll_delete_1
add esp, 4
lea esi, [esp + 0xc8]
mov byte [esp + 0x134], 0x16
call fcn.100098e0
mov edx, dword [esp + 0xc8]
push edx
call sub.mfc90u.dll_delete_1
add esp, 4
lea esi, [esp + 0x108]
mov byte [esp + 0x134], 0x17
call fcn.100b3e20
mov eax, dword [esp + 0x108]
push eax
call sub.mfc90u.dll_delete_1
mov byte [esp + 0x138], 1
mov eax, dword [esp + 0x24]
add esp, 4
cmp eax, ebp
je 0x100ce8e0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x134], 0
mov eax, dword [esp + 0x38]
cmp eax, ebp
je 0x100ce8f8
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x134], 0xffffffff
mov eax, dword [esp + 0x1c]
cmp eax, ebp
je 0x100ce913
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, 1
mov ecx, dword [esp + 0x12c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x124
ret 4