Function at 0x14013e3f0
Capabilities:
Check if file exists

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x290]
sub rsp, 0x390
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov qword [rsp + 0x3e0], rbx
mov rax, qword [0x14028e6b0]
xor rax, rsp
mov qword [rbp + 0x280], rax
mov rsi, rdx
mov r12, rcx
mov qword [rbp - 0x78], rdx
cmp qword [rdx + 0x18], 8
jb 0x14013e442
mov rcx, qword [rdx]
jmp 0x14013e445
mov rcx, rsi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14013e489
mov r8, qword [rsi + 0x18]
cmp r8, 8
jb 0x14013e467
inc r8
mov rdx, qword [rsi]
mov rcx, rsi
call fcn.140007680
xor r14d, r14d
mov qword [rsi + 0x18], 7
mov qword [rsi + 0x10], r14
cmp qword [rsi + 0x18], 8
jb 0x14013e480
mov rsi, qword [rsi]
mov word [rsi], r14w
jmp 0x14013ebe8
cmp qword [rsi + 0x18], 8
jb 0x14013e495
mov rcx, qword [rsi]
jmp 0x14013e498
mov rcx, rsi
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x14013ebe0
mov r9, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 8
jb 0x14013e4b6
mov rax, qword [rsi]
jmp 0x14013e4b9
mov rax, rsi
xor r14d, r14d
cmp word [rax + r9*2 - 2], 0x5c
jne 0x14013e50f
dec r9
xor r8d, r8d
lea rdx, [rbp - 0x30]
mov rcx, rsi
call fcn.14000d950
nop
mov rdx, rax
mov rcx, rsi
call fcn.140003d30
nop
mov r8, qword [rbp - 0x18]
cmp r8, 8
jb 0x14013e4fe
inc r8
mov rdx, qword [rbp - 0x30]
lea rcx, [rbp - 0x30]
call fcn.140007680
mov qword [rbp - 0x18], 7
mov qword [rbp - 0x20], r14
mov word [rbp - 0x30], r14w
lea r15, [r12 + 0x130]
mov rbx, qword [r15]
mov rdi, qword [r15 + 8]
cmp rbx, rdi
je 0x14013e756
nop word [rax + rax]
mov r13, qword [rbx]
cmp qword [rsi + 0x18], 8
jb 0x14013e53f
mov r8, qword [rsi]
jmp 0x14013e542
mov r8, rsi
cmp qword [r13 + 0x70], 8
jb 0x14013e54f
mov rcx, qword [r13 + 0x58]
jmp 0x14013e553
lea rcx, [r13 + 0x58]
mov r9, qword [rsi + 0x10]
mov rdx, qword [r13 + 0x68]
call fcn.140006430
test eax, eax
je 0x14013e735
mov rdx, rsi
lea rcx, [r13 + 0x58]
call fcn.1401411d0
lea rdx, [r13 + 0x58]
test al, al
jne 0x14013e5f1
mov rcx, rsi
call fcn.1401411d0
test al, al
jne 0x14013e59e
add rbx, 8
cmp rbx, rdi
jne 0x14013e530
lea r15, [r12 + 0x130]
jmp 0x14013e756
cmp qword [rsi + 0x18], 8
jb 0x14013e5aa
mov rbx, qword [rsi]
jmp 0x14013e5ad
mov rbx, rsi
call fcn.14000cdd0
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x28], r14d
lea rcx, str.Folder_as_Worspace_adding_folder_problem
mov qword [rsp + 0x20], rcx
lea r9, str.A_sub_folder_of_the_folder_you_want_to_add_exists._rPlease_remove_its_root_from_the_panel_before_you_add_folder___STR_REPLACE__.
mov r8, qword [r12 + 0x10]
lea rdx, str.FolderAsWorspaceSubfolderExists
mov rcx, qword [rax + 0x332c0]
call fcn.140070e40
jmp 0x14013ebe0
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x38], 7
mov qword [rbp - 0x40], r14
mov word [rbp - 0x50], r14w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rbp - 0x50]
call fcn.140006dd0
nop
mov r9, qword [rsi + 0x10]
mov r8, qword [rbp - 0x40]
sub r9, r8
inc r8
lea rdx, [rbp - 0x30]
mov rcx, rsi
call fcn.14000d950
nop
mov r8d, 0x5c
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x68]
call fcn.1401436e0
nop
lea rax, [rbp - 0x70]
mov qword [rsp + 0x60], rax
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x70]
call fcn.14005ba20
nop
mov r9, rax
xor r8d, r8d
lea rdx, [rbp - 0x50]
mov rcx, r12
call fcn.14013f5b0
test rax, rax
je 0x14013e697
mov r9, rax
mov edx, 0x110b
mov r8d, 9
mov rcx, qword [r12 + 0xb0]
call qword [sym.imp.USER32.dll_SendMessageW]
nop
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14013e6df
movzx r9d, byte [rsp + 0x40]
lea r8, [rsp + 0x68]
mov rdx, qword [rsp + 0x70]
call fcn.140001dc0
mov r8, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x68]
sub r8, rdx
sar r8, 5
lea rcx, [rsp + 0x68]
call fcn.140007610
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], r14
mov r8, qword [rbp - 0x18]
cmp r8, 8
jb 0x14013e6f9
inc r8
mov rdx, qword [rbp - 0x30]
lea rcx, [rbp - 0x30]
call fcn.140007680
mov qword [rbp - 0x18], 7
mov qword [rbp - 0x20], r14
mov word [rbp - 0x30], r14w
mov r8, qword [rbp - 0x38]
cmp r8, 8
jb 0x14013e724
inc r8
mov rdx, qword [rbp - 0x50]
lea rcx, [rbp - 0x50]
call fcn.140007680
mov qword [rbp - 0x38], 7
mov qword [rbp - 0x40], r14
mov word [rbp - 0x50], r14w
mov r8, qword [rsi + 0x18]
cmp r8, 8
jb 0x14013e46a
inc r8
mov rdx, qword [rsi]
mov rcx, rsi
call fcn.140007680
jmp 0x14013e46a
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r14
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x58], r14
mov qword [rbp - 0x58], 7
mov qword [rbp - 0x60], r14
mov word [rbp - 0x70], r14w
mov r8d, 3
lea rdx, [0x1401d3670]
lea rcx, [rbp - 0x70]
call fcn.140006f10
nop
lea rax, [rbp - 0x70]
mov rcx, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
cmp rax, rbx
jae 0x14013e87e
lea rax, [rbp - 0x70]
cmp rcx, rax
ja 0x14013e87e
lea rdi, [rbp - 0x70]
sub rdi, rcx
mov r8, qword [rsp + 0x58]
cmp rbx, r8
jne 0x14013e83f
mov rax, r8
sub rax, rbx
sar rax, 5
cmp rax, 1
jae 0x14013e83f
sub rbx, rcx
sar rbx, 5
movabs r9, 0x7ffffffffffffff
mov rax, r9
sub rax, rbx
cmp rax, 1
jae 0x14013e803
lea rcx, str.vector_T__too_long
call fcn.140145858
int3
lea rdx, [rbx + 1]
sub r8, rcx
sar r8, 5
mov rax, r8
shr rax, 1
sub r9, rax
add rax, r8
mov rcx, r14
cmp r9, r8
cmovae rcx, rax
cmp rcx, rdx
cmovae rdx, rcx
lea rcx, [rsp + 0x48]
call fcn.140006120
mov rbx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
and rdi, 0xffffffffffffffe0
add rdi, rcx
test rbx, rbx
je 0x14013e970
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r14
cmp qword [rbx + 0x18], 8
jb 0x14013e867
mov rax, qword [rbx]
jmp 0x14013e86a
mov rax, rbx
mov word [rax], r14w
mov rdx, rdi
mov rcx, rbx
call fcn.140004900
jmp 0x14013e96b
mov r8, qword [rsp + 0x58]
cmp rbx, r8
jne 0x14013e8f9
mov rax, r8
sub rax, rbx
sar rax, 5
cmp rax, 1
jae 0x14013e8f9
sub rbx, rcx
sar rbx, 5
movabs r9, 0x7ffffffffffffff
mov rax, r9
sub rax, rbx
cmp rax, 1
jae 0x14013e8c2
lea rcx, str.vector_T__too_long
call fcn.140145858
int3
lea rdx, [rbx + 1]
sub r8, rcx
sar r8, 5
mov rax, r8
shr rax, 1
sub r9, rax
add rax, r8
mov rcx, r14
cmp r9, r8
cmovae rcx, rax
cmp rcx, rdx
cmovae rdx, rcx
lea rcx, [rsp + 0x48]
call fcn.140006120
mov rbx, qword [rsp + 0x50]
test rbx, rbx
je 0x14013e970
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r14
cmp qword [rbx + 0x18], 8
jb 0x14013e916
mov rax, qword [rbx]
jmp 0x14013e919
mov rax, rbx
mov word [rax], r14w
cmp qword [rbp - 0x58], 8
jae 0x14013e93f
mov r8, qword [rbp - 0x60]
add r8, 1
je 0x14013e94a
add r8, r8
lea rdx, [rbp - 0x70]
mov rcx, rbx
call fcn.140187210
jmp 0x14013e94a
mov rax, qword [rbp - 0x70]
mov qword [rbx], rax
mov qword [rbp - 0x70], r14
mov rax, qword [rbp - 0x60]
mov qword [rbx + 0x10], rax
mov rax, qword [rbp - 0x58]
mov qword [rbx + 0x18], rax
mov qword [rbp - 0x58], 7
mov qword [rbp - 0x60], r14
mov word [rbp - 0x70], r14w
mov rbx, qword [rsp + 0x50]
add rbx, 0x20
mov qword [rsp + 0x50], rbx
mov r8, qword [rbp - 0x58]
cmp r8, 8
jb 0x14013e993
inc r8
mov rdx, qword [rbp - 0x70]
lea rcx, [rbp - 0x70]
call fcn.140007680
mov qword [rbp - 0x58], 7
mov qword [rbp - 0x60], r14
mov word [rbp - 0x70], r14w
cmp qword [rsi + 0x18], 8
jb 0x14013e9b0
mov rcx, qword [rsi]
jmp 0x14013e9b3
mov rcx, rsi
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov r8, rax
mov edx, 0x104
lea rcx, [rbp + 0x70]
call fcn.14018fc10
lea rcx, [rbp + 0x70]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cdqe
cmp word [rbp + rax*2 + 0x6e], 0x5c
jne 0x14013e9fc
lea rax, [rax*2 - 2]
cmp rax, 0x208
jae 0x14013e9f6
mov word [rbp + rax + 0x70], r14w
jmp 0x14013e9fc
call fcn.14016881c
int3
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x38], 7
mov qword [rbp - 0x40], r14
mov word [rbp - 0x50], r14w
cmp word [rbp + 0x70], 0
jne 0x14013ea21
mov r8, r14
jmp 0x14013ea3b
lea rax, [rbp + 0x70]
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14013ea30
lea rdx, [rbp + 0x70]
lea rcx, [rbp - 0x50]
call fcn.140006f10
nop
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x10], xmm0
mov qword [rbp], r14
mov qword [rbp + 8], r14
movdqa xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x20], r14
mov qword [rbp + 0x38], r14
mov qword [rbp + 0x40], r14
mov qword [rbp + 0x40], 7
mov qword [rbp + 0x38], r14
mov word [rbp + 0x28], r14w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x28]
call fcn.140006dd0
nop
mov qword [rbp + 0x58], r14
mov qword [rbp + 0x60], r14
mov qword [rbp + 0x60], 7
mov qword [rbp + 0x58], r14
mov word [rbp + 0x48], r14w
mov r8, qword [rbp - 0x38]
cmp r8, 8
jb 0x14013eac3
inc r8
mov rdx, qword [rbp - 0x50]
lea rcx, [rbp - 0x50]
call fcn.140007680
mov qword [rbp - 0x38], 7
mov qword [rbp - 0x40], r14
mov word [rbp - 0x50], r14w
cmp qword [rsi + 0x18], 8
jb 0x14013eae0
mov rdx, qword [rsi]
jmp 0x14013eae3
mov rdx, rsi
mov byte [rsp + 0x28], 0
mov byte [rsp + 0x20], 1
lea r9, [rbp - 0x10]
lea r8, [rsp + 0x48]
mov rcx, r12
call fcn.14013f860
lea r8, [rbp - 0x10]
xor edx, edx
mov rcx, r12
call fcn.14013ed50
mov r9, rax
mov edx, 0x1102
mov r8d, 2
mov rcx, qword [r12 + 0xb0]
call qword [sym.imp.USER32.dll_SendMessageW]
mov ecx, 0x90
call fcn.140167f20
mov rbx, rax
mov qword [rsp + 0x60], rax
test rax, rax
je 0x14013eb60
lea rdx, [rbp - 0x10]
mov rcx, rax
call fcn.14013cff0
nop
mov qword [rbx + 0x78], r12
mov qword [rbx + 0x80], r14
mov qword [rbx + 0x88], r14
jmp 0x14013eb63
mov rbx, r14
mov qword [rsp + 0x60], rbx
lea rdx, [rsp + 0x60]
mov rcx, r15
call fcn.140142180
mov rax, qword [r15 + 8]
sub rax, qword [r15]
sar rax, 3
mov rcx, qword [r15]
mov rcx, qword [rcx + rax*8 - 8]
call fcn.1401438c0
nop
lea rcx, [rbp - 0x10]
call fcn.14013d650
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14013ebe0
movzx r9d, byte [rsp + 0x40]
lea r8, [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
call fcn.140001dc0
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x48]
sub r8, rdx
sar r8, 5
lea rcx, [rsp + 0x48]
call fcn.140007610
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r14
mov rcx, rsi
call fcn.1400037f0
mov rcx, qword [rbp + 0x280]
xor rcx, rsp
call fcn.140168660
mov rbx, qword [rsp + 0x3e0]
add rsp, 0x390
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret