Function at 0x1400ccae0
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0xb00
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbp
mov rax, qword [0x140398250]
xor rax, rsp
mov qword [rsp + 0xaf0], rax
mov r14, rdx
mov rbp, rcx
xor esi, esi
mov rax, qword [rcx]
call qword [rax + 0x98]
test al, al
jne 0x1400ccb3e
mov dword [0x1403b95bc], 4
mov eax, 0x80010004
jmp 0x1400ccdf0
mov rax, qword [rbp]
mov rcx, rbp
call qword [rax + 0x88]
cmp eax, 1
je 0x1400ccde1
mov rax, qword [rbp]
mov rcx, rbp
call qword [rax + 0x88]
cmp eax, 3
je 0x1400ccde1
mov dword [rsp + 0x2f0], esi
xor edx, edx
mov r8d, 0x7fc
lea rcx, [rsp + 0x2f4]
call fcn.14024b970
call fcn.140102a14
mov r11, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
jne 0x1400ccba5
mov ecx, 0x80004005
call fcn.140005210
int3
mov rax, qword [rax]
mov rcx, r11
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x28], rbx
mov rax, qword [rbp]
mov rcx, rbp
call qword [rax + 0xb0]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.1400cce20
nop
mov rax, qword [rbp]
mov r9d, 0x400
lea r8, [rsp + 0x2f0]
mov edx, 1
mov rcx, rbp
call qword [rax + VarBstrFromDisp]
test eax, eax
je 0x1400ccda8
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
lea rcx, [rsp + 0x2f0]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
add edi, eax
cmp edi, 0x400
jae 0x1400ccc47
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x2f0]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rcx, [rsp + 0x2f0]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1400ccc83
mov rax, qword [rbp]
mov rcx, rbp
call qword [rax + 0x40]
mov esi, eax
test eax, eax
jne 0x1400ccdb7
lea rcx, [rsp + 0x2f0]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1400ccda8
lea rcx, [rsp + 0x2f0]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rdi, rax
test rax, rax
je 0x1400ccda8
lea rdx, str.DriverFileInstaller
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r13, rax
test rax, rax
jne 0x1400cccc9
mov esi, 0x80010022
mov dword [0x1403b95bc], 0x22
jmp 0x1400ccd6a
lea rdx, str.DriverFileInstallerFixed
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r12, rax
test rax, rax
jne 0x1400cccf2
mov esi, 0x80010022
mov dword [0x1403b95bc], 0x22
jmp 0x1400ccd6a
mov dword [rsp + 0xe0], 0
xor edx, edx
mov r8d, 0x204
lea rcx, [rsp + 0xe4]
call fcn.14024b970
mov dword [rsp + 0x20], 0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0xe0]
call r13
test eax, eax
je 0x1400ccd56
cmp dword [rsp + 0x20], 0
setne al
mov byte [r14], al
mov ecx, 1
call r12
test eax, eax
jne 0x1400ccd6a
mov esi, 0x80010070
mov dword [0x1403b95bc], 0x70
jmp 0x1400ccd6a
mov esi, 0x8001006f
mov dword [0x1403b95bc], 0x6f
xor ecx, ecx
call r12
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test esi, esi
jne 0x1400ccdb7
mov rax, qword [rbp]
mov rcx, rbp
call qword [rax + 0x88]
mov rcx, rbp
cmp eax, 4
mov rax, qword [rbp]
jne 0x1400ccd9b
lea edx, [rsi + 3]
call qword [rax + 0x80]
jmp 0x1400ccdb7
mov edx, 1
call qword [rax + 0x80]
jmp 0x1400ccdb7
mov esi, 0x80010022
mov dword [0x1403b95bc], 0x22
lea rcx, [rsp + 0x40]
call fcn.14004db80
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400ccddd
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, esi
jmp 0x1400ccdf0
mov dword [0x1403b95bc], 0x71
mov eax, 0x80010071
mov rcx, qword [rsp + 0xaf0]
xor rcx, rsp
call fcn.140245660
lea r11, [rsp + 0xb00]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret