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

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xf0
mov qword [rbp + 0x27], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
xor r15d, r15d
test eax, eax
jns 0x1800617b5
call fcn.18005abe8
lea esi, [r15 + 3]
cmp dword [rax + 0x20], esi
jl 0x180061c39
lea rax, [rbp - 9]
mov qword [rbp + 0x6f], rax
lea rax, [rbp - 0x59]
mov qword [rbp + 0x77], rax
lea edi, [rsi + 4]
mov qword [rbp + 0xf], rdi
mov qword [rbp + 7], r15
mov word [rbp - 9], r15w
lea rcx, str.WmiBrightnessControl.cpp
call fcn.1800d9868
mov r8, rax
lea rdx, str.WmiBrightnessControl.cpp
lea rcx, [rbp - 9]
call fcn.18001eca0
nop
mov qword [rbp - 0x41], rdi
mov qword [rbp - 0x49], r15
mov word [rbp - 0x59], r15w
lea rcx, str.Nvidia::UXDriver::Core::WmiBrightnessControl::ConnectToWmiServer
call fcn.1800d9868
mov r8, rax
lea rdx, str.Nvidia::UXDriver::Core::WmiBrightnessControl::ConnectToWmiServer
lea rcx, [rbp - 0x59]
call fcn.18001eca0
nop
lea rax, [rbp + 0x67]
mov qword [rbp - 0x31], rax
lea rax, str.ACELOG:_Failed_to_initialize_COM_instance
mov qword [rbp + 0x17], rax
lea rax, [rbp - 0x39]
mov qword [rbp + 0x1f], rax
lea rax, vtable.Nvidia::Logging::ChainLoggable_class_Nvidia::Logging::Chain_char_const_____42____ptr64__class_Nvidia::Logging::Chain_struct_Nvidia::Logging::NullType__struct_Nvidia::Logging::NullType___.0
mov qword [rbp - 0x69], rax
lea rax, [rbp + 0x17]
mov qword [rbp - 0x61], rax
call fcn.18005abe8
mov rcx, rax
lea rax, [rbp - 9]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x44f
jmp 0x180061c2a
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x38], 2
mov qword [rsp + 0x30], r15
mov esi, 3
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], 6
xor r9d, r9d
xor r8d, r8d
or edx, 0xffffffff
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
mov ebx, eax
mov eax, 0x80000000
lea ecx, [rbx + rax]
test eax, ecx
jne 0x1800618e1
cmp ebx, 0x80010119
je 0x1800618e1
call fcn.18005abe8
cmp dword [rax + 0x20], esi
jl 0x180061c39
lea rax, [rbp - 0x59]
mov qword [rbp + 0x6f], rax
lea rax, [rbp - 0x29]
mov qword [rbp + 0x77], rax
lea edi, [rsi + 4]
mov qword [rbp - 0x41], rdi
mov qword [rbp - 0x49], r15
mov word [rbp - 0x59], r15w
lea rcx, str.WmiBrightnessControl.cpp
call fcn.1800d9868
mov r8, rax
lea rdx, str.WmiBrightnessControl.cpp
lea rcx, [rbp - 0x59]
call fcn.18001eca0
nop
mov qword [rbp - 0x11], rdi
mov qword [rbp - 0x19], r15
mov word [rbp - 0x29], r15w
lea rcx, str.Nvidia::UXDriver::Core::WmiBrightnessControl::ConnectToWmiServer
call fcn.1800d9868
mov r8, rax
lea rdx, str.Nvidia::UXDriver::Core::WmiBrightnessControl::ConnectToWmiServer
lea rcx, [rbp - 0x29]
call fcn.18001eca0
nop
lea rax, [rbp + 0x67]
mov qword [rbp - 1], rax
lea rax, str.ACELOG:_Failed_to_set_COM_security_values__0x_0x_:
mov qword [rbp - 0x69], rax
lea rax, [rbp - 9]
mov qword [rbp - 0x61], rax
mov dword [rbp + 0x17], ebx
lea rax, [rbp - 0x69]
mov qword [rbp + 0x1f], rax
lea rax, vtable.Nvidia::Logging::ChainLoggable_class_Nvidia::Logging::Chain_long_int__class_Nvidia::Logging::Chain_char_const_____52____ptr64__class_Nvidia::Logging::Chain_struct_Nvidia::Logging::NullType__struct_Nvidia::Logging::NullType____.0
mov qword [rbp - 0x39], rax
lea rax, [rbp + 0x17]
mov qword [rbp - 0x31], rax
call fcn.18005abe8
mov rcx, rax
lea rax, [rbp - 0x59]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x458
lea r9, [rbp - 0x29]
lea r8, [rbp - 0x39]
jmp 0x180061c32
lea rax, [0x1801fad18]
mov qword [rsp + 0x20], rax
lea r9, [0x1801401d8]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1801401b8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x180061b66
cmp qword [0x1801fad18], r15
je 0x180061b66
lea rdx, str.rootwmi
lea rcx, [rbp + 0x67]
call fcn.18005a5d4
nop
mov rcx, qword [rax]
test rcx, rcx
je 0x18006193a
mov r14, qword [rcx]
jmp 0x18006193d
mov r14, r15
mov rdi, qword [0x1801fad18]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [fcn.18000e000]
lea rax, [0x1801fad10]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
mov rdx, r14
mov rcx, rdi
call rbx
test eax, eax
setne bl
lea rcx, [rbp + 0x67]
call fcn.18005a660
test bl, bl
je 0x180061a61
call fcn.18005abe8
cmp dword [rax + 0x20], esi
jl 0x180061c39
lea rax, [rbp - 0x29]
mov qword [rbp + 0x6f], rax
lea rax, [rbp - 0x59]
mov qword [rbp + 0x77], rax
mov edi, 7
mov qword [rbp - 0x11], rdi
mov qword [rbp - 0x19], r15
mov word [rbp - 0x29], r15w
lea rcx, str.WmiBrightnessControl.cpp
call fcn.1800d9868
mov r8, rax
lea rdx, str.WmiBrightnessControl.cpp
lea rcx, [rbp - 0x29]
call fcn.18001eca0
nop
mov qword [rbp - 0x41], rdi
mov qword [rbp - 0x49], r15
mov word [rbp - 0x59], r15w
lea rcx, str.Nvidia::UXDriver::Core::WmiBrightnessControl::ConnectToWmiServer
call fcn.1800d9868
mov r8, rax
lea rdx, str.Nvidia::UXDriver::Core::WmiBrightnessControl::ConnectToWmiServer
lea rcx, [rbp - 0x59]
call fcn.18001eca0
nop
lea rax, [rbp + 0x67]
mov qword [rbp - 1], rax
lea rax, str.ACELOG:_Could_not_connect_to_the_rootwmi_namespace
mov qword [rbp - 0x39], rax
lea rax, [rbp - 9]
mov qword [rbp - 0x31], rax
lea rax, vtable.Nvidia::Logging::ChainLoggable_class_Nvidia::Logging::Chain_char_const_____52____ptr64__class_Nvidia::Logging::Chain_struct_Nvidia::Logging::NullType__struct_Nvidia::Logging::NullType___.0
mov qword [rbp - 0x69], rax
lea rax, [rbp - 0x39]
mov qword [rbp - 0x61], rax
call fcn.18005abe8
mov rcx, rax
lea rax, [rbp - 0x29]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x462
jmp 0x180061c2a
mov dword [rsp + 0x38], r15d
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xa]
mov rcx, qword [0x1801fad10]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
je 0x180061b5f
call fcn.18005abe8
cmp dword [rax + 0x20], esi
jl 0x180061c39
lea rax, [rbp - 0x29]
mov qword [rbp + 0x6f], rax
lea rax, [rbp - 0x59]
mov qword [rbp + 0x77], rax
mov edi, 7
mov qword [rbp - 0x11], rdi
mov qword [rbp - 0x19], r15
mov word [rbp - 0x29], r15w
lea rcx, str.WmiBrightnessControl.cpp
call fcn.1800d9868
mov r8, rax
lea rdx, str.WmiBrightnessControl.cpp
lea rcx, [rbp - 0x29]
call fcn.18001eca0
nop
mov qword [rbp - 0x41], rdi
mov qword [rbp - 0x49], r15
mov word [rbp - 0x59], r15w
lea rcx, str.Nvidia::UXDriver::Core::WmiBrightnessControl::ConnectToWmiServer
call fcn.1800d9868
mov r8, rax
lea rdx, str.Nvidia::UXDriver::Core::WmiBrightnessControl::ConnectToWmiServer
lea rcx, [rbp - 0x59]
call fcn.18001eca0
nop
lea rax, [rbp + 0x67]
mov qword [rbp - 1], rax
lea rax, str.ACELOG:_Failed_to_set_authentication_to_proxy
mov qword [rbp - 0x39], rax
lea rax, [rbp - 9]
mov qword [rbp - 0x31], rax
lea rax, vtable.Nvidia::Logging::ChainLoggable_class_Nvidia::Logging::Chain_char_const_____46____ptr64__class_Nvidia::Logging::Chain_struct_Nvidia::Logging::NullType__struct_Nvidia::Logging::NullType___.0
mov qword [rbp - 0x69], rax
lea rax, [rbp - 0x39]
mov qword [rbp - 0x61], rax
call fcn.18005abe8
mov rcx, rax
lea rax, [rbp - 0x29]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x469
jmp 0x180061c2a
mov al, 1
jmp 0x180061c3b
call fcn.18005abe8
cmp dword [rax + 0x20], esi
jl 0x180061c39
lea rax, [rbp - 0x29]
mov qword [rbp + 0x6f], rax
lea rax, [rbp - 0x59]
mov qword [rbp + 0x77], rax
mov edi, 7
mov qword [rbp - 0x11], rdi
mov qword [rbp - 0x19], r15
mov word [rbp - 0x29], r15w
lea rcx, str.WmiBrightnessControl.cpp
call fcn.1800d9868
mov r8, rax
lea rdx, str.WmiBrightnessControl.cpp
lea rcx, [rbp - 0x29]
call fcn.18001eca0
nop
mov qword [rbp - 0x41], rdi
mov qword [rbp - 0x49], r15
mov word [rbp - 0x59], r15w
lea rcx, str.Nvidia::UXDriver::Core::WmiBrightnessControl::ConnectToWmiServer
call fcn.1800d9868
mov r8, rax
lea rdx, str.Nvidia::UXDriver::Core::WmiBrightnessControl::ConnectToWmiServer
lea rcx, [rbp - 0x59]
call fcn.18001eca0
nop
lea rax, [rbp + 0x67]
mov qword [rbp - 1], rax
lea rax, str.ACELOG:_Failed_to_create_COM_IID_IWbemLocator_instance__0x_0x_:
mov qword [rbp - 0x39], rax
lea rax, [rbp - 9]
mov qword [rbp - 0x31], rax
lea rax, vtable.Nvidia::Logging::ChainLoggable_class_Nvidia::Logging::Chain_char_const_____65____ptr64__class_Nvidia::Logging::Chain_struct_Nvidia::Logging::NullType__struct_Nvidia::Logging::NullType___.0
mov qword [rbp - 0x69], rax
lea rax, [rbp - 0x39]
mov qword [rbp - 0x61], rax
call fcn.18005abe8
mov rcx, rax
lea rax, [rbp - 0x29]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x45d
lea r9, [rbp - 0x59]
lea r8, [rbp - 0x69]
mov edx, esi
call fcn.180019ae4
xor al, al
mov rbx, qword [rsp + 0x138]
add rsp, 0xf0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret