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

Disassembly:
push rbp
push rsi
push r13
push r14
push r15
lea rbp, [rsp - 0x200]
sub rsp, 0x300
mov rax, qword [0x140051020]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
mov rsi, rcx
xor r13d, r13d
xor ecx, ecx
mov r15d, r13d
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rsi, rsi
je 0x14000e856
mov r14, 0xffffffffffffffff
mov edx, r13d
mov rax, r14
inc rax
cmp word [rsi + rax*2], dx
jne 0x14000e0a0
test rax, rax
je 0x14000e0e4
mov rcx, r13
nop dword [rax]
nop word [rax + rax]
movzx r8d, word [rsi + rcx*2]
cmp r8w, 0x5c
je 0x14000e856
cmp r8w, 0x2f
je 0x14000e856
inc edx
mov ecx, edx
cmp rcx, rax
jb 0x14000e0c0
mov qword [rsp + 0x338], rbx
mov ecx, 0x42ea
mov qword [rsp + 0x340], rdi
mov qword [rsp + 0x348], r12
call fcn.14000fa10
test eax, eax
je 0x14000e33a
xor edx, edx
lea rcx, [rbp - 0x1e]
mov r8d, 0x208
call fcn.140019760
mov rax, qword [str.nvldumdx.dll]
mov word [rbp - 0x20], r13w
test rax, rax
je 0x14000e1cc
mov rdi, r13
lea r12, str.nvldumdx.dll
nop
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000e197
mov r8d, 0x104
lea rdx, [rbp - 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ebx, eax
test eax, eax
je 0x14000e197
movzx eax, word [rbp - 0x20]
cmp eax, 0x5c
je 0x14000e1a6
cmp eax, 0x2f
je 0x14000e1a6
mov ecx, eax
call fcn.140022750
test eax, eax
je 0x14000e197
cmp word [rbp - 0x1e], 0x3a
jne 0x14000e197
movzx eax, word [rbp - 0x1c]
cmp ax, 0x5c
je 0x14000e1a6
cmp ax, 0x2f
je 0x14000e1a6
mov rax, qword [r12 + rdi*8 + 8]
inc rdi
test rax, rax
jne 0x14000e140
jmp 0x14000e1c5
lea rcx, [rbp - 0x20]
lea rcx, [rcx + rbx*2]
nop
cmp word [rcx], 0x5c
je 0x14000e1bf
sub rcx, 2
add ebx, 0xffffffff
jne 0x14000e1b0
mov word [rbp + rbx*2 - 0x20], r13w
cmp word [rbp - 0x20], r13w
jne 0x14000e1d5
lea rcx, [rbp - 0x20]
call fcn.14000e890
lea rax, [rbp - 0x20]
mov rcx, r14
nop dword [rax]
inc rcx
cmp word [rax + rcx*2], r13w
jne 0x14000e1e0
mov rdx, r14
nop dword [rax]
inc rdx
cmp word [rsi + rdx*2], r13w
jne 0x14000e1f0
test rcx, rcx
je 0x14000e217
cmp word [rbp + rcx*2 - 0x22], 0x5c
je 0x14000e217
test rdx, rdx
je 0x14000e217
cmp word [rsi], 0x5c
mov edi, 1
jne 0x14000e21a
mov edi, r13d
mov eax, edi
add rax, rdx
add rax, rcx
mov ecx, 0x40
lea r12, [rax*2 + 2]
mov rdx, r12
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
test rax, rax
je 0x14000e31b
lea r8, [rbp - 0x20]
mov rdx, r12
mov rcx, rax
call fcn.14000b070
test eax, eax
js 0x14000e30c
test edi, edi
je 0x14000e2f7
mov r8, r12
shr r8, 1
lea rax, [r8 - 1]
cmp rax, 0x7ffffffe
ja 0x14000e30c
mov rcx, r8
mov rax, rbx
nop
cmp word [rax], r13w
je 0x14000e290
add rax, 2
sub rcx, 1
jne 0x14000e280
mov rax, r8
mov r9, r13
sub rax, rcx
test rcx, rcx
cmovne r9, rax
je 0x14000e30c
mov rdx, r8
lea rcx, [rbx + r9*2]
sub rdx, r9
je 0x14000e2e6
sub r9, r8
lea rax, [r9 + 0x7ffffffe]
add rax, rdx
lea r9, [0x1400496c4]
sub r9, rcx
test rax, rax
je 0x14000e2e6
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x14000e2e6
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x14000e2c5
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r13w
je 0x14000e30c
lfence
mov r8, rsi
mov rdx, r12
mov rcx, rbx
call fcn.14000b1b0
test eax, eax
jns 0x14000e31b
lfence
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rbx, r13
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000e331
test al, 0x50
je 0x14000e831
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
xorps xmm0, xmm0
mov qword [rsp + 0x58], r13
movups xmmword [rbp - 0x78], xmm0
xor ecx, ecx
mov dword [rbp - 0x78], 0x20
mov rbx, r13
mov qword [rsp + 0x60], r13
mov r12, r13
movups xmmword [rbp - 0x68], xmm0
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [0x140053cf8]
test rax, rax
jne 0x14000e388
lea rcx, str.Setupapi.dll
call fcn.14000b8a0
mov qword [0x140053cf8], rax
test rax, rax
je 0x14000e3eb
cmp qword [0x140053dc0], rbx
jne 0x14000e3b4
lea rdx, str.SetupDiGetDeviceRegistryPropertyW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140053dc0], rax
test rax, rax
je 0x14000e3eb
mov rax, qword [0x140053cf8]
cmp qword [0x140053d80], rbx
jne 0x14000e3d9
lea rdx, str.SetupDiDestroyDeviceInfoList
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140053d80], rax
test rax, rax
je 0x14000e3eb
lea r8, [rbp - 0x78]
lea rdx, [rsp + 0x58]
call fcn.14000fc50
test eax, eax
jne 0x14000e42e
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LocalFree]
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x14000e40e
lea ecx, [rax + 0x7e]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r12, qword [rsp + 0x348]
mov rax, rbx
mov rbx, qword [rsp + 0x338]
mov rdi, qword [rsp + 0x340]
jmp 0x14000e863
mov rdi, qword [rsp + 0x58]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea rdx, [rbp - 0x78]
mov rax, qword [0x140053dc0]
xor r9d, r9d
mov dword [rsp + 0x28], r13d
mov rcx, rdi
mov dword [rsp + 0x50], r13d
mov qword [rsp + 0x20], r13
lea r8d, [r9 + 9]
call qword [0x14003a2f0]
mov eax, dword [rsp + 0x50]
test eax, eax
je 0x14000e4cc
mov edx, eax
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
test rax, rax
je 0x14000e4cc
mov eax, dword [rsp + 0x50]
lea rdx, [rbp - 0x78]
xor r9d, r9d
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], eax
mov rcx, rdi
mov rax, qword [0x140053dc0]
mov qword [rsp + 0x20], rbx
lea r8d, [r9 + 9]
call qword [0x14003a2f0]
test eax, eax
je 0x14000e4cc
mov rdx, rbx
lea rcx, str.SYSTEMCurrentControlSetControlClass_
call fcn.14000f540
mov r12, rax
mov qword [rsp + 0x60], rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rdi, rdi
je 0x14000e4ea
mov rax, qword [0x140053d80]
mov rcx, rdi
call qword [0x14003a2f0]
test r12, r12
je 0x14000e4f7
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbx, r13
test r12, r12
je 0x14000e834
mov rcx, rsi
call fcn.14000ffa0
mov r15, rax
test rax, rax
je 0x14000e834
nop word [rax + rax]
cmp word [rax + r14*2 + 2], bx
lea r14, [r14 + 1]
jne 0x14000e520
lea rdi, [rax + r14*2]
mov qword [rsp + 0x58], r12
mov rax, rdi
mov r13, r12
mov edx, 0x2e
cmp r15, rdi
jae 0x14000e567
mov qword [rsp + 0x58], r12
mov r8d, 0x5c
movzx ecx, word [rax]
cmp r8w, cx
je 0x14000e567
cmp dx, cx
je 0x14000e567
sub rax, 2
cmp r15, rax
jb 0x14000e550
cmp dx, word [rax]
lea rdx, str..dll
cmove rdi, rax
xor esi, esi
mov rcx, rdi
call fcn.1400225d4
test eax, eax
je 0x14000e598
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x14000e598
mov rcx, r15
call fcn.140010300
mov rbx, rax
lea rdx, str..sys
mov rcx, rdi
call fcn.1400225d4
test eax, eax
je 0x14000e7f8
test rbx, rbx
jne 0x14000e82a
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x14000e602
lea rax, str.UserModeDriverName
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x40], rax
lea r9, [rbp - 0x40]
lea rax, str.OpenGLDriverName
mov r8, r13
mov qword [rbp - 0x38], rax
mov rcx, r15
lea rax, str.UserModeDListDriverName
mov qword [rbp - 0x30], rax
call fcn.1400105c0
mov rbx, rax
test rax, rax
jne 0x14000e82a
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x14000e7fd
lea rax, str.SOFTWAREKhronosVulkanDrivers
mov qword [rbp - 0x48], rsi
mov qword [rbp - 0x58], rax
lea r12, [rbp - 0x58]
lea rax, str.SOFTWAREKhronosOpenCLVendors
mov qword [rsp + 0x70], rsi
mov qword [rbp - 0x50], rax
mov rbx, rsi
mov rax, qword [0x140053d98]
test rax, rax
jne 0x14000e65e
lea rcx, str.Advapi32.dll
call fcn.14000b8a0
mov qword [0x140053d98], rax
test rax, rax
je 0x14000e7fd
cmp qword [0x140053cc8], rbx
jne 0x14000e68e
lea rdx, str.RegOpenKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140053cc8], rax
test rax, rax
je 0x14000e7fd
mov rax, qword [0x140053d98]
cmp qword [0x140053d18], rbx
jne 0x14000e6be
lea rdx, str.RegEnumValueW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140053d18], rax
test rax, rax
je 0x14000e7fd
mov rax, qword [0x140053d98]
cmp qword [0x140053b78], rbx
jne 0x14000e6e7
lea rdx, str.RegCloseKey
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140053b78], rax
test rax, rax
je 0x14000e7fd
xor r13d, r13d
nop word [rax + rax]
mov rdx, qword [r12]
test rdx, rdx
je 0x14000e7f1
lea rax, [rsp + 0x70]
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rax, qword [0x140053cc8]
mov rcx, 0xffffffff80000002
call qword [0x14003a2f0]
test eax, eax
jne 0x14000e7e4
mov edx, 0x10000
lea ecx, [rax + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rdi, rax
test rax, rax
je 0x14000e7d2
mov r14d, r13d
nop dword [rax]
xor edx, edx
mov dword [rsp + 0x68], 0x7fff
mov r8d, 0x8000
mov rcx, rdi
call fcn.140019760
mov rcx, qword [rsp + 0x70]
lea r9, [rsp + 0x68]
mov rax, qword [0x140053d18]
mov r8, rdi
mov qword [rsp + 0x38], r13
mov edx, r14d
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
call qword [0x14003a2f0]
inc r14d
mov esi, eax
test eax, eax
jne 0x14000e7bc
mov rdx, r15
mov rcx, rdi
call fcn.14000f3f0
test eax, eax
je 0x14000e7bc
mov rcx, rdi
call fcn.14000f6e0
mov rbx, rax
test rbx, rbx
jne 0x14000e7c9
cmp esi, 0x103
jne 0x14000e750
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x70]
mov rax, qword [0x140053b78]
call qword [0x14003a2f0]
add r12, 8
test rbx, rbx
je 0x14000e6f0
mov r13, qword [rsp + 0x58]
xor esi, esi
test rbx, rbx
jne 0x14000e82a
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x14000e82a
lea rax, str.DriverSupportModules
mov qword [rbp - 0x80], rsi
lea r9, [rsp + 0x78]
mov qword [rsp + 0x78], rax
mov r8, r13
mov rcx, r15
call fcn.1400105c0
mov rbx, rax
mov r12, qword [rsp + 0x60]
jmp 0x14000e834
mov r12, r13
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rbx, rbx
je 0x14000e3fb
xor ecx, ecx
jmp 0x14000e408
mov ecx, 0xa0
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.140016d00
add rsp, 0x300
pop r15
pop r14
pop r13
pop rsi
pop rbp
ret