Function at 0x459b20
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b4f1d
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4e143c]
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.00459920
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 0x459b9e
lea eax, [ecx + 0xa]
mov edi, esi
mov dword [ebp - 0x44], eax
mov dword [esi + 0x10], eax
cmp edx, 8
jb 0x459b80
mov edi, dword [esi]
push 0x14
lea eax, [edi + ecx*2]
push str.colors.ini
push eax
call fcn.0048d4d0
mov eax, dword [ebp - 0x44]
add esp, 0xc
xor ecx, ecx
mov word [edi + eax*2], cx
jmp 0x459bb7
push 0xa
push str.colors.ini
mov byte [ebp - 0x44], 0
mov ecx, esi
push dword [ebp - 0x44]
push 0xa
call fcn.00402f20
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 0x459c2e
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x459c24
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x459f77
push edx
push ecx
call fcn.0048bac4
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 0x459f26
push 0x4e6144
push dword [0x4e6148]
push dword [0x4e6144]
call fcn.0040c8b0
mov eax, dword [0x4e6144]
add esp, 0xc
mov dword [0x4e6148], 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.00402a50
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.00402a50
mov byte [ebp - 4], 2
call fcn.0045a1c0
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.00402a50
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.00402a50
mov byte [ebp - 4], 2
call fcn.0045a1c0
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.00402a50
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.00402a50
mov byte [ebp - 4], 2
call fcn.0045a1c0
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.00402a50
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.00402a50
mov byte [ebp - 4], 2
call fcn.0045a1c0
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.00402a50
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.00402a50
mov byte [ebp - 4], 2
call fcn.0045a1c0
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.00402a50
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.00402a50
mov byte [ebp - 4], 2
call fcn.0045a1c0
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.00402a50
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.00402a50
mov byte [ebp - 4], 2
call fcn.0045a1c0
add esp, 0x34
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x459f5c
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x459f52
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x459f7c
push edx
push ecx
call fcn.0048bac4
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.0048b62c
mov esp, ebp
pop ebp
ret
call fcn.004952eb
call fcn.004952eb
int3