Function at 0x18006255c
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0xb8]
sub rsp, 0x1a0
mov qword [rbp - 0x10], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
movaps xmmword [rax - 0x58], xmm9
mov rax, qword [0x1801aed20]
xor rax, rsp
mov qword [rbp + 0x50], rax
movaps xmm8, xmm2
movaps xmm6, xmm1
mov rdi, rcx
lea rsi, [0x1801afaa0]
xor r15d, r15d
mov byte [rbp + 0x38], r15b
lea rcx, [rbp - 8]
call fcn.18006cca4
nop
mov dword [rsp + 0x28], r15d
mov byte [rsp + 0x20], r15b
mov r9d, 0xf003f
mov r8, rax
mov rdx, 0xffffffff80000002
lea rcx, [rbp + 0x38]
call fcn.180013b2c
test eax, eax
sete bl
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 8]
call fcn.18001ea24
lea r14d, [r15 + 7]
test bl, bl
je 0x1800626b2
mov dword [rsp + 0x34], 2
mov qword [rbp + 0x30], r14
mov qword [rbp + 0x28], r15
mov word [rbp + 0x18], r15w
lea rcx, str.BR_RAMP_TO_USE
call fcn.1800d9868
mov r8, rax
lea rdx, str.BR_RAMP_TO_USE
lea rcx, [rbp + 0x18]
call fcn.18001eca0
mov dword [rsp + 0x38], 4
lea rdx, [rbp + 0x18]
cmp qword [rbp + 0x30], 8
cmovae rdx, qword [rbp + 0x18]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
xor r8d, r8d
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test eax, eax
jne 0x18006268d
mov eax, 0x3bc6
cmp dword [rsp + 0x40], 4
cmovne ebx, eax
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0x18]
call fcn.18001ea24
test ebx, ebx
jne 0x1800626b2
lea rax, [0x1801b0050]
cmp dword [rsp + 0x34], 1
cmovne rax, rsi
mov rsi, rax
movsd xmm7, qword [0x180167510]
mulsd xmm6, xmm7
cvttsd2si eax, xmm6
movd xmm6, eax
cvtdq2pd xmm6, xmm6
divsd xmm6, xmm7
movsd xmm0, qword [0x180167500]
comisd xmm6, xmm0
jb 0x1800629b3
movsd xmm2, qword [0x180167520]
comisd xmm2, xmm6
jb 0x1800629b3
cvtpd2ps xmm1, xmm6
movss dword [rdi + 8], xmm1
mulsd xmm8, xmm7
cvttsd2si eax, xmm8
movd xmm6, eax
cvtdq2pd xmm6, xmm6
divsd xmm6, xmm7
comisd xmm6, xmm0
jb 0x180062868
cvtps2pd xmm0, xmm1
comisd xmm6, xmm0
jbe 0x180062868
comisd xmm2, xmm6
jb 0x180062868
cvtpd2ps xmm0, xmm6
movss dword [rdi + 0xc], xmm0
movss dword [rdi + 0x10], xmm1
mov eax, dword [rdi + 0xc]
mov dword [rdi + 0x1a0], eax
mov ecx, r15d
mov edx, 0x65
lea r8d, [rcx + 1]
movss xmm1, dword [rdi + 8]
cvtps2pd xmm1, xmm1
movsd xmm0, qword [rsi + r8*8]
comisd xmm0, xmm1
ja 0x180062772
mov ecx, r8d
cmp r8d, 0x64
jb 0x180062751
lea r8d, [rdx - 1]
movss xmm0, dword [rdi + 0xc]
cvtps2pd xmm0, xmm0
comisd xmm0, xmmword [rsi + r8*8]
ja 0x18006278f
mov edx, r8d
cmp r8d, 1
ja 0x180062772
inc ecx
xorps xmm9, xmm9
cvtsi2ss xmm9, rcx
mov eax, edx
xorps xmm8, xmm8
cvtsi2ss xmm8, rax
subss xmm8, xmm9
xorps xmm0, xmm0
movsd qword [rbp - 0x18], xmm0
mov ebx, 1
lea r14, [rdi + 0x14]
movd xmm6, ebx
cvtdq2ps xmm6, xmm6
mulss xmm6, xmm8
divss xmm6, dword [0x180167530]
addss xmm6, xmm9
cvtps2pd xmm0, xmm6
lea rdx, [rbp - 0x18]
call fcn.1800e0c6c
cvttss2si eax, xmm6
movsxd rcx, eax
addss xmm6, dword [0x1801674e8]
cvttss2si eax, xmm6
movsxd rdx, eax
movsd xmm1, qword [rsi + rdx*8]
subsd xmm1, qword [rsi + rcx*8]
mulsd xmm1, xmm0
addsd xmm1, qword [rsi + rcx*8]
cvtpd2ps xmm0, xmm1
cvtps2pd xmm1, xmm0
mulsd xmm1, xmm7
cvttsd2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0x180167530]
cvtps2pd xmm0, xmm0
cvtpd2ps xmm1, xmm0
movss dword [r14], xmm1
inc ebx
add r14, 4
cmp ebx, 0x64
jl 0x1800627bb
movss xmm1, dword [rdi + 0x1a0]
subss xmm1, dword [rdi + 0x10]
movss xmm0, dword [0x1801674e4]
comiss xmm0, xmm1
ja 0x180062b03
mov ebx, r15d
jmp 0x180062b08
call fcn.18005abe8
cmp dword [rax + 0x20], 3
jl 0x180062b03
lea rax, [rbp - 0x38]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 8]
mov qword [rsp + 0x38], rax
mov qword [rbp - 0x20], r14
mov qword [rbp - 0x28], r15
mov word [rbp - 0x38], r15w
lea rcx, str.WmiBrightnessControl.cpp
call fcn.1800d9868
mov r8, rax
lea rdx, str.WmiBrightnessControl.cpp
lea rcx, [rbp - 0x38]
call fcn.18001eca0
nop
mov qword [rbp + 0x10], r14
mov qword [rbp + 8], r15
mov word [rbp - 8], r15w
lea rcx, str.Nvidia::UXDriver::Core::WmiBrightnessControl::GenerateNitRange
call fcn.1800d9868
mov r8, rax
lea rdx, str.Nvidia::UXDriver::Core::WmiBrightnessControl::GenerateNitRange
lea rcx, [rbp - 8]
call fcn.18001eca0
nop
lea rax, [rsp + 0x30]
mov qword [rbp + 0x20], rax
lea rax, str.Invalid_calibration_data_minLuminance:
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x18]
mov qword [rsp + 0x50], rax
movsd qword [rsp + 0x58], xmm6
lea rax, [rsp + 0x48]
mov qword [rsp + 0x60], rax
lea rax, str._._Valid_range__
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x70], rax
movss xmm0, dword [0x1801674f8]
movss dword [rsp + 0x78], xmm0
lea rax, [rsp + 0x68]
mov qword [rbp - 0x80], rax
lea rax, [0x180162ba0]
mov qword [rbp - 0x78], rax
lea rax, [rsp + 0x78]
mov qword [rbp - 0x70], rax
movss xmm0, dword [0x180167544]
movss dword [rbp - 0x68], xmm0
lea rax, [rbp - 0x78]
mov qword [rbp - 0x60], rax
lea rax, str.__nits
mov qword [rbp - 0x58], rax
lea rax, [rbp - 0x68]
mov qword [rbp - 0x50], rax
lea rax, method.Nvidia::Logging::Loggable.virtual_0
mov qword [rbp - 0x48], rax
lea rax, [rbp - 0x58]
mov qword [rbp - 0x40], rax
call fcn.18005abe8
mov rcx, rax
lea rax, [rbp - 0x38]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x51c
lea r9, [rbp - 8]
lea r8, [rbp - 0x48]
jmp 0x180062af9
call fcn.18005abe8
cmp dword [rax + 0x20], 3
jl 0x180062b03
lea rax, [rbp - 8]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x38]
mov qword [rsp + 0x38], rax
mov qword [rbp + 0x10], r14
mov qword [rbp + 8], r15
mov word [rbp - 8], r15w
lea rcx, str.WmiBrightnessControl.cpp
call fcn.1800d9868
mov r8, rax
lea rdx, str.WmiBrightnessControl.cpp
lea rcx, [rbp - 8]
call fcn.18001eca0
nop
mov qword [rbp - 0x20], r14
mov qword [rbp - 0x28], r15
mov word [rbp - 0x38], r15w
lea rcx, str.Nvidia::UXDriver::Core::WmiBrightnessControl::GenerateNitRange
call fcn.1800d9868
mov r8, rax
lea rdx, str.Nvidia::UXDriver::Core::WmiBrightnessControl::GenerateNitRange
lea rcx, [rbp - 0x38]
call fcn.18001eca0
nop
lea rax, [rsp + 0x30]
mov qword [rbp + 0x20], rax
lea rax, str.Invalid_calibration_data_minLuminance:
mov qword [rbp - 0x48], rax
lea rax, [rbp + 0x18]
mov qword [rbp - 0x40], rax
movsd qword [rbp - 0x58], xmm6
lea rax, [rbp - 0x48]
mov qword [rbp - 0x50], rax
lea rax, str._._Valid_range__
mov qword [rbp - 0x68], rax
lea rax, [rbp - 0x58]
mov qword [rbp - 0x60], rax
movss xmm0, dword [0x1801674f8]
movss dword [rbp - 0x78], xmm0
lea rax, [rbp - 0x68]
mov qword [rbp - 0x70], rax
lea rax, [0x180162ba0]
mov qword [rsp + 0x78], rax
lea rax, [rbp - 0x78]
mov qword [rbp - 0x80], rax
movss xmm0, dword [0x180167544]
movss dword [rsp + 0x68], xmm0
lea rax, [rsp + 0x78]
mov qword [rsp + 0x70], rax
lea rax, str.__nits
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x60], rax
lea rax, method.Nvidia::Logging::Loggable.virtual_0
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x50], rax
call fcn.18005abe8
mov rcx, rax
lea rax, [rbp - 8]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x50c
lea r9, [rbp - 0x38]
lea r8, [rsp + 0x48]
mov edx, 3
call fcn.180019ae4
mov ebx, 0x57
cmp byte [rbp + 0x38], r15b
je 0x180062b18
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.1800a6240
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop r15
pop r14
pop rbp
ret