Function at 0x4d7560
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ff4e8
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x540320]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x40]
push eax
call fcn.004d73b0
push str.colors.ini
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
call fcn.0041c2d0
add esp, 0x10
cmp dword [ebp - 0x2c], 8
mov byte [ebp - 4], 2
jb 0x4d75bf
push dword [ebp - 0x40]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
cmp dword [ebp - 0x14], 8
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
mov dword [ebp - 0x30], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4d7790
mov ecx, 0x54b898
call dword [sym.imp.MSVCP120.dll_public:_void___thiscall_std::_Container_base0::_Orphan_all_void_]
push dword [ebp - 0x44]
lea eax, [ebp - 0x49]
push eax
push dword [0x54b89c]
push dword [0x54b898]
call fcn.0041d410
mov eax, dword [0x54b898]
add esp, 0x10
mov dword [0x54b89c], eax
lea eax, [ebp - 0x28]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x44], esp
push str.FF06061F
call fcn.0040a0e0
sub esp, 0x18
mov byte [ebp - 4], 3
mov ecx, esp
push str.mainToolbar
call fcn.0040a0e0
mov byte [ebp - 4], 2
call fcn.004d79a0
add esp, 0x34
lea eax, [ebp - 0x28]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x48], esp
push str.FF20203A
call fcn.0040a0e0
sub esp, 0x18
mov byte [ebp - 4], 4
mov ecx, esp
push str.mainContent
call fcn.0040a0e0
mov byte [ebp - 4], 2
call fcn.004d79a0
add esp, 0x34
lea eax, [ebp - 0x28]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x48], esp
push str.FF1F1F39
call fcn.0040a0e0
sub esp, 0x18
mov byte [ebp - 4], 5
mov ecx, esp
push str.mainToolbarPopup
call fcn.0040a0e0
mov byte [ebp - 4], 2
call fcn.004d79a0
add esp, 0x34
lea eax, [ebp - 0x28]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x48], esp
push str.FF06061F
call fcn.0040a0e0
sub esp, 0x18
mov byte [ebp - 4], 6
mov ecx, esp
push str.toolbar
call fcn.0040a0e0
mov byte [ebp - 4], 2
call fcn.004d79a0
add esp, 0x34
lea eax, [ebp - 0x28]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x48], esp
push str.FF20203A
call fcn.0040a0e0
sub esp, 0x18
mov byte [ebp - 4], 7
mov ecx, esp
push str.content
call fcn.0040a0e0
mov byte [ebp - 4], 2
call fcn.004d79a0
add esp, 0x34
lea eax, [ebp - 0x28]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x48], esp
push str.FF20203A
call fcn.0040a0e0
sub esp, 0x18
mov byte [ebp - 4], 8
mov ecx, esp
push str.setupLeftBar
call fcn.0040a0e0
mov byte [ebp - 4], 2
call fcn.004d79a0
add esp, 0x34
lea eax, [ebp - 0x28]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x48], esp
push str.FF36364D
call fcn.0040a0e0
sub esp, 0x18
mov byte [ebp - 4], 9
mov ecx, esp
push str.setupBottomBar
call fcn.0040a0e0
mov byte [ebp - 4], 2
call fcn.004d79a0
add esp, 0x34
cmp dword [ebp - 0x14], 8
jb 0x4d77a1
push dword [ebp - 0x28]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004edbca
mov esp, ebp
pop ebp
ret