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

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x828]
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 [0x1401620b0]
xor rax, rsp
mov qword [rbp + 0x810], rax
mov rdi, rcx
mov esi, 1
mov byte [rcx], sil
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
movdqa xmm1, xmmword [0x14012d4d0]
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.1400b6460
mov edx, 0x400
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x140044821
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.14008d174
mov rcx, qword [rax]
mov rax, qword [rcx]
lea r8, str.GetDriverFileInfo_cannot_get_the_system_dir
mov edx, esi
mov rax, qword [rax + 0x38]
call qword [case.0x14007ca24.0]
jmp 0x140044b01
lea rax, [rbp + 0x10]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], bx
jne 0x140044829
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x48]
call fcn.140005dd4
mov r8, rsi
lea rdx, [0x14011b1f8]
lea rcx, [rsp + 0x48]
call fcn.140004c90
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x38]
call fcn.140004d88
nop
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x58]
call fcn.140004d88
nop
call fcn.140093a9c
mov ecx, eax
sub ecx, 5
je 0x1400448ec
sub ecx, 1
je 0x1400448c7
sub ecx, 1
je 0x1400448ec
sub ecx, 1
je 0x1400448c7
sub ecx, 1
je 0x1400448ec
sub ecx, 1
je 0x1400448c7
sub ecx, 1
je 0x1400448ec
cmp ecx, 1
je 0x1400448c7
mov r8d, 9
lea rdx, str.NVCPL.DLL
lea rcx, [rbp - 0x38]
call fcn.140004c90
mov r8d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea rdx, str.NV4_DISP.DLL
jmp 0x14004490f
mov r8d, 9
lea rdx, str.NVCPL.DLL
lea rcx, [rbp - 0x38]
call fcn.140004c90
mov r8d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea rdx, str.NVD3DUMX.DLL
jmp 0x14004490f
mov r8d, 9
lea rdx, str.NVCPL.DLL
lea rcx, [rbp - 0x38]
call fcn.140004c90
mov r8d, ntohl
lea rdx, str.NVD3DUM.DLL
lea rcx, [rbp - 0x58]
call fcn.140004c90
nop
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x68], xmm0
movdqa xmm1, xmmword [0x14012d4d0]
movdqu xmmword [rbp - 0x68], xmm1
mov word [rbp - 0x78], bx
movdqu xmmword [rsp + 0x78], xmm0
movdqu xmmword [rsp + 0x78], xmm1
mov word [rsp + 0x68], bx
lea rcx, [rbp - 0x38]
cmp qword [rbp - 0x20], 8
cmovae rcx, qword [rbp - 0x38]
lea rdx, [rbp - 0x78]
call fcn.1400443b8
test al, al
jne 0x140044981
mov byte [rdi], bl
call fcn.14008d174
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.0x14007ca24.0]
lea rcx, [rbp - 0x58]
cmp qword [rbp - 0x40], 8
cmovae rcx, qword [rbp - 0x58]
lea rdx, [rsp + 0x68]
call fcn.1400443b8
test al, al
jne 0x14004499f
mov byte [rdi], bl
lea rax, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae rax, qword [rsp + 0x68]
lea rcx, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae rcx, qword [rbp - 0x78]
mov rdx, qword [rbp - 0x68]
cmp rdx, qword [rsp + 0x78]
jne 0x140044a07
test rdx, rdx
je 0x140044b36
movzx r8d, word [rcx]
movzx r9d, word [rax]
cmp r8w, r9w
jb 0x140044a07
sub rcx, rax
cmp r8w, r9w
ja 0x140044a07
cmp rdx, rsi
je 0x140044b36
sub rdx, rsi
add rax, 2
movzx r8d, word [rcx + rax]
movzx r9d, word [rax]
cmp r8w, r9w
jae 0x1400449e6
lea rdx, str.SOFTWARENVIDIA_CorporationGlobal
lea rcx, [rbp - 0x18]
call fcn.140009898
nop
mov r8, rsi
lea rdx, [0x14011b1f8]
lea rcx, [rbp - 0x18]
call fcn.140004c90
mov r8d, 7
lea rdx, str.NVTweak
lea rcx, [rbp - 0x18]
call fcn.140004c90
lea rdx, [rbp - 0x18]
cmp qword [rbp], 8
cmovae rdx, qword [rbp - 0x18]
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 0x140044ac9
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, [rbp - 0x18]
call fcn.140005cfc
nop
lea rcx, [rsp + 0x68]
call fcn.140005cfc
nop
lea rcx, [rbp - 0x78]
call fcn.140005cfc
nop
lea rcx, [rbp - 0x58]
call fcn.140005cfc
nop
lea rcx, [rbp - 0x38]
call fcn.140005cfc
nop
lea rcx, [rsp + 0x48]
call fcn.140005cfc
nop
mov al, bl
mov rcx, qword [rbp + 0x810]
xor rcx, rsp
call fcn.140097440
lea r11, [rsp + 0x920]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.14008d174
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.0x14007ca24.0]
mov bl, sil
jmp 0x140044ad8