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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100c5d2e
mov eax, dword fs:[0]
push eax
sub esp, 0x110
push ebx
push esi
push edi
mov eax, dword [0x100ef07c]
xor eax, esp
push eax
lea eax, [esp + 0x120]
mov dword fs:[0], eax
xor esi, esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x128], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x2c], esi
lea eax, [esp + 0x64]
push eax
mov byte [esp + 0x12c], 2
call fcn.100a8760
lea ecx, [esp + 0xfc]
push ecx
mov byte [esp + 0x12c], 3
call fcn.10008dd0
lea edx, [esp + 0xdc]
push edx
mov byte [esp + 0x12c], 4
call fcn.10008dd0
lea eax, [esp + 0xbc]
push eax
mov byte [esp + 0x12c], 5
call fcn.10008dd0
lea ecx, [esp + 0x10]
call dword [0x100ca800]
lea ecx, [esp + 0x3c]
call dword [0x100ca800]
lea ecx, [esp + 0x88]
mov dword [esp + 0x84], vtable.CFileData.0
call dword [0x100ca800]
lea ecx, [esp + 0x90]
mov dword [esp + 0x8c], esi
call dword [0x100ca800]
mov dword [esp + 0x94], esi
mov dword [esp + 0x98], esi
push 2
push esi
mov byte [esp + 0x130], 9
call dword [sym.imp.ole32.dll_CoInitializeEx]
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]
lea ecx, [esp + 0x38]
push ecx
push 0x100caad0
push 1
push esi
push 0x100caba0
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, esi
jl 0x10099320
mov ebx, dword [esp + 0x38]
push str.ROOTCIMV2
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edi, eax
mov dword [esp + 0x1c], edi
cmp edi, esi
jne 0x1009900b
mov eax, 0x8007000e
call fcn.1000d800
lea eax, [esp + 0x34]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
mov byte [esp + 0x144], 0xa
mov edx, dword [ebx]
mov ecx, dword [edx + 0xc]
push edi
push ebx
call ecx
push edi
mov ebx, eax
mov byte [esp + 0x12c], 9
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp ebx, esi
jl 0x10099320
mov edx, dword [esp + 0x34]
push esi
push esi
push 3
push 3
push esi
push esi
push 0xa
push edx
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
cmp eax, esi
jl 0x10099320
mov esi, dword [esp + 0x34]
push str.SELECT__FROM_CIM_ProcessExecutable
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edi, eax
mov dword [esp + 0x1c], edi
test edi, edi
jne 0x10099080
mov eax, 0x8007000e
call fcn.1000d800
push 0x100dd2c0
mov byte [esp + 0x12c], 0xb
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ebx, eax
mov dword [esp + 0x24], ebx
test ebx, ebx
jne 0x100990a7
mov eax, 0x8007000e
call fcn.1000d800
lea ecx, [esp + 0x2c]
push ecx
push 0
push 0x30
push edi
mov byte [esp + 0x138], 0xc
mov eax, dword [esi]
mov edx, dword [eax + 0x50]
push ebx
push esi
call edx
push ebx
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov esi, eax
call ebx
push edi
mov byte [esp + 0x12c], 9
call ebx
test esi, esi
jl 0x10099320
mov eax, dword [esp + 0x2c]
xor ecx, ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x40], ecx
cmp eax, ecx
je 0x10099320
mov ecx, dword [eax]
lea edx, [esp + 0x40]
push edx
lea edx, [esp + 0x34]
push edx
push 1
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp dword [esp + 0x40], 0
je 0x10099320
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
push 0
push 0
lea edx, [esp + 0xa4]
push edx
push 0
push str.Dependent
push eax
mov eax, dword [ecx + 0x10]
call eax
test eax, eax
jl 0x10099314
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
push 0
push 0
lea edx, [esp + 0xb4]
push edx
push 0
push str.Antecedent
push eax
mov eax, dword [ecx + 0x10]
call eax
test eax, eax
jl 0x10099314
mov ecx, dword [esp + 0xa4]
push ecx
lea edi, [esp + 0x28]
call fcn.100996d0
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x12c], 0xd
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
mov ecx, edi
mov byte [esp + 0x128], 9
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov edx, dword [esp + 0xb4]
push edx
lea edi, [esp + 0x20]
call fcn.100996d0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x12c], 0xe
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
mov ecx, edi
mov byte [esp + 0x128], 9
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, dword [esp + 0x3c]
push 0xa
push 0
push eax
call dword [sym.imp.MSVCR90.dll_wcstol]
mov ebx, eax
mov eax, dword [ebp + 0xc]
add esp, 0xc
mov dword [esp + 0x14], ebx
test eax, eax
je 0x100991f4
cmp ebx, eax
jne 0x100992ee
push 0x100cc7d8
push 0x100dd2f4
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Replace]
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::MakeLower]
push ebx
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x100992bb
push str.IsWow64Process
push str.kernel32
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10099255
lea ecx, [esp + 0x18]
push ecx
push edi
call eax
mov esi, dword [esp + 0x18]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x100992bb
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x68]
call fcn.1009b6a0
cmp dword [eax + 0x18], 0
jne 0x1009928e
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x68]
call fcn.1009b6a0
push ebx
mov ebx, eax
call fcn.10099780
push 0
push str..exe
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Find]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x68]
cmp eax, 0xffffffff
je 0x100992c4
call fcn.1009b6a0
mov esi, eax
mov eax, dword [esi + 0x14]
mov edi, dword [eax]
jmp 0x100992ce
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x68]
call fcn.1009b6a0
mov esi, eax
mov edi, dword [esi + 0x14]
mov eax, dword [edi + 4]
lea edx, [esp + 0x10]
push edx
push eax
push edi
call fcn.1009bbe0
mov ecx, esi
mov ebx, eax
call fcn.100a4430
mov dword [edi + 4], ebx
mov eax, dword [ebx + 4]
mov dword [eax], ebx
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [esp + 0x9c]
push ecx
call esi
lea edx, [esp + 0xac]
push edx
call esi
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x100990f6
xor esi, esi
lea ecx, [esp + 0x48]
mov dword [esp + 0x18], esi
mov dword [esp + 0x44], vtable.CFileData.0
call dword [0x100ca800]
lea ecx, [esp + 0x50]
mov dword [esp + 0x4c], esi
call dword [0x100ca800]
lea ecx, [esp + 0x60]
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x44], vtable.CMemoryFileData.0
mov dword [esp + 0x5c], esi
call dword [0x100ca800]
mov byte [esp + 0x128], 0xf
mov eax, dword [esp + 0x7c]
mov ebx, dword [eax]
mov edi, dword [esp + 0x64]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], edi
mov edi, edi
mov esi, dword [esp + 0x7c]
test edi, edi
je 0x1009938e
cmp edi, dword [esp + 0x64]
je 0x10099394
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp ebx, esi
je 0x10099551
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp + 8]
mov esi, dword [ecx]
inc eax
mov dword [esp + 0x18], eax
cdq
push edx
mov edx, dword [esp + 0x84]
push eax
mov eax, dword [esi + 0x10]
push 0
push edx
call eax
cmp eax, 0xfffffffc
je 0x10099551
mov esi, dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
test edi, edi
jne 0x10099510
call esi
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x100993de
call esi
mov ecx, dword [ebx + 0xc]
mov dword [esp + 0x5c], ecx
test edi, edi
jne 0x10099517
call esi
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x100993f8
call esi
mov edx, dword [ebx + 0x24]
mov eax, dword [edx]
mov esi, dword [ebx + 0x10]
mov dword [esp + 0x20], eax
test edi, edi
jne 0x1009951e
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x1009941f
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edi, dword [ebx + 0x24]
mov eax, dword [ebx + 0x10]
test esi, esi
je 0x1009942d
cmp esi, eax
je 0x10099433
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp dword [esp + 0x20], edi
je 0x1009953b
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x10099525
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x1009945c
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [ebx + 0x24]
mov edi, dword [ecx]
mov eax, dword [ebx + 0x10]
test esi, esi
je 0x1009946c
cmp esi, eax
je 0x10099472
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp dword [esp + 0x20], edi
jne 0x100994a9
test esi, esi
jne 0x1009952c
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
mov edx, dword [esp + 0x20]
cmp edx, dword [eax + 0x14]
jne 0x10099497
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 8]
push ecx
lea ecx, [esp + 0x64]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
test esi, esi
jne 0x10099533
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
mov edx, dword [esp + 0x20]
cmp edx, dword [eax + 0x14]
jne 0x100994c8
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edi, dword [esp + 0x20]
mov eax, dword [edi + 8]
push eax
lea ecx, [esp + 0x4c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
lea eax, [esp + 0x44]
push eax
call edx
cmp eax, 0xfffffffc
je 0x1009953b
test esi, esi
jne 0x10099537
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x10099505
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [edi]
mov edi, dword [esp + 0x24]
jmp 0x10099400
mov eax, dword [edi]
jmp 0x100993d7
mov eax, dword [edi]
jmp 0x100993f1
mov eax, dword [edi]
jmp 0x10099414
mov eax, dword [eax]
jmp 0x10099451
mov eax, dword [esi]
jmp 0x10099488
mov eax, dword [esi]
jmp 0x100994b9
mov eax, dword [esi]
jmp 0x100994fa
lea esi, [esp + 0x24]
call fcn.100a9b80
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
jmp 0x10099380
lea ecx, [esp + 0x60]
mov dword [esp + 0x44], vtable.CMemoryFileData.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]
mov esi, vtable.CFileData.0
lea ecx, [esp + 0x50]
mov dword [esp + 0x44], esi
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 + 0x48]
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]
mov dword [esp + 0x84], esi
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 + 0x3c]
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 + 0x10]
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 + 0xbc]
mov byte [esp + 0x128], 0x10
call fcn.100a8dd0
mov ecx, dword [esp + 0xbc]
push ecx
call sub.mfc90u.dll_delete_1
add esp, 4
lea esi, [esp + 0xdc]
mov byte [esp + 0x128], 0x11
call fcn.10008be0
mov edx, dword [esp + 0xdc]
push edx
call sub.mfc90u.dll_delete_1
add esp, 4
lea esi, [esp + 0xfc]
mov byte [esp + 0x128], 0x12
call fcn.10008be0
mov eax, dword [esp + 0xfc]
push eax
call sub.mfc90u.dll_delete_1
add esp, 4
lea esi, [esp + 0x64]
mov byte [esp + 0x128], 0x13
call fcn.1009baf0
mov ecx, dword [esp + 0x64]
push ecx
call sub.mfc90u.dll_delete_1
mov byte [esp + 0x12c], 1
mov eax, dword [esp + 0x30]
add esp, 4
test eax, eax
je 0x10099657
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov byte [esp + 0x128], 0
mov eax, dword [esp + 0x38]
test eax, eax
je 0x1009966f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x128], 0xffffffff
mov eax, dword [esp + 0x34]
test eax, eax
je 0x1009968a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor eax, eax
mov ecx, dword [esp + 0x120]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8