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

Disassembly:
push rbp
sub rsp, 0x130
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xa8], 0xfffffffffffffffe
mov qword [rbp + 8], rcx
mov rax, rcx
mov qword [rbp + 0x10], rax
mov qword [rbp + 0xa0], rcx
xor eax, eax
mov ecx, eax
xor edx, edx
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [rbp + 0x9c], eax
cmp dword [rbp + 0x9c], 0
jge 0x1400a24e4
lea rcx, str.function.cpp
lea rdx, str.QC1HL1rxWi2Q5qTjL0deHSoaUpcfl2_kqbGd2fkcg2I
call fcn.14019a010
mov rcx, qword [rbp + 8]
lea rdx, [0x1401ef5f5]
call fcn.140001b10
jmp 0x1400a2a16
xor eax, eax
mov r9d, eax
mov edx, 0xffffffff
xor eax, eax
mov rcx, r9
mov r8, r9
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x40], 0
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
mov dword [rbp + 0x9c], eax
cmp dword [rbp + 0x9c], 0
jge 0x1400a2567
call qword [sym.imp.ole32.dll_CoUninitialize]
lea rcx, str.function.cpp
lea rdx, str.QC1HL1rxWi2Q5qTjL0deHSoaUpcfp0XK_Kdz_I
call fcn.14019a010
mov rcx, qword [rbp + 8]
lea rdx, [0x1401ef5f5]
call fcn.140001b10
jmp 0x1400a2a16
mov qword [rbp + 0x90], 0
lea rax, [rbp + 0x90]
lea rcx, [0x1401e0470]
xor edx, edx
mov r8d, 1
lea r9, [0x1401e0480]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [rbp + 0x9c], eax
cmp dword [rbp + 0x9c], 0
jge 0x1400a25db
call qword [sym.imp.ole32.dll_CoUninitialize]
lea rcx, str.function.cpp
lea rdx, str.QC1HL1rxWi2Q5q7_I1JDGWY6f5BauWzG6ryA1Pldnnlby2T2
call fcn.14019a010
mov rcx, qword [rbp + 8]
lea rdx, [0x1401ef5f5]
call fcn.140001b10
jmp 0x1400a2a16
mov qword [rbp + 0x88], 0
mov rax, qword [rbp + 0x90]
mov qword [rbp - 8], rax
lea rdx, str.ROOTCIMV2
lea rcx, [rbp + 0x80]
mov qword [rbp - 0x10], rcx
call fcn.1400a2af0
mov rcx, qword [rbp - 0x10]
call fcn.1400a2b90
mov rcx, qword [rbp - 8]
mov rdx, rax
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
mov r8, rsp
lea r9, [rbp + 0x88]
mov qword [r8 + 0x40], r9
mov qword [r8 + 0x38], 0
mov qword [r8 + 0x30], 0
mov dword [r8 + 0x28], 0
mov qword [r8 + 0x20], 0
xor r8d, r8d
mov r9d, r8d
mov r8, r9
call rax
mov dword [rbp + 4], eax
jmp 0x1400a2660
mov eax, dword [rbp + 4]
mov dword [rbp + 0x9c], eax
lea rcx, [rbp + 0x80]
call fcn.1400a30c0
cmp dword [rbp + 0x9c], 0
jge 0x1400a26c0
mov rax, qword [rbp + 0x90]
mov rcx, rax
mov rax, qword [rax]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
lea rcx, str.function.cpp
lea rdx, str.QC1HL1rxWi2Q5q7iKF1SHzJTXJ0fg23g
call fcn.14019a010
mov rcx, qword [rbp + 8]
lea rdx, [0x1401ef5f5]
call fcn.140001b10
jmp 0x1400a2a16
mov rcx, qword [rbp + 0x88]
mov edx, 0xa
xor r8d, r8d
xor eax, eax
mov r9d, eax
mov dword [rsp + 0x20], 3
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x38], 0
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov dword [rbp + 0x9c], eax
cmp dword [rbp + 0x9c], 0
jge 0x1400a275c
mov rax, qword [rbp + 0x88]
mov rcx, rax
mov rax, qword [rax]
call qword [rax + 0x10]
mov rax, qword [rbp + 0x90]
mov rcx, rax
mov rax, qword [rax]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
lea rcx, str.function.cpp
lea rdx, str.QC1HL1rxWi2Q5r7oMhNHDikLUdJduEHH4riA
call fcn.14019a010
mov rcx, qword [rbp + 8]
lea rdx, [0x1401ef5f5]
call fcn.140001b10
jmp 0x1400a2a16
lea rdx, str.Unknown
lea rcx, [rbp + 0x60]
call fcn.140001b10
mov qword [rbp + 0x58], 0
mov rax, qword [rbp + 0x88]
mov qword [rbp - 0x18], rax
lea rdx, str.SELECT__FROM_Win32_Processor
lea rcx, [rbp + 0x50]
call fcn.1400a3460
jmp 0x1400a2794
lea rcx, [rbp + 0x50]
call fcn.1400a2b90
mov qword [rbp - 0x20], rax
lea rdx, [0x1401eea6a]
lea rcx, [rbp + 0x48]
call fcn.1400a3460
jmp 0x1400a27b6
lea rcx, [rbp + 0x48]
call fcn.1400a2b90
mov rcx, qword [rbp - 0x18]
mov r8, qword [rbp - 0x20]
mov rdx, rax
mov rax, qword [rcx]
mov rax, qword [rax + 0xa0]
mov r9, rsp
lea r10, [rbp + 0x58]
mov qword [r9 + 0x28], r10
mov qword [r9 + 0x20], 0
mov r9d, 0x30
call rax
mov dword [rbp - 0x24], eax
jmp 0x1400a27f7
mov eax, dword [rbp - 0x24]
mov dword [rbp + 0x9c], eax
lea rcx, [rbp + 0x48]
call fcn.1400a30c0
lea rcx, [rbp + 0x50]
call fcn.1400a30c0
cmp dword [rbp + 0x9c], 0
jge 0x1400a288b
mov rcx, qword [rbp + 0x88]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call rax
jmp 0x1400a2834
mov rcx, qword [rbp + 0x90]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call rax
jmp 0x1400a2849
mov rax, qword [sym.imp.ole32.dll_CoUninitialize]
call rax
lea rcx, str.function.cpp
lea rdx, str.QC1HL1rxWi2Q5qj1I1BCCCNTWYdaplmJ77KGm9wUnygD8VfwTYUOXVJBUA
call fcn.14019a010
jmp 0x1400a286a
mov rcx, qword [rbp + 8]
lea rdx, [0x1401ef5f5]
call fcn.140001b10
jmp 0x1400a287f
mov dword [rbp + 0x44], 1
jmp 0x1400a2a08
mov qword [rbp + 0x38], 0
mov dword [rbp + 0x34], 0
cmp qword [rbp + 0x58], 0
je 0x1400a29b2
mov rcx, qword [rbp + 0x58]
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
mov rdx, rsp
lea r8, [rbp + 0x34]
mov qword [rdx + 0x20], r8
mov edx, 0xffffffff
mov r8d, 1
lea r9, [rbp + 0x38]
call rax
mov dword [rbp - 0x28], eax
jmp 0x1400a28d4
mov eax, dword [rbp - 0x28]
mov dword [rbp + 0x30], eax
xor eax, eax
cmp eax, dword [rbp + 0x34]
jne 0x1400a28ea
jmp 0x1400a29b2
mov rcx, qword [rbp + 0x38]
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
mov rdx, rsp
mov qword [rdx + 0x28], 0
mov qword [rdx + 0x20], 0
lea rdx, str.Name
xor r8d, r8d
lea r9, [rbp + 0x18]
call rax
mov dword [rbp - 0x2c], eax
jmp 0x1400a2920
mov eax, dword [rbp - 0x2c]
mov dword [rbp + 0x30], eax
cmp dword [rbp + 0x30], 0
jl 0x1400a2971
movzx eax, word [rbp + 0x18]
cmp eax, 8
jne 0x1400a2971
cmp qword [rbp + 0x20], 0
je 0x1400a2971
mov rcx, qword [rbp + 0x20]
call fcn.1401b49a0
mov qword [rbp - 0x38], rax
jmp 0x1400a295a
mov rdx, qword [rbp - 0x38]
lea rcx, [rbp + 0x60]
call fcn.140002d30
jmp 0x1400a296c
jmp 0x1400a298e
lea rcx, str.function.cpp
lea rdx, str.YC1HL1rxWi2Q5qroMhNUDDNTQZxZu1LE6Kmd1OU
call fcn.14019a010
jmp 0x1400a2989
jmp 0x1400a298e
mov rax, qword [sym.imp.OLEAUT32.dll_VariantCopy]
lea rcx, [rbp + 0x18]
call rax
mov rcx, qword [rbp + 0x38]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call rax
jmp 0x1400a29ad
jmp 0x1400a289a
mov rcx, qword [rbp + 0x88]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call rax
jmp 0x1400a29c7
mov rcx, qword [rbp + 0x90]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call rax
jmp 0x1400a29dc
mov rcx, qword [rbp + 0x58]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call rax
jmp 0x1400a29ee
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rcx, qword [rbp + 8]
lea rdx, [rbp + 0x60]
call fcn.140069df0
mov dword [rbp + 0x44], 1
lea rcx, [rbp + 0x60]
call fcn.140001b80
jmp 0x1400a2a16
mov rax, qword [rbp + 0x10]
add rsp, 0x130
pop rbp
ret