Function at 0x14013df30
Capabilities:
Check if file exists

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x1f8]
sub rsp, 0x2f8
mov qword [rbp - 0x48], 0xfffffffffffffffe
mov rax, qword [0x14028e6b0]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
mov rsi, r9
mov qword [rsp + 0x40], r9
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x50], rdx
mov rbx, rcx
mov qword [rsp + 0x48], rcx
mov rdi, qword [rbp + 0x240]
mov qword [rbp - 0x40], rdi
test r9, r9
jne 0x14013dfab
call fcn.140140840
mov rsi, rax
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x14013dfa6
mov rcx, rdi
call fcn.140003990
jmp 0x14013e3c6
mov r8, qword [rsp + 0x38]
mov rax, qword [rdi + 8]
sub rax, qword [rdi]
and rax, 0xffffffffffffffe0
cmp rax, 0x20
jne 0x14013e1a9
cmp qword [r8 + 0x18], 8
jb 0x14013dfca
mov r8, qword [r8]
mov rcx, r8
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14013df99
mov r8, qword [rdi]
mov rdx, rsi
mov rcx, rbx
call fcn.14013f430
test rax, rax
jne 0x14013df99
mov r8, qword [rsp + 0x38]
cmp qword [r8 + 0x18], 8
jb 0x14013dff9
mov r8, qword [r8]
mov rcx, r8
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
mov ecx, 0x48
test eax, eax
je 0x14013e0be
call fcn.140167f20
mov qword [rsp + 0x38], rax
test rax, rax
je 0x14013e089
lea rax, [rbp - 0x80]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x78], rax
mov rdx, qword [rdi]
lea rcx, [rbp - 0x80]
call fcn.140002740
mov rbx, rax
mov qword [rsp + 0x70], 7
xor esi, esi
mov qword [rsp + 0x68], rsi
mov word [rsp + 0x58], si
xor r8d, r8d
lea rdx, [0x1401d3618]
lea rcx, [rsp + 0x58]
call fcn.140006f10
nop
mov r9b, 1
mov r8, rbx
lea rdx, [rsp + 0x58]
mov rcx, qword [rsp + 0x38]
call fcn.14013d090
mov rsi, rax
mov rbx, qword [rsp + 0x48]
jmp 0x14013e08b
xor esi, esi
mov qword [rsp + 0x38], rsi
lea rcx, [rbx + 0x168]
lea rdx, [rsp + 0x38]
call fcn.1401420f0
mov rdx, qword [rdi]
cmp qword [rdx + 0x18], 8
jb 0x14013e0ae
mov rdx, qword [rdx]
mov rax, qword [rsp + 0x38]
mov r9d, 3
jmp 0x14013e168
call fcn.140167f20
mov qword [rsp + 0x38], rax
test rax, rax
je 0x14013e138
lea rax, [rbp - 0x80]
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x50], rax
mov rdx, qword [rdi]
lea rcx, [rbp - 0x80]
call fcn.140002740
mov rbx, rax
mov qword [rsp + 0x70], 7
xor esi, esi
mov qword [rsp + 0x68], rsi
mov word [rsp + 0x58], si
xor r8d, r8d
lea rdx, [0x1401d3618]
lea rcx, [rsp + 0x58]
call fcn.140006f10
nop
xor r9d, r9d
mov r8, rbx
lea rdx, [rsp + 0x58]
mov rcx, qword [rsp + 0x38]
call fcn.14013d090
mov rsi, rax
mov rbx, qword [rsp + 0x48]
jmp 0x14013e13a
xor esi, esi
mov qword [rsp + 0x48], rsi
lea rcx, [rbx + 0x168]
lea rdx, [rsp + 0x48]
call fcn.1401420f0
mov rdx, qword [rdi]
cmp qword [rdx + 0x18], 8
jb 0x14013e15d
mov rdx, qword [rdx]
mov rax, qword [rsp + 0x48]
mov r9d, 4
lea rsi, [rbx + 0x98]
mov rbx, qword [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r8, rbx
mov rcx, rsi
call fcn.1401216b0
xor r9d, r9d
lea r8, [0x14013ecf0]
mov rdx, rbx
mov rcx, rsi
call fcn.1401219c0
nop
mov rcx, rdi
call fcn.140003990
mov al, 1
jmp 0x14013e3c8
mov r9, rsi
mov edx, 0x110a
mov r8d, 4
mov rcx, qword [rbx + 0xb0]
call qword [sym.imp.USER32.dll_SendMessageW]
mov qword [rsp + 0x40], rax
xor esi, esi
test rax, rax
je 0x14013e331
nop dword [rax]
nop dword [rax + rax]
mov dword [rbp - 0x80], 1
lea rcx, [rbp - 0x30]
mov qword [rbp - 0x68], rcx
mov dword [rbp - 0x60], 0x104
mov qword [rbp - 0x78], rax
lea r9, [rbp - 0x80]
xor r8d, r8d
mov edx, 0x113e
mov rcx, qword [rbx + 0xb0]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdx, qword [rdi]
mov r8, qword [rbp - 0x68]
cmp word [r8], si
jne 0x14013e225
mov r9, rsi
jmp 0x14013e23a
or r9, 0xffffffffffffffff
nop dword [rax]
inc r9
cmp word [r8 + r9*2], si
jne 0x14013e230
cmp qword [rdx + 0x18], 8
jb 0x14013e246
mov rcx, qword [rdx]
jmp 0x14013e249
mov rcx, rdx
mov rdx, qword [rdx + 0x10]
call fcn.140006430
test eax, eax
je 0x14013e286
mov r9, qword [rsp + 0x40]
mov edx, 0x110a
mov r8d, 1
mov rcx, qword [rbx + 0xb0]
call qword [sym.imp.USER32.dll_SendMessageW]
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x14013e1e0
jmp 0x14013e331
mov r8, qword [rdi]
lea rcx, [r8 + 0x20]
xor eax, eax
movzx r9d, al
mov rdx, qword [rdi + 8]
call fcn.14005ac70
mov rdx, qword [rdi + 8]
lea rcx, [rdx - 0x20]
movzx r9d, byte [rsp + 0x30]
mov r8, rdi
call fcn.140001dc0
add qword [rdi + 8], 0xffffffffffffffe0
lea rax, [rsp + 0x58]
mov qword [rsp + 0x78], rax
mov rdx, rdi
lea rcx, [rsp + 0x58]
call fcn.14005ba20
nop
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x40]
mov r8, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x50]
mov rcx, rbx
call fcn.14013df30
movzx ebx, al
mov rcx, qword [rdi]
test rcx, rcx
je 0x14013e329
movzx r9d, byte [rsp + 0x30]
mov r8, rdi
mov rdx, qword [rdi + 8]
call fcn.140001dc0
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
sub r8, rdx
sar r8, 5
mov rcx, rdi
call fcn.140007610
mov qword [rdi], rsi
mov qword [rdi + 8], rsi
mov qword [rdi + 0x10], rsi
movzx eax, bl
jmp 0x14013e3c8
mov rcx, qword [rdi]
test rcx, rcx
je 0x14013e3c6
movzx r9d, byte [rsp + 0x30]
mov r8, rdi
mov rdx, qword [rdi + 8]
call fcn.140001dc0
mov rcx, qword [rdi]
mov rax, qword [rdi + 0x10]
sub rax, rcx
sar rax, 5
movabs rdx, 0x7ffffffffffffff
cmp rax, rdx
jbe 0x14013e372
call fcn.14018acfc
int3
shl rax, 5
cmp rax, 0x1000
jb 0x14013e3b6
test cl, 0x1f
je 0x14013e389
call fcn.14018acfc
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x14013e398
call fcn.14018acfc
int3
sub rcx, rax
cmp rcx, 8
jae 0x14013e3a7
call fcn.14018acfc
int3
cmp rcx, 0x27
jbe 0x14013e3b3
call fcn.14018acfc
int3
mov rcx, rax
call fcn.140167f5c
mov qword [rdi], rsi
mov qword [rdi + 8], rsi
mov qword [rdi + 0x10], rsi
xor al, al
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.140168660
add rsp, 0x2f8
pop rdi
pop rsi
pop rbx
pop rbp
ret