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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f01f8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x542c54]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x34], ebx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0xa98]
mov eax, dword [ecx - 0xc]
xor edi, edi
cmp eax, edi
jne 0x40b2f8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.004bfb80
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40b312
push 0x80004005
call fcn.00402700
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x28]
cmp dword [ebp + 8], edi
jne 0x40b333
push str.SELECT__FROM_MSStorageDriver_FailurePredictData
jmp 0x40b338
push str.SELECT__FROM_MSStorageDriver_FailurePredictThresholds
call fcn.00407a30
lea ecx, [ebp - 0x24]
push ecx
push 0x52ef10
push 1
push edi
push 0x52efe0
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], edi
mov byte [ebp - 4], 1
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x40b5d6
xor esi, esi
cmp dword [ebx + 0x124], 6
jb 0x40b382
mov esi, 0x80
push str.._rootWMI
lea ecx, [ebp - 0x18]
call fcn.00404db0
mov eax, dword [eax]
mov byte [ebp - 4], 2
cmp eax, edi
je 0x40b39d
mov ecx, dword [eax]
jmp 0x40b39f
xor ecx, ecx
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
lea ebx, [ebp - 0x20]
push ebx
push edi
push edi
push esi
push edi
push edi
push edi
push ecx
push eax
mov eax, dword [edx + 0xc]
call eax
cmp eax, edi
lea ecx, [ebp - 0x18]
setge bl
mov byte [ebp - 4], 1
call fcn.0040b120
test bl, bl
je 0x40b5d6
mov ecx, dword [ebp - 0x20]
push edi
push edi
push 3
push 3
push edi
push edi
push 0xa
push ecx
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jl 0x40b5d6
mov edx, dword [ebp - 0x28]
push edx
lea ecx, [ebp - 0x38]
call fcn.00404d20
mov esi, eax
push 0x4f4fe8
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.00404db0
mov ecx, dword [esi]
mov byte [ebp - 4], 4
cmp ecx, edi
je 0x40b417
mov edx, dword [ecx]
jmp 0x40b419
xor edx, edx
mov eax, dword [eax]
cmp eax, edi
je 0x40b423
mov ecx, dword [eax]
jmp 0x40b425
xor ecx, ecx
mov eax, dword [ebp - 0x20]
mov esi, dword [eax]
lea ebx, [ebp - 0x14]
push ebx
push edi
push 0x30
push edx
push ecx
push eax
mov eax, dword [esi + 0x50]
call eax
cmp eax, edi
lea ecx, [ebp - 0x18]
setge bl
call fcn.0040b120
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.0040b120
test bl, bl
je 0x40b5d6
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0x14]
cmp eax, edi
je 0x40b5d9
mov ecx, dword [eax]
lea edx, [ebp - 0x30]
push edx
lea edx, [ebp - 0x1c]
push edx
mov esi, 1
push esi
push 0x2710
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp eax, edi
jl 0x40b5d6
cmp dword [ebp - 0x30], esi
jne 0x40b5d6
lea ecx, [ebp - 0x18]
call fcn.00402d70
lea ecx, [ebp - 0x48]
push ecx
mov byte [ebp - 4], 5
call ebx
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
push edi
push edi
lea ecx, [ebp - 0x48]
push ecx
push edi
push str.InstanceName
push eax
call edx
cmp eax, edi
jne 0x40b4e8
cmp word [ebp - 0x48], si
jbe 0x40b4e8
mov eax, dword [ebp - 0x40]
push eax
lea ecx, [ebp - 0x18]
call fcn.00407a30
lea ecx, [ebp - 0x18]
call fcn.00407cc0
lea ecx, [ebp - 0x48]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea edx, [ebp - 0x48]
push edx
call ebx
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0xa98]
cmp eax, edi
je 0x40b515
mov esi, dword [ebp - 0x18]
cmp dword [esi - 0xc], edi
jl 0x40b515
push eax
push esi
call fcn.004ccf7c
add esp, 8
cmp eax, edi
je 0x40b515
sub eax, esi
je 0x40b526
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.00402da0
jmp 0x40b460
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push edi
push edi
lea edx, [ebp - 0x48]
push edx
push edi
push 0x4f4fac
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp eax, edi
jne 0x40b515
cmp word [ebp - 0x48], 1
jbe 0x40b515
mov esi, dword [sym.imp.OLEAUT32.dll_SafeArrayPutElement]
xor eax, eax
cmp dword [ebp + 8], edi
mov dword [ebp + 8], eax
jne 0x40b590
cmp eax, 0x200
jge 0x40b57d
mov ecx, dword [ebp + 0xc]
lea edx, [eax + ecx + 0x200]
mov ecx, dword [ebp - 0x40]
push edx
lea eax, [ebp + 8]
push eax
push ecx
call esi
mov eax, dword [ebp + 8]
inc eax
mov dword [ebp + 8], eax
jmp 0x40b558
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x34]
push edx
call fcn.00406040
jmp 0x40b5c1
cmp eax, 0x200
jge 0x40b5b5
mov ecx, dword [ebp + 0xc]
lea edx, [eax + ecx + 0x400]
mov ecx, dword [ebp - 0x40]
push edx
lea eax, [ebp + 8]
push eax
push ecx
call esi
mov eax, dword [ebp + 8]
inc eax
mov dword [ebp + 8], eax
jmp 0x40b590
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x34]
push edx
call fcn.004041b0
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [ebp - 0x18]
call fcn.00402da0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], edi
mov ecx, dword [ebp - 0x1c]
cmp ecx, edi
je 0x40b5f1
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push ecx
call eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], edi
cmp eax, edi
je 0x40b600
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 0x14], edi
mov eax, dword [ebp - 0x20]
cmp eax, edi
je 0x40b612
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 0x20], edi
mov eax, dword [ebp - 0x24]
cmp eax, edi
je 0x40b624
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 0x24], edi
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b64a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8