Function at 0x1800046e0
Capabilities:
Connect to wmi namespace via wbemlocator
Print debug messages
Reference wmi statements

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x180027008]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov rbx, rcx
mov edx, 2
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jns 0x18000471b
xor al, al
jmp 0x180004979
lea rax, [rsp + 0x58]
mov qword [rsp + 0x158], rdi
xor edi, edi
mov qword [rsp + 0x20], rax
lea r9, [0x18001b620]
mov qword [rsp + 0x58], rdi
xor edx, edx
lea rcx, [0x18001b6f0]
lea r8d, [rdi + 1]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x180004813
mov rcx, qword [rsp + 0x58]
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x40], rdx
xor r9d, r9d
mov qword [rsp + 0x38], rdi
lea rdx, str.ROOTCIMV2
mov qword [rsp + 0x50], rdi
xor r8d, r8d
mov rax, qword [rcx]
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
call qword [rax + 0x18]
test eax, eax
js 0x180004808
mov rcx, qword [rsp + 0x50]
lea edx, [rdi + 0xa]
mov dword [rsp + 0x38], edi
xor r9d, r9d
mov qword [rsp + 0x30], rdi
xor r8d, r8d
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov rcx, qword [rsp + 0x50]
test eax, eax
js 0x180004802
mov qword [rsp + 0x68], rdi
lea rdx, [rsp + 0x68]
mov rax, qword [rcx]
lea r9d, [rdi + 0x30]
mov qword [rsp + 0x28], rdx
lea r8, str.SELECT__FROM_Win32_VideoController
lea rdx, [0x180023a48]
mov qword [rsp + 0x20], rdi
call qword [rax + 0xa0]
test eax, eax
jns 0x180004820
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
call qword [sym.imp.ole32.dll_CoUninitialize]
xor al, al
jmp 0x180004971
xor edx, edx
mov dword [rsp + 0x60], edi
mov r8d, 0x80
lea rcx, [rbp - 0x50]
call fcn.18000a6f0
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x180004953
mov rax, qword [rcx]
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x70]
or edx, 0xffffffff
mov r8d, 1
call qword [rax + 0x20]
cmp dword [rsp + 0x60], edi
je 0x180004953
mov rcx, qword [rsp + 0x70]
lea r9, [rsp + 0x78]
mov qword [rsp + 0x28], rdi
lea rdx, str.Description
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, qword [rsp + 0x70]
lea r9, [rbp - 0x70]
mov qword [rsp + 0x28], rdi
lea rdx, str.Availability
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
or rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], dil
jne 0x1800048c0
test rax, rax
je 0x1800048e6
lea rcx, [rbx - 1]
cmp byte [rcx + 1], dil
lea rcx, [rcx + 1]
jne 0x1800048d2
movzx eax, word [0x180023a84]
mov word [rcx], ax
mov r9d, dword [rbp - 0x68]
lea rdx, str.gpu_ws_d
mov r8, qword [rbp - 0x80]
lea rcx, [rbp - 0x50]
call fcn.180003690
lea rax, [rbx - 1]
cmp byte [rax + 1], dil
lea rax, [rax + 1]
jne 0x180004902
lea r8, [rbp - 0x50]
xor edx, edx
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [r8 + rdx]
mov byte [rax + rdx], cl
lea rdx, [rdx + 1]
test cl, cl
jne 0x180004920
lea rcx, [rsp + 0x78]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
lea rcx, [rbp - 0x70]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rsp + 0x68]
test rcx, rcx
jne 0x180004843
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov al, 1
mov rdi, qword [rsp + 0x158]
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.1800077c0
mov rbx, qword [rsp + 0x160]
add rsp, 0x140
pop rbp
ret