Function at 0x1400043d0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rdi
push r14
lea rbp, [rsp - 0x560]
sub rsp, 0x660
mov rax, qword [0x140045270]
xor rax, rsp
mov qword [rbp + 0x550], rax
mov qword [rsp + 0x28], rdx
mov r9d, 3
mov rdi, rcx
mov rcx, qword [rcx]
mov rbx, rdx
lea rax, str.Loading__S
lea r8d, [r9 + 0x33]
lea rdx, str.C:dvsp4_build_swgcomp_relgs_03_40_srcNvContainercontainerNvcPluginManager.cpp
mov qword [rsp + 0x20], rax
call fcn.140006d00
lea rcx, [rdi + 0x10]
mov r8, rbx
mov edx, 0x104
call fcn.14000783c
lea rcx, [rbp + 0x242]
xor r14d, r14d
xor edx, edx
mov r8d, 0x206
mov word [rbp + 0x240], r14w
call fcn.140009820
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], r14
lea rax, [rbp + 0x240]
mov qword [rsp + 0x30], 0x104
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
xor edx, edx
mov rcx, rbx
mov qword [rsp + 0x20], r14
call fcn.14000846c
cmp word [rbp + 0x240], 0x5f
setne al
mov byte [rdi + 0x218], al
test al, al
jne 0x1400044e5
mov rax, qword [rdi + 8]
mov r8d, dword [rax + 8]
shr r8d, 2
test r8b, 1
je 0x1400044e5
lea rax, str.Safe_mode:_skip_optional_plugin__S
lea r8d, [r14 + 0x41]
mov rcx, qword [rdi]
lea rdx, str.C:dvsp4_build_swgcomp_relgs_03_40_srcNvContainercontainerNvcPluginManager.cpp
mov r9d, 2
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
call fcn.140006d00
xor al, al
jmp 0x140004947
movaps xmm0, xmmword [str.SOFTWARENVIDIA_CorporationNvContainer_s]
movaps xmm1, xmmword [0x140036c60]
mov eax, dword [0x140036ca0]
mov dword [rbp - 0x50], eax
movzx eax, word [0x140036ca4]
lea r9, [rbp + 0x240]
movaps xmmword [rsp + 0x60], xmm0
movaps xmm0, xmmword [0x140036c70]
movaps xmmword [rsp + 0x70], xmm1
lea r8, [rsp + 0x60]
lea rcx, [rbp + 0x450]
mov edx, 0x80
movaps xmm1, xmmword [0x140036c80]
movaps xmmword [rbp - 0x80], xmm0
movaps xmm0, xmmword [0x140036c90]
mov word [rbp - 0x4c], ax
movaps xmmword [rbp - 0x60], xmm0
movaps xmmword [rbp - 0x70], xmm1
call fcn.1400054d0
lea rax, [rsp + 0x50]
lea r8, str.DisableLoad
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x54]
lea rdx, [rbp + 0x450]
mov qword [rsp + 0x28], rax
mov r9d, 0x10
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x54], r14d
mov dword [rsp + 0x50], 4
mov qword [rsp + 0x20], r14
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x1400045b3
cmp dword [rsp + 0x54], r14d
je 0x1400045b3
lea rax, str.Disable_loading_of_plugin__S
mov r8d, 0x54
jmp 0x1400044bf
mov qword [rsp + 0x690], rsi
call qword [sym.imp.KERNEL32.dll_GetErrorMode]
mov ecx, eax
mov esi, eax
or ecx, 1
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
mov eax, dword [0x140036d48]
lea rcx, [rbp + 0x32]
movaps xmm0, xmmword [str.SOFTWARENVIDIA_CorporationNvContainerDllDirectories]
movaps xmm1, xmmword [0x140036cf0]
mov dword [rbp + 0x28], eax
movzx eax, word [0x140036d4c]
xor edx, edx
movaps xmmword [rbp - 0x40], xmm0
movaps xmm0, xmmword [0x140036d00]
movaps xmmword [rbp - 0x30], xmm1
mov r8d, 0x206
mov word [rbp + 0x30], r14w
mov word [rbp + 0x2c], ax
movaps xmm1, xmmword [0x140036d10]
movaps xmmword [rbp - 0x20], xmm0
movaps xmm0, xmmword [0x140036d20]
movaps xmmword [rbp - 0x10], xmm1
movaps xmm1, xmmword [0x140036d30]
movaps xmmword [rbp], xmm0
movsd xmm0, qword [0x140036d40]
movsd qword [rbp + 0x20], xmm0
movaps xmmword [rbp + 0x10], xmm1
call fcn.140009820
lea rax, [rsp + 0x50]
lea r8, [rbp + 0x240]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x30]
lea rdx, [rbp - 0x40]
mov qword [rsp + 0x28], rax
mov r9d, 2
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], r14
mov dword [rsp + 0x50], 0x208
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x1400046f4
cmp word [rbp + 0x30], r14w
je 0x1400046f4
lea rcx, [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
test eax, eax
je 0x1400046ba
lea rax, [rbp + 0x30]
mov r9d, 3
mov qword [rsp + 0x28], rax
lea rax, str.Add_DLL_directory__S_to_the_search_path
lea r8d, [r9 + 0x68]
jmp 0x140004709
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rdi]
mov r9d, 1
mov dword [rsp + 0x30], eax
lea rax, [rbp + 0x30]
lea r8d, [r9 + 0x6e]
mov qword [rsp + 0x28], rax
lea rax, str.Failed_to_add_DLL_directory__S_to_the_search_path._Error__lu
lea rdx, str.C:dvsp4_build_swgcomp_relgs_03_40_srcNvContainercontainerNvcPluginManager.cpp
mov qword [rsp + 0x20], rax
call fcn.140006d00
jmp 0x14000471d
mov r9d, 4
mov dword [rsp + 0x28], eax
lea rax, str.Use_default_DLL_search_path__result__ld_
lea r8d, [r9 + 0x70]
mov rcx, qword [rdi]
lea rdx, str.C:dvsp4_build_swgcomp_relgs_03_40_srcNvContainercontainerNvcPluginManager.cpp
mov qword [rsp + 0x20], rax
call fcn.140006d00
mov rcx, qword [rdi]
lea rax, str.Load_library_for__S
lea rdx, str.C:dvsp4_build_swgcomp_relgs_03_40_srcNvContainercontainerNvcPluginManager.cpp
mov r9d, 3
mov r8d, 0x89
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
call fcn.140006d00
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
xor ecx, ecx
mov qword [rdi + 0x220], rax
call qword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
cmp qword [rdi + 0x220], r14
jne 0x1400047af
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rdi]
lea rdx, str.C:dvsp4_build_swgcomp_relgs_03_40_srcNvContainercontainerNvcPluginManager.cpp
mov dword [rsp + 0x30], eax
lea rax, str.Failed_to_load_library__S._Error__lu
mov r9d, 1
mov r8d, 0x90
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
call fcn.140006d00
xor al, al
jmp 0x14000493f
mov rcx, qword [rdi]
lea rax, str.Loaded__S
lea rdx, str.C:dvsp4_build_swgcomp_relgs_03_40_srcNvContainercontainerNvcPluginManager.cpp
mov r9d, 3
mov r8d, 0x94
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
call fcn.140006d00
mov rcx, qword [rdi + 0x220]
lea rdx, str.NvPluginGetInfo
mov sil, 1
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rdi]
mov qword [rsp + 0x28], rbx
mov r14, rax
lea rdx, str.C:dvsp4_build_swgcomp_relgs_03_40_srcNvContainercontainerNvcPluginManager.cpp
test rax, rax
jne 0x14000481f
lea rax, str.NvPluginGetInfo_is_not_exported_by__S
lea r9d, [r14 + 2]
mov r8d, 0x9c
jmp 0x140004926
lea rax, str.Query_plugin_information_for__S
mov r9d, 4
mov r8d, 0xa1
mov qword [rsp + 0x20], rax
call fcn.140006d00
call r14
test rax, rax
je 0x140004904
cmp dword [rax], 0
je 0x140004904
movups xmm0, xmmword [rax]
lea rbx, [rdi + 0x270]
mov edx, 0x40
mov rcx, rbx
movups xmmword [rdi + 0x228], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x238], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rdi + 0x248], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rdi + 0x258], xmm1
movsd xmm0, qword [rax + 0x40]
movsd qword [rdi + 0x268], xmm0
mov r8, qword [rdi + 0x230]
call fcn.140009b2c
cmp byte [rdi + 0x218], 0
lea rax, str.mandatory
lea rcx, str.optional
lea rdx, str.C:dvsp4_build_swgcomp_relgs_03_40_srcNvContainercontainerNvcPluginManager.cpp
mov r9d, 3
cmovne rcx, rax
mov eax, dword [rdi + 0x228]
mov r8d, 0xba
mov dword [rsp + 0x38], eax
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rcx
mov rcx, qword [rdi]
lea rax, str.Loaded__s_plugin__s__version__u
mov qword [rsp + 0x20], rax
call fcn.140006d00
mov dword [rdi + 0x2b4], 1
jmp 0x14000493b
mov rcx, qword [rdi]
mov qword [rsp + 0x28], rbx
lea rax, str.NvPluginGetInfo_for__S_returned_invalid_plugin_descriptor
mov r9d, 1
mov r8d, 0xa8
lea rdx, str.C:dvsp4_build_swgcomp_relgs_03_40_srcNvContainercontainerNvcPluginManager.cpp
mov qword [rsp + 0x20], rax
call fcn.140006d00
mov rcx, rdi
xor sil, sil
call fcn.140005400
movzx eax, sil
mov rsi, qword [rsp + 0x690]
mov rcx, qword [rbp + 0x550]
xor rcx, rsp
call fcn.1400097f0
mov rbx, qword [rsp + 0x698]
add rsp, 0x660
pop r14
pop rdi
pop rbp
ret