Function at 0x140007690
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rbp
push rbx
push rsi
push rdi
lea rbp, [r11 - 0xcc8]
sub rsp, 0xda8
mov rax, qword [0x14008c320]
xor rax, rsp
mov qword [rbp + 0xc80], rax
mov qword [r11 + 0x18], r12
mov rdi, rcx
mov r12, rdx
mov qword [r11 - 0x28], r13
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x80
mov r13b, 1
xor esi, esi
call fcn.140015d80
mov rcx, r12
call qword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
je 0x140007731
lea rdx, [rbp + 0x270]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x140007731
lea r8, [0x140074418]
mov edx, 0x104
lea rcx, [rbp + 0x270]
call fcn.14004c5e4
mov r8, r12
lea rcx, [rbp + 0x270]
mov edx, 0x104
call fcn.14004c5e4
lea r12, [rbp + 0x270]
call qword [sym.imp.KERNEL32.dll_GetErrorMode]
mov ecx, eax
mov dword [rsp + 0x40], eax
or ecx, 1
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
xor edx, edx
mov rcx, r12
lea r8d, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov qword [rsp + 0x50], rax
test rax, rax
je 0x140007a76
cmp qword [rdi + 0x2d8], rsi
je 0x1400077ac
lea rcx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov rcx, qword [rbp - 0x20]
movabs rax, 0xcccccccccccccccd
sub rcx, qword [rsp + 0x48]
mul rcx
mov rax, qword [rdi + 0x2d8]
shr rdx, 3
mov dword [rax + 0x3c], edx
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0xd98], r14
lea r8, [rbp + 0x480]
mov r9d, 0x400
mov qword [rsp + 0xd90], r15
mov edx, 0x29bb
mov rcx, rax
call qword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x140007a56
movabs rax, 0x20003b002c
lea r8, [rsp + 0x58]
lea rdx, [rbp - 0x20]
mov qword [rbp - 0x20], rax
lea rcx, [rbp + 0x480]
call fcn.14004c7c8
mov rbx, rax
test rax, rax
je 0x140007a52
lea r14, str.Dependency_module__S_has_been_loaded_already
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000784d
mov rcx, qword [rdi]
lea rdx, str.C:dvsp4_build_swgcompdev_srcNvContainercontainerNvcPluginManager.cpp
mov qword [rsp + 0x28], rbx
mov r9d, 3
mov r8d, 0xde
mov qword [rsp + 0x20], r14
call fcn.140012d40
jmp 0x1400079f5
cmp esi, 0x10
jae 0x140007a13
movaps xmm0, xmmword [str.SOFTWARENVIDIA_CorporationNvContainerModuleMap]
lea rcx, [rbp + 0x60]
movaps xmm1, xmmword [0x1400744e0]
xor edx, edx
mov eax, dword [0x140074530]
mov r8d, 0x208
movaps xmmword [rbp - 0x10], xmm0
xor r14d, r14d
movaps xmm0, xmmword [0x1400744f0]
movaps xmmword [rbp], xmm1
movaps xmm1, xmmword [0x140074500]
movaps xmmword [rbp + 0x10], xmm0
movaps xmm0, xmmword [0x140074510]
movaps xmmword [rbp + 0x20], xmm1
movaps xmm1, xmmword [0x140074520]
movaps xmmword [rbp + 0x30], xmm0
movaps xmmword [rbp + 0x40], xmm1
mov dword [rbp + 0x50], eax
call fcn.140015d80
lea rax, [rsp + 0x48]
mov dword [rsp + 0x48], 0x208
mov qword [rsp + 0x30], rax
lea r9d, [r14 + 2]
lea rax, [rbp + 0x60]
mov r8, rbx
mov qword [rsp + 0x28], rax
lea rdx, [rbp - 0x10]
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], r14
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov r15d, eax
test eax, eax
jne 0x14000799a
cmp word [rbp + 0x60], r14w
je 0x14000799a
xor r8d, r8d
lea rdx, [rbp + 0x60]
mov rcx, rdi
call fcn.1400074b0
mov r14, rax
test rax, rax
je 0x140007949
mov rcx, qword [rdi]
lea rax, str.Loaded_dependency_module__S
mov qword [rsp + 0x28], rbx
lea r9d, [r15 + 3]
mov r8d, 0x92
mov qword [rsp + 0x20], rax
lea rdx, str.C:dvsp4_build_swgcompdev_srcNvContainercontainerNvcPluginManager.cpp
call fcn.140012d40
jmp 0x1400079e2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rdi]
lea r15, str.Failed_to_load_dependency__S._Error__lu
mov dword [rsp + 0x30], eax
lea rdx, str.C:dvsp4_build_swgcompdev_srcNvContainercontainerNvcPluginManager.cpp
lea rax, [rbp + 0x60]
mov r9d, 1
mov qword [rsp + 0x28], rax
mov r8d, 0x99
mov qword [rsp + 0x20], r15
call fcn.140012d40
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8, [rbp + 0x60]
mov rdx, r15
mov r9d, eax
mov ecx, 0x1d
jmp 0x1400079dd
mov rcx, qword [rdi]
lea rax, str.Failed_to_map_module__S__result__ld_
mov dword [rsp + 0x30], r15d
lea rdx, str.C:dvsp4_build_swgcompdev_srcNvContainercontainerNvcPluginManager.cpp
mov qword [rsp + 0x28], rbx
mov r9d, 1
mov r8d, 0xa2
mov qword [rsp + 0x20], rax
call fcn.140012d40
mov r9d, r15d
lea rdx, str.Failed_to_map_module__S__result__ld_
mov r8, rbx
mov ecx, 0x1f
call fcn.140004740
mov qword [rsp + rsi*8 + 0x60], r14
test r14, r14
je 0x140007a4f
inc esi
lea r14, str.Dependency_module__S_has_been_loaded_already
lea r8, [rsp + 0x58]
xor ecx, ecx
lea rdx, [rbp - 0x20]
call fcn.14004c7c8
mov rbx, rax
test rax, rax
jne 0x140007815
jmp 0x140007a52
mov rcx, qword [rdi]
lea rbx, str.Dependency_count_exceeded_maximum_for__S
mov qword [rsp + 0x28], r12
lea rdx, str.C:dvsp4_build_swgcompdev_srcNvContainercontainerNvcPluginManager.cpp
mov r9d, 1
mov qword [rsp + 0x20], rbx
mov r8d, 0xe7
call fcn.140012d40
mov r8, r12
mov rdx, rbx
mov ecx, 0x20
call fcn.140004740
xor r13b, r13b
mov ebx, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov r15, qword [rsp + 0xd90]
mov r14, qword [rsp + 0xd98]
test r13b, r13b
je 0x140007a8b
mov r8b, 1
mov rdx, r12
mov rcx, rdi
call fcn.1400074b0
mov qword [rdi + 0x220], rax
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
mov r13, qword [rsp + 0xda0]
mov r12, qword [rsp + 0xde0]
test esi, esi
je 0x140007ac3
lea rbx, [rsp + 0x60]
nop dword [rax]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea rbx, [rbx + 8]
sub rsi, 1
jne 0x140007ab0
cmp qword [rdi + 0x220], 0
setne al
mov rcx, qword [rbp + 0xc80]
xor rcx, rsp
call fcn.1400141d0
add rsp, 0xda8
pop rdi
pop rsi
pop rbx
pop rbp
ret