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

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x3f]
sub rsp, 0x88
xor esi, esi
mov qword [rbp + 0x77], rsi
lea rax, [rbp + 0x77]
mov qword [rsp + 0x20], rax
lea r9, [0x14015b268]
xor edx, edx
lea r8d, [rsi + 1]
lea rcx, [0x14015b278]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1400895e5
xor al, al
jmp 0x140089813
mov qword [rbp + 0x6f], rsi
mov rax, qword [rbp + 0x77]
mov rcx, qword [rax]
mov rbx, qword [rcx + 0x18]
lea rdx, str.ROOTCIMV2
lea rcx, [rbp + 0xf]
call fcn.14008948c
nop
mov rdx, qword [rax]
test rdx, rdx
je 0x140089612
mov rdx, qword [rdx]
jmp 0x140089615
mov rdx, rsi
lea rax, [rbp + 0x6f]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rbp + 0x77]
mov rax, rbx
call qword [case.0x1400a26d7.0]
mov ebx, eax
lea rcx, [rbp + 0xf]
call fcn.1400898ac
test ebx, ebx
jns 0x140089669
mov rcx, qword [rbp + 0x77]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400a26d7.0]
jmp 0x1400895de
mov dword [rsp + 0x38], esi
mov qword [rsp + 0x30], rsi
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 [rbp + 0x6f]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x1400896a9
mov rcx, qword [rbp + 0x6f]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400a26d7.0]
jmp 0x140089653
mov qword [rbp + 0x7f], rsi
mov rax, qword [rbp + 0x6f]
mov rcx, qword [rax]
mov rdi, qword [rcx + 0xa0]
lea rdx, str.SELECT__FROM_Win32_OperatingSystem
lea rcx, [rbp + 0x17]
call fcn.14008941c
nop
mov rcx, qword [rax]
test rcx, rcx
je 0x1400896d9
mov rbx, qword [rcx]
jmp 0x1400896dc
mov rbx, rsi
lea rdx, [0x1401529fc]
lea rcx, [rbp + 0xf]
call fcn.14008941c
nop
mov rcx, qword [rax]
test rcx, rcx
je 0x1400896fa
mov rdx, qword [rcx]
jmp 0x1400896fd
mov rdx, rsi
lea rax, [rbp + 0x7f]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
mov r9d, 0x30
mov r8, rbx
mov rcx, qword [rbp + 0x6f]
mov rax, rdi
call qword [case.0x1400a26d7.0]
mov ebx, eax
lea rcx, [rbp + 0xf]
call fcn.1400898ac
nop
lea rcx, [rbp + 0x17]
call fcn.1400898ac
test ebx, ebx
js 0x140089696
mov qword [rbp + 7], rsi
mov dword [rbp + 0x67], esi
mov bl, sil
jmp 0x1400897d1
mov rax, qword [rcx]
lea rdx, [rbp + 0x67]
mov qword [rsp + 0x20], rdx
lea r9, [rbp + 7]
mov r8d, 1
or edx, 0xffffffff
mov rax, qword [rax + 0x20]
call qword [case.0x1400a26d7.0]
cmp dword [rbp + 0x67], esi
je 0x1400897de
mov rcx, qword [rbp + 7]
mov rax, qword [rcx]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
lea r9, [rbp + 0x1f]
xor r8d, r8d
lea rdx, [0x140152a00]
mov rax, qword [rax + 0x20]
call qword [case.0x1400a26d7.0]
lea rdx, str.Windows_10
mov rcx, qword [rbp + 0x27]
call fcn.14011d378
test rax, rax
setne al
or bl, al
lea rcx, [rbp + 0x1f]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp + 7]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400a26d7.0]
mov rcx, qword [rbp + 0x7f]
test rcx, rcx
jne 0x14008974d
mov rcx, qword [rbp + 0x6f]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400a26d7.0]
mov rcx, qword [rbp + 0x77]
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x10]
call qword [case.0x1400a26d7.0]
mov rcx, qword [rbp + 0x7f]
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x10]
call qword [case.0x1400a26d7.0]
mov al, bl
add rsp, 0x88
pop rdi
pop rsi
pop rbx
pop rbp
ret