Function at 0x1800422d4
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1960]
mov eax, 0x1a60
call fcn.1800a7270
sub rsp, rax
mov qword [rbp + 0xc0], 0xfffffffffffffffe
mov qword [rsp + 0x1a90], rbx
mov qword [rsp + 0x1a98], rsi
mov qword [rsp + 0x1aa0], rdi
mov rax, qword [0x1801aed20]
xor rax, rsp
mov qword [rbp + 0x1950], rax
call fcn.18003e05c
mov ebx, 7
xor r14d, r14d
lea rdi, vtable.Nvidia::Logging::ChainLoggable_class_Nvidia::Logging::Chain_char_const_____23____ptr64__class_Nvidia::Logging::Chain_struct_Nvidia::Logging::NullType__struct_Nvidia::Logging::NullType___.0
lea r15d, [rbx - 2]
cmp dword [rax + 0x20], r15d
jl 0x180042423
lea rax, [rbp + 0x20]
mov qword [rsp + 0x58], rax
lea rax, [rbp + 0x90]
mov qword [rsp + 0x48], rax
mov qword [rbp + 0x38], rbx
mov qword [rbp + 0x30], r14
mov word [rbp + 0x20], r14w
lea rcx, str.NvXDCore.cpp
call fcn.1800d9868
mov r8, rax
lea rdx, str.NvXDCore.cpp
lea rcx, [rbp + 0x20]
call fcn.18001eca0
nop
mov qword [rbp + 0xa8], rbx
mov qword [rbp + 0xa0], r14
mov word [rbp + 0x90], r14w
lea rcx, str.Nvidia::UXDriver::Core::NvXDCorePlugin::WaitControl
call fcn.1800d9868
mov r8, rax
lea rdx, str.Nvidia::UXDriver::Core::NvXDCorePlugin::WaitControl
lea rcx, [rbp + 0x90]
call fcn.18001eca0
nop
lea rax, [rsp + 0x31]
mov qword [rsp + 0x70], rax
lea rax, str.Starting_WaitControl__
mov qword [rbp + 0x10], rax
lea rax, [rsp + 0x68]
mov qword [rbp + 0x18], rax
mov qword [rbp + 0x80], rdi
lea rax, [rbp + 0x10]
mov qword [rbp + 0x88], rax
call fcn.18003e05c
mov rcx, rax
lea rax, [rbp + 0x20]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x357
lea r9, [rbp + 0x90]
lea r8, [rbp + 0x80]
mov edx, r15d
call fcn.180019ae4
mov r12d, 4
mov dword [rsp + 0x3c], r12d
mov dword [rsp + 0x40], r12d
mov dword [rsp + 0x34], r14d
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x120]
call fcn.1800cf2b0
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
lea r8, str.DCHUVen
lea rdx, str.SYSTEMCurrentControlSetServices_nvlddmkm
mov rbx, 0xffffffff80000002
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea r13d, [r12 - 3]
test eax, eax
jne 0x1800424a5
movzx eax, byte [0x1801fa45d]
cmp dword [rsp + 0x34], 0x10de
cmove eax, r13d
mov byte [0x1801fa45d], al
call fcn.18003f90c
mov dword [rbp - 0x18], r12d
mov dword [rbp - 0x14], r12d
mov dword [rsp + 0x60], r14d
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x740]
call fcn.1800cf2b0
lea rdx, str.SYSTEMCurrentControlSetServices_nvlddmkmGlobalGridLicensing
lea rcx, [rbp + 0x740]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rax, [rbp - 0x18]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x14]
lea r8, str.EnableLicenseOnLogin
lea rdx, [rbp + 0x740]
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x180042527
movzx eax, byte [0x1801fa45c]
cmp dword [rsp + 0x60], r14d
cmovne eax, r13d
mov byte [0x1801fa45c], al
mov rax, qword [0x1801fa4b8]
mov qword [rbp + 0x100], rax
mov rax, qword [0x1801fa4e8]
mov qword [rbp + 0x108], rax
mov rax, qword [0x1801fa4c8]
mov qword [rbp + 0x110], rax
mov rax, qword [0x1801fa4b0]
mov qword [rbp + 0x118], rax
or ebx, 0xffffffff
cmp dword [0x1801fa4d0], r14d
cmovne ebx, dword [0x1801fa4d4]
xor edx, edx
mov rcx, qword [0x1801fa4d8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x180042cab
mov edi, dword [0x1801f8908]
mov rsi, qword gs:[0x58]
mov r9d, ebx
xor r8d, r8d
lea rdx, [rbp + 0x100]
mov ecx, r12d
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov ebx, eax
test eax, eax
je 0x180042b94
cmp eax, r13d
jne 0x180042788
mov ebx, 0x1000
mov r8d, ebx
xor edx, edx
lea rcx, [rbp + 0x950]
call fcn.1800cf2b0
mov dword [rsp + 0x44], r13d
mov dword [rsp + 0x50], ebx
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x320]
call fcn.1800cf2b0
lea rcx, [rbp + 0x320]
cmp byte [0x1801fa45d], r14b
lea rdx, str.SYSTEMCurrentControlSetServices_nvlddmkmGlobalGridLicensing
jne 0x180042610
lea rdx, str.SOFTWARENVIDIA_CorporationGlobalGridLicensing
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x950]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x44]
lea r8, str.ClientConfigTokenPath
lea rdx, [rbp + 0x320]
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x180042673
cmp r14w, word [rbp + 0x950]
je 0x180042673
mov r8d, 0x800
lea rdx, [rbp + 0x950]
lea rcx, [rbp + 0x120]
call fcn.1800e0a38
xor edx, edx
lea rcx, [rbp + 0x120]
call fcn.180083d70
test al, al
je 0x18004277c
call fcn.18003e05c
cmp dword [rax + 0x20], r15d
jl 0x180042770
lea rax, [rbp + 0x40]
mov qword [rsp + 0x58], rax
lea rax, [rbp + 0x60]
mov qword [rsp + 0x48], rax
mov ebx, 7
mov qword [rbp + 0x58], rbx
mov qword [rbp + 0x50], r14
mov word [rbp + 0x40], r14w
lea rcx, str.NvXDCore.cpp
call fcn.1800d9868
mov r8, rax
lea rdx, str.NvXDCore.cpp
lea rcx, [rbp + 0x40]
call fcn.18001eca0
nop
mov qword [rbp + 0x78], rbx
mov qword [rbp + 0x70], r14
mov word [rbp + 0x60], r14w
lea rcx, str.Nvidia::UXDriver::Core::NvXDCorePlugin::WaitControl
call fcn.1800d9868
mov r8, rax
lea rdx, str.Nvidia::UXDriver::Core::NvXDCorePlugin::WaitControl
lea rcx, [rbp + 0x60]
call fcn.18001eca0
nop
lea rax, [rsp + 0x31]
mov qword [rbp + 0xd0], rax
lea rax, str.Grid_cloud_license_state_machine_initialized
mov qword [rbp + 0x80], rax
lea rax, [rbp + 0xc8]
mov qword [rbp + 0x88], rax
lea rax, vtable.Nvidia::Logging::ChainLoggable_class_Nvidia::Logging::Chain_char_const_____45____ptr64__class_Nvidia::Logging::Chain_struct_Nvidia::Logging::NullType__struct_Nvidia::Logging::NullType___.0
mov qword [rbp + 0x10], rax
lea rax, [rbp + 0x80]
mov qword [rbp + 0x18], rax
call fcn.18003e05c
mov rcx, rax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x382
lea r9, [rbp + 0x60]
lea r8, [rbp + 0x10]
mov edx, r15d
call fcn.180019ae4
lea rcx, [rbp + 0x120]
call fcn.18003e90c
mov rcx, qword [0x1801fa4e8]
jmp 0x180042b71
cmp ebx, 2
jne 0x180042b5e
call fcn.18003e05c
mov ebx, 7
cmp dword [rax + 0x20], r15d
jl 0x180042878
lea rax, [rbp + 0x60]
mov qword [rsp + 0x58], rax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x48], rax
mov qword [rbp + 0x78], rbx
mov qword [rbp + 0x70], r14
mov word [rbp + 0x60], r14w
lea rcx, str.NvXDCore.cpp
call fcn.1800d9868
mov r8, rax
lea rdx, str.NvXDCore.cpp
lea rcx, [rbp + 0x60]
call fcn.18001eca0
nop
mov qword [rbp + 0x58], rbx
mov qword [rbp + 0x50], r14
mov word [rbp + 0x40], r14w
lea rcx, str.Nvidia::UXDriver::Core::NvXDCorePlugin::WaitControl
call fcn.1800d9868
mov r8, rax
lea rdx, str.Nvidia::UXDriver::Core::NvXDCorePlugin::WaitControl
lea rcx, [rbp + 0x40]
call fcn.18001eca0
nop
lea rax, [rsp + 0x38]
mov qword [rbp + 0x98], rax
lea rax, str.Grid_cloud_license_acquired
mov qword [rbp + 0xb0], rax
lea rax, [rbp + 0x90]
mov qword [rbp + 0xb8], rax
lea rax, vtable.Nvidia::Logging::ChainLoggable_class_Nvidia::Logging::Chain_char_const_____28____ptr64__class_Nvidia::Logging::Chain_struct_Nvidia::Logging::NullType__struct_Nvidia::Logging::NullType___.0
mov qword [rbp], rax
lea rax, [rbp + 0xb0]
mov qword [rbp + 8], rax
call fcn.18003e05c
mov rcx, rax
lea rax, [rbp + 0x60]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x38b
lea r9, [rbp + 0x40]
lea r8, [rbp]
mov edx, r15d
call fcn.180019ae4
call fcn.18003f48c
mov dword [rsp + 0x40], r12d
mov dword [rsp + 0x3c], r12d
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x530]
call fcn.1800cf2b0
lea rcx, [rbp + 0x530]
cmp byte [0x1801fa45d], r14b
lea rdx, str.SYSTEMCurrentControlSetServices_nvlddmkmGlobalGridSW
jne 0x1800428b9
lea rdx, str.SOFTWARENVIDIA_CorporationGlobalGridSW
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov dword [rsp + 0x34], r14d
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
lea r8, str.CurrentFeatureType
lea rdx, [rbp + 0x530]
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x1800429dd
call fcn.18003e05c
cmp dword [rax + 0x20], r15d
jl 0x180042b55
lea rax, [rbp - 0x78]
mov qword [rsp + 0x58], rax
lea rax, [rbp - 0x58]
mov qword [rsp + 0x48], rax
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x68], r14
mov word [rbp - 0x78], r14w
lea rcx, str.NvXDCore.cpp
call fcn.1800d9868
mov r8, rax
lea rdx, str.NvXDCore.cpp
lea rcx, [rbp - 0x78]
call fcn.18001eca0
nop
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x48], r14
mov word [rbp - 0x58], r14w
lea rcx, str.Nvidia::UXDriver::Core::NvXDCorePlugin::WaitControl
call fcn.1800d9868
mov r8, rax
lea rdx, str.Nvidia::UXDriver::Core::NvXDCorePlugin::WaitControl
lea rcx, [rbp - 0x58]
call fcn.18001eca0
nop
lea rax, [rsp + 0x30]
mov qword [rbp + 0x28], rax
lea rax, str.Unable_to_fetch_licensed_feature_type_from_registry
mov qword [rsp + 0x78], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x80], 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 + 0x68], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x70], rax
call fcn.18003e05c
mov rcx, rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x39f
lea r9, [rbp - 0x58]
lea r8, [rsp + 0x68]
mov edx, r15d
call fcn.180019ae4
jmp 0x180042b55
movsxd rbx, dword [rsp + 0x34]
mov ecx, 4
mov rax, qword [rsi + rdi*8]
mov ecx, dword [rcx + rax]
cmp dword [0x1801fc5b8], ecx
jle 0x180042af2
lea rcx, [0x1801fc5b8]
call fcn.1800a6700
cmp dword [0x1801fc5b8], 0xffffffff
jne 0x180042af2
mov dword [rbp - 0x20], r12d
mov dword [rsp + 0x48], r12d
mov dword [rsp + 0x58], r12d
mov eax, 3
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
mov dword [rbp - 0x24], eax
mov eax, 2
mov dword [rbp - 0x34], eax
mov dword [rbp - 0x30], eax
mov dword [rbp - 0x1c], eax
mov dword [rbp - 0xc], r13d
mov dword [rbp - 8], r13d
mov dword [rbp - 0x38], r13d
mov dword [rsp + 0x44], r14d
mov dword [rsp + 0x50], r14d
mov dword [rbp - 0x10], r14d
lea r9, [rsp + 0x44]
lea r8, [rsp + 0x50]
lea rdx, [rbp - 0x10]
lea rcx, [rbp + 0xd8]
call fcn.1800686c8
nop
lea r9, [rbp - 0xc]
lea r8, [rbp - 8]
lea rdx, [rbp - 0x38]
mov rcx, rax
call fcn.1800687e8
mov rcx, rax
lea r9, [rbp - 0x34]
lea r8, [rbp - 0x30]
lea rdx, [rbp - 0x1c]
call fcn.1800687e8
mov rcx, rax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x28]
lea rdx, [rbp - 0x24]
call fcn.1800687e8
mov rcx, rax
lea r9, [rbp - 0x20]
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x58]
call fcn.1800687e8
mov rdx, rax
call fcn.180067d64
nop
lea rcx, [rbp + 0xd8]
call fcn.180067aa4
lea rcx, [0x18012e8b0]
call fcn.1800a6d70
nop
lea rcx, [0x1801fc5b8]
call fcn.1800a66a0
mov rcx, rbx
mov rdx, qword [0x1801fc618]
call fcn.180051e90
mov rcx, qword [0x1801fc630]
mov rdx, qword [rcx + rax*8]
test rdx, rdx
je 0x180042b46
cmp ebx, dword [rdx - 0x1c]
je 0x180042b37
mov rcx, qword [rdx + 8]
mov rax, qword [rcx]
cmp rax, rdx
jne 0x180042b27
mov rdx, rcx
jmp 0x180042b0c
cmp qword [rax], rdx
je 0x180042b46
mov rdx, qword [rax + 8]
cmp qword [rdx], rax
jne 0x180042b46
jmp 0x180042b0c
lea rcx, [rdx - 0x20]
neg rdx
sbb rax, rax
and rax, rcx
jmp 0x180042b4d
mov rax, qword [0x1801fc5c8]
mov ecx, dword [rax]
mov dword [0x1801afa94], ecx
mov rcx, qword [0x1801fa4c8]
jmp 0x180042b71
cmp ebx, 3
jne 0x180042b79
mov byte [0x1801fa45e], r13b
mov rcx, qword [0x1801fa4b0]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
jmp 0x180042b94
cmp ebx, 0x102
jne 0x180042bc1
mov dword [0x1801fa4d0], r14d
mov dword [0x1801fa4d4], r14d
call fcn.18000dcbc
or ebx, 0xffffffff
cmp dword [0x1801fa4d0], r14d
cmovne ebx, dword [0x1801fa4d4]
xor edx, edx
mov rcx, qword [0x1801fa4d8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x180042cab
jmp 0x180042596
call fcn.18003e05c
mov edi, 7
cmp dword [rax + 0x20], 3
jl 0x180042cb5
lea rax, [rbp - 0x58]
mov qword [rsp + 0x58], rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x48], rax
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x48], r14
mov word [rbp - 0x58], r14w
lea rcx, str.NvXDCore.cpp
call fcn.1800d9868
mov r8, rax
lea rdx, str.NvXDCore.cpp
lea rcx, [rbp - 0x58]
call fcn.18001eca0
nop
mov qword [rbp - 0x60], rdi
mov qword [rbp - 0x68], r14
mov word [rbp - 0x78], r14w
lea rcx, str.Nvidia::UXDriver::Core::NvXDCorePlugin::WaitControl
call fcn.1800d9868
mov r8, rax
lea rdx, str.Nvidia::UXDriver::Core::NvXDCorePlugin::WaitControl
lea rcx, [rbp - 0x78]
call fcn.18001eca0
nop
lea rax, [rsp + 0x30]
mov qword [rbp + 0x28], rax
lea rax, str.Service_is_terminating__waitForMultipleObjects_returned_:
mov qword [rsp + 0x68], rax
lea rax, [rbp + 0x20]
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], ebx
lea rax, [rsp + 0x68]
mov qword [rbp - 0x80], rax
lea rax, vtable.Nvidia::Logging::ChainLoggable_class_Nvidia::Logging::Chain_unsigned_long_int__class_Nvidia::Logging::Chain_char_const_____59____ptr64__class_Nvidia::Logging::Chain_struct_Nvidia::Logging::NullType__struct_Nvidia::Logging::NullType____.0
mov qword [rbp], rax
lea rax, [rsp + 0x78]
mov qword [rbp + 8], rax
call fcn.18003e05c
mov rcx, rax
lea rax, [rbp - 0x58]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x3b5
lea r9, [rbp - 0x78]
lea r8, [rbp]
lea edx, [rdi - 4]
call fcn.180019ae4
jmp 0x180042cb5
call fcn.180041d64
mov edi, 7
call fcn.18003e05c
cmp dword [rax + 0x20], r15d
jl 0x180042d8d
lea rax, [rbp - 0x58]
mov qword [rsp + 0x58], rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x48], rax
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x48], r14
mov word [rbp - 0x58], r14w
lea rcx, str.NvXDCore.cpp
call fcn.1800d9868
mov r8, rax
lea rdx, str.NvXDCore.cpp
lea rcx, [rbp - 0x58]
call fcn.18001eca0
nop
mov qword [rbp - 0x60], rdi
mov qword [rbp - 0x68], r14
mov word [rbp - 0x78], r14w
lea rcx, str.Nvidia::UXDriver::Core::NvXDCorePlugin::WaitControl
call fcn.1800d9868
mov r8, rax
lea rdx, str.Nvidia::UXDriver::Core::NvXDCorePlugin::WaitControl
lea rcx, [rbp - 0x78]
call fcn.18001eca0
nop
lea rax, [rsp + 0x30]
mov qword [rbp + 0x28], rax
lea rax, str.Exitting_WaitControl__
mov qword [rsp + 0x68], rax
lea rax, [rbp + 0x20]
mov qword [rsp + 0x70], rax
lea rax, vtable.Nvidia::Logging::ChainLoggable_class_Nvidia::Logging::Chain_char_const_____23____ptr64__class_Nvidia::Logging::Chain_struct_Nvidia::Logging::NullType__struct_Nvidia::Logging::NullType___.0
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x68]
mov qword [rbp - 0x80], rax
call fcn.18003e05c
mov rcx, rax
lea rax, [rbp - 0x58]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x3ba
lea r9, [rbp - 0x78]
lea r8, [rsp + 0x78]
mov edx, r15d
call fcn.180019ae4
mov rcx, qword [rbp + 0x1950]
xor rcx, rsp
call fcn.1800a6240
lea r11, [rsp + 0x1a60]
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