Function at 0x180061f6c
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1d8]
sub rsp, 0x2a0
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 8], rbx
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
mov rax, qword [0x1801aed20]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov r13, r8
mov r12, rdx
mov r15, rcx
xor esi, esi
mov dword [rsp + 0x38], esi
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov byte [rbp - 0x60], sil
lea edi, [rsi + 7]
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x70], rsi
mov word [rsp + 0x60], si
lea rcx, str.SYSTEMCurrentControlSetServices_nvlddmkmGlobalNvHybridPersistenceACE
call fcn.1800d9868
mov r8, rax
lea rdx, str.SYSTEMCurrentControlSetServices_nvlddmkmGlobalNvHybridPersistenceACE
lea rcx, [rsp + 0x60]
call fcn.18001eca0
nop
mov dword [rsp + 0x28], esi
mov byte [rsp + 0x20], sil
mov r9d, 0xf003f
lea r8, [rsp + 0x60]
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x60]
call fcn.180013b2c
test eax, eax
sete bl
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x60]
call fcn.18001ea24
test bl, bl
je 0x1800621c1
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x70], rsi
mov word [rsp + 0x60], si
lea rcx, str.Br3PercentageToNitMapping
call fcn.1800d9868
mov r8, rax
lea rdx, str.Br3PercentageToNitMapping
lea rcx, [rsp + 0x60]
call fcn.18001eca0
nop
mov ebx, 0x400
mov ecx, ebx
call fcn.1800a6d90
mov qword [rbp - 0x80], rax
mov r8b, byte [rsp + 0x30]
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.180065e64
mov rdi, qword [rbp - 0x80]
mov qword [rbp - 0x80], rsi
mov qword [rsp + 0x48], rdi
mov r14, qword [rbp - 0x78]
mov qword [rsp + 0x50], r14
mov qword [rbp - 0x78], rsi
lea rcx, [rbp - 0x78]
call fcn.18001269c
mov dword [rsp + 0x34], ebx
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rdx, qword [rsp + 0x60]
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x3c]
xor r8d, r8d
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
mov esi, dword [rsp + 0x34]
mov eax, 0x3bc6
test ebx, ebx
jne 0x1800620ff
cmp dword [rsp + 0x3c], 3
cmovne ebx, eax
cmp ebx, 0xea
jne 0x18006219e
mov rcx, rsi
call fcn.1800a6d90
mov qword [rbp - 0x80], rax
mov r8b, byte [rsp + 0x30]
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.180065e64
mov rbx, qword [rbp - 0x80]
mov qword [rbp - 0x80], rdi
mov rdi, rbx
mov qword [rsp + 0x48], rbx
mov rax, r14
mov r14, qword [rbp - 0x78]
mov qword [rsp + 0x50], r14
mov qword [rbp - 0x78], rax
lea rcx, [rbp - 0x78]
call fcn.18001269c
mov dword [rsp + 0x40], esi
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rdx, qword [rsp + 0x60]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x38]
xor r8d, r8d
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
xor esi, esi
test eax, eax
jne 0x1800621a0
cmp dword [rsp + 0x38], 3
mov eax, 0x3bc6
cmovne ebx, eax
jmp 0x1800621a0
xor esi, esi
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x60]
call fcn.18001ea24
test ebx, ebx
jne 0x1800621cb
movzx eax, byte [r15]
movss xmm0, dword [rdi + rax*4]
jmp 0x1800624f7
mov r14, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x48]
xor edx, edx
mov r8d, 0x1a4
lea rcx, [rbp - 0x40]
call fcn.1800cf2b0
movsd xmm7, qword [r12]
movsd xmm8, qword [r13]
mov r13d, 7
mov qword [rsp + 0x78], r13
mov qword [rsp + 0x70], rsi
mov word [rsp + 0x60], si
lea rcx, str.SYSTEMCurrentControlSetServices_nvlddmkmGlobalNvHybridPersistenceACE
call fcn.1800d9868
mov r8, rax
lea rdx, str.SYSTEMCurrentControlSetServices_nvlddmkmGlobalNvHybridPersistenceACE
lea rcx, [rsp + 0x60]
call fcn.18001eca0
nop
mov dword [rsp + 0x28], esi
mov byte [rsp + 0x20], sil
mov r9d, 0xf003f
lea r8, [rsp + 0x60]
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x60]
call fcn.180013b2c
test eax, eax
sete bl
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x60]
call fcn.18001ea24
test bl, bl
je 0x1800623bc
mov dword [rsp + 0x34], esi
mov dword [rsp + 0x3c], esi
mov qword [rbp - 0x68], r13
mov qword [rbp - 0x70], rsi
mov word [rbp - 0x80], si
lea rcx, str.MinMilliNit
call fcn.1800d9868
mov r8, rax
lea rdx, str.MinMilliNit
lea rcx, [rbp - 0x80]
call fcn.18001eca0
nop
lea esi, [r13 - 6]
mov dword [rsp + 0x38], esi
lea r12d, [r13 - 3]
mov dword [rsp + 0x40], r12d
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae rdx, qword [rbp - 0x80]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x44]
xor r8d, r8d
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor ebx, ebx
test eax, eax
jne 0x180062363
cmp dword [rsp + 0x44], r12d
jne 0x180062363
mov qword [rsp + 0x78], r13
mov qword [rsp + 0x70], rbx
mov word [rsp + 0x60], bx
lea rcx, str.MaxMilliNit
call fcn.1800d9868
mov r8, rax
lea rdx, str.MaxMilliNit
lea rcx, [rsp + 0x60]
call fcn.18001eca0
lea esi, [rbx + 3]
mov dword [rsp + 0x44], r12d
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rdx, qword [rsp + 0x60]
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
xor r8d, r8d
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x180062363
cmp dword [rsp + 0x38], r12d
jne 0x180062363
mov bl, 1
test sil, 2
je 0x180062379
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x60]
call fcn.18001ea24
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x80]
call fcn.18001ea24
xor esi, esi
test bl, bl
je 0x1800623bc
mov eax, dword [rsp + 0x34]
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
divss xmm0, dword [0x180167540]
cvtps2pd xmm7, xmm0
mov eax, dword [rsp + 0x3c]
xorps xmm2, xmm2
cvtsi2ss xmm2, rax
divss xmm2, dword [0x180167540]
cvtps2pd xmm8, xmm2
movaps xmm2, xmm8
movaps xmm1, xmm7
lea rcx, [rbp - 0x40]
call fcn.18006255c
test eax, eax
jne 0x180062506
mov qword [rsp + 0x78], r13
mov qword [rsp + 0x70], rsi
mov word [rsp + 0x60], si
lea rcx, str.SYSTEMCurrentControlSetServices_nvlddmkmGlobalNvHybridPersistenceACE
call fcn.1800d9868
mov r8, rax
lea rdx, str.SYSTEMCurrentControlSetServices_nvlddmkmGlobalNvHybridPersistenceACE
lea rcx, [rsp + 0x60]
call fcn.18001eca0
nop
mov dword [rsp + 0x28], esi
mov byte [rsp + 0x20], sil
mov r9d, 0xf003f
lea r8, [rsp + 0x60]
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x60]
call fcn.180013b2c
test eax, eax
sete bl
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x60]
call fcn.18001ea24
test bl, bl
je 0x180062506
mov qword [rsp + 0x78], r13
mov qword [rsp + 0x70], rsi
mov word [rsp + 0x60], si
lea rcx, str.Br3PercentageToNitMapping
call fcn.1800d9868
mov r8, rax
lea rdx, str.Br3PercentageToNitMapping
lea rcx, [rsp + 0x60]
call fcn.18001eca0
nop
mov esi, 0x194
mov r9d, esi
lea r8, [rbp - 0x30]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x58]
call fcn.18005ab40
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x60]
call fcn.18001ea24
mov ecx, esi
call fcn.1800a6d90
mov qword [rbp - 0x80], rax
mov r8b, byte [rsp + 0x30]
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.180065e64
mov rbx, qword [rbp - 0x80]
mov qword [rbp - 0x80], rdi
mov qword [rsp + 0x48], rbx
mov rax, qword [rbp - 0x78]
mov qword [rsp + 0x50], rax
mov qword [rbp - 0x78], r14
lea rcx, [rbp - 0x78]
call fcn.18001269c
mov r8d, esi
lea rdx, [rbp - 0x30]
mov rcx, rbx
call fcn.1800ceb80
movzx eax, byte [r15]
movss xmm0, dword [rbx + rax*4]
xor esi, esi
mulss xmm0, dword [0x180167540]
cvttss2si rbx, xmm0
jmp 0x180062508
mov ebx, esi
cmp byte [rbp - 0x60], sil
je 0x18006251c
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [rbp - 0x60], sil
lea rcx, [rsp + 0x50]
call fcn.18001269c
mov eax, ebx
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.1800a6240
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x40]
movaps xmm7, xmmword [r11 - 0x10]
movaps xmm8, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret