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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x140051020]
xor rax, rsp
mov qword [rbp + 0x190], rax
xor edi, edi
mov ecx, 0x42ea
mov qword [rsp + 0x58], rdi
mov esi, edi
mov ebx, edi
call fcn.14000fa10
test eax, eax
je 0x14000f0c6
xor edx, edx
lea rcx, [rbp - 0x80]
mov r8d, 0x20a
call fcn.140019760
lea rcx, [rbp - 0x80]
call fcn.14000e890
cmp di, word [rbp - 0x80]
je 0x14000f0c6
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000f0c6
test al, 0x10
je 0x14000f0c6
lea rax, [rbp - 0x80]
mov rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], si
jne 0x14000f027
inc rbx
mov ecx, 0x40
lea rdx, [rbx + rbx]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rsi, rax
test rax, rax
je 0x14000f0fa
lea rcx, [rbx - 1]
mov edx, 0x7ffffffe
cmp rcx, rdx
ja 0x14000f0ae
sub rdx, rbx
lea r8, [rbp - 0x80]
sub r8, rax
mov rcx, rax
nop dword [rax]
lea rax, [rdx + rbx]
test rax, rax
je 0x14000f090
movzx eax, word [r8 + rcx]
test ax, ax
je 0x14000f090
mov word [rcx], ax
add rcx, 2
sub rbx, 1
jne 0x14000f070
lea rax, [rcx - 2]
test rbx, rbx
cmovne rax, rcx
xor ecx, ecx
mov word [rax], di
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
jmp 0x14000f34c
test rbx, rbx
je 0x14000f0b6
mov word [rax], di
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
jmp 0x14000f34c
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x60], 0x20
movups xmmword [rsp + 0x70], xmm0
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, 0x1770
call fcn.14000fa10
test eax, eax
jne 0x14000f101
lea ecx, [rax + 0x78]
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x14000f34c
mov rax, qword [0x140053cf8]
test rax, rax
jne 0x14000f125
lea rcx, str.Setupapi.dll
call fcn.14000b8a0
mov qword [0x140053cf8], rax
test rax, rax
je 0x14000f0fa
cmp qword [0x140053d28], rbx
jne 0x14000f151
lea rdx, str.SetupDiGetDevicePropertyW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140053d28], rax
test rax, rax
je 0x14000f0fa
mov rax, qword [0x140053cf8]
cmp qword [0x140053d90], rbx
jne 0x14000f17d
lea rdx, str.SetupGetInfDriverStoreLocationW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140053d90], rax
test rax, rax
je 0x14000f0fa
mov rax, qword [0x140053cf8]
cmp qword [0x140053d80], rbx
jne 0x14000f1a6
lea rdx, str.SetupDiDestroyDeviceInfoList
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140053d80], rax
test rax, rax
je 0x14000f0fa
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x58]
call fcn.14000fc50
test eax, eax
je 0x14000f0fa
mov dword [rsp + 0x38], edi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x54]
mov rax, qword [0x140053d28]
lea r8, [0x140049620]
mov qword [rsp + 0x2b0], r14
lea rdx, [rsp + 0x60]
mov r14, qword [rsp + 0x58]
mov dword [rsp + 0x28], edi
mov rcx, r14
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x50], edi
mov dword [rsp + 0x54], edi
call qword [0x14003a2f0]
mov eax, dword [rsp + 0x50]
test eax, eax
je 0x14000f30d
mov edx, eax
mov ecx, 0x40
add rdx, rdx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rsi, rax
test rax, rax
je 0x14000f30d
mov ecx, dword [rsp + 0x50]
lea r9, [rsp + 0x54]
mov dword [rsp + 0x38], edi
lea r8, [0x140049620]
mov qword [rsp + 0x30], rdi
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x28], ecx
mov rcx, r14
mov qword [rsp + 0x20], rax
mov rax, qword [0x140053d28]
call qword [0x14003a2f0]
test eax, eax
je 0x14000f30d
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov rax, qword [0x140053d90]
xor edx, edx
mov rcx, rsi
mov dword [rsp + 0x20], edi
call qword [0x14003a2f0]
mov eax, dword [rsp + 0x50]
test eax, eax
je 0x14000f30d
mov edx, eax
mov ecx, 0x40
add rdx, rdx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
test rax, rax
je 0x14000f30d
mov ecx, dword [rsp + 0x50]
mov r9, rax
mov rax, qword [0x140053d90]
xor r8d, r8d
mov qword [rsp + 0x28], rdi
xor edx, edx
mov dword [rsp + 0x20], ecx
mov rcx, rsi
call qword [0x14003a2f0]
test eax, eax
je 0x14000f30d
mov edx, 0x5c
mov rcx, rbx
call fcn.140018e68
lea rdx, [rax + 2]
test rax, rax
jne 0x14000f2f9
mov rdx, rbx
sub rdx, rbx
mov rcx, rbx
sar rdx, 1
dec rdx
call fcn.14000f7b0
mov rdi, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
test r14, r14
je 0x14000f334
mov rax, qword [0x140053d80]
mov rcx, r14
call qword [0x14003a2f0]
mov r14, qword [rsp + 0x2b0]
test rdi, rdi
je 0x14000f349
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rdi
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.140016d00
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret