Function at 0x140105460
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x238]
sub rsp, 0x320
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1402a6808]
xor rax, rsp
mov qword [rbp + 0x210], rax
mov edi, edx
mov rbx, rcx
xor r15d, r15d
xor r9d, r9d
mov edx, 0x110a
lea r8d, [r15 + 9]
mov rcx, qword [rcx + 0xa0]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rsi, rax
test rax, rax
je case.0x1401054ec.3120
lea eax, [rdi - 0xc27]
cmp eax, 0x16
ja case.0x1401054ec.3120
movsxd rcx, eax
lea rax, [0x140000000]
mov edx, dword [rax + rcx*4 + 0x105fd4]
add rdx, rax
jmp rdx
lea r9, [rsp + 0x58]
xor r8d, r8d
mov edx, 0x41d
mov rcx, qword [rbx + 0x100]
call qword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x40], eax
mov ecx, dword [rsp + 0x64]
add ecx, dword [rsp + 0x5c]
mov dword [rsp + 0x44], ecx
lea rdx, [rsp + 0x40]
mov rcx, qword [rbx + 0x100]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov qword [rsp + 0x30], r15
mov rax, qword [rbx + 0x18]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r15d
mov r9d, dword [rsp + 0x44]
mov r8d, dword [rsp + 0x40]
xor edx, edx
mov rcx, qword [rbx + 0x108]
call qword [sym.imp.USER32.dll_TrackPopupMenu]
jmp case.0x1401054ec.3120
lea r9, [rsp + 0x58]
mov edx, 0x41d
mov r8d, 1
mov rcx, qword [rbx + 0x100]
call qword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x40], eax
mov ecx, dword [rsp + 0x5c]
add ecx, dword [rsp + 0x64]
mov dword [rsp + 0x44], ecx
lea rdx, [rsp + 0x40]
mov rcx, qword [rbx + 0x100]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov rdx, rsi
mov rcx, rbx
call fcn.140103290
cmp eax, 1
jne 0x1401055bb
mov rcx, qword [rbx + 0x110]
jmp 0x1401055d9
cmp eax, 2
jne 0x1401055c9
mov rcx, qword [rbx + 0x118]
jmp 0x1401055d9
cmp eax, 3
jne case.0x1401054ec.3120
mov rcx, qword [rbx + 0x120]
test rcx, rcx
je case.0x1401054ec.3120
mov qword [rsp + 0x30], r15
mov rax, qword [rbx + 0x18]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r15d
mov r9d, dword [rsp + 0x44]
mov r8d, dword [rsp + 0x40]
xor edx, edx
call qword [sym.imp.USER32.dll_TrackPopupMenu]
jmp case.0x1401054ec.3120
xor r9d, r9d
xor r8d, r8d
mov edx, 0x110a
mov rcx, qword [rbx + 0xa0]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdi, rax
call fcn.14000c980
lea rcx, [0x1401e3f28]
mov qword [rsp + 0x28], rcx
lea rcx, str.NewProjectName
mov qword [rsp + 0x20], rcx
lea r9, str.ProjectManager
lea r8, str.Project_Name
lea rdx, [rsp + 0x58]
mov rcx, qword [rax + 0x33368]
call fcn.140079ed0
nop
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rdx, qword [rsp + 0x58]
lea rcx, [rbx + 0x88]
mov qword [rsp + 0x20], r15
mov r9d, 2
mov r8, rdi
call fcn.140125590
mov rdi, rax
mov dl, 1
mov rcx, rbx
call fcn.1401074b0
mov r9, rsi
mov edx, 0x1102
mov r8d, 2
mov rcx, qword [rbx + 0xa0]
call qword [sym.imp.USER32.dll_SendMessageW]
mov r9, rdi
xor r8d, r8d
mov edx, 0x1141
mov rcx, qword [rbx + 0xa0]
call qword [sym.imp.USER32.dll_SendMessageW]
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x140105712
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14010570d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140105fc2
call fcn.14017f5e4
movdqa xmm0, xmmword [0x1401e3030]
movdqu xmmword [rsp + 0x68], xmm0
mov word [rsp + 0x58], r15w
jmp case.0x1401054ec.3120
cmp byte [rbx + 0x188], r15b
je 0x14010578f
call fcn.14000c980
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x28], 0x23
lea rcx, str.New_Workspace
mov qword [rsp + 0x20], rcx
lea r9, str.The_current_workspace_was_modified._Do_you_want_to_save_the_current_project_
mov r8, qword [rbx + 0x18]
lea rdx, str.ProjectPanelNewDoSaveDirtyWsOrNot
mov rcx, qword [rax + 0x33368]
call fcn.14007aff0
cmp eax, 6
jne 0x140105786
mov rcx, rbx
call fcn.140106eb0
test al, al
jmp 0x140105789
cmp eax, 2
je case.0x1401054ec.3120
lea rcx, [rbx + 0x88]
call fcn.1401261f0
mov rcx, rbx
call fcn.140104950
jmp case.0x1401054ec.3120
mov r9, rsi
xor r8d, r8d
mov edx, 0x1141
mov rcx, qword [rbx + 0xa0]
call qword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x1401054ec.3120
call fcn.14000c980
lea rcx, [0x1401e3f28]
mov qword [rsp + 0x28], rcx
lea rcx, str.NewFolderName
mov qword [rsp + 0x20], rcx
lea r9, str.ProjectManager
lea r8, str.Folder_Name
lea rdx, [rsp + 0x58]
mov rcx, qword [rax + 0x33368]
call fcn.140079ed0
nop
lea r8, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae r8, qword [rsp + 0x58]
mov rdx, rsi
mov rcx, rbx
call fcn.1401029e0
mov dl, 1
mov rcx, rbx
call fcn.1401074b0
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x140105712
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14010570d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140105fb6
jmp 0x14010570d
lea rcx, [rbx + 0x88]
mov rdx, rsi
call fcn.140126150
test al, al
je case.0x1401054ec.3120
mov dl, 1
mov rcx, rbx
call fcn.1401074b0
jmp case.0x1401054ec.3120
lea rcx, [rbx + 0x88]
mov rdx, rsi
call fcn.1401261a0
jmp 0x140105882
mov rdx, rsi
mov rcx, rbx
call fcn.140102380
mov rdx, rsi
mov rcx, rbx
call fcn.140103290
cmp eax, 2
jne case.0x1401054ec.3120
lea rcx, [rbx + 0x88]
mov r9d, 3
mov r8d, r9d
mov rdx, rsi
call fcn.140126c70
jmp case.0x1401054ec.3120
mov rdx, rsi
mov rcx, rbx
call fcn.140102690
mov rdx, rsi
mov rcx, rbx
call fcn.140103290
cmp eax, 2
jne case.0x1401054ec.3120
lea rcx, [rbx + 0x88]
mov r9d, 3
mov r8d, r9d
mov rdx, rsi
call fcn.140126c70
jmp case.0x1401054ec.3120
mov rcx, rbx
call fcn.140107090
test al, al
je case.0x1401054ec.3120
mov rdx, qword [rbx + 0x18]
lea rcx, [rsp + 0x40]
call fcn.14002d260
nop
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140107110
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x40]
call fcn.14002e250
nop
cmp qword [rsp + 0x68], 0
je 0x140105a08
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rdx, qword [rsp + 0x58]
mov r8b, 1
mov rcx, rbx
call fcn.140105100
test al, al
jne 0x140105a08
call fcn.14000c980
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x28], r15d
lea rcx, str.Open_Workspace
mov qword [rsp + 0x20], rcx
lea r9, str.The_workspace_could_not_be_opened._rIt_seems_the_file_to_open_is_not_a_valid_project_file.
mov r8, qword [rbx + 0x18]
lea rdx, str.ProjectPanelOpenFailed
mov rcx, qword [rax + 0x33368]
call fcn.14007aff0
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x140105a4a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140105a45
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140105fbc
jmp 0x140105a45
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x140105a4a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140105a45
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140105fc8
call fcn.14017f5e4
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], r15w
lea rcx, [rsp + 0x40]
call fcn.14002d4d0
jmp case.0x1401054ec.3120
call fcn.14000c980
mov rsi, qword [rax + 0x33368]
lea r14, str.Reload_Workspace
cmp byte [rbx + 0x188], r15b
je 0x140105ac3
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x28], 0x24
mov qword [rsp + 0x20], r14
lea r9, str.The_current_workspace_was_modified._Reloading_will_discard_all_modifications._rDo_you_want_to_continue_
mov r8, qword [rbx + 0x18]
lea rdx, str.ProjectPanelReloadDirty
mov rcx, rsi
call fcn.14007aff0
cmp eax, 7
je case.0x1401054ec.3120
lea rdi, [rbx + 0x148]
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140105ad7
mov rcx, qword [rdi]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140105afe
cmp qword [rdi + 0x18], 8
jb 0x140105aeb
mov rdi, qword [rdi]
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call fcn.140105100
jmp case.0x1401054ec.3120
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r14
lea r9, str.Cannot_find_the_file_to_reload.
mov r8, qword [rbx + 0x18]
lea rdx, str.ProjectPanelReloadError
mov rcx, rsi
call fcn.14007aff0
jmp case.0x1401054ec.3120
mov rcx, rbx
call fcn.140106eb0
jmp case.0x1401054ec.3120
cmp edi, 0xc37
sete dl
mov rcx, rbx
call fcn.140106f20
jmp case.0x1401054ec.3120
mov r9, rsi
mov edx, 0x110a
mov r8d, 3
mov rcx, qword [rbx + 0xa0]
call qword [sym.imp.USER32.dll_SendMessageW]
mov r14, rax
mov r9, rsi
mov edx, 0x110a
mov r8d, 4
mov rcx, qword [rbx + 0xa0]
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
je 0x140105be1
call fcn.14000c980
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x28], 4
lea rcx, str.Remove_folder_from_project
mov qword [rsp + 0x20], rcx
lea r9, str.All_the_sub_items_will_be_removed._rAre_you_sure_you_want_to_remove_this_folder_from_the_project_
mov r8, qword [rbx + 0x18]
lea rdx, str.ProjectPanelRemoveFolderFromProject
mov rcx, qword [rax + 0x33368]
call fcn.14007aff0
lea rdi, [rbx + 0x88]
cmp eax, 6
je 0x140105be8
jmp 0x140105bfd
lea rdi, [rbx + 0x88]
mov rdx, rsi
mov rcx, rdi
call fcn.140126270
mov dl, 1
mov rcx, rbx
call fcn.1401074b0
mov rdx, r14
mov rcx, rbx
call fcn.140103290
cmp eax, 2
jne case.0x1401054ec.3120
mov r9d, 4
mov r8d, r9d
mov rdx, r14
mov rcx, rdi
call fcn.140126c70
jmp case.0x1401054ec.3120
mov r9, rsi
mov edx, 0x110a
mov r8d, 3
mov rcx, qword [rbx + 0xa0]
call qword [sym.imp.USER32.dll_SendMessageW]
mov r14, rax
call fcn.14000c980
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x28], 4
lea rcx, str.Remove_file_from_project
mov qword [rsp + 0x20], rcx
lea r9, str.Are_you_sure_you_want_to_remove_this_file_from_the_project_
mov r8, qword [rbx + 0x18]
lea rdx, str.ProjectPanelRemoveFileFromProject
mov rcx, qword [rax + 0x33368]
call fcn.14007aff0
cmp eax, 6
jne case.0x1401054ec.3120
mov rdx, rsi
lea rcx, [rbx + 0x88]
call fcn.140126270
mov dl, 1
mov rcx, rbx
call fcn.1401074b0
mov rdx, r14
mov rcx, rbx
call fcn.140103290
cmp eax, 2
jne case.0x1401054ec.3120
mov r9d, 4
mov r8d, r9d
mov rdx, r14
lea rcx, [rbx + 0x88]
call fcn.140126c70
jmp case.0x1401054ec.3120
lea rax, vtable.Window.0
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], r15
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x40], xmm0
lea rax, vtable.StaticDialog.0
mov qword [rbp - 0x50], rax
lea rax, vtable.FileRelocalizerDlg.0
mov qword [rbp - 0x50], rax
movdqa xmmword [rbp - 0x10], xmm0
movdqa xmm1, xmmword [0x1401e3030]
movdqa xmmword [rbp - 0x10], xmm1
mov word [rbp - 0x20], r15w
mov rcx, qword [rbx + 0x10]
mov rax, qword [rbx + 8]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rcx
mov qword [rsp + 0x60], rsi
mov dword [rsp + 0x58], 0x27
lea rax, [rbp]
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], 0x104
lea r9, [rsp + 0x58]
xor r8d, r8d
mov edx, 0x113e
mov rcx, qword [rbx + 0xa0]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdi, qword [rbp - 0x78]
test rdi, rdi
je 0x140105e8a
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140105d82
mov rdx, qword [rdi]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140105d90
lea rcx, [rbp - 0x20]
call fcn.140006d60
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
lea r9, [0x140129a60]
mov r8, qword [rbp - 0x40]
mov edx, 0xc80
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.USER32.dll_DialogBoxParamW]
test eax, eax
jne 0x140105fa1
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x50]
call fcn.1401031d0
nop
lea rcx, [rbp - 0x70]
mov r10, qword [rbp - 0x70]
mov r11, qword [rbp - 0x58]
cmp r11, 8
cmovae rcx, r10
mov r8, rdi
cmp qword [rdi + 0x18], 8
jb 0x140105dfe
mov r8, qword [rdi]
mov rdx, qword [rdi + 0x10]
mov r9, qword [rbp - 0x60]
cmp rdx, r9
jne 0x140105ec9
test rdx, rdx
je 0x140105e38
sub r8, rcx
nop word [rax + rax]
movzx eax, word [rcx]
cmp word [rcx + r8], ax
jne 0x140105ec9
add rcx, 2
sub rdx, 1
jne 0x140105e20
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x140105e78
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140105e73
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140105fce
call fcn.14017f5e4
movdqa xmm0, xmmword [0x1401e3030]
movdqu xmmword [rbp - 0x60], xmm0
mov word [rbp - 0x70], r15w
lea rcx, [rbp - 0x20]
call fcn.1400068c0
nop
lea rcx, [rbp - 0x50]
call fcn.140129340
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.14017f700
lea r11, [rsp + 0x320]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
lea rax, [rbp - 0x70]
cmp rdi, rax
je 0x140105ee9
lea rdx, [rbp - 0x70]
cmp r11, 8
cmovae rdx, r10
mov r8, r9
mov rcx, rdi
call fcn.140006d60
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140105ef6
mov rcx, qword [rdi]
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov r8, rax
mov edx, 0x104
lea rcx, [rbp]
call fcn.1401a66e0
cmp qword [rdi + 0x18], 8
jb 0x140105f17
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
neg eax
sbb ecx, ecx
add ecx, 6
mov dword [rbp - 0x80], ecx
mov dword [rsp + 0x7c], ecx
lea r9, [rsp + 0x58]
xor r8d, r8d
mov edx, 0x113f
mov rcx, qword [rbx + 0xa0]
call qword [sym.imp.USER32.dll_SendMessageW]
mov dl, 1
mov rcx, rbx
call fcn.1401074b0
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x140105f8f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140105f8a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140105fb0
call fcn.14017f5e4
movdqa xmm0, xmmword [0x1401e3030]
movdqu xmmword [rbp - 0x60], xmm0
mov word [rbp - 0x70], r15w
lea rcx, [rbp - 0x20]
call fcn.1400068c0
nop
jmp 0x140105e94
call fcn.1401a10ac
nop
call fcn.1401a10ac
nop
call fcn.1401a10ac
nop
call fcn.1401a10ac
nop
call fcn.1401a10ac
nop
call fcn.1401a10ac
int3