Function at 0x1400a2a30
Capabilities:
Check if file exists
Get file attributes
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0x1f0]
sub rsp, 0x2f0
mov rax, qword [0x140278eb8]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
mov rdi, rcx
xor r14d, r14d
xor ecx, ecx
mov r13d, r14d
mov r12d, r14d
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rdi, rdi
je 0x1400a318d
mov rsi, 0xffffffffffffffff
mov edx, r14d
mov rax, rsi
inc rax
cmp word [rdi + rax*2], dx
jne 0x1400a2a87
test rax, rax
je 0x1400a2ac4
mov rcx, r14
nop dword [rax + rax]
movzx r8d, word [rdi + rcx*2]
cmp r8w, 0x5c
je 0x1400a318d
cmp r8w, 0x2f
je 0x1400a318d
inc edx
mov ecx, edx
cmp rcx, rax
jb 0x1400a2aa0
mov qword [rsp + 0x328], rbx
mov ecx, 0x42ea
mov qword [rsp + 0x330], r15
call fcn.1400a0220
test eax, eax
je 0x1400a2ca8
xor edx, edx
lea rcx, [rbp - 0x2e]
mov r8d, 0x208
call fcn.140187880
mov rax, qword [str.nvldumdx.dll]
mov word [rbp - 0x30], r14w
test rax, rax
je 0x1400a2b91
lea r15, str.nvldumdx.dll
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400a2b7a
mov r8d, 0x104
lea rdx, [rbp - 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ebx, eax
test eax, eax
je 0x1400a2b7a
movzx eax, word [rbp - 0x30]
cmp eax, 0x5c
je 0x1400a2c48
cmp eax, 0x2f
je 0x1400a2c48
mov ecx, eax
call fcn.1401b4860
test eax, eax
je 0x1400a2b7a
cmp word [rbp - 0x2e], 0x3a
jne 0x1400a2b7a
movzx eax, word [rbp - 0x2c]
cmp ax, 0x5c
je 0x1400a2c48
cmp ax, 0x2f
je 0x1400a2c48
mov rax, qword [r15 + r14*8 + 8]
inc r14
test rax, rax
jne 0x1400a2b13
xor r14d, r14d
cmp word [rbp - 0x30], r12w
jne 0x1400a2b9a
lea rcx, [rbp - 0x30]
call fcn.14009e640
lea rax, [rbp - 0x30]
mov rcx, rsi
inc rcx
cmp word [rax + rcx*2], r12w
jne 0x1400a2ba1
mov rdx, rsi
nop
inc rdx
cmp word [rdi + rdx*2], r12w
jne 0x1400a2bb0
test rcx, rcx
je 0x1400a2bd8
cmp word [rbp + rcx*2 - 0x32], 0x5c
je 0x1400a2bd8
test rdx, rdx
je 0x1400a2bd8
cmp word [rdi], 0x5c
je 0x1400a2bd8
mov r14d, 1
mov eax, r14d
add rax, rdx
add rax, rcx
mov ecx, 0x40
lea r15, [rax*2 + 2]
mov rdx, r15
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
test rax, rax
je 0x1400a2c86
lea r8, [rbp - 0x30]
mov rdx, r15
mov rcx, rax
call fcn.1400a1390
test eax, eax
js 0x1400a2c34
test r14d, r14d
je 0x1400a2c71
lfence
lea r8, [0x14020cbec]
mov rdx, r15
mov rcx, rbx
call fcn.1400a12b0
test eax, eax
jns 0x1400a2c71
lfence
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor r14d, r14d
mov ebx, r14d
jmp 0x1400a2c89
test ebx, ebx
je 0x1400a2c63
lea rcx, [rbp - 0x30]
lea rcx, [rcx + rbx*2]
cmp word [rcx], 0x5c
je 0x1400a2c63
sub rcx, 2
add ebx, 0xffffffff
jne 0x1400a2c54
xor r14d, r14d
mov word [rbp + rbx*2 - 0x30], r14w
jmp 0x1400a2b8a
lfence
mov r8, rdi
mov rdx, r15
mov rcx, rbx
call fcn.1400a12b0
test eax, eax
js 0x1400a2c34
xor r14d, r14d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400a2c9f
test al, 0x50
je 0x1400a314a
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
xorps xmm0, xmm0
mov qword [rsp + 0x48], r14
movups xmmword [rsp + 0x70], xmm0
xor ecx, ecx
mov dword [rsp + 0x70], 0x20
mov rbx, r14
mov r13, r14
movups xmmword [rbp - 0x80], xmm0
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [0x14027caa0]
test rax, rax
jne 0x1400a2cf9
xor edx, edx
lea rcx, str.Setupapi.dll
call fcn.1400a0450
mov qword [0x14027caa0], rax
test rax, rax
je 0x1400a2e1f
cmp qword [0x14027cac0], r12
jne 0x1400a2d29
lea rdx, str.SetupDiGetDeviceRegistryPropertyW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14027cac0], rax
test rax, rax
je 0x1400a2e1f
mov rax, qword [0x14027caa0]
cmp qword [0x14027cad0], r12
jne 0x1400a2d52
lea rdx, str.SetupDiDestroyDeviceInfoList
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14027cad0], rax
test rax, rax
je 0x1400a2e1f
lea r8, [rsp + 0x70]
xor ecx, ecx
lea rdx, [rsp + 0x48]
call fcn.14009e2b0
test eax, eax
je 0x1400a314a
lea rax, [rsp + 0x40]
mov dword [rsp + 0x40], r14d
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x70]
xor r9d, r9d
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r14
mov r14, qword [rsp + 0x48]
mov rcx, r14
lea r8d, [r9 + 9]
call qword [0x14027cac0]
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x1400a2df8
mov edx, eax
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
test rax, rax
je 0x1400a2df8
mov eax, dword [rsp + 0x40]
lea rdx, [rsp + 0x70]
xor r9d, r9d
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], eax
mov rcx, r14
mov qword [rsp + 0x20], rbx
lea r8d, [r9 + 9]
call qword [0x14027cac0]
test eax, eax
je 0x1400a2df8
mov rdx, rbx
lea rcx, str.SYSTEMCurrentControlSetControlClass_
call fcn.1400a0fd0
mov r13, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
test r14, r14
je 0x1400a2e0f
mov rcx, r14
call qword [0x14027cad0]
test r13, r13
je 0x1400a2e1c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor r14d, r14d
mov rbx, r14
test r13, r13
je 0x1400a314a
mov rcx, rdi
call fcn.14009d420
mov r12, rax
test rax, rax
je 0x1400a314a
nop
cmp word [rax + rsi*2 + 2], 0
lea rsi, [rsi + 1]
jne 0x1400a2e40
lea rdi, [rax + rsi*2]
mov edx, 0x2e
mov rax, rdi
cmp r12, rdi
jae 0x1400a2e7a
mov r8d, 0x5c
movzx ecx, word [rax]
cmp r8w, cx
je 0x1400a2e7a
cmp dx, cx
je 0x1400a2e7a
sub rax, 2
cmp r12, rax
jb 0x1400a2e63
cmp dx, word [rax]
lea rdx, str..dll
cmove rdi, rax
mov rcx, rdi
call fcn.1401b4d54
test eax, eax
je 0x1400a2eab
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1400a2eab
xor edx, edx
mov rcx, r12
call fcn.14009db10
mov rbx, rax
lea rdx, str..sys
mov rcx, rdi
call fcn.1401b4d54
test eax, eax
je 0x1400a3110
test rbx, rbx
jne 0x1400a314a
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1400a2f1c
lea rax, str.UserModeDriverName
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x58], rax
lea r9, [rbp - 0x58]
lea rax, str.OpenGLDriverName
mov r8, r13
mov qword [rbp - 0x50], rax
mov rdx, 0xffffffff80000002
lea rax, str.UserModeDListDriverName
mov rcx, r12
mov qword [rbp - 0x48], rax
call fcn.14009dfb0
mov rbx, rax
test rax, rax
jne 0x1400a314a
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1400a3115
lea rax, str.SOFTWAREKhronosVulkanDrivers
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x70], rax
lea r15, [rbp - 0x70]
lea rax, str.SOFTWAREKhronosOpenCLVendors
mov qword [rsp + 0x48], r15
mov qword [rbp - 0x68], rax
mov rbx, r14
mov rax, qword [0x14027cb40]
mov qword [rsp + 0x58], r14
test rax, rax
jne 0x1400a2f7f
xor edx, edx
lea rcx, str.Advapi32.dll
call fcn.1400a0450
mov qword [0x14027cb40], rax
test rax, rax
je 0x1400a3115
cmp qword [0x14027cb48], 0
jne 0x1400a2fb0
lea rdx, str.RegOpenKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14027cb48], rax
test rax, rax
je 0x1400a3115
mov rax, qword [0x14027cb40]
cmp qword [0x14027cb50], 0
jne 0x1400a2fe1
lea rdx, str.RegEnumValueW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14027cb50], rax
test rax, rax
je 0x1400a3115
mov rax, qword [0x14027cb40]
cmp qword [0x14027cb60], 0
jne 0x1400a3010
lea rdx, str.RegCloseKey
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14027cb60], rax
test rax, rax
je 0x1400a3115
nop dword [rax + rax]
mov rdx, qword [r15]
test rdx, rdx
je 0x1400a310d
lea rax, [rsp + 0x58]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
call qword [0x14027cb48]
test eax, eax
jne 0x1400a30fb
mov edx, 0x10000
lea ecx, [rax + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rdi, rax
test rax, rax
je 0x1400a30f0
xor r15d, r15d
mov r14d, r15d
nop dword [rax]
nop dword [rax + rax]
xor edx, edx
mov dword [rsp + 0x50], 0x7fff
mov r8d, 0x8000
mov rcx, rdi
call fcn.140187880
mov rcx, qword [rsp + 0x58]
lea r9, [rsp + 0x50]
mov qword [rsp + 0x38], r15
mov r8, rdi
mov qword [rsp + 0x30], r15
mov edx, r14d
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
call qword [0x14027cb50]
inc r14d
mov esi, eax
test eax, eax
jne 0x1400a30d5
mov rdx, r12
mov rcx, rdi
call fcn.14009fe00
test eax, eax
je 0x1400a30d5
mov rcx, rdi
call fcn.1400a10e0
mov rbx, rax
test rbx, rbx
jne 0x1400a30e2
cmp esi, 0x103
jne 0x1400a3070
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov r15, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x58]
call qword [0x14027cb60]
add r15, 8
mov qword [rsp + 0x48], r15
test rbx, rbx
je 0x1400a3010
xor r14d, r14d
test rbx, rbx
jne 0x1400a314a
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1400a314a
lea rax, str.DriverSupportModules
mov qword [rsp + 0x68], r14
lea r9, [rsp + 0x60]
mov qword [rsp + 0x60], rax
mov r8, r13
mov rdx, 0xffffffff80000002
mov rcx, r12
call fcn.14009dfb0
mov rbx, rax
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov r15, qword [rsp + 0x330]
test rbx, rbx
je 0x1400a316d
xor ecx, ecx
jmp 0x1400a317a
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1400a3180
lea ecx, [rax + 0x7e]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rbx
mov rbx, qword [rsp + 0x328]
jmp 0x1400a319a
mov ecx, 0xa0
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.140157570
mov rsi, qword [rsp + 0x338]
add rsp, 0x2f0
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret