Function at 0x14017cdf0
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.140006ba0
mov qword [rsp + 0xb0], rax
lea rdx, [0x14025690c]
mov rcx, qword [rsp + 0xb0]
call fcn.140006e10
mov byte [rsp + 0x70], al
lea rcx, [rsp + 0x78]
call fcn.140007060
movzx r11d, byte [rsp + 0x70]
test r11d, r11d
je 0x14017cebb
mov r8, qword [rsp + 0xe0]
lea rdx, [0x140256918]
lea rcx, [rsp + 0x80]
call fcn.140006d10
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.140002ce0
nop
lea rcx, [rsp + 0x80]
call fcn.140007060
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 0x14017cf15
cmp dword [rsp + 0x64], 0x80010106
je 0x14017cf10
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x88], eax
mov rcx, qword [rsp + 0xe0]
call fcn.140007060
mov eax, dword [rsp + 0x88]
jmp 0x14017d163
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 0x14017cf8b
cmp dword [rsp + 0x64], 0x80010119
je 0x14017cf8b
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x8c], eax
mov rcx, qword [rsp + 0xe0]
call fcn.140007060
mov eax, dword [rsp + 0x8c]
jmp 0x14017d163
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [0x140224a90]
mov r8d, 1
xor edx, edx
lea rcx, [0x140224b60]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 0
jge 0x14017cfe0
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x90], eax
mov rcx, qword [rsp + 0xe0]
call fcn.140007060
mov eax, dword [rsp + 0x90]
jmp 0x14017d163
mov rcx, qword [rsp + 0xe0]
call fcn.140013460
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 0x14017d075
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x94], eax
mov rcx, qword [rsp + 0xe0]
call fcn.140007060
mov eax, dword [rsp + 0x94]
jmp 0x14017d163
mov rcx, qword [rsp + 0x58]
call fcn.140179870
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 0
jge 0x14017d0be
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.140007060
mov eax, dword [rsp + 0x98]
jmp 0x14017d163
cmp dword [rsp + 0xf0], 0
jne 0x14017d110
mov r8d, dword [rsp + 0xf0]
mov rdx, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0x58]
call fcn.14017b6b0
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 0
je 0x14017d10e
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x9c], eax
mov rcx, qword [rsp + 0xe0]
call fcn.140007060
mov eax, dword [rsp + 0x9c]
jmp 0x14017d163
jmp 0x14017d125
mov rdx, qword [rsp + 0xe8]
mov rdx, qword [rdx]
mov rcx, qword [rsp + 0x58]
call fcn.14017bae0
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 0x14017d144
call qword [sym.imp.ole32.dll_CoUninitialize]
mov dword [rsp + 0xa0], 0
mov rcx, qword [rsp + 0xe0]
call fcn.140007060
mov eax, dword [rsp + 0xa0]
add rsp, 0xd8
ret