Function at 0x14001dc10
Capabilities:
Check if file exists

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x60
mov rax, qword [0x14028e6b0]
xor rax, rsp
mov qword [rsp + 0x48], rax
cmp dword [rcx + 0xa0], 2
mov rbx, rcx
je 0x14001dea6
cmp byte [rcx + 0x110], 0
jne 0x14001dea6
mov qword [r11 + 0x10], rbp
xor bpl, bpl
mov qword [r11 + 0x18], rsi
mov qword [r11 - 0x10], rdi
mov qword [r11 - 0x18], r14
call fcn.14000cdd0
lea rdi, [rbx + 0xb0]
mov r14, rax
cmp qword [rdi + 0x18], 8
jb 0x14001dc72
mov rcx, qword [rdi]
jmp 0x14001dc75
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14001dc8c
xor edx, edx
mov rcx, r14
call fcn.1400d8030
mov bpl, 1
xor sil, sil
cmp dword [rbx + 0xa0], 4
je 0x14001dd39
cmp qword [rdi + 0x18], 8
jb 0x14001dca8
mov rcx, qword [rdi]
jmp 0x14001dcab
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14001dd2c
mov byte [rbx + 0xac], al
xor eax, eax
mov dword [rbx + 0xa0], 4
mov byte [rbx + 0x48], 1
mov qword [rbx + 0xa4], rax
cmp byte [rbx + 8], al
je 0x14001dce9
mov rcx, qword [rbx]
lea r8d, [rax + 0x70]
mov rdx, rbx
mov rcx, qword [rcx]
call fcn.14008a270
mov sil, 1
test bpl, bpl
je 0x14001dcfe
mov edx, 1
mov rcx, r14
call fcn.1400d8030
movzx eax, sil
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
mov r14, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140168660
add rsp, 0x60
pop rbx
ret
cmp dword [rbx + 0xa0], 4
jne 0x14001dde9
cmp qword [rdi + 0x18], 8
jb 0x14001dd45
mov rcx, qword [rdi]
jmp 0x14001dd48
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14001dde9
cmp qword [rdi + 0x18], 8
jb 0x14001dd60
mov rdi, qword [rdi]
lea r8, [rsp + 0x20]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x14001dcec
movzx eax, byte [rsp + 0x20]
lea rcx, [rbx + 0x150]
and al, 1
mov dword [rbx + 0xa0], 8
mov byte [rbx + 0xac], al
mov rax, qword [rsp + 0x34]
mov qword [rbx + 0xa4], rax
call fcn.140021550
test al, al
je 0x14001dce9
cmp byte [rbx + 8], 0
je 0x14001ddc9
mov rcx, qword [rbx]
mov r8d, 0x70
mov rdx, rbx
mov rcx, qword [rcx]
call fcn.14008a270
lea rcx, [rbx + 0x150]
call fcn.140146a58
test eax, eax
je 0x14001dce9
mov ecx, eax
call fcn.140146b60
jmp 0x14001dce9
cmp qword [rdi + 0x18], 8
jb 0x14001ddf3
mov rdi, qword [rdi]
lea r8, [rsp + 0x20]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x14001dcec
movzx eax, byte [rsp + 0x20]
xor edi, edi
and al, 1
cmp al, byte [rbx + 0xac]
je 0x14001de27
mov byte [rbx + 0xac], al
mov edi, InitCommonControls
lea rdx, [rsp + 0x34]
lea rcx, [rbx + 0xa4]
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
je 0x14001de56
mov rax, qword [rsp + 0x34]
or edi, 0x60
mov qword [rbx + 0xa4], rax
mov dword [rbx + 0xa0], 8
test edi, edi
je 0x14001de9f
lea rcx, [rbx + 0x150]
call fcn.140021550
test al, al
je 0x14001de9f
cmp byte [rbx + 8], 0
je 0x14001de81
mov rcx, qword [rbx]
mov r8d, edi
mov rdx, rbx
mov rcx, qword [rcx]
call fcn.14008a270
lea rcx, [rbx + 0x150]
call fcn.140146a58
test eax, eax
je 0x14001de98
mov ecx, eax
call fcn.140146b60
mov al, 1
jmp 0x14001dd02
xor al, al
jmp 0x14001dd02
xor al, al
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140168660
add rsp, 0x60
pop rbx
ret