Function at 0x14002ad00
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 - 0x37]
sub rsp, 0xb0
mov rax, qword [0x140099110]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov r14, rcx
xor esi, esi
xor ecx, ecx
mov r13d, esi
mov r12d, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
test r14, r14
je 0x14002b3b5
mov rdi, 0xffffffffffffffff
mov edx, esi
mov rax, rdi
nop
inc rax
cmp word [r14 + rax*2], dx
jne 0x14002ad50
test rax, rax
je 0x14002ad94
mov rcx, rsi
nop dword [rax]
nop word [rax + rax]
movzx r8d, word [r14 + rcx*2]
cmp r8w, 0x5c
je 0x14002b3b5
cmp r8w, 0x2f
je 0x14002b3b5
inc edx
mov ecx, edx
cmp rcx, rax
jb 0x14002ad70
mov qword [rsp + 0xe8], rbx
mov ecx, 0x42ea
mov qword [rsp + 0xf0], r15
call fcn.14002a0b0
test eax, eax
je 0x14002ae9b
mov rax, qword [str.nvldumdx.dll]
lea r15, [0x14009e930]
mov word [0x14009e930], si
test rax, rax
je 0x14002ae5c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14002ae43
mov r8d, 0x104
mov rdx, r15
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ebx, eax
test eax, eax
je 0x14002ae43
movzx eax, word [0x14009e930]
cmp eax, 0x5c
je 0x14002b33b
cmp eax, 0x2f
je 0x14002b33b
mov ecx, eax
call sub.api_ms_win_crt_string_l1_1_0.dll_isalpha
test eax, eax
je 0x14002ae43
cmp word [0x14009e932], 0x3a
jne 0x14002ae43
movzx eax, word [0x14009e934]
cmp ax, 0x5c
je 0x14002b33b
cmp ax, 0x2f
je 0x14002b33b
inc rsi
lea rax, str.nvldumdx.dll
mov rax, qword [rax + rsi*8]
test rax, rax
jne 0x14002add4
xor esi, esi
cmp word [0x14009e930], r12w
jne 0x14002ae6e
call fcn.140029a80
mov r15, rax
mov rdx, r14
mov rcx, r15
call fcn.14002a520
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14002ae92
test al, 0x50
je 0x14002b320
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
xorps xmm0, xmm0
mov qword [rbp - 0x31], rsi
movups xmmword [rbp - 0x11], xmm0
xor ecx, ecx
mov dword [rbp - 0x11], reloc.WLDAP32.dll_Ordinal_32
mov rbx, rsi
mov r13, rsi
movups xmmword [rbp - 1], xmm0
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [0x14009e490]
test rax, rax
jne 0x14002aee9
xor edx, edx
lea rcx, str.Setupapi.dll
call fcn.14002a2e0
mov qword [0x14009e490], rax
test rax, rax
je 0x14002b003
cmp qword [0x14009e4b0], r12
jne 0x14002af19
lea rdx, str.SetupDiGetDeviceRegistryPropertyW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14009e4b0], rax
test rax, rax
je 0x14002b003
mov rax, qword [0x14009e490]
cmp qword [0x14009e4c0], r12
jne 0x14002af42
lea rdx, str.SetupDiDestroyDeviceInfoList
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14009e4c0], rax
test rax, rax
je 0x14002b003
lea r8, [rbp - 0x11]
xor ecx, ecx
lea rdx, [rbp - 0x31]
call fcn.140029720
test eax, eax
je 0x14002b320
lea rax, [rbp - 0x39]
mov dword [rbp - 0x39], esi
mov qword [rsp + 0x30], rax
lea rdx, [rbp - 0x11]
xor r9d, r9d
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
mov rsi, qword [rbp - 0x31]
mov rcx, rsi
lea r8d, [r9 + 9]
call qword [0x14009e4b0]
mov eax, dword [rbp - 0x39]
test eax, eax
je 0x14002afdd
mov edx, eax
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
test rax, rax
je 0x14002afdd
mov ecx, dword [rbp - 0x39]
lea rdx, [rbp - 0x11]
xor r9d, r9d
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], ecx
mov rcx, rsi
mov qword [rsp + 0x20], rax
lea r8d, [r9 + 9]
call qword [0x14009e4b0]
test eax, eax
je 0x14002afdd
mov rdx, rbx
lea rcx, str.SYSTEMCurrentControlSetControlClass_
call fcn.14002a520
mov r13, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rsi, rsi
je 0x14002aff4
mov rcx, rsi
call qword [0x14009e4c0]
test r13, r13
je 0x14002b001
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
mov rbx, rsi
test r13, r13
je 0x14002b320
mov rcx, r14
call fcn.140028d70
mov r12, rax
test rax, rax
je 0x14002b320
cmp word [rax + rdi*2 + 2], 0
lea rdi, [rdi + 1]
jne 0x14002b023
lea rdi, [rax + rdi*2]
mov edx, reloc.WLDAP32.dll_Ordinal_46
mov rax, rdi
cmp r12, rdi
jae 0x14002b05d
mov r8d, 0x5c
movzx ecx, word [rax]
cmp r8w, cx
je 0x14002b05d
cmp dx, cx
je 0x14002b05d
sub rax, 2
cmp r12, rax
jb 0x14002b046
cmp dx, word [rax]
lea rdx, str..dll
cmove rdi, rax
mov rcx, rdi
call sub.api_ms_win_crt_string_l1_1_0.dll__wcsicmp
test eax, eax
je 0x14002b08e
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x14002b08e
xor edx, edx
mov rcx, r12
call fcn.1400291f0
mov rbx, rax
lea rdx, str..sys
mov rcx, rdi
call sub.api_ms_win_crt_string_l1_1_0.dll__wcsicmp
test eax, eax
je 0x14002b2e9
test rbx, rbx
jne 0x14002b320
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x14002b0ff
lea rax, str.UserModeDriverName
mov qword [rbp + 0x27], rsi
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.140029490
mov rbx, rax
test rax, rax
jne 0x14002b320
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x14002b2ee
lea rax, str.SOFTWAREKhronosVulkanDrivers
mov qword [rbp + 0x1f], rsi
mov qword [rbp + 0xf], rax
lea r15, [rbp + 0xf]
lea rax, str.SOFTWAREKhronosOpenCLVendors
mov qword [rbp - 0x21], r15
mov qword [rbp + 0x17], rax
mov rbx, rsi
mov rax, qword [0x14009e530]
mov qword [rbp - 0x31], rsi
test rax, rax
jne 0x14002b160
xor edx, edx
lea rcx, str.Advapi32.dll
call fcn.14002a2e0
mov qword [0x14009e530], rax
test rax, rax
je 0x14002b2ee
cmp qword [0x14009e538], 0
jne 0x14002b191
lea rdx, str.RegOpenKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14009e538], rax
test rax, rax
je 0x14002b2ee
mov rax, qword [0x14009e530]
cmp qword [0x14009e540], 0
jne 0x14002b1c2
lea rdx, str.RegEnumValueW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14009e540], rax
test rax, rax
je 0x14002b2ee
mov rax, qword [0x14009e530]
cmp qword [0x14009e550], 0
jne 0x14002b1f0
lea rdx, str.RegCloseKey
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14009e550], rax
test rax, rax
je 0x14002b2ee
nop dword [rax]
mov rdx, qword [r15]
test rdx, rdx
je 0x14002b2e7
lea rax, [rbp - 0x31]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
call qword [0x14009e538]
test eax, eax
jne 0x14002b2d6
mov edx, 0x10000
lea ecx, [rax + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rdi, rax
test rax, rax
je 0x14002b2cc
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 sub.VCRUNTIME140.dll_memset
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 [0x14009e540]
inc r14d
mov esi, eax
test eax, eax
jne 0x14002b2b2
mov rdx, r12
mov rcx, rdi
call fcn.140029d10
test eax, eax
je 0x14002b2b2
mov rcx, rdi
call fcn.14002a630
mov rbx, rax
test rbx, rbx
jne 0x14002b2bf
cmp esi, 0x103
jne 0x14002b250
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov r15, qword [rbp - 0x21]
mov rcx, qword [rbp - 0x31]
call qword [0x14009e550]
add r15, 8
mov qword [rbp - 0x21], r15
test rbx, rbx
je 0x14002b1f0
xor esi, esi
test rbx, rbx
jne 0x14002b320
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x14002b320
lea rax, str.DriverSupportModules
mov qword [rbp - 0x19], rsi
lea r9, [rbp - 0x21]
mov qword [rbp - 0x21], rax
mov r8, r13
mov rdx, 0xffffffff80000002
mov rcx, r12
call fcn.140029490
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 0x14002b36b
xor ecx, ecx
jmp 0x14002b378
test ebx, ebx
je 0x14002b352
lea rcx, [r15 + rbx*2]
cmp word [rcx], 0x5c
je 0x14002b352
sub rcx, 2
add ebx, 0xffffffff
jne 0x14002b343
mov eax, ebx
add rax, rax
cmp rax, 0x20a
jae 0x14002b3c4
xor esi, esi
mov word [rax + r15], si
jmp 0x14002ae5c
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x14002b37e
lea ecx, [rax + 0x7e]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r15, qword [rsp + 0xf0]
mov rax, rbx
mov rbx, qword [rsp + 0xe8]
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.14006e6d0
mov rsi, qword [rsp + 0xf8]
add rsp, 0xb0
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret
mov ecx, 0xa0
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x14002b391
call fcn.14006e850
int3