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

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xd8
mov qword [rsp + 0xa8], 0xfffffffffffffffe
mov byte [rsp + 0x60], 0
mov r8d, 2
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0xe0]
call fcn.140006b20
mov qword [rsp + 0xb0], rax
lea rdx, [0x14023f92c]
mov rcx, qword [rsp + 0xb0]
call fcn.140006d90
mov byte [rsp + 0x70], al
lea rcx, [rsp + 0x78]
call fcn.140001490
movzx r11d, byte [rsp + 0x70]
test r11d, r11d
je 0x140172beb
mov r8, qword [rsp + 0xe0]
lea rdx, [0x14023f938]
lea rcx, [rsp + 0x80]
call fcn.140006c90
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0xc0], rax
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0xe0]
call fcn.140002d80
nop
lea rcx, [rsp + 0x80]
call fcn.140001490
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 0
jge 0x140172c45
cmp dword [rsp + 0x64], 0x80010106
je 0x140172c40
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x88], eax
mov rcx, qword [rsp + 0xe0]
call fcn.140001490
mov eax, dword [rsp + 0x88]
jmp 0x140172e93
mov byte [rsp + 0x60], 1
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x38], 2
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 6
xor r9d, r9d
xor r8d, r8d
mov edx, 0xffffffff
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 0
jge 0x140172cbb
cmp dword [rsp + 0x64], 0x80010119
je 0x140172cbb
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x8c], eax
mov rcx, qword [rsp + 0xe0]
call fcn.140001490
mov eax, dword [rsp + 0x8c]
jmp 0x140172e93
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [0x14020daf0]
mov r8d, 1
xor edx, edx
lea rcx, [0x14020dbc0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 0
jge 0x140172d10
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x90], eax
mov rcx, qword [rsp + 0xe0]
call fcn.140001490
mov eax, dword [rsp + 0x90]
jmp 0x140172e93
mov rcx, qword [rsp + 0xe0]
call fcn.140013f80
mov qword [rsp + 0x68], rax
mov r10, qword [rsp + 0x50]
mov r10, qword [r10]
lea rax, [rsp + 0x58]
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 + 0x68]
mov rcx, qword [rsp + 0x50]
call qword [r10 + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov dword [rsp + 0x64], eax
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp dword [rsp + 0x64], 0
jge 0x140172da5
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x94], eax
mov rcx, qword [rsp + 0xe0]
call fcn.140001490
mov eax, dword [rsp + 0x94]
jmp 0x140172e93
mov rcx, qword [rsp + 0x58]
call fcn.14016f5a0
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 0
jge 0x140172dee
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x58]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x98], eax
mov rcx, qword [rsp + 0xe0]
call fcn.140001490
mov eax, dword [rsp + 0x98]
jmp 0x140172e93
cmp dword [rsp + 0xf0], 0
jne 0x140172e40
mov r8d, dword [rsp + 0xf0]
mov rdx, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0x58]
call fcn.1401713e0
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 0
je 0x140172e3e
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x9c], eax
mov rcx, qword [rsp + 0xe0]
call fcn.140001490
mov eax, dword [rsp + 0x9c]
jmp 0x140172e93
jmp 0x140172e55
mov rdx, qword [rsp + 0xe8]
mov rdx, qword [rdx]
mov rcx, qword [rsp + 0x58]
call fcn.140171810
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x58]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
movzx eax, byte [rsp + 0x60]
test eax, eax
jne 0x140172e74
call qword [sym.imp.ole32.dll_CoUninitialize]
mov dword [rsp + 0xa0], 0
mov rcx, qword [rsp + 0xe0]
call fcn.140001490
mov eax, dword [rsp + 0xa0]
add rsp, 0xd8
ret