Function at 0x140067020
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x168
mov rax, qword [0x1401f6040]
xor rax, rsp
mov qword [rsp + 0x158], rax
mov dword [rsp + 0x50], 1
mov edx, 0x18
mov rcx, qword [rsp + 0x170]
call fcn.1400049d0
mov rcx, qword [rsp + 0x170]
call fcn.140027300
nop
mov eax, dword [rsp + 0x50]
or eax, 1
mov dword [rsp + 0x50], eax
mov qword [rsp + 0x118], 0
mov qword [rsp + 0x120], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
jge 0x1400670db
mov dword [rsp + 0x50], 0
mov eax, dword [rsp + 0x50]
and eax, 1
test eax, eax
je 0x1400670ce
and dword [rsp + 0x50], 0xfffffffe
mov rcx, qword [rsp + 0x170]
call fcn.1400274d0
nop
mov rax, qword [rsp + 0x170]
jmp 0x1400676bb
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 0xffffffff
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
jge 0x14006715c
call qword [sym.imp.ole32.dll_CoUninitialize]
mov dword [rsp + 0x50], 0
mov eax, dword [rsp + 0x50]
and eax, 1
test eax, eax
je 0x14006714f
and dword [rsp + 0x50], 0xfffffffe
mov rcx, qword [rsp + 0x170]
call fcn.1400274d0
nop
mov rax, qword [rsp + 0x170]
jmp 0x1400676bb
lea rax, [rsp + 0x118]
mov qword [rsp + 0x20], rax
lea r9, [0x1401ae638]
mov r8d, 1
xor edx, edx
lea rcx, [0x1401ae648]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
jge 0x1400671c9
call qword [sym.imp.ole32.dll_CoUninitialize]
mov dword [rsp + 0x50], 0
mov eax, dword [rsp + 0x50]
and eax, 1
test eax, eax
je 0x1400671bc
and dword [rsp + 0x50], 0xfffffffe
mov rcx, qword [rsp + 0x170]
call fcn.1400274d0
nop
mov rax, qword [rsp + 0x170]
jmp 0x1400676bb
mov rax, qword [rsp + 0x118]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x78], rax
lea rdx, str.ROOTCIMV2
lea rcx, [rsp + 0x80]
call fcn.140066900
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x68]
call fcn.1400669b0
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x120]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x118]
call qword [rsp + 0x78]
mov dword [rsp + 0x54], eax
lea rcx, [rsp + 0x80]
call fcn.140066990
nop
cmp dword [rsp + 0x54], 0
jge 0x1400672be
mov rax, qword [rsp + 0x118]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x118]
call qword [rax + select]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov dword [rsp + 0x50], 0
mov eax, dword [rsp + 0x50]
and eax, 1
test eax, eax
je 0x1400672b1
and dword [rsp + 0x50], 0xfffffffe
mov rcx, qword [rsp + 0x170]
call fcn.1400274d0
nop
mov rax, qword [rsp + 0x170]
jmp 0x1400676bb
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0xa
mov rcx, qword [rsp + 0x120]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
jge 0x140067368
mov rax, qword [rsp + 0x120]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x120]
call qword [rax + select]
mov rax, qword [rsp + 0x118]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x118]
call qword [rax + select]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov dword [rsp + 0x50], 0
mov eax, dword [rsp + 0x50]
and eax, 1
test eax, eax
je 0x14006735b
and dword [rsp + 0x50], 0xfffffffe
mov rcx, qword [rsp + 0x170]
call fcn.1400274d0
nop
mov rax, qword [rsp + 0x170]
jmp 0x1400676bb
mov qword [rsp + 0x128], 0
mov rax, qword [rsp + 0x120]
mov rax, qword [rax]
mov rax, qword [rax + 0xa0]
mov qword [rsp + 0xb8], rax
mov rcx, qword [rsp + 0x178]
call fcn.140027aa0
mov rdx, rax
lea rcx, [rsp + 0xc8]
call fcn.140066900
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x90], rax
mov rcx, qword [rsp + 0x90]
call fcn.1400669b0
mov qword [rsp + 0xa8], rax
lea rdx, [0x1401b0aec]
lea rcx, [rsp + 0xc0]
call fcn.140066870
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0xa0], rax
mov rcx, qword [rsp + 0xa0]
call fcn.1400669b0
mov qword [rsp + 0xb0], rax
lea rax, [rsp + 0x128]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
mov r9d, 0x30
mov r8, qword [rsp + 0xa8]
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x120]
call qword [rsp + 0xb8]
mov dword [rsp + 0x54], eax
lea rcx, [rsp + 0xc0]
call fcn.140066990
nop
lea rcx, [rsp + 0xc8]
call fcn.140066990
nop
cmp dword [rsp + 0x54], 0
jge 0x1400674e0
mov rax, qword [rsp + 0x120]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x120]
call qword [rax + select]
mov rax, qword [rsp + 0x118]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x118]
call qword [rax + select]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov dword [rsp + 0x50], 0
mov eax, dword [rsp + 0x50]
and eax, 1
test eax, eax
je 0x1400674d3
and dword [rsp + 0x50], 0xfffffffe
mov rcx, qword [rsp + 0x170]
call fcn.1400274d0
nop
mov rax, qword [rsp + 0x170]
jmp 0x1400676bb
mov qword [rsp + 0x130], 0
mov dword [rsp + 0x150], 0
cmp qword [rsp + 0x128], 0
je 0x140067645
mov rax, qword [rsp + 0x128]
mov rax, qword [rax]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0xd0], rax
lea rax, [rsp + 0x150]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x130]
mov r8d, 1
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x128]
call qword [rsp + 0xd0]
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x150], 0
jne 0x14006755f
jmp 0x140067645
mov rax, qword [rsp + 0x130]
mov rax, qword [rax]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0xe0], rax
mov rcx, qword [rsp + 0x180]
call fcn.140027aa0
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x138]
xor r8d, r8d
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0x130]
call qword [rsp + 0xe0]
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
jl 0x14006761b
mov rdx, qword [rsp + 0x140]
lea rcx, [rsp + 0xf8]
call fcn.140066c30
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0xf0], rax
mov rdx, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0x170]
call fcn.14006aba0
nop
lea rcx, [rsp + 0xf8]
call fcn.140005530
nop
lea rcx, [rsp + 0x138]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rax, qword [rsp + 0x130]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x130]
call qword [rax + select]
nop
jmp 0x1400674f7
mov rax, qword [rsp + 0x120]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x120]
call qword [rax + select]
mov rax, qword [rsp + 0x118]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x118]
call qword [rax + select]
mov rax, qword [rsp + 0x128]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x128]
call qword [rax + select]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov dword [rsp + 0x50], 0
mov eax, dword [rsp + 0x50]
and eax, 1
test eax, eax
je 0x1400676b3
and dword [rsp + 0x50], 0xfffffffe
mov rcx, qword [rsp + 0x170]
call fcn.1400274d0
nop
mov rax, qword [rsp + 0x170]
mov rcx, qword [rsp + 0x158]
xor rcx, rsp
call fcn.14019c6f0
add rsp, 0x168
ret