Function at 0x140001560
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 - 0x3030]
mov eax, 0x3130
call fcn.1400049c0
sub rsp, rax
mov rax, qword [0x140008040]
xor rax, rsp
mov qword [rbp + 0x3020], rax
lea rdx, str._nNvTrueHDR___TrueHDR_toggler__v1.0_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.140002c50
cmp dword [0x140014868], 0
je 0x1400015ff
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.140002c50
xor eax, eax
mov rcx, qword [rbp + 0x3020]
xor rcx, rsp
call fcn.140003b70
lea r11, [rsp + 0x3130]
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], 0
mov byte [rsp + 0x60], 0
mov byte [rsp + 0x61], 0
xor r15d, r15d
mov dword [rbp + 0x2f98], r15d
mov dword [rbp + 0x2f9c], r15d
mov word [rbp + 0x2fa0], 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
lea r8d, [r15 + 0x20]
mov dl, 2
lea rcx, [rbp + 0x2f9c]
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x14000169d
lea r8, [rbp + 0x2f98]
mov rdx, qword [rbp + 0x2f90]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x140001690
mov dword [rbp + 0x2f98], r15d
mov rcx, qword [rbp + 0x2f90]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
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 + 0x2fe8]
mov rcx, rax
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov rcx, rax
mov r13d, 1
mov dword [rbp + 0x2f98], r13d
movabs rax, 0x7ffffffffffffffe
movabs rdx, 0x7fffffffffffffff
lea r10d, [r13 + 9]
cmp dword [rbp + 0x2fe8], r13d
jle 0x140001b72
add rcx, 8
mov qword [rbp + 0x2f90], rcx
nop word [rax + rax]
mov r12, qword [rcx]
xorps xmm0, xmm0
movups xmmword [rbp + 0x2ff0], xmm0
mov qword [rbp + 0x3000], r15
mov qword [rbp + 0x3008], r15
mov rsi, 0xffffffffffffffff
inc rsi
cmp word [r12 + rsi*2], 0
jne 0x140001742
cmp rsi, rax
ja 0x140002a63
mov qword [rbp + 0x3008], 7
cmp rsi, 7
ja 0x1400017a7
mov qword [rbp + 0x3000], rsi
lea rbx, [rsi + rsi]
mov r8, rbx
mov rdx, r12
lea rcx, [rbp + 0x2ff0]
call sub.VCRUNTIME140.dll_memcpy
mov word [rbp + rbx + 0x2ff0], r15w
mov r14, qword [rbp + 0x3008]
mov rsi, qword [rbp + 0x3000]
mov rbx, qword [rbp + 0x2ff0]
jmp 0x140001847
mov r14, rsi
or r14, 7
cmp r14, rax
jbe 0x1400017bc
mov r14, rax
lea rcx, [rdx + rdx]
jmp 0x1400017dd
cmp r14, 0xa
cmovb r14, r10
lea rcx, [r14 + 1]
cmp rcx, rdx
ja 0x140002a5d
add rcx, rcx
cmp rcx, 0x1000
jb 0x140001809
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140002a5d
mov rcx, rax
call fcn.140003b90
test rax, rax
je 0x14000249e
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x14000181b
test rcx, rcx
je 0x140001818
call fcn.140003b90
mov rbx, rax
jmp 0x14000181b
mov rbx, r15
mov qword [rbp + 0x2ff0], rbx
mov qword [rbp + 0x3000], rsi
mov qword [rbp + 0x3008], r14
lea rdi, [rsi + rsi]
mov r8, rdi
mov rdx, r12
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov word [rbx + rdi], r15w
lea r8, [rbp + 0x2ff0]
cmp r14, 7
seta dil
cmova r8, rbx
cmp rsi, 6
jne 0x1400018dd
mov rdx, rsi
lea rax, str.__help
mov rcx, rax
sub r8, rax
movzx eax, word [rcx + r8]
cmp ax, word [rcx]
jne 0x1400018dd
add rcx, 2
sub rdx, 1
jne 0x140001870
lea rdx, str.usage:_nvtruehdr____enable_____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.140002c50
nop
test dil, dil
je 0x1400018d2
lea rdx, [r14*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400018ca
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000249e
mov rcx, rbx
call fcn.140003bd4
mov r13d, 3
jmp 0x140002a00
lea r8, [rbp + 0x2ff0]
test dil, dil
cmovne r8, rbx
cmp rsi, 5
jne 0x140001928
mov rdx, rsi
lea rax, str.__hud
mov rcx, rax
sub r8, rax
movzx eax, word [rcx + r8]
cmp ax, word [rcx]
jne 0x140001928
add rcx, 2
sub rdx, 1
jne 0x140001901
mov byte [rsp + 0x62], 1
mov byte [rsp + 0x60], 1
mov byte [rsp + 0x61], dl
jmp 0x140001af0
lea r8, [rbp + 0x2ff0]
test dil, dil
cmovne r8, rbx
cmp rsi, 8
jne 0x140001976
mov rdx, rsi
lea rax, str.__enable
mov rcx, rax
sub r8, rax
nop dword [rax]
movzx eax, word [rcx + r8]
cmp ax, word [rcx]
jne 0x140001976
add rcx, 2
sub rdx, 1
jne 0x140001950
mov byte [rsp + 0x62], dl
mov byte [rsp + 0x60], 1
mov byte [rsp + 0x61], dl
jmp 0x140001af0
lea r8, [rbp + 0x2ff0]
test dil, dil
cmovne r8, rbx
cmp rsi, 9
jne 0x1400019c6
mov rdx, rsi
lea rax, str.__disable
mov rcx, rax
sub r8, rax
nop word [rax + rax]
movzx eax, word [rcx + r8]
cmp ax, word [rcx]
jne 0x1400019c6
add rcx, 2
sub rdx, 1
jne 0x1400019a0
mov byte [rsp + 0x62], dl
mov byte [rsp + 0x60], dl
mov byte [rsp + 0x61], 1
jmp 0x140001af0
lea r8, [rbp + 0x2ff0]
test dil, dil
cmovne r8, rbx
cmp rsi, 7
jne 0x140001a09
mov rdx, rsi
lea rax, str.__admin
mov rcx, rax
sub r8, rax
nop word [rax + rax]
movzx eax, word [rcx + r8]
cmp ax, word [rcx]
jne 0x140001a09
add rcx, 2
sub rdx, 1
jne 0x1400019f0
jmp 0x140001af0
mov r12, qword [rbp + 0x2fb8]
test r12, r12
je 0x140001a75
mov rdx, qword [rbp + 0x2fc0]
mov rax, rdx
sub rax, r12
lea rcx, [rbp + 0x2fa8]
cmp rax, 1
jb 0x140001a5a
lea rax, [r12 + 1]
mov qword [rbp + 0x2fb8], rax
cmp rdx, 7
cmova rcx, qword [rbp + 0x2fa8]
mov eax, dword [0x140005628]
mov word [rcx + r12*2], ax
mov word [rcx + r12*2 + 2], r15w
jmp 0x140001a6e
mov qword [rsp + 0x20], r13
lea r9, [0x140005628]
mov rdx, r13
call fcn.140003530
mov r12, qword [rbp + 0x2fb8]
lea r9, [rbp + 0x2ff0]
test dil, dil
cmovne r9, rbx
mov rcx, qword [rbp + 0x2fc0]
mov rax, rcx
sub rax, r12
cmp rsi, rax
ja 0x140001ace
lea rax, [r12 + rsi]
mov qword [rbp + 0x2fb8], rax
lea rdi, [rbp + 0x2fa8]
cmp rcx, 7
cmova rdi, qword [rbp + 0x2fa8]
lea rcx, [rdi + r12*2]
lea r8, [rsi + rsi]
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
lea rax, [rsi + r12]
mov word [rdi + rax*2], r15w
jmp 0x140001af0
mov qword [rsp + 0x20], rsi
mov rdx, rsi
lea rcx, [rbp + 0x2fa8]
call fcn.140003530
mov r14, qword [rbp + 0x3008]
mov rbx, qword [rbp + 0x2ff0]
cmp r14, 7
jbe 0x140001b2b
lea rdx, [r14*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140001b23
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000249e
mov rcx, rbx
call fcn.140003bd4
mov edx, dword [rbp + 0x2f98]
inc edx
mov dword [rbp + 0x2f98], edx
mov rcx, qword [rbp + 0x2f90]
add rcx, 8
mov qword [rbp + 0x2f90], rcx
cmp edx, dword [rbp + 0x2fe8]
jge 0x140001b72
movabs rax, 0x7ffffffffffffffe
movabs rdx, 0x7fffffffffffffff
mov r10d, 0xa
jmp 0x140001720
cmp qword [rbp + 0x2fb8], 0
jne 0x140001bfb
mov byte [0x140014828], 1
lea rdx, str.usage:_nvtruehdr____enable_____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.140002c50
lea rdx, [0x14000562c]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002c50
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.140002c50
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.140003770
lea rdx, [0x14000562c]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002c50
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.140002e20
lea rdx, [rbp + 0x2fa8]
cmp qword [rbp + 0x2fc0], 7
cmova rdx, qword [rbp + 0x2fa8]
mov r8, qword [rbp + 0x2fb8]
mov rcx, rax
call fcn.140003920
mov rcx, rax
lea rdx, str...._n
call fcn.140002e20
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x3010], xmm0
movups xmmword [rbp + 0x2fc8], xmm0
mov qword [rbp + 0x2fd8], r15
mov qword [rbp + 0x2fe0], r15
mov rdi, qword [rbp + 0x2fb8]
lea r14, [rbp + 0x2fa8]
cmp qword [rbp + 0x2fc0], 7
cmova r14, qword [rbp + 0x2fa8]
movabs rsi, 0x7ffffffffffffffe
cmp rdi, rsi
ja 0x140002a69
mov qword [rbp + 0x2fe0], 7
movabs r12, 0x7fffffffffffffff
cmp rdi, 7
ja 0x140001cc6
mov qword [rbp + 0x2fd8], rdi
movups xmm0, xmmword [r14]
movups xmmword [rbp + 0x2fc8], xmm0
jmp 0x140001d6a
mov rbx, rdi
or rbx, 7
cmp rbx, rsi
jbe 0x140001cdb
mov rbx, rsi
lea rcx, [r12 + r12]
jmp 0x140001d01
cmp rbx, 0xa
mov eax, 0xa
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, r12
ja 0x140002a57
add rcx, rcx
cmp rcx, 0x1000
jb 0x140001d33
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140002a57
mov rcx, rax
call fcn.140003b90
mov rcx, rax
test rax, rax
je 0x140001d2c
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140001d42
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x140001d3f
call fcn.140003b90
jmp 0x140001d42
mov rax, r15
mov qword [rbp + 0x2fc8], rax
mov qword [rbp + 0x2fd8], rdi
mov qword [rbp + 0x2fe0], rbx
lea r8, [rdi*2 + 2]
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
lea r8, [rbp + 0x3010]
lea rdx, [rbp + 0x2fc8]
call fcn.140001400
test eax, eax
je 0x140001f61
mov rdx, qword [rbp + 0x2fb8]
test rdx, rdx
je 0x140001f14
mov r8, qword [rbp + 0x2fc0]
mov rax, r8
sub rax, rdx
lea rcx, [rbp + 0x2fa8]
cmp rax, 4
jb 0x140001dd9
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 0x140001df3
mov qword [rsp + 0x20], 4
lea r9, str..exe
mov edx, 4
call fcn.140003530
xorps xmm0, xmm0
movups xmmword [rbp + 0x2fc8], xmm0
mov qword [rbp + 0x2fd8], r15
mov qword [rbp + 0x2fe0], r15
mov rbx, qword [rbp + 0x2fb8]
lea rdi, [rbp + 0x2fa8]
cmp qword [rbp + 0x2fc0], 7
cmova rdi, qword [rbp + 0x2fa8]
cmp rbx, rsi
ja 0x140002a6f
mov qword [rbp + 0x2fe0], 7
cmp rbx, 7
ja 0x140001e59
mov qword [rbp + 0x2fd8], rbx
movups xmm0, xmmword [rdi]
movups xmmword [rbp + 0x2fc8], xmm0
jmp 0x140001efd
mov rax, rbx
or rax, 7
cmp rax, rsi
jbe 0x140001e6b
lea rcx, [r12 + r12]
jmp 0x140001e94
cmp rax, 0xa
mov ecx, 0xa
cmovb rax, rcx
mov rsi, rax
lea rcx, [rax + 1]
cmp rcx, r12
ja 0x140002a51
add rcx, rcx
cmp rcx, 0x1000
jb 0x140001ec6
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140002a51
mov rcx, rax
call fcn.140003b90
mov rcx, rax
test rax, rax
je 0x140001ebf
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140001ed5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x140001ed2
call fcn.140003b90
jmp 0x140001ed5
mov rax, r15
mov qword [rbp + 0x2fc8], rax
mov qword [rbp + 0x2fd8], rbx
mov qword [rbp + 0x2fe0], rsi
lea r8, [rbx*2 + 2]
mov rdx, rdi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
lea r8, [rbp + 0x3010]
lea rdx, [rbp + 0x2fc8]
call fcn.140001400
test eax, eax
je 0x140001f61
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.140003000
lea rdx, [rbp + 0x2fa8]
cmp qword [rbp + 0x2fc0], 7
cmova rdx, qword [rbp + 0x2fa8]
mov r8, qword [rbp + 0x2fb8]
mov rcx, rax
call fcn.140003920
mov rcx, rax
lea rdx, str._n__Try_adding_it_in_NVIDIA_Control_Panel__retry._n
call fcn.140003000
jmp 0x140002a00
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.140002e20
lea rdx, [rbp + 0x2fa8]
cmp qword [rbp + 0x2fc0], 7
cmova rdx, qword [rbp + 0x2fa8]
mov r8, qword [rbp + 0x2fb8]
mov rcx, rax
call fcn.140003920
mov rcx, rax
lea rdx, [0x14000571c]
call fcn.140003000
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, [0x14000e100]
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, [0x1400080c0]
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, [0x140011120]
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, [0x14000b0e0]
call sub.VCRUNTIME140.dll_memcpy
mov dword [rbp + 0x2f98], r15d
mov rax, qword [0x140014818]
lea rcx, [rbp + 0x2f98]
mov qword [rsp + 0x20], rcx
lea r9, [0x14000e100]
mov r8d, 0xdd48fb
mov r14, qword [rbp + 0x3018]
mov rdx, r14
mov r12, qword [rbp + 0x3010]
mov rcx, r12
call rax
mov ebx, eax
mov dword [rbp + 0x2f9c], r15d
mov r10, qword [0x140014818]
lea rax, [rbp + 0x2f9c]
mov qword [rsp + 0x20], rax
lea r9, [0x1400080c0]
mov r8d, 0x432f84
mov rdx, r14
mov rcx, r12
call r10
mov edi, eax
mov dword [rbp + 0x2f98], r15d
mov r10, qword [0x140014818]
lea rax, [rbp + 0x2f98]
mov qword [rsp + 0x20], rax
lea r9, [0x140011120]
mov r8d, 0x980896
mov rdx, r14
mov rcx, r12
call r10
mov esi, eax
mov dword [rbp + 0x2f9c], r15d
mov r10, qword [0x140014818]
lea rax, [rbp + 0x2f9c]
mov qword [rsp + 0x20], rax
lea r9, [0x14000b0e0]
mov r8d, 0x1077a11a
mov rdx, r14
mov rcx, r12
call r10
test ebx, ebx
jne 0x140002262
cmp dword [0x14001011c], 1
jne 0x140002262
mov r8b, 1
jmp 0x140002265
xor r8b, r8b
test edi, edi
jne 0x140002275
cmp dword [0x14000a0dc], edi
je 0x140002275
mov dl, 1
jmp 0x140002277
xor dl, dl
test esi, esi
jne 0x140002288
cmp dword [0x14001313c], 1
jne 0x140002288
mov cl, 1
jmp 0x14000228a
xor cl, cl
test eax, eax
jne 0x14000229b
cmp dword [0x14000d0fc], 1
jne 0x14000229b
mov al, 1
jmp 0x14000229d
xor al, al
test r8b, r8b
je 0x1400022b3
test dl, dl
je 0x1400022b3
test cl, cl
je 0x1400022b3
test al, al
je 0x1400022b3
mov sil, 1
jmp 0x1400022b6
xor sil, sil
lea rax, str.Enabled
lea rdi, str.Disabled
mov rbx, rdi
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.140002c50
mov rcx, rax
mov rdx, rbx
call fcn.140002c50
mov rcx, rax
lea rdx, [0x140005780]
call fcn.140002c50
mov edx, dword [0x14001011c]
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, [0x14000577c]
call fcn.140002c50
mov edx, dword [0x14000a0dc]
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, [0x14000577c]
call fcn.140002c50
mov edx, dword [0x14001313c]
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, [0x14000577c]
call fcn.140002c50
mov edx, dword [0x14000d0fc]
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, [0x140005778]
call fcn.140002c50
lea rcx, str.__HDR_indicator_HUD_enabled_
lea rdx, [0x1400054b1]
cmp dword [0x14000a0dc], 3
cmove rdx, rcx
mov rcx, rax
call fcn.140002c50
mov rcx, rax
lea rdx, [0x14000562c]
call fcn.140002c50
cmp byte [0x140014828], 0
je 0x140002520
lea rdx, str._nEnter_action__Enable___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.140002c50
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.140003770
mov rdi, qword [rbp + 0x2fe0]
mov rbx, qword [rbp + 0x2fc8]
cmp qword [rbp + 0x2fd8], 0
je 0x140002453
lea rcx, [rbp + 0x2fc8]
cmp rdi, 7
seta byte [rsp + 0x63]
cmova rcx, rbx
movzx ecx, word [rcx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_towlower]
cmp ax, 0x65
jne 0x1400024a5
mov byte [rsp + 0x60], 1
lea rdx, [0x14000562c]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002c50
nop
cmp rdi, 7
jbe 0x140002519
lea rdx, [rdi*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140002511
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002511
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
cmp ax, 0x64
jne 0x1400024b2
mov byte [rsp + 0x61], 1
jmp 0x140002453
cmp ax, 0x68
jne 0x1400024c4
mov byte [rsp + 0x60], 1
mov byte [rsp + 0x62], 1
jmp 0x140002453
cmp ax, 0x78
je 0x1400024d0
cmp ax, 0x71
jne 0x140002453
cmp byte [rsp + 0x63], 0
je 0x1400029fd
lea rdx, [rdi*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140002504
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000249e
mov rcx, rbx
call fcn.140003bd4
jmp 0x1400029fd
mov rcx, rbx
call fcn.140003bd4
lea rdi, str.Disabled
xor sil, 1
movzx eax, sil
cmp byte [rsp + 0x60], 0
cmove r13d, eax
cmp byte [rsp + 0x61], 0
je 0x140002558
xor al, al
mov dword [0x14001011c], r15d
mov dword [0x14000a0dc], r15d
mov dword [0x14001313c], r15d
mov dword [0x14000d0fc], r15d
jmp 0x140002593
movzx eax, r13b
mov dword [0x14001011c], eax
movzx ecx, r13b
add ecx, ecx
mov dword [0x14000a0dc], ecx
mov dword [0x14001313c], eax
mov dword [0x14000d0fc], eax
movzx eax, r13b
test r13b, r13b
je 0x140002593
cmp byte [rsp + 0x62], 0
je 0x140002593
or ecx, 1
mov dword [0x14000a0dc], ecx
mov rbx, rdi
test al, al
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.140002c50
mov rcx, rax
mov rdx, rbx
call fcn.140002c50
mov rcx, rax
lea rdx, [0x140005780]
call fcn.140002c50
mov edx, dword [0x14001011c]
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, [0x14000577c]
call fcn.140002c50
mov edx, dword [0x14000a0dc]
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, [0x14000577c]
call fcn.140002c50
mov edx, dword [0x14001313c]
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, [0x14000577c]
call fcn.140002c50
mov edx, dword [0x14000d0fc]
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, [0x140005778]
call fcn.140002c50
lea r13, [0x1400054b1]
mov rdx, r13
cmp dword [0x14000a0dc], 3
lea rcx, str.__HDR_indicator_HUD_enabled_
cmove rdx, rcx
mov rcx, rax
call fcn.140002c50
mov rcx, rax
lea rdx, [0x14000562c]
call fcn.140002c50
mov dword [0x14000f104], 0xdd48fb
mov dword [0x1400090c4], 0x432f84
mov dword [0x140012124], 0x980896
mov dword [0x14000c0e4], 0x1077a11a
mov rax, qword [0x140014848]
mov dword [rsp + 0x20], r15d
xor r9d, r9d
lea r8, [0x14000e100]
mov rdx, r14
mov rcx, r12
call rax
mov esi, eax
mov r10, qword [0x140014848]
mov dword [rsp + 0x20], r15d
xor r9d, r9d
lea r8, [0x1400080c0]
mov rdx, r14
mov rcx, r12
call r10
mov ebx, eax
mov r10, qword [0x140014848]
mov dword [rsp + 0x20], r15d
xor r9d, r9d
lea r8, [0x140011120]
mov rdx, r14
mov rcx, r12
call r10
mov edi, eax
mov r10, qword [0x140014848]
mov dword [rsp + 0x20], r15d
xor r9d, r9d
lea r8, [0x14000b0e0]
mov rdx, r14
mov rcx, r12
call r10
test esi, esi
jne 0x1400029aa
test ebx, ebx
jne 0x1400029b2
test edi, edi
jne 0x1400029ba
test eax, eax
jne 0x1400029c2
mov rax, qword [0x140014808]
mov rcx, qword [0x140014850]
call rax
mov ebx, eax
test eax, eax
je 0x140002787
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.140002c50
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.140002c50
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.140002c50
mov dword [rbp + 0x2f9c], r15d
mov rax, qword [0x140014818]
lea rcx, [rbp + 0x2f9c]
mov qword [rsp + 0x20], rcx
lea r9, [0x14000e100]
mov r8d, 0xdd48fb
mov rdx, r14
mov rcx, r12
call rax
mov ebx, eax
mov dword [rbp + 0x2f98], r15d
mov r10, qword [0x140014818]
lea rax, [rbp + 0x2f98]
mov qword [rsp + 0x20], rax
lea r9, [0x1400080c0]
mov r8d, 0x432f84
mov rdx, r14
mov rcx, r12
call r10
mov edi, eax
mov dword [rbp + 0x2f9c], r15d
mov r10, qword [0x140014818]
lea rax, [rbp + 0x2f9c]
mov qword [rsp + 0x20], rax
lea r9, [0x140011120]
mov r8d, 0x980896
mov rdx, r14
mov rcx, r12
call r10
mov esi, eax
mov dword [rbp + 0x2f98], r15d
mov r10, qword [0x140014818]
lea rax, [rbp + 0x2f98]
mov qword [rsp + 0x20], rax
lea r9, [0x14000b0e0]
mov r8d, 0x1077a11a
mov rdx, r14
mov rcx, r12
call r10
test ebx, ebx
jne 0x140002871
cmp dword [0x14001011c], 1
jne 0x140002871
mov r8b, 1
jmp 0x140002874
xor r8b, r8b
test edi, edi
jne 0x140002884
cmp dword [0x14000a0dc], edi
je 0x140002884
mov dl, 1
jmp 0x140002886
xor dl, dl
test esi, esi
jne 0x140002897
cmp dword [0x14001313c], 1
jne 0x140002897
mov cl, 1
jmp 0x140002899
xor cl, cl
test eax, eax
jne 0x1400028aa
cmp dword [0x14000d0fc], 1
jne 0x1400028aa
mov al, 1
jmp 0x1400028ac
xor al, al
test r8b, r8b
je 0x1400028c1
test dl, dl
je 0x1400028c1
test cl, cl
je 0x1400028c1
test al, al
je 0x1400028c1
mov al, 1
jmp 0x1400028c3
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.140002c50
mov rcx, rax
mov rdx, rbx
call fcn.140002c50
mov rcx, rax
lea rdx, [0x140005780]
call fcn.140002c50
mov edx, dword [0x14001011c]
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, [0x14000577c]
call fcn.140002c50
mov edx, dword [0x14000a0dc]
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, [0x14000577c]
call fcn.140002c50
mov edx, dword [0x14001313c]
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, [0x14000577c]
call fcn.140002c50
mov edx, dword [0x14000d0fc]
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, [0x140005778]
call fcn.140002c50
cmp dword [0x14000a0dc], 3
lea rcx, str.__HDR_indicator_HUD_enabled_
cmove r13, rcx
mov rdx, r13
mov rcx, rax
call fcn.140002c50
mov rcx, rax
lea rdx, [0x14000562c]
call fcn.140002c50
jmp 0x1400029fd
cmp esi, 0xffffff77
je 0x1400029e4
cmp ebx, 0xffffff77
je 0x1400029e4
cmp edi, 0xffffff77
je 0x1400029e4
cmp eax, 0xffffff77
je 0x1400029e4
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.140002c50
mov r15d, 2
jmp 0x1400029fd
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.140002c50
mov r15d, 3
mov r13d, r15d
mov rdx, qword [rbp + 0x2fc0]
cmp rdx, 7
jbe 0x140002a49
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x2fa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002a44
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002a44
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003bd4
mov eax, r13d
jmp 0x1400015cf
call fcn.140001280
int3
call fcn.140001280
int3
call fcn.140001280
int3
call fcn.140001320
int3
call fcn.140001320
int3
call fcn.140001320
int3