Function at 0x14001aa90
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r13
push r15
lea rbp, [rsp - 0x190]
sub rsp, 0x290
mov rax, qword [0x140106b98]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov rdi, rcx
xor r15d, r15d
xor ecx, ecx
mov r13d, r15d
mov esi, r15d
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rdi, rdi
je 0x14001b0d0
mov r12, 0xffffffffffffffff
mov edx, r15d
mov rax, r12
inc rax
cmp word [rdi + rax*2], dx
jne 0x14001aae7
test rax, rax
je 0x14001ab24
mov rcx, r15
nop dword [rax + rax]
movzx r8d, word [rdi + rcx*2]
cmp r8w, 0x5c
je 0x14001b0d0
cmp r8w, 0x2f
je 0x14001b0d0
inc edx
mov ecx, edx
cmp rcx, rax
jb 0x14001ab00
mov qword [rsp + 0x2c8], rbx
mov ecx, 0x42ea
mov qword [rsp + 0x2d0], r14
call fcn.1400186f0
test eax, eax
je 0x14001acfe
xor edx, edx
lea rcx, [rsp + 0x72]
mov r8d, 0x208
call fcn.14006d5a0
mov rax, qword [str.nvldumdx.dll]
mov word [rsp + 0x70], r15w
test rax, rax
je 0x14001ac0c
mov r14, r15
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001abcc
mov r8d, 0x104
lea rdx, [rsp + 0x70]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ebx, eax
test eax, eax
je 0x14001abcc
movzx eax, word [rsp + 0x70]
cmp eax, 0x5c
je 0x14001abe1
cmp eax, 0x2f
je 0x14001abe1
mov ecx, eax
call fcn.1400961e0
test eax, eax
je 0x14001abcc
cmp word [rsp + 0x72], 0x3a
jne 0x14001abcc
movzx eax, word [rsp + 0x74]
cmp ax, 0x5c
je 0x14001abe1
cmp ax, 0x2f
je 0x14001abe1
inc r14
lea rax, str.nvldumdx.dll
mov rax, qword [rax + r14*8]
test rax, rax
jne 0x14001ab71
jmp 0x14001ac05
lea rcx, [rsp + 0x70]
lea rcx, [rcx + rbx*2]
nop word [rax + rax]
cmp word [rcx], 0x5c
je 0x14001abff
sub rcx, 2
add ebx, 0xffffffff
jne 0x14001abf0
mov word [rsp + rbx*2 + 0x70], r15w
cmp word [rsp + 0x70], si
jne 0x14001ac16
lea rcx, [rsp + 0x70]
call fcn.140016940
lea rax, [rsp + 0x70]
mov rcx, r12
nop
inc rcx
cmp word [rax + rcx*2], si
jne 0x14001ac20
mov rdx, r12
nop dword [rax]
inc rdx
cmp word [rdi + rdx*2], si
jne 0x14001ac30
test rcx, rcx
je 0x14001ac57
cmp word [rsp + rcx*2 + 0x6e], 0x5c
je 0x14001ac57
test rdx, rdx
je 0x14001ac57
cmp word [rdi], 0x5c
mov r14d, 1
jne 0x14001ac5a
mov r14d, r15d
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 0x14001acdc
lea r8, [rsp + 0x70]
mov rdx, r15
mov rcx, rax
call fcn.1400190e0
test eax, eax
js 0x14001acb3
test r14d, r14d
je 0x14001acc7
lfence
lea r8, [0x1400db2b0]
mov rdx, r15
mov rcx, rbx
call fcn.140019020
test eax, eax
jns 0x14001acc7
lfence
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor r15d, r15d
mov ebx, r15d
jmp 0x14001acdf
lfence
mov r8, rdi
mov rdx, r15
mov rcx, rbx
call fcn.140019020
test eax, eax
js 0x14001acb3
xor r15d, r15d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14001acf5
test al, 0x50
je 0x14001af84
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor ecx, ecx
call fcn.14001b130
mov r13, rax
mov rbx, r15
test rax, rax
je 0x14001af84
mov rcx, r12
nop word [rax + rax]
cmp word [rdi + rcx*2 + 2], si
lea rcx, [rcx + 1]
jne 0x14001ad20
mov rax, r12
nop
cmp word [rdi + rax*2 + 2], si
lea rax, [rax + 1]
jne 0x14001ad30
lea r8, [rdi + rax*2]
mov r10d, 0x5c
mov rax, r8
lea r9d, [r10 - 0x2e]
cmp rdi, r8
jae 0x14001ad69
movzx edx, word [rax]
cmp r10w, dx
je 0x14001ad69
cmp r9w, dx
je 0x14001ad69
sub rax, 2
cmp rdi, rax
jb 0x14001ad51
cmp r9w, word [rax]
cmove r8, rax
mov rax, r12
inc rax
cmp word [r8 + rax*2], si
jne 0x14001ad74
test rax, rax
je 0x14001b063
cmp rax, 1
je 0x14001afa6
mov rbx, r12
inc rbx
cmp word [rdi + rbx*2], si
jne 0x14001ad94
inc rbx
mov ecx, 0x40
lea rdx, [rbx + rbx]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rsi, rax
test rax, rax
jne 0x14001adf6
mov rcx, r13
mov rbx, r15
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 0x14001adde
lea ecx, [rax + 0x7e]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r14, qword [rsp + 0x2d0]
mov rax, rbx
mov rbx, qword [rsp + 0x2c8]
jmp 0x14001b0dd
mov r8, rdi
mov rdx, rbx
mov rcx, rsi
call fcn.1400192a0
test eax, eax
jns 0x14001ae17
lfence
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rsi, r15
mov r10d, 0x5c
lea r9d, [r10 - 0x2e]
mov rbx, r15
test rsi, rsi
je 0x14001af84
nop dword [rax]
cmp word [rsi + r12*2 + 2], 0
lea r12, [r12 + 1]
jne 0x14001ae30
lea rdi, [rsi + r12*2]
mov rax, rdi
cmp rsi, rdi
jae 0x14001ae68
nop word [rax + rax]
movzx ecx, word [rax]
cmp r10w, cx
je 0x14001ae68
cmp r9w, cx
je 0x14001ae68
sub rax, 2
cmp rsi, rax
jb 0x14001ae50
cmp r9w, word [rax]
lea rdx, str..dll
cmove rdi, rax
mov rcx, rdi
call fcn.140096a4c
test eax, eax
je 0x14001ae9a
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x14001ae9a
xor edx, edx
mov rcx, rsi
call fcn.140015cc0
mov rbx, rax
lea rdx, str..sys
mov rcx, rdi
call fcn.140096a4c
test eax, eax
je 0x14001af4a
test rbx, rbx
jne 0x14001af84
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x14001af0c
lea rax, str.UserModeDriverName
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x48], rax
lea r9, [rsp + 0x48]
lea rax, str.OpenGLDriverName
mov r8, r13
mov qword [rsp + 0x50], rax
mov rdx, 0xffffffff80000002
lea rax, str.UserModeDListDriverName
mov rcx, rsi
mov qword [rsp + 0x58], rax
call fcn.1400161f0
mov rbx, rax
test rax, rax
jne 0x14001af84
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x14001af4f
lea rax, str.SOFTWAREKhronosVulkanDrivers
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x30]
lea rax, str.SOFTWAREKhronosOpenCLVendors
mov rdx, 0xffffffff80000002
mov rcx, rsi
mov qword [rsp + 0x38], rax
call fcn.140015f70
mov rbx, rax
test rbx, rbx
jne 0x14001af84
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x14001af84
lea rax, str.DriverSupportModules
mov qword [rsp + 0x28], r15
lea r9, [rsp + 0x20]
mov qword [rsp + 0x20], rax
mov r8, r13
mov rdx, 0xffffffff80000002
mov rcx, rsi
call fcn.1400161f0
mov rbx, rax
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rbx, rbx
je 0x14001adcb
xor ecx, ecx
jmp 0x14001add8
lea r14, [rcx - 1]
test r14, r14
js 0x14001b05b
lfence
mov rbx, r12
nop dword [rax]
inc rbx
cmp word [rdi + rbx*2], si
jne 0x14001afc0
cmp r14, rbx
mov ecx, 0x40
cmovb rbx, r14
inc rbx
lea rdx, [rbx + rbx]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rsi, rax
test rax, rax
je 0x14001adb7
lea rax, [rbx - 1]
cmp rax, 0x7ffffffe
ja 0x14001b049
cmp r14, 0x7ffffffe
ja 0x14001b052
sub r14, rbx
mov rcx, rsi
sub rdi, rsi
nop dword [rax]
lea rax, [rbx + r14]
test rax, rax
je 0x14001b02f
movzx eax, word [rcx + rdi]
test ax, ax
je 0x14001b02f
mov word [rcx], ax
add rcx, 2
sub rbx, 1
jne 0x14001b010
test rbx, rbx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r15w
jne 0x14001ae17
jmp 0x14001ae08
test rbx, rbx
je 0x14001ae08
mov word [rsi], r15w
jmp 0x14001ae08
mov rsi, r15
jmp 0x14001ae21
lea rbx, [rcx*2 + 0xa]
mov ecx, 0x40
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rsi, rax
test rax, rax
je 0x14001ae17
mov r8, rdi
mov rdx, rbx
mov rcx, rax
call fcn.1400190e0
lfence
mov rcx, rsi
test eax, eax
jns 0x14001b0a8
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x14001adb7
lea r8, str..dll
mov rdx, rbx
call fcn.140019020
test eax, eax
jns 0x14001ae17
lfence
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x14001adb7
mov ecx, 0xa0
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.14006b950
mov rsi, qword [rsp + 0x2d8]
add rsp, 0x290
pop r15
pop r13
pop r12
pop rdi
pop rbp
ret