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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x2f]
sub rsp, 0x88
xor esi, esi
lea rax, [rbp + 0x77]
lea r9, [0x140130ac8]
mov qword [rbp + 0x77], rsi
xor edx, edx
mov qword [rsp + 0x20], rax
lea rcx, [0x140130ad8]
lea r14d, [rsi + 1]
mov r8d, r14d
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1400df8e3
xor al, al
add rsp, 0x88
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov r15d, 0x18
mov qword [rbp + 0x6f], rsi
mov ecx, r15d
call fcn.1400ebc6c
mov rbx, rax
test rax, rax
je 0x1400dfafb
lea rcx, str.ROOTCIMV2
mov qword [rax + 8], rsi
mov dword [rax + 0x10], r14d
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
je 0x1400dfafb
mov rcx, qword [rbp + 0x77]
lea rdx, [rbp + 0x6f]
mov qword [rsp + 0x40], rdx
xor r9d, r9d
mov rdx, qword [rbx]
xor r8d, r8d
mov qword [rsp + 0x38], rsi
mov rax, qword [rcx]
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov qword [rbp - 1], rbx
mov qword [rsp + 0x20], rsi
call qword [rax + 0x18]
lea rcx, [rbp - 1]
mov ebx, eax
call fcn.1400df828
test ebx, ebx
jns 0x1400df973
mov rcx, qword [rbp + 0x77]
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400df8d1
mov rcx, qword [rbp + 0x6f]
mov eax, 3
mov dword [rsp + 0x38], esi
xor r9d, r9d
mov qword [rsp + 0x30], rsi
xor r8d, r8d
mov dword [rsp + 0x28], eax
lea edx, [rax + 7]
mov dword [rsp + 0x20], eax
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x1400df9ac
mov rcx, qword [rbp + 0x6f]
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400df964
mov rcx, r15
mov qword [rbp + 0x7f], rsi
call fcn.1400ebc6c
mov rbx, rax
test rax, rax
je 0x1400dfafb
lea rcx, str.SELECT__FROM_Win32_OperatingSystem
mov qword [rax + 8], rsi
mov dword [rax + 0x10], r14d
call fcn.140121040
mov rcx, r15
mov qword [rbx], rax
mov qword [rbp + 7], rbx
mov rdi, rax
call fcn.1400ebc6c
mov rbx, rax
test rax, rax
je 0x1400dfafb
lea rcx, [0x140149c70]
mov qword [rax + 8], rsi
mov dword [rax + 0x10], r14d
call fcn.140121040
mov qword [rbx], rax
mov r9d, 0x30
mov rcx, qword [rbp + 0x6f]
lea rax, [rbp + 0x7f]
mov rdx, qword [rbx]
mov r8, rdi
mov qword [rsp + 0x28], rax
mov qword [rbp - 1], rbx
mov r10, qword [rcx]
mov qword [rsp + 0x20], rsi
call qword [r10 + 0xa0]
lea rcx, [rbp - 1]
mov ebx, eax
call fcn.1400df828
lea rcx, [rbp + 7]
call fcn.1400df828
test ebx, ebx
js 0x1400df9a0
mov qword [rbp - 9], rsi
mov bl, sil
mov dword [rbp + 0x67], esi
jmp 0x1400dfacd
mov rax, qword [rcx]
lea rdx, [rbp + 0x67]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 9]
or edx, 0xffffffff
mov r8d, r14d
call qword [rax + 0x20]
cmp dword [rbp + 0x67], esi
je 0x1400dfad6
mov rcx, qword [rbp - 9]
lea r9, [rbp + 0xf]
mov qword [rsp + 0x28], rsi
lea rdx, [0x140146fb0]
xor r8d, r8d
mov qword [rsp + 0x20], rsi
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, qword [rbp + 0x17]
lea rdx, str.Windows_10
call fcn.1400ed97c
test rax, rax
lea rcx, [rbp + 0xf]
setne al
or bl, al
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp - 9]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0x7f]
test rcx, rcx
jne 0x1400dfa61
mov rcx, qword [rbp + 0x6f]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov rcx, qword [rbp + 0x77]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov rcx, qword [rbp + 0x7f]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov al, bl
jmp 0x1400df8d3
mov ecx, 0x8007000e
call fcn.140121030
int3