Function at 0x140001950
Capabilities:
Accept command line arguments
Get token membership

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3150]
mov eax, 0x3250
call fcn.140006d00
sub rsp, rax
mov rax, qword [0x14000c040]
xor rax, rsp
mov qword [rbp + 0x3140], rax
xor r15d, r15d
lea rdx, str._nNvTrueHDR___RTX_HDR_toggler__v1.1_nby_emoose___https:__github.com_emoose_n_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140004280
cmp dword [0x140018a58], r15d
je 0x1400019f2
lea rdx, str.Error:_failed_to_load_nvapi64.dll__do_you_have_NV_drivers_installed__n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140004280
xor eax, eax
mov rcx, qword [rbp + 0x3140]
xor rcx, rsp
call fcn.140005eb0
lea r11, [rsp + 0x3250]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov byte [rsp + 0x62], r15b
xor r13b, r13b
mov byte [rsp + 0x61], r13b
mov dword [rsp + 0x64], 2
mov dword [rbp + 0x2f98], r15d
mov dword [rbp + 0x2fa0], r15d
mov word [rbp + 0x2fa4], 0x500
lea rax, [rbp + 0x2f90]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], r15d
mov dword [rsp + 0x40], r15d
mov dword [rsp + 0x38], r15d
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
mov r9d, 0x220
mov r8d, 0x20
mov dl, 2
lea rcx, [rbp + 0x2fa0]
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x140001a95
lea r8, [rbp + 0x2f98]
mov rdx, qword [rbp + 0x2f90]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x140001a88
mov dword [rbp + 0x2f98], r15d
mov rcx, qword [rbp + 0x2f90]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
cmp dword [rbp + 0x2f98], r15d
sete bl
mov byte [rsp + 0x60], bl
xorps xmm0, xmm0
movups xmmword [rbp + 0x2fa8], xmm0
mov qword [rbp + 0x2fb8], r15
mov qword [rbp + 0x2fc0], 7
mov word [rbp + 0x2fa8], r15w
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rdx, [rbp + 0x3020]
mov rcx, rax
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov qword [rbp + 0x2f90], rax
mov r12d, 1
mov dword [rbp + 0x2f98], r12d
cmp dword [rbp + 0x3020], r12d
jle 0x140001fc7
mov ecx, r12d
mov qword [rbp + 0x2fa0], rcx
nop dword [rax + rax]
mov rdx, qword [rax + rcx*8]
xorps xmm0, xmm0
movups xmmword [rbp + 0x3028], xmm0
mov qword [rbp + 0x3038], r15
mov qword [rbp + 0x3040], r15
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x140001b33
lea rcx, [rbp + 0x3028]
call fcn.1400049b0
nop
lea r8, [rbp + 0x3028]
mov r14, qword [rbp + 0x3040]
cmp r14, 7
seta bl
mov rsi, qword [rbp + 0x3028]
cmova r8, rsi
mov rdi, qword [rbp + 0x3038]
cmp rdi, 6
jne 0x140001bfd
mov rdx, rdi
lea rax, str.__help
mov rcx, rax
test rdi, rdi
je 0x140001ba5
sub r8, rax
movzx eax, word [r8 + rcx]
cmp ax, word [rcx]
jne 0x140001bfd
add rcx, 2
sub rdx, 1
jne 0x140001b91
lea rdx, str.usage:_nvtruehdr____high_____medium_____low_____disable_____hud___appExeName__n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140004280
nop
test bl, bl
je 0x140001bf2
lea rdx, [r14*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140001bea
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002e26
mov rcx, rsi
call fcn.140005f14
mov r12d, 3
jmp 0x140003408
lea r8, [rbp + 0x3028]
test bl, bl
cmovne r8, rsi
cmp rdi, 5
jne 0x140001c4b
mov rdx, rdi
lea rax, str.__hud
mov rcx, rax
test rdi, rdi
je 0x140001c39
sub r8, rax
movzx eax, word [r8 + rcx]
cmp ax, word [rcx]
jne 0x140001c4b
add rcx, 2
sub rdx, 1
jne 0x140001c25
mov byte [rsp + 0x62], 1
mov r13b, 1
mov byte [rsp + 0x61], 0
jmp 0x140001f54
lea r8, [rbp + 0x3028]
test bl, bl
cmovne r8, rsi
cmp rdi, 8
jne 0x140001c99
mov rdx, rdi
lea rax, str.__enable
mov rcx, rax
test rdi, rdi
je 0x140001c87
sub r8, rax
movzx eax, word [r8 + rcx]
cmp ax, word [rcx]
jne 0x140001c99
add rcx, 2
sub rdx, 1
jne 0x140001c73
mov byte [rsp + 0x62], 0
mov r13b, 1
mov byte [rsp + 0x61], 0
jmp 0x140001f54
lea r8, [rbp + 0x3028]
test bl, bl
cmovne r8, rsi
cmp rdi, 6
jne 0x140001ce9
mov rdx, rdi
lea rax, str.__high
mov rcx, rax
test rdi, rdi
je 0x140001d25
sub r8, rax
movzx eax, word [rcx + r8]
cmp ax, word [rcx]
jne 0x140001ce9
add rcx, 2
sub rdx, 1
jne 0x140001cc1
mov r13b, 1
mov byte [rsp + 0x61], dl
mov dword [rsp + 0x64], 2
jmp 0x140001f54
lea r8, [rbp + 0x3028]
test bl, bl
cmovne r8, rsi
cmp rdi, 0xa
jne 0x140001d3a
mov rdx, rdi
lea rax, str.__veryhigh
mov rcx, rax
test rdi, rdi
je 0x140001d25
sub r8, rax
movzx eax, word [r8 + rcx]
cmp ax, word [rcx]
jne 0x140001d3a
add rcx, 2
sub rdx, 1
jne 0x140001d11
mov r13b, 1
mov byte [rsp + 0x61], 0
mov dword [rsp + 0x64], 2
jmp 0x140001f54
lea r8, [rbp + 0x3028]
test bl, bl
cmovne r8, rsi
cmp rdi, 8
jne 0x140001d88
mov rdx, rdi
lea rax, str.__medium
mov rcx, rax
test rdi, rdi
je 0x140001d76
sub r8, rax
movzx eax, word [r8 + rcx]
cmp ax, word [rcx]
jne 0x140001d88
add rcx, 2
sub rdx, 1
jne 0x140001d62
mov r13b, 1
mov byte [rsp + 0x61], 0
mov dword [rsp + 0x64], r12d
jmp 0x140001f54
lea r8, [rbp + 0x3028]
test bl, bl
cmovne r8, rsi
cmp rdi, 5
jne 0x140001dd6
mov rdx, rdi
lea rax, str.__low
mov rcx, rax
test rdi, rdi
je 0x140001dc4
sub r8, rax
movzx eax, word [rcx + r8]
cmp ax, word [rcx]
jne 0x140001dd6
add rcx, 2
sub rdx, 1
jne 0x140001db0
mov r13b, 1
mov byte [rsp + 0x61], 0
mov dword [rsp + 0x64], r15d
jmp 0x140001f54
lea r8, [rbp + 0x3028]
test bl, bl
cmovne r8, rsi
cmp rdi, 9
jne 0x140001e26
mov rdx, rdi
lea rax, str.__disable
mov rcx, rax
test rdi, rdi
je 0x140001e14
sub r8, rax
nop
movzx eax, word [rcx + r8]
cmp ax, word [rcx]
jne 0x140001e26
add rcx, 2
sub rdx, 1
jne 0x140001e00
mov byte [rsp + 0x62], 0
xor r13b, r13b
mov byte [rsp + 0x61], 1
jmp 0x140001f54
lea r8, [rbp + 0x3028]
test bl, bl
cmovne r8, rsi
cmp rdi, 7
jne 0x140001e6f
mov rdx, rdi
lea rcx, str.__admin
mov rax, rcx
test rdi, rdi
je 0x140001e64
sub r8, rcx
nop
movzx ecx, word [rax + r8]
cmp cx, word [rax]
jne 0x140001e6f
add rax, 2
sub rdx, 1
jne 0x140001e50
xor bl, bl
mov byte [rsp + 0x60], bl
jmp 0x140001f59
mov r14, qword [rbp + 0x2fb8]
test r14, r14
je 0x140001eda
mov rdx, qword [rbp + 0x2fc0]
mov rax, rdx
sub rax, r14
lea rcx, [rbp + 0x2fa8]
cmp rax, 1
jb 0x140001ebf
lea rax, [r14 + 1]
mov qword [rbp + 0x2fb8], rax
cmp rdx, 7
cmova rcx, qword [rbp + 0x2fa8]
mov eax, dword [0x140008748]
mov word [rcx + r14*2], ax
mov word [rcx + r14*2 + 2], r15w
jmp 0x140001ed3
mov qword [rsp + 0x20], r12
lea r9, [0x140008748]
mov rdx, r12
call fcn.140005100
mov r14, qword [rbp + 0x2fb8]
lea r9, [rbp + 0x3028]
test bl, bl
cmovne r9, rsi
mov rcx, qword [rbp + 0x2fc0]
mov rax, rcx
sub rax, r14
cmp rdi, rax
ja 0x140001f32
lea rax, [rdi + r14]
mov qword [rbp + 0x2fb8], rax
lea rbx, [rbp + 0x2fa8]
cmp rcx, 7
cmova rbx, qword [rbp + 0x2fa8]
lea rcx, [rbx + r14*2]
lea r8, [rdi + rdi]
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
lea rax, [r14 + rdi]
mov word [rbx + rax*2], r15w
jmp 0x140001f4d
mov qword [rsp + 0x20], rdi
mov rdx, rdi
lea rcx, [rbp + 0x2fa8]
call fcn.140005100
mov rsi, qword [rbp + 0x3028]
mov r14, qword [rbp + 0x3040]
movzx ebx, byte [rsp + 0x60]
cmp r14, 7
jbe 0x140001f94
lea rdx, [r14*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140001f8c
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002e26
mov rcx, rsi
call fcn.140005f14
mov eax, dword [rbp + 0x2f98]
inc eax
mov dword [rbp + 0x2f98], eax
mov rcx, qword [rbp + 0x2fa0]
inc rcx
mov qword [rbp + 0x2fa0], rcx
cmp eax, dword [rbp + 0x3020]
jge 0x140001fc7
mov rax, qword [rbp + 0x2f90]
jmp 0x140001b10
test bl, bl
je 0x1400022c9
xorps xmm0, xmm0
movups xmmword [rbp + 0x2fc8], xmm0
mov qword [rbp + 0x2fd8], r15
mov qword [rbp + 0x2fe0], r15
mov r8d, 0x24
lea rdx, str.84_C0_75___B8_77_FF_FF_FF_E9________
lea rcx, [rbp + 0x2fc8]
call fcn.1400049b0
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x30c0], xmm0
movups xmmword [rbp + 0x30d0], xmm0
movups xmmword [rbp + 0x30e0], xmm0
movups xmmword [rbp + 0x30f0], xmm0
movups xmmword [rbp + 0x3100], xmm0
movups xmmword [rbp + 0x3110], xmm0
movups xmmword [rbp + 0x3120], xmm0
mov qword [rbp + 0x3130], rax
lea rcx, [rbp + 0x30c0]
call fcn.140003aa0
nop
lea r8, [rbp + 0x2fc8]
cmp qword [rbp + 0x2fe0], 7
cmova r8, qword [rbp + 0x2fc8]
mov rax, qword [rbp + 0x2fd8]
lea r9, [r8 + rax*2]
lea rdx, [rbp + 0x2fe8]
lea rcx, [rbp + 0x30c0]
call fcn.140003e80
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x3050], xmm0
movups xmmword [rbp + 0x3060], xmm0
movups xmmword [rbp + 0x3070], xmm0
movups xmmword [rbp + 0x3080], xmm0
movups xmmword [rbp + 0x3090], xmm0
movups xmmword [rbp + 0x30a0], xmm0
movups xmmword [rbp + 0x30b0], xmm0
lea rax, [rbp + 0x2fe8]
cmp qword [rbp + 0x3000], 0xf
cmova rax, qword [rbp + 0x2fe8]
mov qword [rbp + 0x3010], rax
mov rax, qword [rbp + 0x2ff8]
mov qword [rbp + 0x3018], rax
lea rcx, str.nvapi64.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xorps xmm0, xmm0
movups xmmword [rbp + 0x3050], xmm0
mov qword [rbp + 0x3060], r15
mov qword [rbp + 0x3068], 0xf
mov byte [rbp + 0x3050], 0
movups xmmword [rbp + 0x3070], xmm0
mov qword [rbp + 0x3080], r15
mov qword [rbp + 0x3088], 0xf
mov byte [rbp + 0x3070], 0
movdqa xmmword [rbp + 0x3090], xmm0
mov qword [rbp + 0x30a0], r15
mov byte [rbp + 0x30a8], 0
mov qword [rbp + 0x30b0], rax
mov qword [rbp + 0x30b8], r15
movaps xmm0, xmmword [rbp + 0x3010]
movdqa xmmword [rbp + 0x3010], xmm0
lea r8, [rbp + 0x3070]
lea rdx, [rbp + 0x3050]
lea rcx, [rbp + 0x3010]
call fcn.1400058b0
nop
mov edx, 0xffffffff
lea rcx, [rbp + 0x3050]
call fcn.140005a30
mov rax, qword [rbp + 0x3098]
sub rax, qword [rbp + 0x3090]
sar rax, 3
cmp rax, 1
jb 0x140002209
mov edx, r12d
lea rcx, [rbp + 0x3050]
call fcn.140005a30
mov rax, qword [rbp + 0x3090]
mov rbx, qword [rax]
lea r9, [rbp + 0x2f98]
mov edx, 5
lea r8d, [rdx + 0x3b]
lea rcx, [rbx + 9]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
movabs rax, 0x9090909090909090
mov dword [rbx + 9], eax
mov byte [rbx + 0xd], al
lea r9, [rbp + 0x2f98]
mov r8d, dword [rbp + 0x2f98]
mov edx, 5
lea rcx, [rbx + 9]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
lea rcx, [rbp + 0x3050]
call fcn.140001510
nop
mov rdx, qword [rbp + 0x3000]
cmp rdx, 0xf
jbe 0x14000225a
inc rdx
mov rcx, qword [rbp + 0x2fe8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002255
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002255
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005f14
mov qword [rbp + 0x2ff8], r15
mov qword [rbp + 0x3000], 0xf
mov byte [rbp + 0x2fe8], 0
lea rcx, [rbp + 0x30c0]
call fcn.1400039b0
nop
mov rdx, qword [rbp + 0x2fe0]
cmp rdx, 7
jbe 0x1400022c9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x2fc8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400022c4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400022c4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005f14
mov rdx, qword [rbp + 0x2fb8]
test rdx, rdx
jne 0x14000237c
mov byte [0x140018a18], 1
lea rdx, str.usage:_nvtruehdr____high_____medium_____low_____disable_____hud___appExeName__n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140004280
lea rdx, [0x1400087ac]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140004280
lea rdx, str.Entering_interactive_mode_n_nEnter_app_executable_name_n_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140004280
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_wchar_t__struct_std::char_traits_wchar_t___std::wcin]
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
add rcx, rbx
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_wchar_t___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::widen_char_const___ptr64]
movzx r8d, ax
lea rdx, [rbp + 0x2fa8]
mov rcx, rbx
call fcn.140005340
lea rdx, [0x1400087ac]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140004280
mov rdx, qword [rbp + 0x2fb8]
test rdx, rdx
jne 0x14000237c
lea rdx, str.Invalid_exe_name__exiting..._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140004280
jmp 0x140003408
cmp rdx, 1
jbe 0x14000246f
lea rcx, [rbp + 0x2fa8]
cmp qword [rbp + 0x2fc0], 7
seta r10b
mov r9, qword [rbp + 0x2fa8]
cmova rcx, r9
cmp word [rcx], 0x22
jne 0x14000246f
lea rax, [rbp + 0x2fa8]
test r10b, r10b
cmovne rax, r9
cmp word [rax + rdx*2 - 2], 0x22
jne 0x14000246f
lea r8, [rdx - 2]
xorps xmm0, xmm0
movups xmmword [rbp + 0x2fc8], xmm0
mov qword [rbp + 0x2fd8], r15
mov qword [rbp + 0x2fe0], r15
lea rax, [rdx - 1]
cmp rax, r8
cmovb r8, rax
lea rdx, [rbp + 0x2fa8]
test r10b, r10b
cmovne rdx, r9
add rdx, 2
lea rcx, [rbp + 0x2fc8]
call fcn.1400049b0
mov rdx, qword [rbp + 0x2fc0]
cmp rdx, 7
jbe 0x140002453
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x2fa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000244e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002e26
call fcn.140005f14
movups xmm0, xmmword [rbp + 0x2fc8]
movups xmmword [rbp + 0x2fa8], xmm0
movups xmm1, xmmword [rbp + 0x2fd8]
movups xmmword [rbp + 0x2fb8], xmm1
lea rdx, str.Fetching_settings_for_app_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140004450
lea rdx, [rbp + 0x2fa8]
cmp qword [rbp + 0x2fc0], 7
cmova rdx, qword [rbp + 0x2fa8]
mov r8, qword [rbp + 0x2fb8]
mov rcx, rax
call fcn.1400054f0
mov rcx, rax
lea rdx, str...._n
call fcn.140004450
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x3010], xmm0
movups xmmword [rbp + 0x2fe8], xmm0
mov qword [rbp + 0x2ff8], r15
mov qword [rbp + 0x3000], r15
mov rsi, qword [rbp + 0x2fb8]
lea r14, [rbp + 0x2fa8]
cmp qword [rbp + 0x2fc0], 7
cmova r14, qword [rbp + 0x2fa8]
movabs rdi, 0x7ffffffffffffffe
cmp rsi, rdi
ja 0x140003465
movabs rax, 0x7fffffffffffffff
mov ecx, 0xa
mov qword [rbp + 0x3000], 7
cmp rsi, 7
ja 0x14000253f
mov qword [rbp + 0x2ff8], rsi
movups xmm0, xmmword [r14]
movups xmmword [rbp + 0x2fe8], xmm0
jmp 0x1400025dd
mov rbx, rsi
or rbx, 7
cmp rbx, rdi
jbe 0x140002554
mov rbx, rdi
lea rcx, [rax + rax]
jmp 0x140002574
cmp rbx, rcx
cmovb rbx, rcx
lea rcx, [rbx + 1]
cmp rcx, rax
ja 0x14000345f
add rcx, rcx
cmp rcx, 0x1000
jb 0x1400025a6
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000345f
mov rcx, rax
call fcn.140005ed0
mov rcx, rax
test rax, rax
je 0x14000259f
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1400025b5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x1400025b2
call fcn.140005ed0
jmp 0x1400025b5
mov rax, r15
mov qword [rbp + 0x2fe8], rax
mov qword [rbp + 0x2ff8], rsi
mov qword [rbp + 0x3000], rbx
lea r8, [rsi*2 + 2]
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
lea r8, [rbp + 0x3010]
lea rdx, [rbp + 0x2fe8]
call fcn.140001620
mov r14d, 4
test eax, eax
je 0x1400027e7
mov rdx, qword [rbp + 0x2fb8]
test rdx, rdx
je 0x14000279a
mov r8, qword [rbp + 0x2fc0]
mov rax, r8
sub rax, rdx
lea rcx, [rbp + 0x2fa8]
cmp rax, r14
jb 0x140002651
lea rax, [rdx + 4]
mov qword [rbp + 0x2fb8], rax
cmp r8, 7
cmova rcx, qword [rbp + 0x2fa8]
mov rax, qword [str..exe]
mov qword [rcx + rdx*2], rax
mov word [rcx + rdx*2 + 8], r15w
jmp 0x140002665
mov qword [rsp + 0x20], r14
lea r9, str..exe
mov rdx, r14
call fcn.140005100
xorps xmm0, xmm0
movups xmmword [rbp + 0x2fe8], xmm0
mov qword [rbp + 0x2ff8], r15
mov qword [rbp + 0x3000], r15
mov rbx, qword [rbp + 0x2fb8]
lea rsi, [rbp + 0x2fa8]
cmp qword [rbp + 0x2fc0], 7
cmova rsi, qword [rbp + 0x2fa8]
cmp rbx, rdi
ja 0x14000346b
mov qword [rbp + 0x3000], 7
cmp rbx, 7
ja 0x1400026cb
mov qword [rbp + 0x2ff8], rbx
movups xmm0, xmmword [rsi]
movups xmmword [rbp + 0x2fe8], xmm0
jmp 0x140002783
mov rax, rbx
or rax, 7
cmp rax, rdi
jbe 0x1400026e7
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
jmp 0x14000271a
cmp rax, 0xa
mov ecx, 0xa
cmovb rax, rcx
mov rdi, rax
lea rcx, [rax + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x140003459
add rcx, rcx
cmp rcx, 0x1000
jb 0x14000274c
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140003459
mov rcx, rax
call fcn.140005ed0
mov rcx, rax
test rax, rax
je 0x140002745
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x14000275b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x140002758
call fcn.140005ed0
jmp 0x14000275b
mov rax, r15
mov qword [rbp + 0x2fe8], rax
mov qword [rbp + 0x2ff8], rbx
mov qword [rbp + 0x3000], rdi
lea r8, [rbx*2 + 2]
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
lea r8, [rbp + 0x3010]
lea rdx, [rbp + 0x2fe8]
call fcn.140001620
test eax, eax
je 0x1400027e7
lea rdx, str.Failed_to_locate_app_profile_for_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140004630
lea rdx, [rbp + 0x2fa8]
cmp qword [rbp + 0x2fc0], 7
cmova rdx, qword [rbp + 0x2fa8]
mov r8, qword [rbp + 0x2fb8]
mov rcx, rax
call fcn.1400054f0
mov rcx, rax
lea rdx, str._n__Try_adding_it_in_NVIDIA_Control_Panel__retry_with_the_full_EXE_path._n
call fcn.140004630
jmp 0x140003408
lea rdx, str.Found_settings_for_app_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140004450
lea rdx, [rbp + 0x2fa8]
cmp qword [rbp + 0x2fc0], 7
cmova rdx, qword [rbp + 0x2fa8]
mov r8, qword [rbp + 0x2fb8]
mov rcx, rax
call fcn.1400054f0
mov rcx, rax
lea rdx, [0x1400088d4]
call fcn.140004630
mov dword [rsp + 0x70], 0x13020
xor edx, edx
mov r8d, 0x1000
lea rcx, [rsp + 0x74]
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 0xf74], r15
mov qword [rbp + 0xf7c], r15
mov qword [rbp + 0xf84], r15
xor edx, edx
mov r8d, 0x1000
lea rcx, [rbp + 0xf8c]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp + 0x1f8c], r15d
xor edx, edx
mov r8d, 0x1000
lea rcx, [rbp + 0x1f90]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x3020
lea rdx, [rsp + 0x70]
lea rcx, [0x140012100]
call sub.VCRUNTIME140.dll_memcpy
mov dword [rsp + 0x70], 0x13020
xor edx, edx
mov r8d, 0x1000
lea rcx, [rsp + 0x74]
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 0xf74], r15
mov qword [rbp + 0xf7c], r15
mov qword [rbp + 0xf84], r15
xor edx, edx
mov r8d, 0x1000
lea rcx, [rbp + 0xf8c]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp + 0x1f8c], r15d
xor edx, edx
mov r8d, 0x1000
lea rcx, [rbp + 0x1f90]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x3020
lea rdx, [rsp + 0x70]
lea rcx, [0x14000c0c0]
call sub.VCRUNTIME140.dll_memcpy
mov dword [rsp + 0x70], 0x13020
xor edx, edx
mov r8d, 0x1000
lea rcx, [rsp + 0x74]
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 0xf74], r15
mov qword [rbp + 0xf7c], r15
mov qword [rbp + 0xf84], r15
xor edx, edx
mov r8d, 0x1000
lea rcx, [rbp + 0xf8c]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp + 0x1f8c], r15d
xor edx, edx
mov r8d, 0x1000
lea rcx, [rbp + 0x1f90]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x3020
lea rdx, [rsp + 0x70]
lea rcx, [0x140015120]
call sub.VCRUNTIME140.dll_memcpy
mov dword [rsp + 0x70], 0x13020
xor edx, edx
mov r8d, 0x1000
lea rcx, [rsp + 0x74]
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 0xf74], r15
mov qword [rbp + 0xf7c], r15
mov qword [rbp + 0xf84], r15
xor edx, edx
mov r8d, 0x1000
lea rcx, [rbp + 0xf8c]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp + 0x1f8c], r15d
xor edx, edx
mov r8d, 0x1000
lea rcx, [rbp + 0x1f90]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x3020
lea rdx, [rsp + 0x70]
lea rcx, [0x14000f0e0]
call sub.VCRUNTIME140.dll_memcpy
mov dword [rbp + 0x2f98], r15d
mov rax, qword [0x140018a08]
lea rcx, [rbp + 0x2f98]
mov qword [rsp + 0x20], rcx
lea r9, [0x140012100]
mov r8d, 0xdd48fb
mov rdi, qword [rbp + 0x3018]
mov rdx, rdi
mov rsi, qword [rbp + 0x3010]
mov rcx, rsi
call rax
mov ebx, eax
mov dword [rbp + 0x3008], r15d
mov r10, qword [0x140018a08]
lea rax, [rbp + 0x3008]
mov qword [rsp + 0x20], rax
lea r9, [0x14000c0c0]
mov r8d, 0x432f84
mov rdx, rdi
mov rcx, rsi
call r10
mov dword [rbp + 0x2f90], eax
mov dword [rbp + 0x2f98], r15d
mov r10, qword [0x140018a08]
lea rax, [rbp + 0x2f98]
mov qword [rsp + 0x20], rax
lea r9, [0x140015120]
mov r8d, 0x980896
mov rdx, rdi
mov rcx, rsi
call r10
mov dword [rbp + 0x2fa0], eax
mov dword [rbp + 0x3008], r15d
mov r10, qword [0x140018a08]
lea rax, [rbp + 0x3008]
mov qword [rsp + 0x20], rax
lea r9, [0x14000f0e0]
mov r8d, 0x1077a11a
mov rdx, rdi
mov rcx, rsi
call r10
test ebx, ebx
jne 0x140002af0
cmp dword [0x14001411c], 1
jne 0x140002af0
mov r8b, 1
jmp 0x140002af3
xor r8b, r8b
cmp dword [rbp + 0x2f90], 0
jne 0x140002b09
cmp dword [0x14000e0dc], 0
je 0x140002b09
mov dl, 1
jmp 0x140002b0b
xor dl, dl
cmp dword [rbp + 0x2fa0], 0
jne 0x140002b21
cmp dword [0x14001713c], 1
jne 0x140002b21
mov cl, 1
jmp 0x140002b23
xor cl, cl
test eax, eax
jne 0x140002b34
cmp dword [0x1400110fc], 1
jne 0x140002b34
mov al, 1
jmp 0x140002b36
xor al, al
test r8b, r8b
je 0x140002b4c
test dl, dl
je 0x140002b4c
test cl, cl
je 0x140002b4c
test al, al
je 0x140002b4c
mov sil, 1
jmp 0x140002b4f
xor sil, sil
lea rax, str.Enabled
lea rbx, str.Disabled
test sil, sil
cmovne rbx, rax
lea rdx, str._nCurrent_TrueHDR_state:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140004280
mov rcx, rax
mov rdx, rbx
call fcn.140004280
mov rcx, rax
lea rdx, [0x140008914]
call fcn.140004280
mov edx, dword [0x14001411c]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_int____ptr64]
mov rcx, rax
lea rdx, [0x140008910]
call fcn.140004280
mov edx, dword [0x14000e0dc]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_int____ptr64]
mov rcx, rax
lea rdx, [0x140008910]
call fcn.140004280
mov edx, dword [0x14001713c]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_int____ptr64]
mov rcx, rax
lea rdx, [0x140008910]
call fcn.140004280
mov edx, dword [0x1400110fc]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_int____ptr64]
mov rcx, rax
lea rdx, [0x14000890c]
call fcn.140004280
mov rbx, rax
mov edx, dword [0x14000e0dc]
lea rcx, [rbp + 0x2fc8]
call fcn.140001780
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x140002c2d
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.1400056c0
mov rcx, rax
lea rdx, [0x1400087ac]
call fcn.140004280
nop
mov rdx, qword [rbp + 0x2fe0]
cmp rdx, 0xf
jbe 0x140002c8c
inc rdx
mov rcx, qword [rbp + 0x2fc8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002c87
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002c87
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005f14
cmp byte [0x140018a18], 0
je 0x140002e3c
lea rdx, str._nEnter_action__VeryHigh___Medium___Low___Disable___Hud___Quit___or_hit_enter_to_toggle_n_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140004280
xorps xmm0, xmm0
movups xmmword [rbp + 0x2fc8], xmm0
mov qword [rbp + 0x2fd8], r15
mov qword [rbp + 0x2fe0], 7
mov word [rbp + 0x2fc8], r15w
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_wchar_t__struct_std::char_traits_wchar_t___std::wcin]
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
add rcx, rbx
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_wchar_t___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::widen_char_const___ptr64]
movzx r8d, ax
lea rdx, [rbp + 0x2fc8]
mov rcx, rbx
call fcn.140005340
mov rdi, qword [rbp + 0x2fe0]
mov rbx, qword [rbp + 0x2fc8]
cmp qword [rbp + 0x2fd8], 0
je 0x140002de3
lea rcx, [rbp + 0x2fc8]
cmp rdi, 7
seta byte [rsp + 0x60]
cmova rcx, rbx
movzx ecx, word [rcx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_towlower]
cmp ax, 0x76
je 0x140002dd8
cmp ax, 0x65
je 0x140002dd8
cmp ax, 0x6d
jne 0x140002d59
mov dword [rsp + 0x64], r12d
jmp 0x140002de0
cmp ax, 0x6c
jne 0x140002d66
mov dword [rsp + 0x64], r15d
jmp 0x140002de0
cmp ax, 0x64
jne 0x140002d73
mov byte [rsp + 0x61], 1
jmp 0x140002de3
cmp ax, 0x68
jne 0x140002d8b
mov r13b, 1
mov byte [rsp + 0x62], r13b
mov dword [rsp + 0x64], 2
jmp 0x140002de3
cmp ax, 0x78
je 0x140002d97
cmp ax, 0x71
jne 0x140002de3
cmp byte [rsp + 0x60], 0
je 0x140003402
lea rdx, [rdi*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140002dcb
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002e26
mov rcx, rbx
call fcn.140005f14
jmp 0x140003402
mov dword [rsp + 0x64], 2
mov r13b, 1
lea rdx, [0x1400087ac]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140004280
nop
cmp rdi, 7
jbe 0x140002e35
lea rdx, [rdi*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140002e2d
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002e2d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.140005f14
mov rdi, qword [rbp + 0x3018]
xor sil, 1
movzx eax, sil
test r13b, r13b
cmove r12d, eax
cmp byte [rsp + 0x61], 0
je 0x140002e73
xor r12b, r12b
mov dword [0x14001411c], r15d
mov dword [0x14000e0dc], r15d
mov dword [0x14001713c], r15d
mov dword [0x1400110fc], r15d
jmp 0x140002ec3
movzx eax, r12b
mov dword [0x14001411c], eax
movzx ecx, r12b
add ecx, ecx
mov dword [0x14000e0dc], ecx
mov dword [0x14001713c], eax
mov dword [0x1400110fc], eax
test r12b, r12b
je 0x140002ec3
cmp byte [rsp + 0x62], 0
je 0x140002ea4
or ecx, 1
mov eax, dword [rsp + 0x64]
test eax, eax
je 0x140002eba
cmp eax, 1
mov r14d, 8
je 0x140002eba
mov r14d, r15d
or ecx, r14d
mov dword [0x14000e0dc], ecx
lea r13, str.Disabled
mov rbx, r13
test r12b, r12b
lea rax, str.Enabled
cmovne rbx, rax
lea rdx, str.Applying_TrueHDR_state:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140004280
mov rcx, rax
mov rdx, rbx
call fcn.140004280
mov rcx, rax
lea rdx, [0x140008914]
call fcn.140004280
mov edx, dword [0x14001411c]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_int____ptr64]
mov rcx, rax
lea rdx, [0x140008910]
call fcn.140004280
mov edx, dword [0x14000e0dc]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_int____ptr64]
mov rcx, rax
lea rdx, [0x140008910]
call fcn.140004280
mov edx, dword [0x14001713c]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_int____ptr64]
mov rcx, rax
lea rdx, [0x140008910]
call fcn.140004280
mov edx, dword [0x1400110fc]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_int____ptr64]
mov rcx, rax
lea rdx, [0x14000890c]
call fcn.140004280
mov rbx, rax
mov edx, dword [0x14000e0dc]
lea rcx, [rbp + 0x2fc8]
call fcn.140001780
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x140002fa4
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.1400056c0
mov rcx, rax
lea rdx, [0x1400087ac]
call fcn.140004280
nop
mov rdx, qword [rbp + 0x2fe0]
cmp rdx, 0xf
jbe 0x140003003
inc rdx
mov rcx, qword [rbp + 0x2fc8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002ffe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002ffe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005f14
mov qword [rbp + 0x2fd8], r15
mov qword [rbp + 0x2fe0], 0xf
mov byte [rbp + 0x2fc8], 0
mov dword [0x140013104], 0xdd48fb
mov dword [0x14000d0c4], 0x432f84
mov dword [0x140016124], 0x980896
mov dword [0x1400100e4], 0x1077a11a
mov rax, qword [0x140018a38]
mov dword [rsp + 0x20], r15d
xor r9d, r9d
lea r8, [0x140012100]
mov rdx, rdi
mov rsi, qword [rbp + 0x3010]
mov rcx, rsi
call rax
mov r12d, eax
mov r10, qword [0x140018a38]
mov dword [rsp + 0x20], r15d
xor r9d, r9d
lea r8, [0x14000c0c0]
mov rdx, rdi
mov rcx, rsi
call r10
mov ebx, eax
mov r10, qword [0x140018a38]
mov dword [rsp + 0x20], r15d
xor r9d, r9d
lea r8, [0x140015120]
mov rdx, rdi
mov rcx, rsi
call r10
mov r14d, eax
mov r10, qword [0x140018a38]
mov dword [rsp + 0x20], r15d
xor r9d, r9d
lea r8, [0x14000f0e0]
mov rdx, rdi
mov rcx, rsi
call r10
test r12d, r12d
jne 0x1400033ae
test ebx, ebx
jne 0x1400033b7
test r14d, r14d
jne 0x1400033bf
test eax, eax
jne 0x1400033c8
mov rax, qword [0x1400189f8]
mov rcx, qword [0x140018a40]
call rax
mov ebx, eax
test eax, eax
je 0x140003133
lea rdx, str.NvAPI_DRS_SaveSettings_failed_with_error
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140004280
mov edx, ebx
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
mov rcx, rax
lea rdx, str._____n
call fcn.140004280
lea rdx, str._nProfile_settings_saved__changes_should_take_effect_on_next_app_launch._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140004280
mov dword [rbp + 0x2fa0], r15d
mov rax, qword [0x140018a08]
lea rcx, [rbp + 0x2fa0]
mov qword [rsp + 0x20], rcx
lea r9, [0x140012100]
mov r8d, 0xdd48fb
mov rdx, rdi
mov rcx, rsi
call rax
mov ebx, eax
mov dword [rbp + 0x2f90], r15d
mov r10, qword [0x140018a08]
lea rax, [rbp + 0x2f90]
mov qword [rsp + 0x20], rax
lea r9, [0x14000c0c0]
mov r8d, 0x432f84
mov rdx, rdi
mov rcx, rsi
call r10
mov r14d, eax
mov dword [rbp + 0x2fa0], r15d
mov r10, qword [0x140018a08]
lea rax, [rbp + 0x2fa0]
mov qword [rsp + 0x20], rax
lea r9, [0x140015120]
mov r8d, 0x980896
mov rdx, rdi
mov rcx, rsi
call r10
mov r12d, eax
mov dword [rbp + 0x2f90], r15d
mov r10, qword [0x140018a08]
lea rax, [rbp + 0x2f90]
mov qword [rsp + 0x20], rax
lea r9, [0x14000f0e0]
mov r8d, 0x1077a11a
mov rdx, rdi
mov rcx, rsi
call r10
test ebx, ebx
jne 0x14000321f
cmp dword [0x14001411c], 1
jne 0x14000321f
mov r8b, 1
jmp 0x140003222
xor r8b, r8b
test r14d, r14d
jne 0x140003234
cmp dword [0x14000e0dc], r14d
je 0x140003234
mov dl, 1
jmp 0x140003236
xor dl, dl
test r12d, r12d
jne 0x140003248
cmp dword [0x14001713c], 1
jne 0x140003248
mov cl, 1
jmp 0x14000324a
xor cl, cl
test eax, eax
jne 0x14000325b
cmp dword [0x1400110fc], 1
jne 0x14000325b
mov al, 1
jmp 0x14000325d
xor al, al
test r8b, r8b
je 0x140003272
test dl, dl
je 0x140003272
test cl, cl
je 0x140003272
test al, al
je 0x140003272
mov al, 1
jmp 0x140003274
xor al, al
test al, al
lea rax, str.Enabled
cmovne r13, rax
lea rdx, str._nNew_TrueHDR_state:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140004280
mov rcx, rax
mov rdx, r13
call fcn.140004280
mov rcx, rax
lea rdx, [0x140008914]
call fcn.140004280
mov edx, dword [0x14001411c]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_int____ptr64]
mov rcx, rax
lea rdx, [0x140008910]
call fcn.140004280
mov edx, dword [0x14000e0dc]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_int____ptr64]
mov rcx, rax
lea rdx, [0x140008910]
call fcn.140004280
mov edx, dword [0x14001713c]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_int____ptr64]
mov rcx, rax
lea rdx, [0x140008910]
call fcn.140004280
mov edx, dword [0x1400110fc]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_int____ptr64]
mov rcx, rax
lea rdx, [0x14000890c]
call fcn.140004280
mov rbx, rax
mov edx, dword [0x14000e0dc]
lea rcx, [rbp + 0x2fc8]
call fcn.140001780
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x14000334a
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.1400056c0
mov rcx, rax
lea rdx, [0x1400087ac]
call fcn.140004280
nop
mov rdx, qword [rbp + 0x2fe0]
cmp rdx, 0xf
jbe 0x1400033a9
inc rdx
mov rcx, qword [rbp + 0x2fc8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400033a4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400033a4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005f14
mov r12d, r15d
jmp 0x140003408
cmp r12d, 0xffffff77
je 0x1400033e9
cmp ebx, 0xffffff77
je 0x1400033e9
cmp r14d, 0xffffff77
je 0x1400033e9
cmp eax, 0xffffff77
je 0x1400033e9
lea rdx, str.Failed_to_apply_setting__aborting..._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140004280
mov eax, 2
jmp 0x140003405
lea rdx, str.NvAPI_DRS_SetSetting_failed_with_error_NVAPI_INVALID_USER_PRIVILEGE__aborting..._nTry_relaunching_NvTrueHDR_as_admin._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140004280
mov r15d, 3
mov eax, r15d
mov r12d, eax
mov rdx, qword [rbp + 0x2fc0]
cmp rdx, 7
jbe 0x140003451
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x2fa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000344c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000344c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005f14
mov eax, r12d
jmp 0x1400019c2
call fcn.140001280
int3
call fcn.140001280
int3
call fcn.140001320
int3
call fcn.140001320
int3