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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x78
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
xor r14d, r14d
test eax, eax
js 0x140004630
mov qword [rsp + 0x40], r14
lea esi, [r14 + 3]
mov dword [rsp + 0x38], r14d
xor r9d, r9d
mov qword [rsp + 0x30], r14
xor r8d, r8d
mov dword [rsp + 0x28], esi
or edx, 0xffffffff
xor ecx, ecx
mov dword [rsp + 0x20], r14d
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
js 0x14000462a
lea rax, [rbp + 0x48]
mov qword [rbp + 0x48], r14
lea r15d, [r14 + 1]
mov qword [rsp + 0x20], rax
mov r8d, r15d
lea r9, [0x140005230]
xor edx, edx
lea rcx, [0x140005240]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x14000462a
lea rcx, str.ROOTCIMV2
mov qword [rbp + 0x40], r14
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rcx, qword [rbp + 0x48]
xor r9d, r9d
mov rdi, rax
xor r8d, r8d
lea rax, [rbp + 0x40]
mov rdx, rdi
mov qword [rsp + 0x40], rax
mov r10, qword [rcx]
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r14
call qword [r10 + 0x18]
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test ebx, ebx
jns 0x140004491
mov rcx, qword [rbp + 0x48]
jmp 0x140004624
mov rcx, qword [rbp + 0x40]
xor r9d, r9d
mov dword [rsp + 0x38], r14d
xor r8d, r8d
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], esi
lea edx, [r9 + 0xa]
mov dword [rsp + 0x20], esi
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x1400044c7
mov rcx, qword [rbp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x140004488
lea rcx, [0x140005a78]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
lea rcx, str.SELECT__FROM_Win32_VideoController
mov rsi, rax
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rcx, qword [rbp + 0x40]
mov r9d, 0x30
mov rdi, rax
mov qword [rbp + 0x50], r14
lea rax, [rbp + 0x50]
mov r8, rdi
mov qword [rsp + 0x28], rax
mov rdx, rsi
mov r10, qword [rcx]
mov qword [rsp + 0x20], r14
call qword [r10 + 0xa0]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test ebx, ebx
js 0x1400044bb
mov dword [rbp + 0x38], r14d
jmp 0x1400045ff
mov rax, qword [rcx]
lea rdx, [rbp + 0x38]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x28]
or edx, 0xffffffff
mov r8d, r15d
call qword [rax + 0x20]
cmp dword [rbp + 0x38], r14d
je 0x14000460c
mov rcx, qword [rbp - 0x28]
lea r9, [rbp - 0x20]
mov qword [rsp + 0x28], r14
lea rdx, str.Name
xor r8d, r8d
mov qword [rsp + 0x20], r14
mov rax, qword [rcx]
call qword [rax + 0x20]
mov ecx, 0x104
call fcn.140001050
mov rcx, qword [rbp - 0x18]
call fcn.140004658
lea rdx, str.VMware_SVGA_3D
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x14000463f
lea rdx, str.Standard_VGA_Graphics_Adapter
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x14000463f
lea rdx, str.Microsoft_Basic_Display_Adapter
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x14000463f
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
lea rcx, [rbp - 0x20]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp - 0x28]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbp - 0x28], r14
mov rcx, qword [rbp + 0x50]
test rcx, rcx
jne 0x140004534
mov rcx, qword [rbp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0x48]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0x50]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
add rsp, 0x78
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, r15d
jmp 0x140004632