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

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xe0
mov rbx, rcx
xor r13d, r13d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x14007c0ed
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x38], r13d
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
mov rdi, 0xffffffffffffffff
mov edx, edi
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
jns 0x14007c146
call qword [sym.imp.ole32.dll_CoUninitialize]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], recv
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
movsd xmm0, qword [str.ERROR_:_404]
movsd qword [rbx], xmm0
movzx eax, word [0x140172e50]
mov word [rbx + 8], ax
movzx eax, byte [0x140172e52]
mov byte [rbx + 0xa], al
mov byte [rbx + 0xb], r13b
mov rax, rbx
mov rbx, qword [rsp + 0x120]
add rsp, 0xe0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov qword [rbp - 0x59], r13
lea rax, [rbp - 0x59]
mov qword [rsp + 0x20], rax
lea r9, [0x140191e28]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x140191e38]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x14007c0e7
mov qword [rbp - 0x69], r13
mov rax, qword [rbp - 0x59]
mov rcx, qword [rax]
mov r14, qword [rcx + 0x18]
mov ecx, Ordinal_27
call fcn.1400fef44
mov rsi, rax
mov qword [rbp + 0x6f], rax
test rax, rax
je 0x14007c1c0
mov qword [rax + 8], r13
mov dword [rax + 0x10], 1
lea rcx, str.ROOTCIMV2
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rsi], rax
test rax, rax
je 0x14007c589
jmp 0x14007c1c3
mov rsi, r13
mov qword [rbp + 0x6f], rsi
test rsi, rsi
je 0x14007c594
lea rax, [rbp - 0x69]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsi]
mov rcx, qword [rbp - 0x59]
call r14
mov r14d, eax
mov ecx, edi
lock xadd dword [rsi + 0x10], ecx
cmp ecx, 1
jne 0x14007c23c
mov rcx, qword [rsi]
test rcx, rcx
je 0x14007c21d
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rsi], r13
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x14007c22f
call fcn.1400fef80
mov qword [rsi + 8], r13
mov edx, Ordinal_27
mov rcx, rsi
call fcn.1400fef80
mov rcx, qword [rbp - 0x59]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
test r14d, r14d
js 0x14007c287
mov dword [rsp + 0x38], r13d
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xa]
mov rcx, qword [rbp - 0x69]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x14007c2cd
mov rcx, qword [rbp - 0x69]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
call qword [sym.imp.ole32.dll_CoUninitialize]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], recv
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
movsd xmm0, qword [str.ERROR_:_404]
movsd qword [rbx], xmm0
movzx eax, word [0x140172e50]
mov word [rbx + 8], ax
movzx eax, byte [0x140172e52]
mov byte [rbx + 0xa], al
mov byte [rbx + 0xb], 0
jmp 0x14007c128
mov qword [rbp - 0x61], r13
mov rax, qword [rbp - 0x69]
mov rcx, qword [rax]
mov r12, qword [rcx + 0xa0]
mov ecx, Ordinal_27
call fcn.1400fef44
mov rsi, rax
mov qword [rbp + 0x7f], rax
test rax, rax
je 0x14007c311
mov qword [rax + 8], r13
mov dword [rax + 0x10], 1
lea rcx, str.SELECT__FROM_Win32_VideoController
call fcn.1400fffc0
mov qword [rsi], rax
jmp 0x14007c314
mov rsi, r13
mov qword [rbp - 9], rsi
test rsi, rsi
je 0x14007c594
mov r15, qword [rsi]
mov ecx, Ordinal_27
call fcn.1400fef44
mov r14, rax
mov qword [rbp + 0x7f], rax
test rax, rax
je 0x14007c356
mov qword [rax + 8], r13
mov dword [rax + 0x10], 1
lea rcx, [0x140172e90]
call fcn.1400fffc0
mov qword [r14], rax
jmp 0x14007c359
mov r14, r13
mov qword [rbp - 1], r14
test r14, r14
je 0x14007c57e
lea rax, [rbp - 0x61]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
mov r9d, Ordinal_50
mov r8, r15
mov rdx, qword [r14]
mov rcx, qword [rbp - 0x69]
call r12
mov r15d, eax
mov ecx, edi
lock xadd dword [r14 + 0x10], ecx
cmp ecx, 1
jne 0x14007c3c8
mov rcx, qword [r14]
test rcx, rcx
je 0x14007c3a8
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [r14], r13
mov rcx, qword [r14 + 8]
test rcx, rcx
je 0x14007c3ba
call fcn.1400fef80
mov qword [r14 + 8], r13
mov edx, Ordinal_27
mov rcx, r14
call fcn.1400fef80
nop
mov eax, edi
lock xadd dword [rsi + 0x10], eax
cmp eax, 1
jne 0x14007c404
mov rcx, qword [rsi]
test rcx, rcx
je 0x14007c3e5
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rsi], r13
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x14007c3f7
call fcn.1400fef80
mov qword [rsi + 8], r13
mov edx, Ordinal_27
mov rcx, rsi
call fcn.1400fef80
test r15d, r15d
js 0x14007c27d
mov qword [rbp - 0x51], r13
mov dword [rbp + 0x77], r13d
mov rcx, qword [rbp - 0x61]
test rcx, rcx
je 0x14007c48b
nop
mov rax, qword [rcx]
lea rdx, [rbp + 0x77]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x51]
mov r8d, 1
mov edx, edi
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
cmp dword [rbp + 0x77], 0
je 0x14007c48b
mov rcx, qword [rbp - 0x51]
mov rax, qword [rcx]
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, [rbp - 0x21]
xor r8d, r8d
lea rdx, str.Caption
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
test eax, eax
js 0x14007c46e
cmp word [rbp - 0x21], 8
je 0x14007c49e
lea rcx, [rbp - 0x21]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp - 0x51]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x61]
test rcx, rcx
jne 0x14007c420
mov rcx, qword [rbp - 0x69]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x61]
jmp 0x14007c281
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x39], xmm1
mov rdx, qword [rbp - 0x19]
inc rdi
cmp word [rdx + rdi*2], 0
jne 0x14007c4b1
mov r8, rdi
lea rcx, [rbp - 0x49]
call fcn.140068660
nop
lea rdx, [rbp - 0x49]
cmp qword [rbp - 0x31], 7
cmova rdx, qword [rbp - 0x49]
mov rax, qword [rbp - 0x39]
lea r8, [rdx + rax*2]
lea rdx, [rbp - 0x49]
cmova rdx, qword [rbp - 0x49]
lea r9, [rbp + 0x6f]
lea rcx, [rbp + 7]
call fcn.140068440
nop
lea rcx, [rbp - 0x21]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp - 0x51]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x69]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x61]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
call qword [sym.imp.ole32.dll_CoUninitialize]
movups xmm0, xmmword [rbp + 7]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp + 0x17]
movups xmmword [rbx + 0x10], xmm1
mov rdx, qword [rbp - 0x31]
cmp rdx, 7
jbe 0x14007c128
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007c574
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007c574
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400fef80
jmp 0x14007c128
mov ecx, 0x8007000e
call fcn.1400fffb0
nop
mov ecx, 0x8007000e
call fcn.1400fffb0
nop
mov ecx, 0x8007000e
call fcn.1400fffb0
int3