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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x14001e040]
xor rax, rsp
mov qword [rsp + 0x78], rax
xor ebx, ebx
lea rcx, [0x140016ca0]
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x58], rbx
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
lea rcx, [0x140016d68]
mov rdi, rax
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
lea rcx, str.SELECT__FROM_Win32_PortConnector
mov rsi, rax
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
xor edx, edx
xor ecx, ecx
mov rbp, rax
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x1400069f3
mov qword [rsp + 0x40], rbx
xor r9d, r9d
mov dword [rsp + 0x38], ebx
xor r8d, r8d
mov qword [rsp + 0x30], rbx
mov edx, 0xffffffff
mov dword [rsp + 0x28], 3
xor ecx, ecx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
js 0x1400069ed
lea rax, [rsp + 0x50]
xor edx, edx
lea r9, [0x1400169f8]
mov qword [rsp + 0x20], rax
mov r8d, 1
lea rcx, [0x140016a08]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x1400069ed
mov rcx, qword [rsp + 0x50]
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x40], rdx
xor r9d, r9d
mov qword [rsp + 0x38], rbx
xor r8d, r8d
mov qword [rsp + 0x30], rbx
mov rdx, rdi
mov rax, qword [rcx]
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
call qword [rax + 0x18]
test eax, eax
js 0x1400069e2
mov rcx, qword [rsp + 0x60]
lea rdx, [rsp + 0x58]
mov qword [rsp + 0x28], rdx
xor r9d, r9d
mov r8, rbp
mov qword [rsp + 0x20], rbx
mov rdx, rsi
mov rax, qword [rcx]
call qword [rax + 0xa0]
test eax, eax
jns 0x140006a1b
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
xor al, al
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140012e20
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140006aad
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x68], rbx
mov dword [rsp + 0x70], ebx
lea r9, [rsp + 0x68]
mov rax, qword [rcx]
mov r8d, 1
mov qword [rsp + 0x20], rdx
mov edx, 0xffffffff
call qword [rax + 0x20]
test eax, eax
jne 0x140006a96
nop word [rax + rax]
mov rcx, qword [rsp + 0x68]
inc ebx
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x58]
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x68]
mov edx, 0xffffffff
mov r8d, 1
mov rax, qword [rcx]
call qword [rax + 0x20]
test eax, eax
je 0x140006a60
mov rcx, qword [rsp + 0x58]
test ebx, ebx
sete bl
test rcx, rcx
je 0x140006aaf
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x140006aaf
mov bl, 1
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140006abf
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140006acf
mov rdx, qword [rcx]
call qword [rdx + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rcx, rbp
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
movzx eax, bl
jmp 0x1400069f5