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

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xa0
mov rsi, rcx
mov dword [rbp + 0x77], 1
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
xor r12d, r12d
mov qword [rcx + 0x10], r12
mov qword [rcx + 0x18], 0xf
mov byte [rcx], r12b
mov dword [rbp + 0x77], 1
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x140069f41
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x38], r12d
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea edx, [r12 - 1]
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
js 0x140069f3a
mov qword [rbp - 0x21], r12
lea rax, [rbp - 0x21]
mov qword [rsp + 0x20], rax
lea r9, [0x140101178]
xor edx, edx
lea r8d, [r12 + 1]
lea rcx, [0x140101188]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x140069f3a
mov qword [rbp - 0x29], r12
mov rax, qword [rbp - 0x21]
mov rcx, qword [rax]
mov rdi, qword [rcx + 0x18]
lea ecx, [r12 + 0x18]
call fcn.1400df6bc
mov rbx, rax
mov qword [rbp + 0x7f], rax
test rax, rax
je 0x140069c68
mov qword [rax + 8], r12
mov dword [rax + 0x10], 1
lea rcx, str.ROOTCIMV2
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
je 0x140069f85
jmp 0x140069c6b
mov rbx, r12
mov qword [rbp + 0xf], rbx
test rbx, rbx
je 0x140069f90
lea rax, [rbp - 0x29]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbx]
mov rcx, qword [rbp - 0x21]
call rdi
mov edi, eax
mov ecx, 0xffffffff
lock xadd dword [rbx + 0x10], ecx
cmp ecx, 1
jne 0x140069ce5
mov rcx, qword [rbx]
test rcx, rcx
je 0x140069cc6
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r12
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140069cd8
call fcn.1400dfa20
mov qword [rbx + 8], r12
mov edx, 0x18
mov rcx, rbx
call fcn.1400dfa20
test edi, edi
js 0x140069f74
mov dword [rsp + 0x38], r12d
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xa]
mov rcx, qword [rbp - 0x29]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x140069f6a
mov qword [rbp - 0x11], r12
mov rax, qword [rbp - 0x29]
mov rcx, qword [rax]
mov r15, qword [rcx + 0xa0]
mov ecx, 0x18
call fcn.1400df6bc
mov rbx, rax
mov qword [rbp + 0x7f], rax
test rax, rax
je 0x140069d67
mov qword [rax + 8], r12
mov dword [rax + 0x10], 1
lea rcx, str.SELECT__FROM_Win32_PhysicalMedia
call fcn.1400e0840
mov qword [rbx], rax
jmp 0x140069d6a
mov rbx, r12
mov qword [rbp + 0x17], rbx
test rbx, rbx
je 0x140069f90
mov r14, qword [rbx]
mov ecx, 0x18
call fcn.1400df6bc
mov rdi, rax
mov qword [rbp + 0x7f], rax
test rax, rax
je 0x140069dac
mov qword [rax + 8], r12
mov dword [rax + 0x10], 1
lea rcx, [0x1401108f4]
call fcn.1400e0840
mov qword [rdi], rax
jmp 0x140069daf
mov rdi, r12
mov qword [rbp + 0x1f], rdi
test rdi, rdi
je 0x140069f7a
lea rax, [rbp - 0x11]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
mov r9d, 0x30
mov r8, r14
mov rdx, qword [rdi]
mov rcx, qword [rbp - 0x29]
call r15
mov r14d, eax
mov ecx, 0xffffffff
lock xadd dword [rdi + 0x10], ecx
cmp ecx, 1
jne 0x140069e20
mov rcx, qword [rdi]
test rcx, rcx
je 0x140069e00
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rdi], r12
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x140069e12
call fcn.1400dfa20
mov qword [rdi + 8], r12
mov edx, 0x18
mov rcx, rdi
call fcn.1400dfa20
nop
mov eax, 0xffffffff
lock xadd dword [rbx + 0x10], eax
cmp eax, 1
jne 0x140069e5f
mov rcx, qword [rbx]
test rcx, rcx
je 0x140069e40
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r12
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140069e52
call fcn.1400dfa20
mov qword [rbx + 8], r12
mov edx, 0x18
mov rcx, rbx
call fcn.1400dfa20
test r14d, r14d
js 0x140069f6a
mov qword [rbp - 0x19], r12
mov dword [rbp + 0x6f], r12d
mov rcx, qword [rbp - 0x11]
test rcx, rcx
je 0x140069f1c
nop dword [rax]
mov rax, qword [rcx]
lea rdx, [rbp + 0x6f]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x19]
mov edx, 0xffffffff
lea r8d, [rdx + 2]
call qword [rax + 0x20]
cmp dword [rbp + 0x6f], 0
je 0x140069f1c
lea rcx, [rbp - 9]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbp - 0x19]
mov rax, qword [rcx]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rbp - 9]
xor r8d, r8d
lea rdx, [0x1401108f8]
call qword [rax + 0x20]
test eax, eax
js 0x140069f56
mov rcx, qword [rbp - 1]
call fcn.1400e0720
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140069ee6
mov rdx, rax
mov rcx, rsi
call fcn.140047800
lea rcx, [rbp - 9]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp - 0x19]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x11]
test rcx, rcx
jne 0x140069e80
mov rcx, qword [rbp - 0x29]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x21]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x11]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
nop
mov rax, rsi
add rsp, 0xa0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rcx, [rbp - 9]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp - 0x19]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x29]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x21]
jmp 0x140069f34
mov ecx, 0x8007000e
call fcn.1400e0710
nop
mov ecx, 0x8007000e
call fcn.1400e0710
nop
mov ecx, 0x8007000e
call fcn.1400e0710
int3