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

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x838]
sub rsp, 0x920
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140126108]
xor rax, rsp
mov qword [rbp + 0x810], rax
mov r14, rcx
mov r15d, 1
mov byte [rcx], r15b
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
movdqa xmm1, xmmword [0x1400fea00]
movdqu xmmword [rsp + 0x58], xmm1
xor ebx, ebx
mov word [rsp + 0x48], bx
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0x10]
call fcn.140089b10
mov edx, 0x400
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x14000bc0f
lea rax, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rax, qword [rsp + 0x48]
mov qword [rsp + 0x58], rbx
mov word [rax], bx
call fcn.140062444
mov rcx, qword [rax]
mov rax, qword [rcx]
lea r8, str.GetDriverFileInfo_cannot_get_the_system_dir
mov edx, r15d
mov rax, qword [rax + 0x38]
call qword [str._K_f_]
jmp 0x14000bef0
lea rax, [rbp + 0x10]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], bx
jne 0x14000bc17
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x48]
call fcn.140001a78
mov r8, r15
lea rdx, [0x1400e7f50]
lea rcx, [rsp + 0x48]
call fcn.14000f738
xorps xmm0, xmm0
movdqu xmmword [rbp - 8], xmm0
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x18]
call fcn.140001ae4
nop
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x28], xmm0
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x38]
call fcn.140001ae4
nop
call fcn.14006543c
mov ecx, eax
sub ecx, 5
je 0x14000bcb5
sub ecx, 1
je 0x14000bca7
sub ecx, 1
je 0x14000bcb5
sub ecx, 1
je 0x14000bca7
sub ecx, 1
je 0x14000bcb5
sub ecx, 1
je 0x14000bca7
sub ecx, 1
je 0x14000bcb5
cmp ecx, 1
lea rsi, str.NV4_DISP.DLL
jne 0x14000bcae
lea rsi, str.NVD3DUMX.DLL
mov edi, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
jmp 0x14000bcc1
lea rsi, str.NVD3DUM.DLL
mov edi, VariantTimeToDosDateTime
mov r8d, 9
lea rdx, str.NVCPL.DLL
lea rcx, [rbp - 0x18]
call fcn.14000f738
mov r8, rdi
mov rdx, rsi
lea rcx, [rbp - 0x38]
call fcn.14000f738
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x48], xmm0
movdqa xmm1, xmmword [0x1400fea00]
movdqu xmmword [rbp - 0x48], xmm1
mov word [rbp - 0x58], bx
movdqu xmmword [rbp - 0x68], xmm0
movdqu xmmword [rbp - 0x68], xmm1
mov word [rbp - 0x78], bx
lea rcx, [rbp - 0x18]
cmp qword [rbp], 8
cmovae rcx, qword [rbp - 0x18]
lea rdx, [rbp - 0x58]
call fcn.14000b6f0
test al, al
jne 0x14000bd4c
mov byte [r14], bl
call fcn.140062444
mov rcx, qword [rax]
mov rax, qword [rcx]
lea r8, str.Cannot_find_nvcpl.dll
mov edx, 2
mov rax, qword [rax + 0x38]
call qword [str._K_f_]
lea rcx, [rbp - 0x38]
cmp qword [rbp - 0x20], 8
cmovae rcx, qword [rbp - 0x38]
lea rdx, [rbp - 0x78]
call fcn.14000b6f0
test al, al
jne 0x14000bd6a
mov byte [r14], bl
lea rax, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae rax, qword [rbp - 0x78]
lea rcx, [rbp - 0x58]
cmp qword [rbp - 0x40], 8
cmovae rcx, qword [rbp - 0x58]
mov rdx, qword [rbp - 0x48]
cmp rdx, qword [rbp - 0x68]
jne 0x14000bdcf
test rdx, rdx
je 0x14000bf28
movzx r8d, word [rcx]
movzx r9d, word [rax]
cmp r8w, r9w
jb 0x14000bdcf
sub rcx, rax
cmp r8w, r9w
ja 0x14000bdcf
cmp rdx, r15
je 0x14000bf28
sub rdx, r15
add rax, 2
movzx r8d, word [rax + rcx]
movzx r9d, word [rax]
cmp r8w, r9w
jae 0x14000bdae
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x78], xmm0
movdqa xmm1, xmmword [0x1400fea00]
movdqu xmmword [rsp + 0x78], xmm1
mov word [rsp + 0x68], bx
mov r8d, 0x22
lea rdx, str.SOFTWARENVIDIA_CorporationGlobal
lea rcx, [rsp + 0x68]
call fcn.140001a78
nop
mov r8, r15
lea rdx, [0x1400e7f50]
lea rcx, [rsp + 0x68]
call fcn.14000f738
mov r8d, 7
lea rdx, str.NVTweak
lea rcx, [rsp + 0x68]
call fcn.14000f738
lea rdx, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae rdx, qword [rsp + 0x68]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, ebx
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x34], 4
test eax, eax
jne 0x14000beb8
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.DisableVersionCheck
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [rsp + 0x30]
test eax, eax
cmovne ecx, ebx
mov dword [rsp + 0x30], ecx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [rsp + 0x30]
test ecx, ecx
setne bl
lea rcx, [rsp + 0x68]
call fcn.140001a14
nop
lea rcx, [rbp - 0x78]
call fcn.140001a14
nop
lea rcx, [rbp - 0x58]
call fcn.140001a14
nop
lea rcx, [rbp - 0x38]
call fcn.140001a14
nop
lea rcx, [rbp - 0x18]
call fcn.140001a14
nop
lea rcx, [rsp + 0x48]
call fcn.140001a14
mov al, bl
mov rcx, qword [rbp + 0x810]
xor rcx, rsp
call fcn.14006b320
lea r11, [rsp + 0x920]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.140062444
nop
mov rcx, qword [rax]
mov rax, qword [rcx]
lea r8, str.nvcpl.dll_and_nv4_disp.dll_match
mov edx, 2
mov rax, qword [rax + 0x38]
call qword [str._K_f_]
mov bl, r15b
jmp 0x14000bec8