Function at 0x18003f48c
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push rbp
push r14
push r15
lea rbp, [rsp - 0x11f0]
mov eax, 0x12f0
call fcn.1800a7270
sub rsp, rax
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x1310], rbx
mov qword [rsp + 0x1318], rdi
mov qword [rsp + 0x1320], r12
mov rax, qword [0x1801aed20]
xor rax, rsp
mov qword [rbp + 0x11e0], rax
mov ebx, 0x1000
mov r8d, ebx
xor edx, edx
lea rcx, [rbp + 0x1e0]
call fcn.1800cf2b0
mov dword [rbp - 0x64], 1
mov dword [rbp - 0x68], ebx
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x30]
call fcn.1800cf2b0
xor ebx, ebx
lea rcx, [rbp - 0x30]
cmp byte [0x1801fa45d], bl
lea rdx, str.SYSTEMCurrentControlSetServices_nvlddmkmGlobalGridSW
jne 0x18003f525
lea rdx, str.SOFTWARENVIDIA_CorporationGlobalGridSW
call qword [sym.imp.KERNEL32.dll_lstrcatW]
call fcn.18003e228
mov r14d, 7
lea r15, str.NvXDCore.cpp
lea r12, str.CacheAuthToken
lea edi, [r14 - 2]
cmp dword [rax + 0x20], edi
jl 0x18003f610
lea rax, [rsp + 0x58]
mov qword [rbp - 0x60], rax
lea rax, [rsp + 0x78]
mov qword [rbp - 0x58], rax
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x68], rbx
mov word [rsp + 0x58], bx
mov rcx, r15
call fcn.1800d9868
mov r8, rax
mov rdx, r15
lea rcx, [rsp + 0x58]
call fcn.18001eca0
nop
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x78], rbx
mov word [rsp + 0x78], bx
mov rcx, r12
call fcn.1800d9868
mov r8, rax
mov rdx, r12
lea rcx, [rsp + 0x78]
call fcn.18001eca0
nop
lea rax, [rsp + 0x30]
mov qword [rbp - 0x48], rax
lea rax, str.Reading_authentication_token
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x40], rax
lea rax, vtable.Nvidia::Logging::ChainLoggable_class_Nvidia::Logging::Chain_char_const_____29____ptr64__class_Nvidia::Logging::Chain_struct_Nvidia::Logging::NullType__struct_Nvidia::Logging::NullType___.0
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x50], rax
call fcn.18003e228
mov rcx, rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x1a7
lea r9, [rsp + 0x78]
lea r8, [rsp + 0x48]
mov edx, edi
call fcn.180019ae4
lea rax, [rbp - 0x68]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x1e0]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x64]
lea r8, str.AuthToken
lea rdx, [rbp - 0x30]
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x18003f70a
call fcn.18003e228
cmp dword [rax + 0x20], edi
jl 0x18003f8de
lea rax, [rsp + 0x78]
mov qword [rbp - 0x58], rax
lea rax, [rsp + 0x58]
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x78], rbx
mov word [rsp + 0x78], bx
mov rcx, r15
call fcn.1800d9868
mov r8, rax
mov rdx, r15
lea rcx, [rsp + 0x78]
call fcn.18001eca0
nop
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x68], rbx
mov word [rsp + 0x58], bx
mov rcx, r12
call fcn.1800d9868
mov r8, rax
mov rdx, r12
lea rcx, [rsp + 0x58]
call fcn.18001eca0
nop
lea rax, [rsp + 0x30]
mov qword [rbp - 0x48], rax
lea rax, str.Unable_to_fetch_authentication_token_from_registry
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x50], rax
lea rax, vtable.Nvidia::Logging::ChainLoggable_class_Nvidia::Logging::Chain_char_const_____51____ptr64__class_Nvidia::Logging::Chain_struct_Nvidia::Logging::NullType__struct_Nvidia::Logging::NullType___.0
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x40], rax
call fcn.18003e228
mov rcx, rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x1aa
jmp 0x18003f8cd
cmp bx, word [rbp + 0x1e0]
je 0x18003f811
mov r8d, 0x800
lea rdx, [rbp + 0x1e0]
lea rcx, [0x1801fa4f0]
call fcn.1800e0a38
lea r8, str.AuthToken
lea rdx, [rbp - 0x30]
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
test eax, eax
je 0x18003f8de
call fcn.18003e228
cmp dword [rax + 0x20], edi
jl 0x18003f8de
lea rax, [rsp + 0x78]
mov qword [rbp - 0x58], rax
lea rax, [rsp + 0x58]
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x78], rbx
mov word [rsp + 0x78], bx
mov rcx, r15
call fcn.1800d9868
mov r8, rax
mov rdx, r15
lea rcx, [rsp + 0x78]
call fcn.18001eca0
nop
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x68], rbx
mov word [rsp + 0x58], bx
mov rcx, r12
call fcn.1800d9868
mov r8, rax
mov rdx, r12
lea rcx, [rsp + 0x58]
call fcn.18001eca0
nop
lea rax, [rsp + 0x30]
mov qword [rbp - 0x48], rax
lea rax, str.Unable_to_delete_authentication_token_from_registry
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x50], rax
lea rax, vtable.Nvidia::Logging::ChainLoggable_class_Nvidia::Logging::Chain_char_const_____52____ptr64__class_Nvidia::Logging::Chain_struct_Nvidia::Logging::NullType__struct_Nvidia::Logging::NullType___.0
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x40], rax
call fcn.18003e228
mov rcx, rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x1b3
jmp 0x18003f8cd
call fcn.18003e228
cmp dword [rax + 0x20], edi
jl 0x18003f8de
lea rax, [rsp + 0x78]
mov qword [rbp - 0x58], rax
lea rax, [rsp + 0x58]
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x78], rbx
mov word [rsp + 0x78], bx
mov rcx, r15
call fcn.1800d9868
mov r8, rax
mov rdx, r15
lea rcx, [rsp + 0x78]
call fcn.18001eca0
nop
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x68], rbx
mov word [rsp + 0x58], bx
mov rcx, r12
call fcn.1800d9868
mov r8, rax
mov rdx, r12
lea rcx, [rsp + 0x58]
call fcn.18001eca0
nop
lea rax, [rsp + 0x30]
mov qword [rbp - 0x48], rax
lea rax, str.Empty_authentication_token
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x50], rax
lea rax, vtable.Nvidia::Logging::ChainLoggable_class_Nvidia::Logging::Chain_char_const_____27____ptr64__class_Nvidia::Logging::Chain_struct_Nvidia::Logging::NullType__struct_Nvidia::Logging::NullType___.0
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x40], rax
call fcn.18003e228
mov rcx, rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x1b8
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
mov edx, edi
call fcn.180019ae4
mov rcx, qword [rbp + 0x11e0]
xor rcx, rsp
call fcn.1800a6240
lea r11, [rsp + 0x12f0]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov r12, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret