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

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x2b8
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x140012042
cmp dword [rsp + 0x50], 0x80010106
je 0x140012042
xor al, al
jmp 0x140012710
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 0x1400120a1
cmp dword [rsp + 0x50], 0x80010119
je 0x1400120a1
call qword [sym.imp.ole32.dll_CoUninitialize]
xor al, al
jmp 0x140012710
mov qword [rsp + 0x58], 0
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r9, [0x14006e410]
mov r8d, 1
xor edx, edx
lea rcx, [0x14006e420]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x1400120e8
call qword [sym.imp.ole32.dll_CoUninitialize]
xor al, al
jmp 0x140012710
mov qword [rsp + 0x60], 0
lea rax, [rsp + 0x1f0]
mov qword [rsp + 0x98], rax
lea rax, [rsp + 0x228]
mov qword [rsp + 0x88], rax
lea rdx, str.ROOTCIMV2
mov rcx, qword [rsp + 0x88]
call fcn.140003b20
mov qword [rsp + 0x90], rax
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x98]
call fcn.140009800
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0xa8], rax
mov rdx, qword [rsp + 0xa8]
lea rcx, [rsp + 0xe0]
call fcn.140009510
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0xb8], rax
mov rcx, qword [rsp + 0xb8]
call fcn.140002590
mov rdx, rax
lea rcx, [rsp + 0xd8]
call fcn.14000bfa0
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0xc8], rax
mov rcx, qword [rsp + 0xc8]
call fcn.14000cc00
mov rcx, qword [rsp + 0x58]
mov rcx, qword [rcx]
mov qword [rsp + 0xd0], rcx
lea rdx, [rsp + 0x60]
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 + 0x58]
mov rax, qword [rsp + 0xd0]
call qword [rax + 0x18]
mov dword [rsp + 0x50], eax
lea rcx, [rsp + 0xd8]
call fcn.14000c850
nop
lea rcx, [rsp + 0xe0]
call fcn.1400044e0
nop
cmp dword [rsp + 0x50], 0
jge 0x140012263
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x58]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
xor al, al
jmp 0x140012710
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 + 0x60]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x1400122d2
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x60]
call qword [rax + 0x10]
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x58]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
xor al, al
jmp 0x140012710
mov qword [rsp + 0x68], 0
lea rax, [rsp + 0x1f8]
mov qword [rsp + 0xf8], rax
lea rax, [rsp + 0x248]
mov qword [rsp + 0xe8], rax
lea rax, [rsp + 0x200]
mov qword [rsp + 0x140], rax
lea rax, [rsp + 0x268]
mov qword [rsp + 0x130], rax
lea rdx, str.SELECT__FROM_Win32_ComputerSystemProduct
mov rcx, qword [rsp + 0xe8]
call fcn.140003b20
mov qword [rsp + 0xf0], rax
mov rdx, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0xf8]
call fcn.140009800
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x108], rax
mov rdx, qword [rsp + 0x108]
lea rcx, [rsp + 0x1a0]
call fcn.140009510
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x118], rax
mov rcx, qword [rsp + 0x118]
call fcn.140002590
mov rdx, rax
lea rcx, [rsp + 0x198]
call fcn.14000bfa0
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x128], rax
mov rcx, qword [rsp + 0x128]
call fcn.14000cc00
mov qword [rsp + 0x178], rax
lea rdx, [0x14006b258]
mov rcx, qword [rsp + 0x130]
call fcn.140003b20
mov qword [rsp + 0x138], rax
mov rdx, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x140]
call fcn.140009800
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0x150], rax
mov rdx, qword [rsp + 0x150]
lea rcx, [rsp + 0x190]
call fcn.140009510
mov qword [rsp + 0x158], rax
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0x160], rax
mov rcx, qword [rsp + 0x160]
call fcn.140002590
mov rdx, rax
lea rcx, [rsp + 0x188]
call fcn.14000bfa0
mov qword [rsp + 0x168], rax
mov rax, qword [rsp + 0x168]
mov qword [rsp + 0x170], rax
mov rcx, qword [rsp + 0x170]
call fcn.14000cc00
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx]
mov qword [rsp + 0x180], rcx
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], 0
mov r9d, 0x30
mov rdx, qword [rsp + 0x178]
mov r8, rdx
mov rdx, rax
mov rcx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x180]
call qword [rax + 0xa0]
mov dword [rsp + 0x50], eax
lea rcx, [rsp + 0x188]
call fcn.14000c850
nop
lea rcx, [rsp + 0x190]
call fcn.1400044e0
nop
lea rcx, [rsp + 0x198]
call fcn.14000c850
nop
lea rcx, [rsp + 0x1a0]
call fcn.1400044e0
nop
cmp dword [rsp + 0x50], 0
jge 0x14001254d
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x60]
call qword [rax + 0x10]
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x58]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
xor al, al
jmp 0x140012710
mov qword [rsp + 0x78], 0
mov dword [rsp + 0x70], 0
cmp qword [rsp + 0x68], 0
je 0x1400126d8
mov rax, qword [rsp + 0x68]
mov rax, qword [rax]
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x78]
mov r8d, 1
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x68]
call qword [rax + 0x20]
mov dword [rsp + 0x80], eax
cmp dword [rsp + 0x70], 0
jne 0x1400125a7
jmp 0x1400126d8
lea rax, [rsp + 0x208]
mov qword [rsp + 0x1b8], rax
lea rax, [rsp + 0x288]
mov qword [rsp + 0x1a8], rax
lea rdx, str.UUID
mov rcx, qword [rsp + 0x1a8]
call fcn.140003b20
mov qword [rsp + 0x1b0], rax
mov rdx, qword [rsp + 0x1b0]
mov rcx, qword [rsp + 0x1b8]
call fcn.140009800
mov qword [rsp + 0x1c0], rax
mov rax, qword [rsp + 0x1c0]
mov qword [rsp + 0x1c8], rax
mov rdx, qword [rsp + 0x1c8]
lea rcx, [rsp + 0x1e8]
call fcn.140009510
mov qword [rsp + 0x1d0], rax
mov rax, qword [rsp + 0x1d0]
mov qword [rsp + 0x1d8], rax
mov rcx, qword [rsp + 0x1d8]
call fcn.140002590
mov rcx, qword [rsp + 0x78]
mov rcx, qword [rcx]
mov qword [rsp + 0x1e0], rcx
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x210]
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0x78]
mov rax, qword [rsp + 0x1e0]
call qword [rax + 0x20]
mov dword [rsp + 0x80], eax
lea rcx, [rsp + 0x1e8]
call fcn.1400044e0
nop
mov rdx, qword [rsp + 0x218]
mov rcx, qword [rsp + 0x2c0]
call fcn.140043d80
lea rcx, [rsp + 0x210]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x78]
call qword [rax + 0x10]
nop
jmp 0x14001255e
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x60]
call qword [rax + 0x10]
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x58]
call qword [rax + 0x10]
mov rax, qword [rsp + 0x68]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x68]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov al, 1
add rsp, 0x2b8
ret