Function at 0x1400017b0
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 - 0x120]
sub rsp, 0x220
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x110], rax
xor r15d, r15d
lea rdx, str._nNvTrueHDR___RTX_HDR_toggler__v1.2a_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.140003390
cmp dword [0x140009770], r15d
je 0x140001813
lea rdx, str.Error:_failed_to_load_nvapi64.dll__do_you_have_NV_drivers_installed__n
jmp 0x1400030d1
mov rax, qword [0x140009728]
test rax, rax
je 0x1400030ca
lea rdx, [rbp + 0xd0]
lea rcx, [rbp + 0x30]
call rax
test eax, eax
jne 0x1400030ca
mov eax, 0x51eb851f
mov ebx, dword [rbp + 0x30]
mul ebx
mov edi, edx
shr edi, 5
imul eax, edi, 0x64
sub ebx, eax
cmp edi, 0x217
setl byte [0x140009708]
lea rdx, str.Driver_version:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003390
mov edx, edi
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, [0x140006654]
call fcn.140003390
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]
cmp byte [0x140009708], r15b
je 0x1400018ad
lea rdx, str.__using_old_pre_535_TrueHDR_flags_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003390
lea rdx, [0x140006694]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003390
cmp edi, 0x213
jge 0x1400018db
lea rdx, str._nWARNING:_you_seem_to_be_using_a_pre_531.18_driver._n__TrueHDR_is_only_included_in_531.18_onwards__this_likely_wont_have_any_effect_for_you._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003390
lea rdx, [0x140006694]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003390
mov byte [rsp + 0x63], r15b
mov byte [rsp + 0x60], r15b
mov byte [rsp + 0x62], r15b
mov dword [rsp + 0x64], 2
mov dword [rbp - 0x80], r15d
mov dword [rbp - 0x7c], r15d
mov word [rbp - 0x78], 0x500
lea rax, [rsp + 0x78]
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 - 0x7c]
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x14000197b
lea r8, [rbp - 0x80]
mov rdx, qword [rsp + 0x78]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x140001970
mov dword [rbp - 0x80], r15d
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
cmp dword [rbp - 0x80], r15d
sete bl
mov byte [rsp + 0x61], bl
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], r15w
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rdx, [rbp + 8]
mov rcx, rax
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov rcx, rax
mov qword [rsp + 0x68], rax
mov r13d, 1
mov qword [rsp + 0x70], r13
mov esi, r13d
mov dword [rbp - 0x80], r13d
cmp dword [rbp + 8], r13d
jle 0x140001e4d
mov eax, r13d
mov qword [rsp + 0x78], rax
nop dword [rax]
mov rdx, qword [rcx + rax*8]
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x20], r15
mov qword [rbp + 0x28], r15
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140001a00
lea rcx, [rbp + 0x10]
call fcn.140003740
nop
lea r8, [rbp + 0x10]
mov r12, qword [rbp + 0x28]
cmp r12, 7
seta bl
mov r14, qword [rbp + 0x10]
cmova r8, r14
mov rdi, qword [rbp + 0x20]
cmp rdi, 6
jne 0x140001abe
mov rdx, rdi
lea rax, str.__help
mov rcx, rax
test rdi, rdi
je 0x140001a64
sub r8, rax
nop
movzx eax, word [r8 + rcx]
cmp ax, word [rcx]
jne 0x140001abe
add rcx, 2
sub rdx, 1
jne 0x140001a50
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.140003390
nop
test bl, bl
je 0x140001ab1
lea rdx, [r12*2 + 2]
mov rax, r14
cmp rdx, 0x1000
jb 0x140001aa9
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400020cd
mov rcx, r14
call fcn.140004ae4
mov dword [rsp + 0x70], 3
jmp 0x140003080
lea r8, [rbp + 0x10]
test bl, bl
cmovne r8, r14
cmp rdi, 5
jne 0x140001b0b
mov rdx, rdi
lea rax, str.__hud
mov rcx, rax
test rdi, rdi
je 0x140001af7
sub r8, rax
movzx eax, word [r8 + rcx]
cmp ax, word [rcx]
jne 0x140001b0b
add rcx, 2
sub rdx, 1
jne 0x140001ae3
mov byte [rsp + 0x63], 1
mov byte [rsp + 0x60], 1
mov byte [rsp + 0x62], 0
jmp 0x140001dec
lea r8, [rbp + 0x10]
test bl, bl
cmovne r8, r14
cmp rdi, 8
jne 0x140001b58
mov rdx, rdi
lea rax, str.__enable
mov rcx, rax
test rdi, rdi
je 0x140001b44
sub r8, rax
movzx eax, word [r8 + rcx]
cmp ax, word [rcx]
jne 0x140001b58
add rcx, 2
sub rdx, 1
jne 0x140001b30
mov byte [rsp + 0x63], 0
mov byte [rsp + 0x60], 1
mov byte [rsp + 0x62], 0
jmp 0x140001dec
lea r8, [rbp + 0x10]
test bl, bl
cmovne r8, r14
cmp rdi, 6
jne 0x140001baa
mov rdx, rdi
lea rax, str.__high
mov rcx, rax
test rdi, rdi
je 0x140001be4
sub r8, rax
nop dword [rax]
movzx eax, word [rcx + r8]
cmp ax, word [rcx]
jne 0x140001baa
add rcx, 2
sub rdx, 1
jne 0x140001b80
mov byte [rsp + 0x60], 1
mov byte [rsp + 0x62], dl
mov dword [rsp + 0x64], 2
jmp 0x140001dec
lea r8, [rbp + 0x10]
test bl, bl
cmovne r8, r14
cmp rdi, 0xa
jne 0x140001bfb
mov rdx, rdi
lea rax, str.__veryhigh
mov rcx, rax
test rdi, rdi
je 0x140001be4
sub r8, rax
nop
movzx eax, word [r8 + rcx]
cmp ax, word [rcx]
jne 0x140001bfb
add rcx, 2
sub rdx, 1
jne 0x140001bd0
mov byte [rsp + 0x60], 1
mov byte [rsp + 0x62], 0
mov dword [rsp + 0x64], 2
jmp 0x140001dec
lea r8, [rbp + 0x10]
test bl, bl
cmovne r8, r14
cmp rdi, 8
jne 0x140001c48
mov rdx, rdi
lea rax, str.__medium
mov rcx, rax
test rdi, rdi
je 0x140001c34
sub r8, rax
movzx eax, word [rcx + r8]
cmp ax, word [rcx]
jne 0x140001c48
add rcx, 2
sub rdx, 1
jne 0x140001c20
mov byte [rsp + 0x60], 1
mov byte [rsp + 0x62], 0
mov dword [rsp + 0x64], r13d
jmp 0x140001dec
lea r8, [rbp + 0x10]
test bl, bl
cmovne r8, r14
cmp rdi, 5
jne 0x140001c98
mov rdx, rdi
lea rax, str.__low
mov rcx, rax
test rdi, rdi
je 0x140001c84
sub r8, rax
nop dword [rax]
movzx eax, word [r8 + rcx]
cmp ax, word [rcx]
jne 0x140001c98
add rcx, 2
sub rdx, 1
jne 0x140001c70
mov byte [rsp + 0x60], 1
mov byte [rsp + 0x62], 0
mov dword [rsp + 0x64], r15d
jmp 0x140001dec
lea r8, [rbp + 0x10]
test bl, bl
cmovne r8, r14
cmp rdi, 9
jne 0x140001ce8
mov rdx, rdi
lea rax, str.__disable
mov rcx, rax
test rdi, rdi
je 0x140001cd4
sub r8, rax
nop dword [rax]
movzx eax, word [r8 + rcx]
cmp ax, word [rcx]
jne 0x140001ce8
add rcx, 2
sub rdx, 1
jne 0x140001cc0
mov byte [rsp + 0x63], 0
mov byte [rsp + 0x60], 0
mov byte [rsp + 0x62], 1
jmp 0x140001dec
lea r8, [rbp + 0x10]
test bl, bl
cmovne r8, r14
cmp rdi, 7
jne 0x140001d2f
mov rdx, rdi
lea rax, str.__admin
mov rcx, rax
test rdi, rdi
je 0x140001d24
sub r8, rax
nop dword [rax]
movzx eax, word [r8 + rcx]
cmp ax, word [rcx]
jne 0x140001d2f
add rcx, 2
sub rdx, 1
jne 0x140001d10
xor bl, bl
mov byte [rsp + 0x61], bl
jmp 0x140001df1
mov rsi, qword [rbp - 0x50]
test rsi, rsi
je 0x140001d87
mov rdx, qword [rbp - 0x48]
mov rax, rdx
sub rax, rsi
lea rcx, [rbp - 0x60]
cmp rax, 1
jb 0x140001d6f
lea rax, [rsi + 1]
mov qword [rbp - 0x50], rax
cmp rdx, 7
cmova rcx, qword [rbp - 0x60]
mov eax, dword [0x1400067e0]
mov word [rcx + rsi*2], ax
mov word [rcx + rsi*2 + 2], r15w
jmp 0x140001d83
mov qword [rsp + 0x20], r13
lea r9, [0x1400067e0]
mov rdx, r13
call fcn.140003bc0
mov rsi, qword [rbp - 0x50]
lea r9, [rbp + 0x10]
test bl, bl
cmovne r9, r14
mov rcx, qword [rbp - 0x48]
mov rax, rcx
sub rax, rsi
cmp rdi, rax
ja 0x140001dd0
lea rax, [rsi + rdi]
mov qword [rbp - 0x50], rax
lea rbx, [rbp - 0x60]
cmp rcx, 7
cmova rbx, qword [rbp - 0x60]
lea rcx, [rbx + rsi*2]
lea r8, [rdi + rdi]
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
lea rax, [rdi + rsi]
mov word [rbx + rax*2], r15w
jmp 0x140001de9
mov qword [rsp + 0x20], rdi
mov rdx, rdi
lea rcx, [rbp - 0x60]
call fcn.140003bc0
mov r12, qword [rbp + 0x28]
mov r14, qword [rbp + 0x10]
mov esi, dword [rbp - 0x80]
movzx ebx, byte [rsp + 0x61]
cmp r12, 7
jbe 0x140001e2c
lea rdx, [r12*2 + 2]
mov rax, r14
cmp rdx, 0x1000
jb 0x140001e24
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400020cd
mov rcx, r14
call fcn.140004ae4
inc esi
mov dword [rbp - 0x80], esi
mov rax, qword [rsp + 0x78]
inc rax
mov qword [rsp + 0x78], rax
cmp esi, dword [rbp + 8]
jge 0x140001e4d
mov rcx, qword [rsp + 0x68]
jmp 0x1400019e0
test bl, bl
je 0x140001f73
xorps xmm0, xmm0
movaps xmmword [rbp + 0x50], xmm0
movaps xmmword [rbp + 0x70], xmm0
movaps xmmword [rbp + 0x90], xmm0
movaps xmmword [rbp + 0xa0], xmm0
lea rax, str.84_C0_75___B8_77_FF_FF_FF_E9________
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], 0x24
movups xmmword [rbp + 0x40], xmm0
mov qword [rbp + 0x50], r15
mov qword [rbp + 0x58], 0xf
mov byte [rbp + 0x40], 0
movups xmmword [rbp + 0x60], xmm0
mov qword [rbp + 0x70], r15
mov qword [rbp + 0x78], 0xf
mov byte [rbp + 0x60], 0
movdqa xmmword [rbp + 0x80], xmm0
mov qword [rbp + 0x90], r15
mov byte [rbp + 0x98], 0
mov rax, qword [0x140009778]
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], r15
movaps xmm0, xmmword [rbp - 0x70]
movdqa xmmword [rbp - 0x70], xmm0
lea r8, [rbp + 0x60]
lea rdx, [rbp + 0x40]
lea rcx, [rbp - 0x70]
call fcn.140004350
nop
mov edx, 0xffffffff
lea rcx, [rbp + 0x40]
call fcn.1400044d0
mov rax, qword [rbp + 0x88]
sub rax, qword [rbp + 0x80]
sar rax, 3
cmp rax, 1
jb 0x140001f6a
mov edx, r13d
lea rcx, [rbp + 0x40]
call fcn.1400044d0
mov rax, qword [rbp + 0x80]
mov rbx, qword [rax]
lea r9, [rbp - 0x80]
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 - 0x80]
mov r8d, dword [rbp - 0x80]
mov edx, 5
lea rcx, [rbx + 9]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
lea rcx, [rbp + 0x40]
call fcn.140001340
mov rcx, qword [rbp - 0x50]
test rcx, rcx
jne 0x14000201d
mov byte [0x140009709], 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.140003390
lea rdx, [0x140006694]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003390
lea rdx, str.Entering_interactive_mode_n_nEnter_app_executable_name__use__base__for_base_global_profile__n_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003390
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 - 0x60]
mov rcx, rbx
call fcn.140003de0
lea rdx, [0x140006694]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003390
mov rcx, qword [rbp - 0x50]
test rcx, rcx
jne 0x14000201d
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.140003390
jmp 0x140003080
mov rdx, qword [rbp - 0x48]
mov r9, qword [rbp - 0x60]
cmp rcx, 1
jbe 0x1400020f8
lea rax, [rbp - 0x60]
cmp rdx, 7
seta r10b
cmova rax, r9
cmp word [rax], 0x22
jne 0x1400020f8
lea rax, [rbp - 0x60]
test r10b, r10b
cmovne rax, r9
cmp word [rax + rcx*2 - 2], 0x22
jne 0x1400020f8
lea r8, [rcx - 2]
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], r15
mov qword [rbp - 0x20], r15
lea rax, [rcx - 1]
cmp rax, r8
cmovb r8, rax
lea rdx, [rbp - 0x60]
test r10b, r10b
cmovne rdx, r9
add rdx, 2
lea rcx, [rbp - 0x38]
call fcn.140003740
mov rdx, qword [rbp - 0x48]
cmp rdx, 7
jbe 0x1400020d9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400020d4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400020d4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004ae4
movups xmm1, xmmword [rbp - 0x38]
movups xmmword [rbp - 0x60], xmm1
movups xmm0, xmmword [rbp - 0x28]
movups xmmword [rbp - 0x50], xmm0
psrldq xmm0, 8
movq rdx, xmm0
movq r9, xmm1
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
lea rcx, [rbp - 0x60]
cmp rdx, 7
cmova rcx, r9
lea rdx, str.base
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
mov r14d, 4
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
test eax, eax
jne 0x140002146
lea rdx, str.Fetching_settings_for_base_global_profile..._n
call fcn.140003560
movups xmm0, xmmword [0x140009760]
movups xmmword [rbp - 0x70], xmm0
jmp 0x140002568
lea rdx, str.Fetching_settings_for_app_
call fcn.140003560
lea rdx, [rbp - 0x60]
cmp qword [rbp - 0x48], 7
cmova rdx, qword [rbp - 0x60]
mov r8, qword [rbp - 0x50]
mov rcx, rax
call fcn.140003f90
mov rcx, rax
lea rdx, str...._n
call fcn.140003560
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
mov qword [rbp - 8], r15
mov qword [rbp], r15
mov rsi, qword [rbp - 0x50]
lea r12, [rbp - 0x60]
cmp qword [rbp - 0x48], 7
cmova r12, qword [rbp - 0x60]
movabs rdi, 0x7ffffffffffffffe
cmp rsi, rdi
ja 0x140003115
movabs rax, 0x7fffffffffffffff
mov ecx, 0xa
mov qword [rbp], 7
cmp rsi, 7
ja 0x1400021de
mov qword [rbp - 8], rsi
movups xmm0, xmmword [r12]
movups xmmword [rbp - 0x18], xmm0
jmp 0x140002273
mov rbx, rsi
or rbx, 7
cmp rbx, rdi
jbe 0x1400021f3
mov rbx, rdi
lea rcx, [rax + rax]
jmp 0x140002213
cmp rbx, rcx
cmovb rbx, rcx
lea rcx, [rbx + 1]
cmp rcx, rax
ja 0x14000310f
add rcx, rcx
cmp rcx, 0x1000
jb 0x140002245
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000310f
mov rcx, rax
call fcn.140004aa0
mov rcx, rax
test rax, rax
je 0x14000223e
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140002254
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x140002251
call fcn.140004aa0
jmp 0x140002254
mov rax, r15
mov qword [rbp - 0x18], rax
mov qword [rbp - 8], rsi
mov qword [rbp], rbx
lea r8, [rsi*2 + 2]
mov rdx, r12
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
lea r8, [rbp - 0x70]
lea rdx, [rbp - 0x18]
call fcn.140001450
test eax, eax
je 0x14000252c
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
mov qword [rbp - 8], r15
mov qword [rbp], r15
mov rbx, qword [rbp - 0x50]
lea r12, [rbp - 0x60]
mov r8, qword [rbp - 0x60]
mov rdx, qword [rbp - 0x48]
cmp rdx, 7
cmova r12, r8
cmp rbx, rdi
ja 0x14000311b
mov qword [rbp], 7
cmp rbx, 7
ja 0x1400022d8
mov qword [rbp - 8], rbx
movups xmm0, xmmword [r12]
movups xmmword [rbp - 0x18], xmm0
jmp 0x140002390
mov rsi, rbx
or rsi, 7
cmp rsi, rdi
jbe 0x1400022f7
mov rsi, rdi
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
jmp 0x140002327
cmp rsi, 0xa
mov eax, 0xa
cmovb rsi, rax
lea rcx, [rsi + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x14000312d
add rcx, rcx
cmp rcx, 0x1000
jb 0x140002356
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000312d
mov rcx, rax
call fcn.140004aa0
mov rcx, rax
test rax, rax
je 0x140002758
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140002365
test rcx, rcx
je 0x140002362
call fcn.140004aa0
jmp 0x140002365
mov rax, r15
mov qword [rbp - 0x18], rax
mov qword [rbp - 8], rbx
mov qword [rbp], rsi
lea r8, [rbx*2 + 2]
mov rdx, r12
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [rbp - 0x48]
mov rbx, qword [rbp - 0x50]
mov r8, qword [rbp - 0x60]
test rbx, rbx
je 0x1400026e4
mov rax, rdx
sub rax, rbx
lea rcx, [rbp - 0x60]
cmp rax, 4
jb 0x1400023cc
lea rax, [rbx + 4]
mov qword [rbp - 0x50], rax
cmp rdx, 7
cmova rcx, r8
mov rax, qword [str..exe]
mov qword [rcx + rbx*2], rax
mov word [rcx + rbx*2 + 8], r15w
jmp 0x1400023e0
mov qword [rsp + 0x20], r14
lea r9, str..exe
mov rdx, r14
call fcn.140003bc0
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], r15
mov qword [rbp - 0x20], r15
mov rbx, qword [rbp - 0x50]
lea rsi, [rbp - 0x60]
cmp qword [rbp - 0x48], 7
cmova rsi, qword [rbp - 0x60]
cmp rbx, rdi
ja 0x140003121
mov qword [rbp - 0x20], 7
cmp rbx, 7
ja 0x140002428
mov qword [rbp - 0x28], rbx
movups xmm0, xmmword [rsi]
movups xmmword [rbp - 0x38], xmm0
jmp 0x1400024d7
mov rax, rbx
or rax, 7
cmp rax, rdi
jbe 0x140002444
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
jmp 0x140002477
cmp rax, 0xa
mov ecx, 0xa
cmovb rax, rcx
mov rdi, rax
lea rcx, [rax + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x140003127
add rcx, rcx
cmp rcx, 0x1000
jb 0x1400024a9
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140003127
mov rcx, rax
call fcn.140004aa0
mov rcx, rax
test rax, rax
je 0x1400024a2
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1400024b8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x1400024b5
call fcn.140004aa0
jmp 0x1400024b8
mov rax, r15
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x28], rbx
mov qword [rbp - 0x20], rdi
lea r8, [rbx*2 + 2]
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
lea r8, [rbp - 0x70]
lea rdx, [rbp - 0x38]
call fcn.140001450
test eax, eax
jne 0x1400026e4
mov rdx, qword [rbp]
cmp rdx, 7
jbe 0x14000252c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002527
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002758
call fcn.140004ae4
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.140003560
lea rdx, [rbp - 0x60]
cmp qword [rbp - 0x48], 7
cmova rdx, qword [rbp - 0x60]
mov r8, qword [rbp - 0x50]
mov rcx, rax
call fcn.140003f90
mov rcx, rax
lea rdx, [0x140006a48]
call fcn.140003560
mov ecx, 0x3020
call fcn.140004aa0
mov r13, rax
xor edx, edx
mov r8d, 0x3020
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 0xb0], r13
mov ecx, 0x3020
call fcn.140004aa0
mov rdi, rax
xor edx, edx
mov r8d, 0x3020
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 0xb8], rdi
mov ecx, 0x3020
call fcn.140004aa0
mov rsi, rax
mov qword [rsp + 0x68], rax
xor edx, edx
mov r8d, 0x3020
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 0xc0], rsi
mov ecx, 0x3020
call fcn.140004aa0
mov r12, rax
mov qword [rsp + 0x78], rax
lea rcx, [rax + 4]
xor edx, edx
mov r8d, 0x301c
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 0xc8], r12
mov dword [r13], 0x13020
mov dword [rdi], 0x13020
mov dword [rsi], 0x13020
mov dword [r12], 0x13020
mov dword [rbp - 0x80], r15d
mov rax, qword [0x140009720]
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x20], rcx
mov r9, r13
mov r8d, 0xdd48fb
mov rdx, qword [rbp - 0x68]
mov rcx, qword [rbp - 0x70]
call rax
mov ebx, eax
mov dword [rbp - 0x40], r15d
mov r10, qword [0x140009720]
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
mov r9, rdi
mov r8d, 0x432f84
mov rdx, qword [rbp - 0x68]
mov rcx, qword [rbp - 0x70]
call r10
mov dword [rbp - 0x3c], eax
mov dword [rbp - 0x80], r15d
mov r10, qword [0x140009720]
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r9, rsi
mov r8d, 0x980896
mov rdx, qword [rbp - 0x68]
mov rcx, qword [rbp - 0x70]
call r10
mov dword [rbp - 0x7c], eax
mov dword [rbp - 0x40], r15d
mov r10, qword [0x140009720]
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
mov r9, r12
mov r8d, 0x1077a11a
mov rdx, qword [rbp - 0x68]
mov rcx, qword [rbp - 0x70]
call r10
test ebx, ebx
jne 0x14000276e
cmp dword [r13 + 0x201c], 1
jne 0x14000276e
mov r8b, 1
jmp 0x140002771
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.140003560
lea rdx, [rbp - 0x18]
cmp qword [rbp], 7
cmova rdx, qword [rbp - 0x18]
mov r8, qword [rbp - 8]
mov rcx, rax
call fcn.140003f90
mov rcx, rax
lea rdx, str._n__Try_adding_it_in_NVIDIA_Control_Panel__retry_with_the_full_EXE_path._n
call fcn.140003560
nop
mov rdx, qword [rbp]
cmp rdx, 7
jbe 0x140002764
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000275f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000275f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004ae4
mov qword [rsp + 0x70], r13
jmp 0x140003080
xor r8b, r8b
cmp dword [rbp - 0x3c], 0
jne 0x14000278d
cmp dword [rdi + 0x201c], 0
jne 0x140002789
cmp byte [0x140009708], 0
je 0x14000278d
mov dl, 1
jmp 0x14000278f
xor dl, dl
cmp dword [rbp - 0x7c], 0
jne 0x1400027a2
cmp dword [rsi + 0x201c], 1
jne 0x1400027a2
mov cl, 1
jmp 0x1400027a4
xor cl, cl
test eax, eax
jne 0x1400027b7
cmp dword [r12 + 0x201c], 1
jne 0x1400027b7
mov al, 1
jmp 0x1400027b9
xor al, al
test r8b, r8b
je 0x1400027cf
test dl, dl
je 0x1400027cf
test cl, cl
je 0x1400027cf
test al, al
je 0x1400027cf
mov r12b, 1
jmp 0x1400027d2
xor r12b, r12b
lea rax, str.Enabled
lea rbx, str.Disabled
test r12b, r12b
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.140003390
mov rcx, rax
mov rdx, rbx
call fcn.140003390
mov rcx, rax
lea rdx, [0x140006a8c]
call fcn.140003390
mov edx, dword [r13 + 0x201c]
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, [0x140006a88]
call fcn.140003390
mov edx, dword [rdi + 0x201c]
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, [0x140006a88]
call fcn.140003390
mov edx, dword [rsi + 0x201c]
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, [0x140006a88]
call fcn.140003390
mov rdx, qword [rsp + 0x78]
mov edx, dword [rdx + 0x201c]
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, [0x140006a84]
call fcn.140003390
mov rbx, rax
mov edx, dword [rdi + 0x201c]
lea rcx, [rbp - 0x38]
call fcn.1400015b0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x1400028b3
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.140004160
mov rcx, rax
lea rdx, [0x140006694]
call fcn.140003390
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0xf
jbe 0x14000290c
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002907
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002907
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004ae4
cmp byte [0x140009709], 0
je 0x140002a87
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.140003390
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], r15
mov qword [rbp - 0x20], 7
mov word [rbp - 0x38], 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 - 0x38]
mov rcx, rbx
call fcn.140003de0
mov rsi, qword [rbp - 0x20]
mov rbx, qword [rbp - 0x38]
cmp qword [rbp - 0x28], 0
je 0x1400029df
lea rcx, [rbp - 0x38]
cmp rsi, 7
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 0x1400029d2
cmp ax, 0x65
je 0x1400029d2
cmp ax, 0x6d
jne 0x1400029ad
mov dword [rsp + 0x64], 1
jmp 0x1400029da
cmp ax, 0x6c
jne 0x1400029ba
mov dword [rsp + 0x64], r15d
jmp 0x1400029da
cmp ax, 0x64
jne 0x1400029c7
mov byte [rsp + 0x62], 1
jmp 0x1400029df
cmp ax, 0x68
jne 0x140002a2d
mov byte [rsp + 0x63], 1
mov dword [rsp + 0x64], 2
mov byte [rsp + 0x60], 1
lea rdx, [0x140006694]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003390
nop
cmp rsi, 7
jbe 0x140002a82
lea rdx, [rsi*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140002a7a
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002a7a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
cmp ax, 0x78
je 0x140002a39
cmp ax, 0x71
jne 0x1400029df
cmp rsi, 7
jbe 0x140002a70
lea rdx, [rsi*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140002a68
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002a26
mov rcx, rbx
call fcn.140004ae4
mov r12, qword [rsp + 0x78]
jmp 0x14000303c
mov rcx, rbx
call fcn.140004ae4
mov rsi, qword [rsp + 0x68]
xor r12b, 1
movzx eax, r12b
cmp byte [rsp + 0x60], 0
mov edx, 1
cmove edx, eax
mov ecx, r15d
movzx eax, dl
cmp byte [rsp + 0x62], r15b
cmove ecx, eax
movzx edx, cl
mov dword [r13 + 0x201c], edx
mov eax, edx
add eax, eax
mov dword [rdi + 0x201c], eax
mov dword [rsi + 0x201c], edx
mov r12, qword [rsp + 0x78]
mov dword [r12 + 0x201c], edx
movzx ecx, byte [0x140009708]
test cl, cl
je 0x140002ae3
and dword [rdi + 0x201c], 0xfffffffd
test dl, dl
je 0x140002b2a
cmp byte [rsp + 0x63], 0
je 0x140002af5
or dword [rdi + 0x201c], 1
mov eax, dword [rsp + 0x64]
test cl, cl
je 0x140002b11
test eax, eax
je 0x140002b23
cmp eax, 1
je 0x140002b20
cmp eax, 2
jne 0x140002b20
lea r14d, [rax + 0xe]
jmp 0x140002b23
test eax, eax
je 0x140002b23
cmp eax, 1
mov r14d, 8
je 0x140002b23
mov r14d, r15d
or dword [rdi + 0x201c], r14d
lea rbx, str.Disabled
test dl, dl
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.140003390
mov rcx, rax
mov rdx, rbx
call fcn.140003390
mov rcx, rax
lea rdx, [0x140006a8c]
call fcn.140003390
mov edx, dword [r13 + 0x201c]
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, [0x140006a88]
call fcn.140003390
mov edx, dword [rdi + 0x201c]
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, [0x140006a88]
call fcn.140003390
mov edx, dword [rsi + 0x201c]
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, [0x140006a88]
call fcn.140003390
mov edx, dword [r12 + 0x201c]
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, [0x140006a84]
call fcn.140003390
mov rbx, rax
mov edx, dword [rdi + 0x201c]
lea rcx, [rbp - 0x38]
call fcn.1400015b0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x140002c07
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.140004160
mov rcx, rax
lea rdx, [0x140006694]
call fcn.140003390
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0xf
jbe 0x140002c60
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002c5b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002c5b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004ae4
mov qword [rbp - 0x28], r15
mov qword [rbp - 0x20], 0xf
mov byte [rbp - 0x38], 0
mov dword [r13 + 0x1004], 0xdd48fb
mov dword [rdi + 0x1004], 0x432f84
mov dword [rsi + 0x1004], 0x980896
mov dword [r12 + 0x1004], 0x1077a11a
mov rax, qword [0x140009750]
mov dword [rsp + 0x20], r15d
xor r9d, r9d
mov r8, r13
mov rdx, qword [rbp - 0x68]
mov rcx, qword [rbp - 0x70]
call rax
mov r14d, eax
mov r10, qword [0x140009750]
mov dword [rsp + 0x20], r15d
xor r9d, r9d
mov r8, rdi
mov rdx, qword [rbp - 0x68]
mov rcx, qword [rbp - 0x70]
call r10
mov ebx, eax
mov r10, qword [0x140009750]
mov dword [rsp + 0x20], r15d
xor r9d, r9d
mov r8, rsi
mov rdx, qword [rbp - 0x68]
mov rcx, qword [rbp - 0x70]
call r10
mov esi, eax
mov r10, qword [0x140009750]
mov dword [rsp + 0x20], r15d
xor r9d, r9d
mov r8, r12
mov rdx, qword [rbp - 0x68]
mov rcx, qword [rbp - 0x70]
call r10
test r14d, r14d
jne 0x140002fe9
test ebx, ebx
jne 0x140002ff2
test esi, esi
jne 0x140002ffa
test eax, eax
jne 0x140003002
mov rax, qword [0x140009710]
mov rcx, qword [0x140009758]
call rax
mov ebx, eax
test eax, eax
je 0x140002d79
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.140003390
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.140003390
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.140003390
mov dword [rbp - 0x7c], r15d
mov rax, qword [0x140009720]
lea rcx, [rbp - 0x7c]
mov qword [rsp + 0x20], rcx
mov r9, r13
mov r8d, 0xdd48fb
mov rdx, qword [rbp - 0x68]
mov rcx, qword [rbp - 0x70]
call rax
mov ebx, eax
mov dword [rbp - 0x3c], r15d
mov r10, qword [0x140009720]
lea rax, [rbp - 0x3c]
mov qword [rsp + 0x20], rax
mov r9, rdi
mov r8d, 0x432f84
mov rdx, qword [rbp - 0x68]
mov rcx, qword [rbp - 0x70]
call r10
mov r14d, eax
mov dword [rbp - 0x7c], r15d
mov r10, qword [0x140009720]
lea rax, [rbp - 0x7c]
mov qword [rsp + 0x20], rax
mov rsi, qword [rsp + 0x68]
mov r9, rsi
mov r8d, 0x980896
mov rdx, qword [rbp - 0x68]
mov rcx, qword [rbp - 0x70]
call r10
mov dword [rbp - 0x40], eax
mov dword [rbp - 0x3c], r15d
mov r10, qword [0x140009720]
lea rax, [rbp - 0x3c]
mov qword [rsp + 0x20], rax
mov r9, r12
mov r8d, 0x1077a11a
mov rdx, qword [rbp - 0x68]
mov rcx, qword [rbp - 0x70]
call r10
test ebx, ebx
jne 0x140002e4b
cmp dword [r13 + 0x201c], 1
jne 0x140002e4b
mov r8b, 1
jmp 0x140002e4e
xor r8b, r8b
test r14d, r14d
jne 0x140002e69
cmp dword [rdi + 0x201c], r14d
jne 0x140002e65
cmp byte [0x140009708], r14b
je 0x140002e69
mov dl, 1
jmp 0x140002e6b
xor dl, dl
cmp dword [rbp - 0x40], 0
jne 0x140002e7e
cmp dword [rsi + 0x201c], 1
jne 0x140002e7e
mov cl, 1
jmp 0x140002e80
xor cl, cl
test eax, eax
jne 0x140002e93
cmp dword [r12 + 0x201c], 1
jne 0x140002e93
mov al, 1
jmp 0x140002e95
xor al, al
test r8b, r8b
je 0x140002eaa
test dl, dl
je 0x140002eaa
test cl, cl
je 0x140002eaa
test al, al
je 0x140002eaa
mov al, 1
jmp 0x140002eac
xor al, al
test al, al
lea rbx, str.Disabled
lea rax, str.Enabled
cmovne rbx, 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.140003390
mov rcx, rax
mov rdx, rbx
call fcn.140003390
mov rcx, rax
lea rdx, [0x140006a8c]
call fcn.140003390
mov edx, dword [r13 + 0x201c]
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, [0x140006a88]
call fcn.140003390
mov edx, dword [rdi + 0x201c]
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, [0x140006a88]
call fcn.140003390
mov edx, dword [rsi + 0x201c]
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, [0x140006a88]
call fcn.140003390
mov edx, dword [r12 + 0x201c]
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, [0x140006a84]
call fcn.140003390
mov rbx, rax
mov edx, dword [rdi + 0x201c]
lea rcx, [rbp - 0x38]
call fcn.1400015b0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x140002f89
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.140004160
mov rcx, rax
lea rdx, [0x140006694]
call fcn.140003390
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0xf
jbe 0x140002fe2
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002fdd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002fdd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004ae4
mov dword [rsp + 0x70], r15d
jmp 0x140003048
cmp r14d, 0xffffff77
je 0x140003023
cmp ebx, 0xffffff77
je 0x140003023
cmp esi, 0xffffff77
je 0x140003023
cmp eax, 0xffffff77
je 0x140003023
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.140003390
mov eax, 2
jmp 0x14000303f
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_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140003560
mov r15d, 3
mov eax, r15d
mov dword [rsp + 0x70], eax
mov rsi, qword [rsp + 0x68]
mov edx, 0x3020
mov rcx, r12
call fcn.140004ae4
nop
mov edx, 0x3020
mov rcx, rsi
call fcn.140004ae4
nop
mov edx, 0x3020
mov rcx, rdi
call fcn.140004ae4
nop
mov edx, 0x3020
mov rcx, r13
call fcn.140004ae4
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 7
jbe 0x1400030c3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400030be
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400030be
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004ae4
mov rax, qword [rsp + 0x70]
jmp 0x1400030df
lea rdx, str.Error:_failed_to_retrieve_driver_version__do_you_have_recent_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.140003390
xor eax, eax
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.140004a80
lea r11, [rsp + 0x220]
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
call fcn.140001280
nop
call fcn.140001320
int3
call fcn.140001320
nop
call fcn.140001320
int3
call fcn.140001280
nop
call fcn.140001280
int3