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

Disassembly:
push rbp
push rsi
push rdi
push r14
lea rbp, [rsp - 0x3f]
sub rsp, 0xa8
mov rax, qword [0x180185680]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov esi, edx
mov rdi, rcx
xor edx, edx
xor ecx, ecx
mov r14, r8
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jns 0x1800f1aed
xor eax, eax
jmp 0x1800f1d10
mov qword [rsp + 0xa0], r15
xor r9d, r9d
xor r15d, r15d
xor r8d, r8d
mov qword [rsp + 0x40], r15
xor ecx, ecx
mov dword [rsp + 0x38], r15d
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 3
lea edx, [r15 - 1]
mov dword [rsp + 0x20], r15d
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
mov edx, 0x80000000
lea ecx, [rax + rdx]
test edx, ecx
jne 0x1800f1b3d
cmp eax, 0x80010119
jne 0x1800f1c25
xor edx, edx
mov qword [rbp - 0x11], r15
lea rax, [rbp - 0x11]
lea r9, [0x180142b28]
mov qword [rsp + 0x20], rax
lea rcx, [0x180142bf8]
lea r8d, [rdx + 1]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x1800f1c25
mov rcx, qword [rbp - 0x11]
lea rdx, [rbp - 0x19]
mov qword [rsp + 0x40], rdx
xor r9d, r9d
mov qword [rsp + 0x38], r15
lea rdx, str.ROOTCIMV2
mov qword [rbp - 0x19], r15
xor r8d, r8d
mov rax, qword [rcx]
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
call qword [rax + 0x18]
test eax, eax
js 0x1800f1c1b
mov rcx, qword [rbp - 0x19]
xor r9d, r9d
mov dword [rsp + 0x38], r15d
xor r8d, r8d
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 3
lea edx, [r9 + 0xa]
mov dword [rsp + 0x20], 3
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov rcx, qword [rbp - 0x19]
test eax, eax
js 0x1800f1c15
mov qword [rbp - 9], r15
lea rdx, [rbp - 9]
mov rax, qword [rcx]
lea r8, str.SELECT__FROM_Win32_ComputerSystem
mov qword [rsp + 0x28], rdx
mov r9d, 0x30
lea rdx, [0x180163ea8]
mov qword [rsp + 0x20], r15
call qword [rax + 0xa0]
test eax, eax
jns 0x1800f1c32
mov rcx, qword [rbp - 0x19]
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]
xor eax, eax
jmp 0x1800f1d08
mov rcx, qword [rbp - 9]
mov qword [rsp + 0xe8], rbx
mov ebx, r15d
mov qword [rbp - 1], r15
mov dword [rbp + 0x1f], r15d
test rcx, rcx
je 0x1800f1cde
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rcx]
lea rdx, [rbp + 0x1f]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 1]
mov edx, 0xffffffff
lea r8d, [rdx + 2]
call qword [rax + 0x20]
cmp dword [rbp + 0x1f], r15d
je 0x1800f1cda
mov rcx, qword [rbp - 1]
lea r9, [rbp + 7]
mov qword [rsp + 0x28], r15
xor r8d, r8d
mov rdx, r14
mov qword [rsp + 0x20], r15
mov rax, qword [rcx]
call qword [rax + 0x20]
test eax, eax
jne 0x1800f1cbb
mov r8, qword [rbp + 0xf]
lea eax, [rsi - 1]
movsxd rdx, eax
mov rcx, rdi
call fcn.1801259f0
mov ebx, 1
lea rcx, [rbp + 7]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp - 1]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 9]
test rcx, rcx
jne 0x1800f1c60
jmp 0x1800f1cde
mov rcx, qword [rbp - 9]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov rcx, qword [rbp - 0x19]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov rcx, qword [rbp - 0x11]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, ebx
mov rbx, qword [rsp + 0xe8]
mov r15, qword [rsp + 0xa0]
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.18010faf0
add rsp, 0xa8
pop r14
pop rdi
pop rsi
pop rbp
ret