Function at 0x4d0c56
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57db47
mov eax, dword fs:[0]
push eax
mov eax, 0x1344
call fcn.0052c270
mov eax, dword [0x5fc150]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 9
push 0x110a
push dword [edi + 0x70]
call esi
mov ebx, eax
test ebx, ebx
je case.0x4d08b4.3120
mov eax, dword [ebp + 8]
lea ecx, [eax - 0xc27]
cmp ecx, 0x16
ja case.0x4d08b4.3120
jmp dword [ecx*4 + 0x4d0fe0]
push 0
lea eax, [ebp - 0x1350]
mov ecx, edi
push eax
call fcn.004cf210
push 0
push dword [edi + 0xc]
push 0
push dword [ebp - 0x134c]
push dword [ebp - 0x1350]
push 0
push dword [edi + 0xa4]
call dword [sym.imp.USER32.dll_TrackPopupMenu]
jmp case.0x4d08b4.3120
push 1
lea eax, [ebp - 0x1350]
mov ecx, edi
push eax
call fcn.004cf210
push ebx
mov ecx, edi
call fcn.004cf2f0
cmp eax, 1
jne 0x4d0916
mov eax, dword [edi + 0xa8]
jmp 0x4d0932
cmp eax, 2
jne 0x4d0923
mov eax, dword [edi + 0xac]
jmp 0x4d0932
cmp eax, 3
jne case.0x4d08b4.3120
mov eax, dword [edi + 0xb0]
test eax, eax
je case.0x4d08b4.3120
push 0
push dword [edi + 0xc]
push 0
push dword [ebp - 0x134c]
push dword [ebp - 0x1350]
push 0
push eax
call dword [sym.imp.USER32.dll_TrackPopupMenu]
jmp case.0x4d08b4.3120
lea ecx, [edi + 0x64]
call fcn.004cf490
mov dword [ebp - 0x134c], eax
call fcn.0040baa0
push str.NewProjectName
push str.ProjectManager
push str.Project_Name
lea ecx, [ebp - 0x230]
push ecx
mov ecx, dword [eax + 0x234d8]
call fcn.0045fc60
mov dword [ebp - 4], 0
cmp dword [ebp - 0x21c], 8
mov eax, dword [ebp - 0x230]
jae 0x4d09ab
lea eax, [ebp - 0x230]
push 0
push 2
push dword [ebp - 0x134c]
lea ecx, [edi + 0x64]
push eax
call fcn.004f76b0
push 1
push 1
push 0
push 0
push 0x110a
push dword [edi + 0x70]
mov esi, eax
mov byte [edi + 0xe4], 1
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
lea ecx, [edi + 0x64]
call fcn.004f8980
push ebx
lea ecx, [edi + 0x64]
call fcn.004cf070
push esi
push 0
push 0x1141
push dword [edi + 0x70]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.004038c0
jmp case.0x4d08b4.3120
cmp byte [edi + 0xe4], 0
je 0x4d0a66
call fcn.0040baa0
push 0
push 0
push 0x23
mov ecx, dword [eax + 0x234d8]
push str.New_Workspace
push str.The_current_workspace_was_modified._Do_you_want_to_save_the_current_project_
push dword [edi + 0xc]
push str.ProjectPanelNewDoSaveDirtyWsOrNot
call fcn.004607b0
cmp eax, 6
jne 0x4d0a58
mov ecx, edi
call fcn.004d1d50
test al, al
jmp 0x4d0a60
cmp eax, 7
je 0x4d0a66
cmp eax, 2
je case.0x4d08b4.3120
lea ecx, [edi + 0x64]
call fcn.004f80a0
mov ecx, edi
call fcn.004d00c0
jmp case.0x4d08b4.3120
push ebx
push 0
push 0x1141
push dword [edi + 0x70]
call esi
jmp case.0x4d08b4.3120
call fcn.0040baa0
push str.NewFolderName
push str.ProjectManager
push str.Folder_Name
lea ecx, [ebp - 0x230]
push ecx
mov ecx, dword [eax + 0x234d8]
call fcn.0045fc60
mov dword [ebp - 4], 1
cmp dword [ebp - 0x21c], 8
mov eax, dword [ebp - 0x230]
jae 0x4d0ace
lea eax, [ebp - 0x230]
push eax
push ebx
mov ecx, edi
call fcn.004cea50
push 1
push 1
push 0
push 0
push 0x110a
push dword [edi + 0x70]
mov byte [edi + 0xe4], 1
call esi
push eax
lea ecx, [edi + 0x64]
call fcn.004f8980
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.004038c0
jmp case.0x4d08b4.3120
lea ecx, [edi + 0x64]
push ebx
call fcn.004f7f10
test al, al
je case.0x4d08b4.3120
push 1
push 1
push 0
push 0
push 0x110a
push dword [edi + 0x70]
mov byte [edi + 0xe4], 1
call esi
push eax
lea ecx, [edi + 0x64]
call fcn.004f8980
jmp case.0x4d08b4.3120
lea ecx, [edi + 0x64]
push ebx
call fcn.004f8060
jmp 0x4d0b19
push ebx
mov ecx, edi
call fcn.004ce460
push ebx
mov ecx, edi
call fcn.004cf2f0
cmp eax, 2
jne case.0x4d08b4.3120
push 3
push 3
push ebx
lea ecx, [edi + 0x64]
call fcn.004f8980
jmp case.0x4d08b4.3120
push ebx
mov ecx, edi
call fcn.004ce730
jmp 0x4d0b5b
call fcn.0040baa0
cmp byte [edi + 0xe4], 0
mov esi, dword [eax + 0x234d8]
je 0x4d0bd9
push 0
push 0
push 0x23
push str.Open_Workspace
push str.The_current_workspace_was_modified._Do_you_want_to_save_the_current_project_
push dword [edi + 0xc]
mov ecx, esi
push str.ProjectPanelOpenDoSaveDirtyWsOrNot
call fcn.004607b0
cmp eax, 6
jne 0x4d0bcb
mov ecx, edi
call fcn.004d1d50
test al, al
jmp 0x4d0bd3
cmp eax, 7
je 0x4d0bd9
cmp eax, 2
je case.0x4d08b4.3120
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
push dword [edi + 0xc]
lea ecx, [ebp - 0x1348]
call fcn.0043b040
mov dword [ebp - 4], 2
lea eax, [ebp - 0x1348]
push eax
mov ecx, edi
call fcn.004d1ee0
lea ecx, [ebp - 0x1348]
call fcn.0043bab0
test eax, eax
je 0x4d0c3f
push eax
mov ecx, edi
call fcn.004d0650
test al, al
jne 0x4d0c3f
push 0
push 0
push 0
push str.Open_Workspace
push str.The_workspace_could_not_be_opened._rIt_seems_the_file_to_open_is_not_a_valid_project_file.
push dword [edi + 0xc]
mov ecx, esi
push str.ProjectPanelOpenFailed
call fcn.004607b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1348]
call fcn.0043b1b0
jmp case.0x4d08b4.3120
call fcn.0040baa0
cmp byte [edi + 0xe4], 0
mov ebx, dword [eax + 0x234d8]
je 0x4d0c97
push 0
push 0
push 0x24
push str.Reload_Workspace
push str.The_current_workspace_was_modified._Reloading_will_discard_all_modifications._rDo_you_want_to_continue_
push dword [edi + 0xc]
mov ecx, ebx
push str.ProjectPanelReloadDirty
call fcn.004607b0
cmp eax, 6
je 0x4d0c97
cmp eax, 7
je case.0x4d08b4.3120
cmp dword [edi + 0xc8], 8
lea esi, [edi + 0xb4]
jb 0x4d0caa
mov eax, dword [esi]
jmp 0x4d0cac
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4d0ccc
cmp dword [esi + 0x14], 8
jb 0x4d0cbf
mov esi, dword [esi]
push esi
mov ecx, edi
call fcn.004d0650
jmp case.0x4d08b4.3120
push 0
push 0
push 0
push str.Reload_Workspace
push str.Cannot_find_the_file_to_reload.
push dword [edi + 0xc]
mov ecx, ebx
push str.ProjectPanelReloadError
call fcn.004607b0
jmp case.0x4d08b4.3120
mov ecx, edi
call fcn.004d1d50
jmp case.0x4d08b4.3120
cmp eax, 0xc37
mov ecx, edi
sete al
movzx eax, al
push eax
call fcn.004d1dd0
jmp case.0x4d08b4.3120
lea ecx, [edi + 0x64]
push ebx
call fcn.004cf350
push ebx
lea ecx, [edi + 0x64]
mov dword [ebp - 0x134c], eax
call fcn.004cf170
test eax, eax
je 0x4d0d5d
call fcn.0040baa0
push 0
push 0
push 4
mov ecx, dword [eax + 0x234d8]
push str.Remove_folder_from_project
push str.All_the_sub_items_will_be_removed._rAre_you_sure_you_want_to_remove_this_folder_from_the_project_
push dword [edi + 0xc]
push str.ProjectPanelRemoveFolderFromProject
call fcn.004607b0
cmp eax, 6
jne 0x4d0d8b
push ebx
lea ebx, [edi + 0x64]
mov ecx, ebx
call fcn.004f80f0
push 1
push 1
push 0
push 0
push 0x110a
push dword [edi + 0x70]
mov byte [edi + 0xe4], 1
call esi
push eax
mov ecx, ebx
call fcn.004f8980
jmp 0x4d0d8e
lea ebx, [edi + 0x64]
mov esi, dword [ebp - 0x134c]
mov ecx, edi
push esi
call fcn.004cf2f0
cmp eax, 2
jne case.0x4d08b4.3120
push 4
push 4
push esi
mov ecx, ebx
call fcn.004f8980
jmp case.0x4d08b4.3120
lea ecx, [edi + 0x64]
push ebx
call fcn.004cf350
mov dword [ebp - 0x134c], eax
call fcn.0040baa0
push 0
push 0
push 4
mov ecx, dword [eax + 0x234d8]
push str.Remove_file_from_project
push str.Are_you_sure_you_want_to_remove_this_file_from_the_project_
push dword [edi + 0xc]
push str.ProjectPanelRemoveFileFromProject
call fcn.004607b0
cmp eax, 6
jne case.0x4d08b4.3120
push ebx
lea ecx, [edi + 0x64]
call fcn.004f80f0
push 1
push 1
push 0
push 0
push 0x110a
push dword [edi + 0x70]
mov byte [edi + 0xe4], 1
call esi
push eax
lea ecx, [edi + 0x64]
call fcn.004f8980
mov esi, dword [ebp - 0x134c]
mov ecx, edi
push esi
call fcn.004cf2f0
cmp eax, 2
jne case.0x4d08b4.3120
push 4
push 4
push esi
lea ecx, [edi + 0x64]
call fcn.004f8980
jmp case.0x4d08b4.3120
lea ecx, [ebp - 0x290]
call fcn.004cdf70
mov dword [ebp - 4], 3
mov eax, dword [edi + 4]
mov ecx, dword [edi + 8]
mov dword [ebp - 0x28c], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x230], eax
lea eax, [ebp - 0x240]
push eax
push 0
push 0x113e
push dword [edi + 0x70]
mov dword [ebp - 0x288], ecx
mov dword [ebp - 0x23c], ebx
mov dword [ebp - 0x240], 0x27
mov dword [ebp - 0x22c], 0x104
call esi
mov esi, dword [ebp - 0x21c]
test esi, esi
je 0x4d0faf
cmp dword [esi + 0x14], 8
jb 0x4d0ebf
mov eax, dword [esi]
jmp 0x4d0ec1
mov eax, esi
push 0
push eax
lea ecx, [ebp - 0x290]
call fcn.004cefd0
test eax, eax
jne 0x4d0faf
lea eax, [ebp - 0x258]
push eax
lea ecx, [ebp - 0x290]
call fcn.004cf190
mov byte [ebp - 4], 4
lea eax, [ebp - 0x258]
push eax
push esi
call fcn.004c2150
add esp, 8
test al, al
jne 0x4d0fa0
lea eax, [ebp - 0x258]
cmp esi, eax
je 0x4d0f1b
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.00406ac0
cmp dword [esi + 0x14], 8
jb 0x4d0f25
mov eax, dword [esi]
jmp 0x4d0f27
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0054bd88
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x4d0f4b
mov esi, dword [esi]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
neg eax
sbb eax, eax
add eax, 6
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x240]
push eax
push 0
push 0x113f
push dword [edi + 0x70]
call ebx
push 1
push 1
push 0
push 0
push 0x110a
push dword [edi + 0x70]
mov byte [edi + 0xe4], 1
call ebx
push eax
lea ecx, [edi + 0x64]
call fcn.004f8980
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x258]
call fcn.004038c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x290]
call fcn.004cdff0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052c233
mov esp, ebp
pop ebp
ret 4