Function at 0x4bf8d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5239ed
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x562904]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x40]
push eax
call fcn.004bf6d0
add esp, 4
mov esi, eax
mov edx, dword [esi + 0x14]
mov eax, edx
mov ecx, dword [esi + 0x10]
sub eax, ecx
mov dword [ebp - 4], 0
cmp eax, 0xa
jb 0x4bf94e
lea eax, [ecx + 0xa]
mov edi, esi
mov dword [ebp - 0x44], eax
mov dword [esi + 0x10], eax
cmp edx, 8
jb 0x4bf930
mov edi, dword [esi]
push 0x14
lea eax, [edi + ecx*2]
push str.colors.ini
push eax
call fcn.004f3a50
mov eax, dword [ebp - 0x44]
add esp, 0xc
xor ecx, ecx
mov word [edi + eax*2], cx
jmp 0x4bf967
push 0xa
push str.colors.ini
mov byte [ebp - 0x44], 0
mov ecx, esi
push dword [ebp - 0x44]
push 0xa
call fcn.00404bb0
mov esi, eax
mov dword [ebp - 0x28], 0
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x4bf9de
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4bf9d4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4bfd27
push edx
push ecx
call fcn.004f19ca
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
cmp dword [ebp - 0x14], 8
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
mov dword [ebp - 0x2c], 7
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4bfcd6
push 0x567d00
push dword [0x567d04]
push dword [0x567d00]
call fcn.0040d880
mov eax, dword [0x567d00]
add esp, 0xc
mov dword [0x567d04], eax
lea eax, [ebp - 0x28]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x44], esp
push 8
push str.FF06061F
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
call fcn.004046e0
sub esp, 0x18
mov byte [ebp - 4], 3
mov ecx, esp
push 0xb
push str.mainToolbar
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
call fcn.004046e0
mov byte [ebp - 4], 2
call fcn.004bff70
add esp, 0x34
lea eax, [ebp - 0x28]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x48], esp
push 8
push str.FF20203A
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
call fcn.004046e0
sub esp, 0x18
mov byte [ebp - 4], 4
mov ecx, esp
push 0xb
push str.mainContent
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
call fcn.004046e0
mov byte [ebp - 4], 2
call fcn.004bff70
add esp, 0x34
lea eax, [ebp - 0x28]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x48], esp
push 8
push str.FF1F1F39
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
call fcn.004046e0
sub esp, 0x18
mov byte [ebp - 4], 5
mov ecx, esp
push 0x10
push str.mainToolbarPopup
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
call fcn.004046e0
mov byte [ebp - 4], 2
call fcn.004bff70
add esp, 0x34
lea eax, [ebp - 0x28]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x48], esp
push 8
push str.FF06061F
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
call fcn.004046e0
sub esp, 0x18
mov byte [ebp - 4], 6
mov ecx, esp
push 7
push str.toolbar
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
call fcn.004046e0
mov byte [ebp - 4], 2
call fcn.004bff70
add esp, 0x34
lea eax, [ebp - 0x28]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x48], esp
push 8
push str.FF20203A
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
call fcn.004046e0
sub esp, 0x18
mov byte [ebp - 4], 7
mov ecx, esp
push 7
push str.content
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
call fcn.004046e0
mov byte [ebp - 4], 2
call fcn.004bff70
add esp, 0x34
lea eax, [ebp - 0x28]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x48], esp
push 8
push str.FF20203A
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
call fcn.004046e0
sub esp, 0x18
mov byte [ebp - 4], 8
mov ecx, esp
push 0xc
push str.setupLeftBar
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
call fcn.004046e0
mov byte [ebp - 4], 2
call fcn.004bff70
add esp, 0x34
lea eax, [ebp - 0x28]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x48], esp
push 8
push str.FF36364D
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
call fcn.004046e0
sub esp, 0x18
mov byte [ebp - 4], 9
mov ecx, esp
push 0xe
push str.setupBottomBar
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
call fcn.004046e0
mov byte [ebp - 4], 2
call fcn.004bff70
add esp, 0x34
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4bfd0c
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4bfd02
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4bfd2c
push edx
push ecx
call fcn.004f19ca
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f1532
mov esp, ebp
pop ebp
ret
call fcn.004fbf0c
call fcn.004fbf0c
int3