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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x1a0
mov rax, qword [0x1400550c8]
xor rax, rsp
mov qword [rsp + 0x198], rax
mov dword [rsp + 0x50], 0
mov dword [rsp + 0x16c], 0
mov qword [rsp + 0x128], 0
mov qword [rsp + 0x130], 0
mov qword [rsp + 0x138], 0
lea rax, [rsp + 0x150]
mov rdi, rax
xor eax, eax
mov ecx, SafeArrayPutElement
rep stosb byte [rdi], al
mov qword [rsp + 0x58], 0
mov dword [rsp + 0x170], 0
mov dword [rsp + 0x174], 0
mov qword [rsp + 0x148], 0
lea rdx, [0x14004e87c]
lea rcx, [rsp + 0x178]
call fcn.140008150
nop
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
jge 0x140006480
xor edx, edx
mov rcx, qword [rsp + 0x1b8]
call fcn.140008150
mov eax, dword [rsp + 0x50]
or eax, 1
mov dword [rsp + 0x50], eax
lea rcx, [rsp + 0x178]
call fcn.1400080a0
nop
mov rcx, qword [rsp + 0x1c0]
call fcn.1400040d0
mov rax, qword [rsp + 0x1b8]
jmp 0x140006d3e
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 + 0x54], eax
cmp dword [rsp + 0x54], 0
jge 0x140006510
call qword [sym.imp.ole32.dll_CoUninitialize]
xor edx, edx
mov rcx, qword [rsp + 0x1b8]
call fcn.140008150
mov eax, dword [rsp + 0x50]
or eax, 1
mov dword [rsp + 0x50], eax
lea rcx, [rsp + 0x178]
call fcn.1400080a0
nop
mov rcx, qword [rsp + 0x1c0]
call fcn.1400040d0
mov rax, qword [rsp + 0x1b8]
jmp 0x140006d3e
lea rax, [rsp + 0x128]
mov qword [rsp + 0x20], rax
lea r9, [0x140043130]
mov r8d, 1
xor edx, edx
lea rcx, [0x140043120]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
jge 0x14000658c
call qword [sym.imp.ole32.dll_CoUninitialize]
xor edx, edx
mov rcx, qword [rsp + 0x1b8]
call fcn.140008150
mov eax, dword [rsp + 0x50]
or eax, 1
mov dword [rsp + 0x50], eax
lea rcx, [rsp + 0x178]
call fcn.1400080a0
nop
mov rcx, qword [rsp + 0x1c0]
call fcn.1400040d0
mov rax, qword [rsp + 0x1b8]
jmp 0x140006d3e
lea rdx, str.ROOTCIMV2
lea rcx, [rsp + 0xe0]
call fcn.140004040
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0xd0], rax
mov rcx, qword [rsp + 0xd0]
call fcn.1400040f0
mov rcx, qword [rsp + 0x128]
mov rcx, qword [rcx]
mov qword [rsp + 0xd8], rcx
lea rdx, [rsp + 0x130]
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 + 0x128]
mov rax, qword [rsp + 0xd8]
call qword [rax + SafeArrayPutElement]
mov dword [rsp + 0x54], eax
lea rcx, [rsp + 0xe0]
call fcn.1400040d0
cmp dword [rsp + 0x54], 0
jge 0x14000669a
mov rax, qword [rsp + 0x128]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x128]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
xor edx, edx
mov rcx, qword [rsp + 0x1b8]
call fcn.140008150
mov eax, dword [rsp + 0x50]
or eax, 1
mov dword [rsp + 0x50], eax
lea rcx, [rsp + 0x178]
call fcn.1400080a0
nop
mov rcx, qword [rsp + 0x1c0]
call fcn.1400040d0
mov rax, qword [rsp + 0x1b8]
jmp 0x140006d3e
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 + 0x130]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
jge 0x140006753
mov rax, qword [rsp + 0x130]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x130]
call qword [rax + 0x10]
mov rax, qword [rsp + 0x128]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x128]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
xor edx, edx
mov rcx, qword [rsp + 0x1b8]
call fcn.140008150
mov eax, dword [rsp + 0x50]
or eax, 1
mov dword [rsp + 0x50], eax
lea rcx, [rsp + 0x178]
call fcn.1400080a0
nop
mov rcx, qword [rsp + 0x1c0]
call fcn.1400040d0
mov rax, qword [rsp + 0x1b8]
jmp 0x140006d3e
lea rdx, [0x14004ee84]
lea rcx, [rsp + 0xa0]
call fcn.140003fb0
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x88], rax
mov rcx, qword [rsp + 0x1c0]
call fcn.1400040f0
mov qword [rsp + 0x90], rax
mov rcx, qword [rsp + 0x88]
call fcn.1400040f0
mov rcx, qword [rsp + 0x130]
mov rcx, qword [rcx]
mov qword [rsp + 0x98], rcx
lea rdx, [rsp + 0x138]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], 0
mov r9d, 0x30
mov rdx, qword [rsp + 0x90]
mov r8, rdx
mov rdx, rax
mov rcx, qword [rsp + 0x130]
mov rax, qword [rsp + 0x98]
call qword [rax + 0xa0]
mov dword [rsp + 0x54], eax
lea rcx, [rsp + 0xa0]
call fcn.1400040d0
cmp dword [rsp + 0x54], 0
jge 0x140006885
mov rax, qword [rsp + 0x130]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x130]
call qword [rax + 0x10]
mov rax, qword [rsp + 0x128]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x128]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
xor edx, edx
mov rcx, qword [rsp + 0x1b8]
call fcn.140008150
mov eax, dword [rsp + 0x50]
or eax, 1
mov dword [rsp + 0x50], eax
lea rcx, [rsp + 0x178]
call fcn.1400080a0
nop
mov rcx, qword [rsp + 0x1c0]
call fcn.1400040d0
mov rax, qword [rsp + 0x1b8]
jmp 0x140006d3e
cmp qword [rsp + 0x138], 0
je 0x140006cb3
mov rax, qword [rsp + 0x138]
mov rax, qword [rax]
lea rcx, [rsp + 0x16c]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x140]
mov r8d, 1
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x138]
call qword [rax + 0x20]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x16c], 0
jne 0x1400068dd
jmp 0x140006cb3
mov rcx, qword [rsp + 0x1c8]
call fcn.140007e70
test rax, rax
je 0x140006c36
mov rax, qword [rsp + 0x1c8]
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0x78]
call fcn.140002d90
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x78]
call fcn.140004b10
mov qword [rsp + 0xa8], rax
jmp 0x140006931
mov rax, qword [rsp + 0x68]
add rax, 8
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0xa8]
cmp qword [rsp + 0x68], rax
je 0x140006c34
mov rax, qword [rsp + 0x68]
mov rax, qword [rax]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x150]
mov rdi, rax
xor eax, eax
mov ecx, SafeArrayPutElement
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x140]
mov rax, qword [rax]
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x150]
xor r8d, r8d
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x140]
call qword [rax + 0x20]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
jge 0x1400069f8
lea rcx, [rsp + 0x150]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
xor edx, edx
mov rcx, qword [rsp + 0x1b8]
call fcn.140008150
mov eax, dword [rsp + 0x50]
or eax, 1
mov dword [rsp + 0x50], eax
lea rcx, [rsp + 0x178]
call fcn.1400080a0
nop
mov rcx, qword [rsp + 0x1c0]
call fcn.1400040d0
mov rax, qword [rsp + 0x1b8]
jmp 0x140006d3e
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0xe8]
call fcn.140008150
nop
lea rdx, [rsp + 0xe8]
lea rcx, [0x140057dc0]
call fcn.140007f10
mov rax, qword [rax]
mov qword [rsp + 0xb0], rax
lea rcx, [rsp + 0xe8]
call fcn.1400080a0
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
dec rax
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 9
ja case.default.0x140006a73
lea rax, [0x140000000]
mov rcx, qword [rsp + 0x60]
mov ecx, dword [rax + rcx*4 + 0x6d58]
add rcx, rax
jmp rcx
cmp qword [rsp + 0x158], 0
jne 0x140006a96
lea rdx, [0x14004eea4]
lea rcx, [rsp + 0x178]
call fcn.140008040
jmp 0x140006aab
mov rdx, qword [rsp + 0x158]
lea rcx, [rsp + 0x178]
call fcn.140008040
jmp case.default.0x140006a73
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x178]
call fcn.140008040
lea rdx, [0x14004efb0]
lea rcx, [rsp + 0x178]
call fcn.140008040
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x140006b04
lea rdx, [0x14004eeb4]
lea rcx, [rsp + 0x178]
call fcn.140008040
jmp case.default.0x140006a73
lea r8, [rsp + 0x170]
mov edx, 1
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.OLEAUT32.dll_SafeArrayLock]
lea r8, [rsp + 0x174]
mov edx, 1
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.OLEAUT32.dll_SafeArrayGetLBound]
mov eax, dword [rsp + 0x170]
mov dword [rsp + 0x168], eax
jmp 0x140006b54
mov eax, dword [rsp + 0x168]
inc eax
mov dword [rsp + 0x168], eax
mov eax, dword [rsp + 0x174]
cmp dword [rsp + 0x168], eax
jg 0x140006bbc
lea r8, [rsp + 0x148]
lea rdx, [rsp + 0x168]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.OLEAUT32.dll_SafeArrayPutElement]
mov dword [rsp + 0x54], eax
mov rdx, qword [rsp + 0x148]
lea rcx, [rsp + 0x178]
call fcn.140008040
lea rdx, [0x14004efb8]
lea rcx, [rsp + 0x178]
call fcn.140008040
mov rcx, qword [rsp + 0x148]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x140006b44
jmp case.default.0x140006a73
mov edx, dword [rsp + 0x158]
lea rcx, [rsp + 0x108]
call fcn.140006220
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0xc0], rax
mov rdx, qword [rsp + 0xc0]
lea rcx, [rsp + 0x178]
call fcn.140008070
nop
lea rcx, [rsp + 0x108]
call fcn.1400080a0
lea rdx, [0x14004efc0]
lea rcx, [rsp + 0x178]
call fcn.140008040
lea rcx, [rsp + 0x150]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x140006923
jmp 0x140006c78
xor edx, edx
mov rcx, qword [rsp + 0x1b8]
call fcn.140008150
mov eax, dword [rsp + 0x50]
or eax, 1
mov dword [rsp + 0x50], eax
lea rcx, [rsp + 0x178]
call fcn.1400080a0
nop
mov rcx, qword [rsp + 0x1c0]
call fcn.1400040d0
mov rax, qword [rsp + 0x1b8]
jmp 0x140006d3e
lea rdx, [0x14004efc8]
lea rcx, [rsp + 0x178]
call fcn.140008040
mov rax, qword [rsp + 0x140]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x140]
call qword [rax + 0x10]
mov qword [rsp + 0x140], 0
jmp 0x140006885
mov rax, qword [rsp + 0x130]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x130]
call qword [rax + 0x10]
mov rax, qword [rsp + 0x128]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x128]
call qword [rax + 0x10]
mov rax, qword [rsp + 0x138]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x138]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
lea rdx, [rsp + 0x178]
mov rcx, qword [rsp + 0x1b8]
call fcn.1400080d0
mov eax, dword [rsp + 0x50]
or eax, 1
mov dword [rsp + 0x50], eax
lea rcx, [rsp + 0x178]
call fcn.1400080a0
nop
mov rcx, qword [rsp + 0x1c0]
call fcn.1400040d0
mov rax, qword [rsp + 0x1b8]
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.14001a9c0
add rsp, 0x1a0
pop rdi
ret