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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xc0
mov rsi, r8
mov r15d, edx
mov r12, rcx
mov rax, qword [r8 + 0x1918]
xor edi, edi
cmp dword [rax - 0x10], edi
jne 0x140064bd0
xor eax, eax
jmp 0x1400650ad
call fcn.140077d4c
mov rcx, rax
test rax, rax
je 0x1400650ca
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x88], rax
test r15d, r15d
lea rbx, str.SELECT__FROM_MSStorageDriver_FailurePredictData
je 0x140064c06
lea rbx, str.SELECT__FROM_MSStorageDriver_FailurePredictThresholds
mov rcx, rbx
call fcn.1400b6ca8
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x88]
call fcn.140002188
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x58], rdi
mov dword [rsp + 0x50], edi
mov r14d, edi
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r9, [0x1401075a8]
mov r13d, 1
mov r8d, r13d
xor edx, edx
lea rcx, [0x1401075b8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x140065008
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 6]
call fcn.14004915c
neg eax
sbb ebx, ebx
and ebx, 0x80
lea rdx, str.._rootWMI
lea rcx, [rsp + 0xa8]
call fcn.140015914
nop
mov rax, qword [rax]
test rax, rax
je 0x140064ca6
mov rdx, qword [rax]
jmp 0x140064ca9
mov rdx, rdi
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
lea r8, [rsp + 0x60]
mov qword [rsp + 0x40], r8
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov ebx, eax
shr ebx, 0x1f
lea rcx, [rsp + 0xa8]
call fcn.14001a0c0
xor bl, r13b
je 0x140065008
mov dword [rsp + 0x38], edi
mov qword [rsp + 0x30], rdi
mov eax, 3
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
lea edx, [rax + 7]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x140065008
mov rdx, qword [rsp + 0x88]
lea rcx, [rsp + 0xb8]
call fcn.140015914
mov rbx, rax
lea rdx, [0x1400f4b38]
lea rcx, [rsp + 0xb0]
call fcn.140015914
nop
mov rcx, qword [rax]
test rcx, rcx
je 0x140064d5e
mov rdx, qword [rcx]
jmp 0x140064d61
mov rdx, rdi
mov rax, qword [rbx]
test rax, rax
je 0x140064d6e
mov r8, qword [rax]
jmp 0x140064d71
mov r8, rdi
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
lea r9, [rsp + 0x68]
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x20], rdi
mov r9d, 0x30
call qword [rax + RegisterTypeLib]
mov ebx, eax
shr ebx, 0x1f
lea rcx, [rsp + 0xb0]
call fcn.14001a0c0
nop
lea rcx, [rsp + 0xb8]
call fcn.14001a0c0
xor bl, r13b
je 0x140065008
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140065008
mov rax, qword [rcx]
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x58]
mov r8d, r13d
mov edx, 0x2710
call qword [rax + 0x20]
test eax, eax
js 0x140065008
cmp dword [rsp + 0x50], r13d
jne 0x140065008
call fcn.140077d4c
mov rcx, rax
test rax, rax
je 0x1400650d5
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x80], rbx
lea rcx, [rsp + 0x90]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x90]
xor r8d, r8d
lea rdx, str.InstanceName
call qword [rax + 0x20]
test eax, eax
jne 0x140064eb1
cmp word [rsp + 0x90], r13w
jbe 0x140064eb1
mov rbx, qword [rsp + 0x98]
test rbx, rbx
jne 0x140064e73
mov eax, edi
jmp 0x140064e7b
mov rcx, rbx
call fcn.1400b6ca8
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x80]
call fcn.140002188
lea rcx, [rsp + 0x80]
call fcn.140008bfc
lea rcx, [rsp + 0x90]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rbx, qword [rsp + 0x80]
lea rcx, [rsp + 0x90]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
mov rdx, qword [rsi + 0x1918]
test rdx, rdx
je 0x14006500a
cmp dword [rbx - 0x10], edi
jl 0x14006500a
mov rcx, rbx
call fcn.1400b2918
test rax, rax
je 0x14006500a
sub rax, rbx
sar rax, 1
test eax, eax
jne 0x14006500a
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x90]
xor r8d, r8d
lea rdx, str.VendorSpecific
call qword [rax + 0x20]
test eax, eax
jne 0x14006500a
cmp word [rsp + 0x90], r13w
jbe 0x14006500a
mov eax, edi
test r15d, r15d
jne 0x140064f8e
mov dword [rsp + 0x100], edi
movsxd r8, eax
add r8, 0x1000
add r8, rsi
lea rdx, [rsp + 0x100]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.OLEAUT32.dll_SafeArrayPutElement]
mov eax, dword [rsp + 0x100]
add eax, r13d
mov dword [rsp + 0x100], eax
cmp eax, 0x200
jl 0x140064f43
mov rdx, rsi
mov rcx, r12
call fcn.14005df7c
mov r14d, eax
jmp 0x140064fde
mov dword [rsp + 0x108], edi
movsxd r8, eax
add r8, 0x1200
add r8, rsi
lea rdx, [rsp + 0x108]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.OLEAUT32.dll_SafeArrayPutElement]
mov eax, dword [rsp + 0x108]
add eax, r13d
mov dword [rsp + 0x108], eax
cmp eax, 0x200
jl 0x140064f95
mov rdx, rsi
mov rcx, r12
call fcn.14005ee20
mov r14d, eax
lea rcx, [rsp + 0x90]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
lea rdx, [rbx - 0x18]
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x140065008
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
jmp 0x140065034
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140064dbd
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x140064dbd
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140065049
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov qword [rsp + 0x58], rdi
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14006505e
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov qword [rsp + 0x68], rdi
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140065073
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov qword [rsp + 0x60], rdi
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140065088
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov qword [rsp + 0x70], rdi
mov rdx, qword [rsp + 0x88]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400650aa
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, r14d
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov ecx, 0x80004005
call fcn.140001860
nop
mov ecx, 0x80004005
call fcn.140001860
int3