Function at 0x14000bd20
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 [0x140123108]
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 [0x1400fc250]
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.140087fe0
mov edx, 0x400
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x14000bde7
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.140060914
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 [case.0x140050ed0.0]
jmp 0x14000c0c8
lea rax, [rbp + 0x10]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], bx
jne 0x14000bdef
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x48]
call fcn.140001a78
mov r8, r15
lea rdx, [0x1400e5f90]
lea rcx, [rsp + 0x48]
call fcn.14000f758
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.14006390c
mov ecx, eax
sub ecx, 5
je 0x14000be8d
sub ecx, 1
je 0x14000be7f
sub ecx, 1
je 0x14000be8d
sub ecx, 1
je 0x14000be7f
sub ecx, 1
je 0x14000be8d
sub ecx, 1
je 0x14000be7f
sub ecx, 1
je 0x14000be8d
cmp ecx, 1
lea rsi, str.NV4_DISP.DLL
jne 0x14000be86
lea rsi, str.NVD3DUMX.DLL
mov edi, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
jmp 0x14000be99
lea rsi, str.NVD3DUM.DLL
mov edi, VariantTimeToDosDateTime
mov r8d, 9
lea rdx, str.NVCPL.DLL
lea rcx, [rbp - 0x18]
call fcn.14000f758
mov r8, rdi
mov rdx, rsi
lea rcx, [rbp - 0x38]
call fcn.14000f758
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x48], xmm0
movdqa xmm1, xmmword [0x1400fc250]
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.14000b8c8
test al, al
jne 0x14000bf24
mov byte [r14], bl
call fcn.140060914
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 [case.0x140050ed0.0]
lea rcx, [rbp - 0x38]
cmp qword [rbp - 0x20], 8
cmovae rcx, qword [rbp - 0x38]
lea rdx, [rbp - 0x78]
call fcn.14000b8c8
test al, al
jne 0x14000bf42
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 0x14000bfa7
test rdx, rdx
je 0x14000c100
movzx r8d, word [rcx]
movzx r9d, word [rax]
cmp r8w, r9w
jb 0x14000bfa7
sub rcx, rax
cmp r8w, r9w
ja 0x14000bfa7
cmp rdx, r15
je 0x14000c100
sub rdx, r15
add rax, 2
movzx r8d, word [rax + rcx]
movzx r9d, word [rax]
cmp r8w, r9w
jae 0x14000bf86
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x78], xmm0
movdqa xmm1, xmmword [0x1400fc250]
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, [0x1400e5f90]
lea rcx, [rsp + 0x68]
call fcn.14000f758
mov r8d, 7
lea rdx, str.NVTweak
lea rcx, [rsp + 0x68]
call fcn.14000f758
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 0x14000c090
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.1400697f0
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.140060914
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 [case.0x140050ed0.0]
mov bl, r15b
jmp 0x14000c0a0