Function at 0x100157f0
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001fd1f
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x1002b014]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x50], ecx
mov esi, dword [ebp + 0xc]
mov eax, dword [esi + 0x18cc]
cmp dword [eax - 0xc], 0
jne 0x10015837
xor eax, eax
jmp 0x10015c43
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
cmp dword [ebp + 8], 0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0
jne 0x10015857
push str.SELECT__FROM_MSStorageDriver_FailurePredictData
jmp 0x1001585c
push str.SELECT__FROM_MSStorageDriver_FailurePredictThresholds
call dword [0x100211e8]
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 0
push eax
push 0x10021414
push 1
push 0
push 0x10021424
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov byte [ebp - 4], 1
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x10015bdb
xor edi, edi
xor edx, edx
push edi
lea ecx, [edi + 6]
call fcn.1001cb00
add esp, 4
mov ecx, 0x80
test eax, eax
cmovne edi, ecx
lea ecx, [ebp - 0x18]
push str.._rootWMI
call fcn.100011f0
mov byte [ebp - 4], 2
mov eax, dword [eax]
test eax, eax
je 0x100158e5
mov edx, dword [eax]
jmp 0x100158e7
xor edx, edx
mov eax, dword [ebp - 0x34]
lea ebx, [ebp - 0x2c]
push ebx
push 0
push 0
mov ecx, dword [eax]
push edi
push 0
push 0
push 0
push edx
push eax
call dword [ecx + 0xc]
test eax, eax
mov byte [ebp - 4], 1
mov edi, dword [ebp - 0x18]
setns cl
or ebx, 0xffffffff
mov byte [ebp - 0x49], cl
test edi, edi
je 0x1001595d
mov eax, ebx
lock xadd dword [edi + 8], eax
dec eax
jne 0x1001595d
test edi, edi
je 0x1001595d
mov eax, dword [edi]
test eax, eax
je 0x10015937
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x1001594f
push eax
call dword [sym.imp.mfc140u.dll_operator_2]
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
call fcn.1001ddbe
mov cl, byte [ebp - 0x49]
add esp, 8
test cl, cl
je 0x10015bdb
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [ebp - 0x2c]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x10015bdb
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x54]
call fcn.100011f0
mov edi, eax
push 0x10021fc0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.100011f0
mov ecx, eax
mov byte [ebp - 4], 4
mov eax, dword [edi]
test eax, eax
je 0x100159b2
mov edi, dword [eax]
jmp 0x100159b4
xor edi, edi
mov eax, dword [ecx]
test eax, eax
je 0x100159be
mov edx, dword [eax]
jmp 0x100159c0
xor edx, edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x2c]
push 0
push 0x30
push edi
push edx
push eax
call dword [ecx + 0x50]
mov edi, dword [ebp - 0x18]
test eax, eax
setns byte [ebp - 0x49]
test edi, edi
je 0x10015a2e
mov eax, ebx
lock xadd dword [edi + 8], eax
dec eax
jne 0x10015a27
test edi, edi
je 0x10015a27
mov eax, dword [edi]
test eax, eax
je 0x10015a04
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x10015a1c
push eax
call dword [sym.imp.mfc140u.dll_operator_2]
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
call fcn.1001ddbe
add esp, 8
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 1
mov edi, dword [ebp - 0x54]
test edi, edi
je 0x10015a7b
lock xadd dword [edi + 8], ebx
dec ebx
jne 0x10015a7b
test edi, edi
je 0x10015a7b
mov eax, dword [edi]
test eax, eax
je 0x10015a58
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x10015a70
push eax
call dword [sym.imp.mfc140u.dll_operator_2]
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
call fcn.1001ddbe
add esp, 8
cmp byte [ebp - 0x49], 0
je 0x10015bdb
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantClear]
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x10015bde
mov eax, dword [ecx]
lea edx, [ebp - 0x20]
push edx
lea edx, [ebp - 0x30]
push edx
push 1
push 0x2710
push ecx
call dword [eax + 0x10]
test eax, eax
js 0x10015bdb
cmp dword [ebp - 0x20], 1
jne 0x10015bdb
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 5
push eax
call ebx
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x48]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.InstanceName
push eax
call dword [ecx + 0x10]
test eax, eax
jne 0x10015b14
cmp word [ebp - 0x48], 1
jbe 0x10015b14
push dword [ebp - 0x40]
lea ecx, [ebp - 0x18]
call dword [0x100211e8]
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__8]
lea eax, [ebp - 0x48]
push eax
call edi
lea eax, [ebp - 0x48]
push eax
call ebx
push 0
push dword [esi + 0x18cc]
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__7]
test eax, eax
je 0x10015b41
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
jmp 0x10015a91
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x48]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.VendorSpecific
push eax
call dword [ecx + 0x10]
test eax, eax
jne 0x10015b2f
cmp word [ebp - 0x48], 1
jbe 0x10015b2f
mov dword [ebp - 0x24], eax
cmp dword [ebp + 8], eax
jne 0x10015ba0
nop dword [eax]
add eax, 0x1000
add eax, esi
push eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x40]
call dword [sym.imp.OLEAUT32.dll_SafeArrayPutElement]
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp eax, 0x200
jl 0x10015b70
mov ecx, dword [ebp - 0x50]
push esi
call fcn.10016d60
jmp 0x10015bc9
add eax, 0x1200
add eax, esi
push eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x40]
call dword [sym.imp.OLEAUT32.dll_SafeArrayPutElement]
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp eax, 0x200
jl 0x10015ba0
push esi
call fcn.10018420
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x48]
push eax
call edi
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 4], 0
mov ebx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x30]
test edx, edx
je 0x10015bff
mov eax, dword [edx]
push edx
call dword [eax + 8]
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x30], 0
test ecx, ecx
je 0x10015c10
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0x28], 0
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x10015c24
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0x2c], 0
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x10015c38
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1001d656
mov esp, ebp
pop ebp
ret 8