Function at 0x424990
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x471ee7
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x4a5010]
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 ebx, ecx
mov dword [ebp - 0x238], ebx
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00458500
mov eax, dword [ebx + 0x298]
add esp, 0xc
cmp dword [eax - 4], 1
jle 0x4249f6
push dword [eax - 0xc]
lea ecx, [ebx + 0x298]
call fcn.004024e0
push dword [ebx + 0x298]
lea eax, [ebp - 0x218]
push 0x48cd08
push 0x104
push eax
call fcn.004217e0
add esp, 0x10
call fcn.004035d0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0x21c]
push dword [ebx + 0x14]
push 0x48ac98
push eax
call fcn.0041c920
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea eax, [ebp - 0x218]
add esp, 0xc
push eax
push dword [ebp - 0x21c]
push str.FullScreen
push str.MainWnd
call esi
push dword [ebx + 0x18]
lea eax, [ebp - 0x21c]
push 0x48ac98
push eax
call fcn.0041c920
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x21c]
push str.Maximize
push str.MainWnd
call esi
push dword [ebx + 0x1c]
lea eax, [ebp - 0x21c]
push 0x48ac98
push eax
call fcn.0041c920
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x21c]
push str.Left
push str.MainWnd
call esi
push dword [ebx + 0x24]
lea eax, [ebp - 0x21c]
push 0x48ac98
push eax
call fcn.0041c920
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x21c]
push str.Right
push str.MainWnd
call esi
push dword [ebx + 0x28]
lea eax, [ebp - 0x21c]
push 0x48ac98
push eax
call fcn.0041c920
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x21c]
push str.Bottom
push str.MainWnd
call esi
push dword [ebx + 0x20]
lea eax, [ebp - 0x21c]
push 0x48ac98
push eax
call fcn.0041c920
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x21c]
push 0x48d868
push str.MainWnd
call esi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebx + 0x2c]
push eax
push str.LanguageFile
push str.MainWnd
call esi
push dword [ebx + 0x234]
lea eax, [ebp - 0x21c]
push 0x48ac98
push eax
call fcn.0041c920
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x21c]
push str.WheelForZoom
push str.MainWnd
call esi
push dword [ebx + 0x238]
lea eax, [ebp - 0x21c]
push 0x48ac98
push eax
call fcn.0041c920
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x21c]
push str.DBClickForFullScreen
push str.MainWnd
call esi
push dword [ebx + 0x23c]
lea eax, [ebp - 0x21c]
push 0x48ac98
push eax
call fcn.0041c920
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x21c]
push str.WndTopMost
push str.MainWnd
call esi
push dword [ebx + 0x240]
lea eax, [ebp - 0x21c]
push 0x48ac98
push eax
call fcn.0041c920
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x21c]
push str.SkinIndex
push str.MainWnd
call esi
xor eax, eax
cmp byte [ebx + 0x291], al
setne al
push eax
lea eax, [ebp - 0x21c]
push 0x48ac98
push eax
call fcn.0041c920
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x21c]
push str.Photomanage_Main
push str.MainWnd
call esi
xor eax, eax
cmp byte [ebx + 0x290], al
setne al
push eax
lea eax, [ebp - 0x21c]
push 0x48ac98
push eax
call fcn.0041c920
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x21c]
push str.Print_Main
push str.MainWnd
call esi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebx + 0x260]
push eax
push str.LoadDurationDate
push str.MainWnd
call esi
push dword [ebx + 0x288]
lea eax, [ebp - 0x21c]
push 0x48ac98
push eax
call fcn.0041c920
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x21c]
push str.TotaFilesToday
push str.MainWnd
call esi
push dword [ebx + 0x28c]
lea eax, [ebp - 0x21c]
push 0x48ac98
push eax
call fcn.0041c920
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x21c]
push str.LongFilesToday
push str.MainWnd
call esi
call fcn.004035d0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x224], edi
mov byte [ebp - 4], 1
mov eax, dword [ebx + 0x248]
mov dword [ebp - 0x234], eax
mov esi, dword [eax]
cmp esi, eax
je 0x424e64
nop dword [eax + eax]
mov ecx, dword [esi + 0x10]
sub ecx, 0x10
call fcn.00401e20
lea ebx, [eax + 0x10]
mov dword [ebp - 0x228], ebx
push ebx
mov byte [ebp - 4], 2
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x424dfc
push dword [ebx - 0xc]
lea ecx, [ebp - 0x224]
push ebx
call fcn.0041c7b0
mov edi, dword [ebp - 0x224]
mov eax, dword [edi - 0xc]
mov dword [ebp - 0x230], eax
lea edx, [eax + 1]
mov dword [ebp - 0x220], edx
test edx, edx
js 0x4250a6
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, edx
or eax, ecx
jge 0x424ddb
push edx
lea ecx, [ebp - 0x224]
call fcn.004023a0
mov edi, dword [ebp - 0x224]
mov edx, dword [ebp - 0x220]
mov eax, dword [ebp - 0x230]
mov ecx, 0x3b
mov word [edi + eax*2], cx
cmp edx, dword [edi - 8]
jg 0x4250a6
xor eax, eax
mov dword [edi - 0xc], edx
mov word [edi + edx*2], ax
or eax, 0xffffffff
mov byte [ebp - 4], 1
add ebx, 0xfffffff0
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x424e18
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [esi + 0xd], 0
jne 0x424e58
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x424e3d
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x424e58
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x424e31
jmp 0x424e58
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x424e56
cmp esi, dword [eax + 8]
jne 0x424e56
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x424e46
mov esi, eax
cmp esi, dword [ebp - 0x234]
jne 0x424d60
mov eax, dword [edi - 0xc]
push ecx
dec eax
lea ecx, [ebp - 0x224]
push eax
call fcn.0041b330
mov ebx, dword [ebp - 0x224]
mov edi, dword [ebp - 0x238]
mov eax, dword [ebx - 0xc]
push eax
mov dword [edi + 0x244], eax
lea eax, [ebp - 0x21c]
push 0x48ac98
push eax
call fcn.0041c920
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea eax, [ebp - 0x218]
add esp, 0xc
push eax
push dword [ebp - 0x21c]
push str.CollectImgsBufSize
push str.MainWnd
call esi
lea eax, [ebp - 0x218]
push eax
push ebx
push str.CollectImages
push str.MainWnd
call esi
call fcn.004035d0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x220], esi
mov byte [ebp - 4], 3
mov eax, dword [edi + 0x254]
mov ebx, dword [edi + 0x250]
mov dword [ebp - 0x228], eax
cmp ebx, eax
je 0x424fc6
mov ecx, dword [ebx]
sub ecx, 0x10
call fcn.00401e20
lea edi, [eax + 0x10]
mov dword [ebp - 0x22c], edi
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x220]
push dword [edi - 0xc]
push edi
call fcn.0041c7b0
mov esi, dword [ebp - 0x220]
mov eax, dword [esi - 0xc]
mov dword [ebp - 0x230], eax
lea edx, [eax + 1]
mov dword [ebp - 0x234], edx
test edx, edx
js 0x4250a6
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x424f74
push edx
lea ecx, [ebp - 0x220]
call fcn.004023a0
mov esi, dword [ebp - 0x220]
mov edx, dword [ebp - 0x234]
mov eax, dword [ebp - 0x230]
mov ecx, 0x3b
mov word [esi + eax*2], cx
cmp edx, dword [esi - 8]
jg 0x4250a6
xor eax, eax
mov dword [esi - 0xc], edx
mov word [esi + edx*2], ax
add edi, 0xfffffff0
mov byte [ebp - 4], 3
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x424fb1
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 4
cmp ebx, dword [ebp - 0x228]
jne 0x424f05
mov edi, dword [ebp - 0x238]
mov eax, dword [esi - 0xc]
push ecx
dec eax
lea ecx, [ebp - 0x220]
push eax
call fcn.0041b330
mov esi, dword [ebp - 0x220]
mov eax, dword [esi - 0xc]
push eax
mov dword [edi + 0x25c], eax
lea eax, [ebp - 0x21c]
push 0x48ac98
push eax
call fcn.0041c920
mov edi, dword [ebp - 0x21c]
lea eax, [ebp - 0x218]
mov ebx, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
add esp, 0xc
push eax
push edi
push str.RecentFilesStrLength
push str.MainWnd
call ebx
lea eax, [ebp - 0x218]
push eax
push esi
push str.RecentFiles
push str.MainWnd
call ebx
or ebx, 0xffffffff
mov byte [ebp - 4], 1
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x42504d
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, ebx
mov edx, dword [ebp - 0x224]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42506e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x42508a
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
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.0043f53f
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00403340
int3