Function at 0x1401783a0
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, [0x14024549c]
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 0x14017846b
mov r8, qword [rsp + 0xe0]
lea rdx, [0x1402454a8]
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.140002db0
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 0x1401784c5
cmp dword [rsp + 0x64], 0x80010106
je 0x1401784c0
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x88], eax
mov rcx, qword [rsp + 0xe0]
call fcn.140001490
mov eax, dword [rsp + 0x88]
jmp 0x140178713
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 0x14017853b
cmp dword [rsp + 0x64], 0x80010119
je 0x14017853b
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x8c], eax
mov rcx, qword [rsp + 0xe0]
call fcn.140001490
mov eax, dword [rsp + 0x8c]
jmp 0x140178713
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [0x1402147a0]
mov r8d, 1
xor edx, edx
lea rcx, [0x140214870]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 0
jge 0x140178590
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x90], eax
mov rcx, qword [rsp + 0xe0]
call fcn.140001490
mov eax, dword [rsp + 0x90]
jmp 0x140178713
mov rcx, qword [rsp + 0xe0]
call fcn.140012120
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 0x140178625
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x94], eax
mov rcx, qword [rsp + 0xe0]
call fcn.140001490
mov eax, dword [rsp + 0x94]
jmp 0x140178713
mov rcx, qword [rsp + 0x58]
call fcn.140174e20
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 0
jge 0x14017866e
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 0x140178713
cmp dword [rsp + 0xf0], 0
jne 0x1401786c0
mov r8d, dword [rsp + 0xf0]
mov rdx, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0x58]
call fcn.140176c60
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 0
je 0x1401786be
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x9c], eax
mov rcx, qword [rsp + 0xe0]
call fcn.140001490
mov eax, dword [rsp + 0x9c]
jmp 0x140178713
jmp 0x1401786d5
mov rdx, qword [rsp + 0xe8]
mov rdx, qword [rdx]
mov rcx, qword [rsp + 0x58]
call fcn.140177090
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 0x1401786f4
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