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

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x210
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x1400c8b23
cmp dword [rsp + 0x50], 0x80010106
je 0x1400c8b23
xor al, al
jmp 0x1400c9118
lea rax, [rsp + 0x1d0]
mov qword [rsp + 0xb0], rax
lea rax, [rsp + 0x54]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x54]
mov rcx, qword [rsp + 0xb0]
call fcn.1400c6850
mov qword [rsp + 0xb8], rax
mov rdx, qword [rsp + 0xb8]
lea rcx, [rsp + 0x190]
call fcn.1400380e0
nop
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 0x1400c8be2
cmp dword [rsp + 0x50], 0x80010119
je 0x1400c8be2
mov byte [rsp + 0x55], 0
lea rcx, [rsp + 0x190]
call fcn.140038d90
movzx eax, byte [rsp + 0x55]
jmp 0x1400c9118
lea rcx, [rsp + 0x68]
call fcn.140013980
nop
lea rdx, [rsp + 0x170]
lea rcx, [rsp + 0x68]
call fcn.1400c7310
mov rcx, rax
call fcn.1400c71c0
mov qword [rsp + 0x20], rax
lea r9, [0x1402d8c98]
mov r8d, 1
xor edx, edx
lea rcx, [0x1402d8ca8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x1400c8c5a
mov byte [rsp + 0x56], 0
lea rcx, [rsp + 0x68]
call fcn.1400381c0
nop
lea rcx, [rsp + 0x190]
call fcn.140038d90
movzx eax, byte [rsp + 0x56]
jmp 0x1400c9118
lea rcx, [rsp + 0x60]
call fcn.140013980
nop
lea rcx, [rsp + 0x68]
call fcn.14000f0c0
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0xe0], rax
lea rdx, [rsp + 0x178]
lea rcx, [rsp + 0x60]
call fcn.1400c7310
mov rcx, rax
call fcn.1400c71c0
mov qword [rsp + 0xd0], rax
lea rdx, [0x1402bae00]
lea rcx, [rsp + 0xe8]
call fcn.1400c6f70
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0xc8], rax
mov rcx, qword [rsp + 0xc8]
call fcn.1400c71e0
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd0]
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 + 0xd8]
mov rcx, qword [rsp + 0x90]
call qword [rsp + 0xe0]
mov dword [rsp + 0x50], eax
lea rcx, [rsp + 0xe8]
call fcn.1400c7040
nop
cmp dword [rsp + 0x50], 0
jge 0x1400c8d89
mov byte [rsp + 0x57], 0
lea rcx, [rsp + 0x60]
call fcn.1400381c0
nop
lea rcx, [rsp + 0x68]
call fcn.1400381c0
nop
lea rcx, [rsp + 0x190]
call fcn.140038d90
movzx eax, byte [rsp + 0x57]
jmp 0x1400c9118
lea rcx, [rsp + 0x60]
call fcn.14000f0c0
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, rax
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x1400c8e05
mov byte [rsp + 0x58], 0
lea rcx, [rsp + 0x60]
call fcn.1400381c0
nop
lea rcx, [rsp + 0x68]
call fcn.1400381c0
nop
lea rcx, [rsp + 0x190]
call fcn.140038d90
movzx eax, byte [rsp + 0x58]
jmp 0x1400c9118
lea rcx, [rsp + 0x78]
call fcn.140013980
nop
lea rcx, [rsp + 0x60]
call fcn.14000f0c0
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov rax, qword [rax]
mov rax, qword [rax + 0xa0]
mov qword [rsp + 0x128], rax
lea rdx, [rsp + 0x180]
lea rcx, [rsp + 0x78]
call fcn.1400c7310
mov rcx, rax
call fcn.1400c71c0
mov qword [rsp + 0x110], rax
lea rdx, str.SELECT__FROM_Win32_ComputerSystemProduct
lea rcx, [rsp + 0x138]
call fcn.1400c6ef0
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0xf8], rax
mov rcx, qword [rsp + 0xf8]
call fcn.1400c71e0
mov qword [rsp + 0x118], rax
lea rdx, [0x1402bae44]
lea rcx, [rsp + 0x130]
call fcn.1400c6ef0
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x108], rax
mov rcx, qword [rsp + 0x108]
call fcn.1400c71e0
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
mov r9d, 0x30
mov r8, qword [rsp + 0x118]
mov rdx, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x98]
call qword [rsp + 0x128]
mov dword [rsp + 0x50], eax
lea rcx, [rsp + 0x130]
call fcn.1400c7040
nop
lea rcx, [rsp + 0x138]
call fcn.1400c7040
nop
cmp dword [rsp + 0x50], 0
jge 0x1400c8f7f
mov byte [rsp + 0x59], 0
lea rcx, [rsp + 0x78]
call fcn.1400381c0
nop
lea rcx, [rsp + 0x60]
call fcn.1400381c0
nop
lea rcx, [rsp + 0x68]
call fcn.1400381c0
nop
lea rcx, [rsp + 0x190]
call fcn.140038d90
movzx eax, byte [rsp + 0x59]
jmp 0x1400c9118
lea rcx, [rsp + 0x88]
call fcn.140013980
nop
mov dword [rsp + 0x70], 0
lea rcx, [rsp + 0x78]
call fcn.1400c7180
cmp eax, 0xffffffff
je 0x1400c90d2
lea rcx, [rsp + 0x78]
call fcn.14000f0c0
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x148], rax
lea rdx, [rsp + 0x188]
lea rcx, [rsp + 0x88]
call fcn.1400c7310
mov rcx, rax
call fcn.1400c71c0
mov qword [rsp + 0x140], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x140]
mov r8d, 1
mov edx, 0xffffffff
mov rcx, qword [rsp + 0xa0]
call qword [rsp + 0x148]
mov dword [rsp + 0x80], eax
cmp dword [rsp + 0x70], 0
jne 0x1400c9035
jmp 0x1400c90d2
lea rcx, [rsp + 0x158]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
lea rcx, [rsp + 0x88]
call fcn.14000f0c0
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov rax, qword [rax]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x150], rax
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x158]
xor r8d, r8d
lea rdx, [0x1402bae48]
mov rcx, qword [rsp + 0xa8]
call qword [rsp + 0x150]
mov dword [rsp + 0x80], eax
mov rdx, qword [rsp + 0x160]
mov rcx, qword [rsp + 0x220]
call fcn.1402708a4
lea rcx, [rsp + 0x158]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
jmp 0x1400c8f95
mov byte [rsp + 0x5a], 1
lea rcx, [rsp + 0x88]
call fcn.1400381c0
nop
lea rcx, [rsp + 0x78]
call fcn.1400381c0
nop
lea rcx, [rsp + 0x60]
call fcn.1400381c0
nop
lea rcx, [rsp + 0x68]
call fcn.1400381c0
nop
lea rcx, [rsp + 0x190]
call fcn.140038d90
movzx eax, byte [rsp + 0x5a]
add rsp, 0x210
pop rdi
ret