Function at 0x471530
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ca74d
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4fd43c]
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.00471330
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 0x4715ae
lea eax, [ecx + 0xa]
mov edi, esi
mov dword [ebp - 0x44], eax
mov dword [esi + 0x10], eax
cmp edx, 8
jb 0x471590
mov edi, dword [esi]
push 0x14
lea eax, [edi + ecx*2]
push str.colors.ini
push eax
call fcn.004a3690
mov eax, dword [ebp - 0x44]
add esp, 0xc
xor ecx, ecx
mov word [edi + eax*2], cx
jmp 0x4715c7
push 0xa
push str.colors.ini
mov byte [ebp - 0x44], 0
mov ecx, esi
push dword [ebp - 0x44]
push 0xa
call fcn.004041c0
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 0x47163e
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x471634
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x471987
push edx
push ecx
call fcn.004a1afe
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 0x471936
push 0x5030a0
push dword [0x5030a4]
push dword [0x5030a0]
call fcn.004110a0
mov eax, dword [0x5030a0]
add esp, 0xc
mov dword [0x5030a4], 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.00403dd0
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.00403dd0
mov byte [ebp - 4], 2
call fcn.00471bd0
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.00403dd0
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.00403dd0
mov byte [ebp - 4], 2
call fcn.00471bd0
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.00403dd0
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.00403dd0
mov byte [ebp - 4], 2
call fcn.00471bd0
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.00403dd0
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.00403dd0
mov byte [ebp - 4], 2
call fcn.00471bd0
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.00403dd0
sub esp, 0x18
mov byte [ebp - 4], 7
mov ecx, esp
push 7
push 0x4d082c
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
call fcn.00403dd0
mov byte [ebp - 4], 2
call fcn.00471bd0
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.00403dd0
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.00403dd0
mov byte [ebp - 4], 2
call fcn.00471bd0
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.00403dd0
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.00403dd0
mov byte [ebp - 4], 2
call fcn.00471bd0
add esp, 0x34
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x47196c
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x471962
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47198c
push edx
push ecx
call fcn.004a1afe
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.004a186f
mov esp, ebp
pop ebp
ret
call fcn.004a670d
call fcn.004a670d
int3