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

Disassembly:
sub rsp, 0x128
mov rax, qword [0x180018040]
xor rax, rsp
mov qword [rsp + 0x118], rax
mov qword [rsp + 0x58], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x180008ee1
mov rax, qword [rsp + 0x58]
jmp 0x180009408
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 + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x180008f39
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rax, qword [rsp + 0x58]
jmp 0x180009408
mov qword [rsp + 0xd8], 0
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x20], rax
lea r9, [0x1800115d8]
mov r8d, 1
xor edx, edx
lea rcx, [0x1800115e8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x180008f89
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rax, qword [rsp + 0x58]
jmp 0x180009408
mov qword [rsp + 0xe0], 0
lea rdx, str.ROOTCIMV2
lea rcx, [rsp + 0x88]
call fcn.180008b60
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0x78]
call fcn.180008c10
mov rcx, qword [rsp + 0xd8]
mov rcx, qword [rcx]
mov qword [rsp + 0x80], rcx
lea rdx, [rsp + 0xe0]
mov qword [rsp + 0x40], rdx
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, rax
mov rcx, qword [rsp + 0xd8]
mov rax, qword [rsp + 0x80]
call qword [rax + 0x18]
mov dword [rsp + 0x50], eax
lea rcx, [rsp + 0x88]
call fcn.180008bf0
cmp dword [rsp + 0x50], 0
jge 0x18000905f
mov rax, qword [rsp + 0xd8]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xd8]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rax, qword [rsp + 0x58]
jmp 0x180009408
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 + 0xe0]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x1800090e0
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xe0]
call qword [rax + 0x10]
mov rax, qword [rsp + 0xd8]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xd8]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rax, qword [rsp + 0x58]
jmp 0x180009408
mov qword [rsp + 0xe8], 0
lea rdx, str.SELECT__FROM_Win32_ComputerSystemProduct
lea rcx, [rsp + 0xc8]
call fcn.180008ad0
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0xa0], rax
lea rdx, [0x180013b14]
lea rcx, [rsp + 0xc0]
call fcn.180008ad0
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0xa8], rax
mov rcx, qword [rsp + 0xa0]
call fcn.180008c10
mov qword [rsp + 0xb0], rax
mov rcx, qword [rsp + 0xa8]
call fcn.180008c10
mov rcx, qword [rsp + 0xe0]
mov rcx, qword [rcx]
mov qword [rsp + 0xb8], rcx
lea rdx, [rsp + 0xe8]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], 0
mov r9d, 0x30
mov rdx, qword [rsp + 0xb0]
mov r8, rdx
mov rdx, rax
mov rcx, qword [rsp + 0xe0]
mov rax, qword [rsp + 0xb8]
call qword [rax + 0xa0]
mov dword [rsp + 0x50], eax
lea rcx, [rsp + 0xc0]
call fcn.180008bf0
nop
lea rcx, [rsp + 0xc8]
call fcn.180008bf0
cmp dword [rsp + 0x50], 0
jge 0x18000921b
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xe0]
call qword [rax + 0x10]
mov rax, qword [rsp + 0xd8]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xd8]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rax, qword [rsp + 0x58]
jmp 0x180009408
mov qword [rsp + 0xf0], 0
mov dword [rsp + 0x110], 0
cmp qword [rsp + 0xe8], 0
je 0x180009398
mov rax, qword [rsp + 0xe8]
mov rax, qword [rax]
lea rcx, [rsp + 0x110]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0xf0]
mov r8d, 1
mov edx, 0xffffffff
mov rcx, qword [rsp + 0xe8]
call qword [rax + 0x20]
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x110], 0
jne 0x18000928a
jmp 0x180009398
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax]
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0xf8]
xor r8d, r8d
lea rdx, [0x180013b18]
mov rcx, qword [rsp + 0xf0]
call qword [rax + 0x20]
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 0xffffffff
mov r8, qword [rsp + 0x68]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [rsp + 0x64], eax
mov ecx, 0x25
call fcn.18000f4e0
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 0xffffffff
mov r8, qword [rsp + 0x68]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea rcx, [rsp + 0xf8]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xf0]
call qword [rax + 0x10]
jmp 0x180009232
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xe0]
call qword [rax + 0x10]
mov rax, qword [rsp + 0xd8]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xd8]
call qword [rax + 0x10]
mov rax, qword [rsp + 0xe8]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xe8]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
lea rdx, str.zloPiQuxRFWLcVf
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.180002c10
lea rdx, [0x180002f90]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x118]
xor rcx, rsp
call fcn.18000f450
add rsp, 0x128
ret