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

Disassembly:
jmp 0x140015d90
mov qword [rsp + 0x20], rsi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xb0
mov rax, qword [0x14009b798]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov r14, rcx
xor r15d, r15d
xor ecx, ecx
mov r13d, r15d
mov r12d, r15d
call qword [sym.imp.KERNEL32.dll_SetLastError]
test r14, r14
je 0x140016457
mov rsi, 0xffffffffffffffff
mov edx, r15d
mov rax, rsi
inc rax
cmp word [r14 + rax*2], dx
jne 0x140015de2
test rax, rax
je 0x140015e24
mov rcx, r15
nop dword [rax]
nop dword [rax + rax]
movzx r8d, word [r14 + rcx*2]
cmp r8w, 0x5c
je 0x140016457
cmp r8w, 0x2f
je 0x140016457
inc edx
mov ecx, edx
cmp rcx, rax
jb 0x140015e00
mov qword [rsp + 0xe8], rbx
mov ecx, 0x42ea
mov qword [rsp + 0xf0], rdi
call fcn.140013170
test eax, eax
je 0x140015f2f
mov rax, qword [str.nvldumdx.dll]
mov word [0x14009d4e0], r15w
lea r15, [0x14009d4e0]
test rax, rax
je 0x140015eed
xor edi, edi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140015ed6
mov r8d, 0x104
mov rdx, r15
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ebx, eax
test eax, eax
je 0x140015ed6
movzx eax, word [0x14009d4e0]
cmp eax, 0x5c
je 0x140016289
cmp eax, 0x2f
je 0x140016289
mov ecx, eax
call fcn.140002176
test eax, eax
je 0x140015ed6
cmp word [0x14009d4e2], 0x3a
jne 0x140015ed6
movzx eax, word [0x14009d4e4]
cmp ax, 0x5c
je 0x140016289
cmp ax, 0x2f
je 0x140016289
inc rdi
lea rax, str.nvldumdx.dll
mov rax, qword [rax + rdi*8]
test rax, rax
jne 0x140015e67
cmp word [0x14009d4e0], r12w
jne 0x140015eff
call fcn.140010f30
mov r15, rax
mov rdx, r14
mov rcx, r15
call fcn.140014270
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140015f23
test al, 0x50
je 0x1400163f1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor r15d, r15d
xor eax, eax
mov qword [rbp - 0x31], r15
xorps xmm0, xmm0
mov qword [rbp + 3], rax
xor ecx, ecx
mov dword [rbp + 0xb], eax
movups xmmword [rbp - 0xd], xmm0
mov dword [rbp - 0x11], 0x20
mov rbx, r15
mov r13, r15
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [0x14009d040]
test rax, rax
jne 0x140015f82
xor edx, edx
lea rcx, str.Setupapi.dll
call fcn.140013430
mov qword [0x14009d040], rax
test rax, rax
je 0x1400160a1
cmp qword [0x14009d060], r12
jne 0x140015fb2
lea rdx, str.SetupDiGetDeviceRegistryPropertyW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14009d060], rax
test rax, rax
je 0x1400160a1
mov rax, qword [0x14009d040]
cmp qword [0x14009d070], r12
jne 0x140015fdb
lea rdx, str.SetupDiDestroyDeviceInfoList
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14009d070], rax
test rax, rax
je 0x1400160a1
lea r8, [rbp - 0x11]
lea rdx, [rbp - 0x31]
lea rcx, [0x140080e10]
call fcn.1400108e0
test eax, eax
je 0x1400163f1
mov rdi, qword [rbp - 0x31]
lea rax, [rbp - 0x39]
mov qword [rsp + 0x30], rax
lea rdx, [rbp - 0x11]
xor r9d, r9d
mov dword [rsp + 0x28], r15d
mov rcx, rdi
mov dword [rbp - 0x39], r15d
mov qword [rsp + 0x20], r15
lea r8d, [r9 + 9]
call qword [0x14009d060]
mov eax, dword [rbp - 0x39]
test eax, eax
je 0x14001607d
mov edx, eax
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
test rax, rax
je 0x14001607d
mov ecx, dword [rbp - 0x39]
lea rdx, [rbp - 0x11]
xor r9d, r9d
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], ecx
mov rcx, rdi
mov qword [rsp + 0x20], rax
lea r8d, [r9 + 9]
call qword [0x14009d060]
test eax, eax
je 0x14001607d
mov rdx, rbx
lea rcx, str.SYSTEMCurrentControlSetControlClass_
call fcn.140014270
mov r13, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rdi, rdi
je 0x140016094
mov rcx, rdi
call qword [0x14009d070]
test r13, r13
je 0x1400160a1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbx, r15
test r13, r13
je 0x1400163f1
mov rcx, r14
call fcn.14000f770
mov r12, rax
test rax, rax
je 0x1400163f1
cmp word [rax + rsi*2 + 2], 0
lea rsi, [rsi + 1]
jne 0x1400160c1
lea rdi, [rax + rsi*2]
mov edx, 0x2e
mov rax, rdi
cmp r12, rdi
jae 0x1400160fb
mov r8d, 0x5c
movzx ecx, word [rax]
cmp r8w, cx
je 0x1400160fb
cmp dx, cx
je 0x1400160fb
sub rax, 2
cmp r12, rax
jb 0x1400160e4
cmp dx, word [rax]
lea rdx, str..dll
cmove rdi, rax
mov rcx, rdi
call fcn.1400022f2
test eax, eax
je 0x140016131
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140016131
lea rdx, [0x140080e10]
mov rcx, r12
call fcn.140010010
mov rbx, rax
lea rdx, str..sys
mov rcx, rdi
call fcn.1400022f2
test eax, eax
je 0x1400163ba
test rbx, rbx
jne 0x1400163f1
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1400161a2
lea rax, str.UserModeDriverName
mov qword [rbp + 0x27], r15
mov qword [rbp + 0xf], rax
lea r9, [rbp + 0xf]
lea rax, str.OpenGLDriverName
mov r8, r13
mov qword [rbp + 0x17], rax
mov rdx, 0xffffffff80000002
lea rax, str.UserModeDListDriverName
mov rcx, r12
mov qword [rbp + 0x1f], rax
call fcn.1400105d0
mov rbx, rax
test rax, rax
jne 0x1400163f1
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1400163bf
lea rax, str.SOFTWAREKhronosVulkanDrivers
mov qword [rbp + 0x1f], r15
mov qword [rbp + 0xf], rax
lea r15, [rbp + 0xf]
lea rax, str.SOFTWAREKhronosOpenCLVendors
mov qword [rbp - 0x21], r15
mov qword [rbp + 0x17], rax
xor eax, eax
mov qword [rbp - 0x31], rax
mov ebx, eax
mov rax, qword [0x14009d0e0]
test rax, rax
jne 0x140016204
xor edx, edx
lea rcx, str.Advapi32.dll
call fcn.140013430
mov qword [0x14009d0e0], rax
test rax, rax
je 0x140016281
cmp qword [0x14009d0e8], rbx
jne 0x140016230
lea rdx, str.RegOpenKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14009d0e8], rax
test rax, rax
je 0x140016281
mov rax, qword [0x14009d0e0]
cmp qword [0x14009d0f0], rbx
jne 0x14001625c
lea rdx, str.RegEnumValueW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14009d0f0], rax
test rax, rax
je 0x140016281
mov rax, qword [0x14009d0e0]
cmp qword [0x14009d100], rbx
jne 0x1400162c0
lea rdx, str.RegCloseKey
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14009d100], rax
test rax, rax
jne 0x1400162c0
xor r15d, r15d
jmp 0x1400163bf
test ebx, ebx
je 0x1400162a0
lea rcx, [r15 + rbx*2]
cmp word [rcx], 0x5c
je 0x1400162a0
sub rcx, 2
add ebx, 0xffffffff
jne 0x140016291
mov eax, ebx
add rax, rax
cmp rax, 0x20a
jae 0x140016466
xor ecx, ecx
mov word [rax + r15], cx
jmp 0x140015eed
mov rdx, qword [r15]
test rdx, rdx
je 0x1400163b7
lea rax, [rbp - 0x31]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
call qword [0x14009d0e8]
test eax, eax
jne 0x1400163a6
mov edx, 0x10000
lea ecx, [rax + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rdi, rax
test rax, rax
je 0x14001639c
xor r15d, r15d
mov r14d, r15d
nop dword [rax]
nop word [rax + rax]
xor edx, edx
mov dword [rbp - 0x29], 0x7fff
mov r8d, 0x8000
mov rcx, rdi
call fcn.140002bf3
mov rcx, qword [rbp - 0x31]
lea r9, [rbp - 0x29]
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 [0x14009d0f0]
inc r14d
mov esi, eax
test eax, eax
jne 0x140016382
mov rdx, r12
mov rcx, rdi
call fcn.1400128b0
test eax, eax
je 0x140016382
mov rcx, rdi
call fcn.1400143d0
mov rbx, rax
test rbx, rbx
jne 0x14001638f
cmp esi, 0x103
jne 0x140016320
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov r15, qword [rbp - 0x21]
mov rcx, qword [rbp - 0x31]
call qword [0x14009d100]
add r15, 8
mov qword [rbp - 0x21], r15
test rbx, rbx
je 0x1400162c0
xor r15d, r15d
test rbx, rbx
jne 0x1400163f1
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1400163f1
lea rax, str.DriverSupportModules
mov qword [rbp - 0x19], r15
lea r9, [rbp - 0x21]
mov qword [rbp - 0x21], rax
mov r8, r13
mov rdx, 0xffffffff80000002
mov rcx, r12
call fcn.1400105d0
mov rbx, rax
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rbx, rbx
je 0x14001640c
xor ecx, ecx
jmp 0x140016419
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x14001641f
lea ecx, [rax + 0x7e]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rdi, qword [rsp + 0xf0]
mov rax, rbx
mov rbx, qword [rsp + 0xe8]
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140001d2a
mov rsi, qword [rsp + 0xf8]
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov ecx, 0xa0
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x140016432
call fcn.1400029be
int3