Function at 0x423f00
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x471e7b
mov eax, dword fs:[0]
push eax
sub esp, 0x2a0
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
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00458500
mov eax, dword [0x4a9fa0]
add esp, 0xc
cmp dword [eax - 4], 1
jle 0x423f61
push dword [eax - 0xc]
mov ecx, 0x4a9fa0
call fcn.004024e0
mov eax, dword [0x4a9fa0]
push eax
push 0x48cd08
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.004217e0
add esp, 0x10
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42496b
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea eax, [ebp - 0x218]
push eax
push 0
push str.Maximize
push str.MainWnd
call esi
mov dword [0x4a9d20], eax
lea eax, [ebp - 0x218]
push eax
push 0
push str.Left
push str.MainWnd
call esi
mov dword [0x4a9d24], eax
lea eax, [ebp - 0x218]
push eax
push 0
push str.Right
push str.MainWnd
call esi
mov dword [0x4a9d2c], eax
lea eax, [ebp - 0x218]
push eax
push 0
push str.Bottom
push str.MainWnd
call esi
mov dword [0x4a9d30], eax
lea eax, [ebp - 0x218]
push eax
push 0
push 0x48d868
push str.MainWnd
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [0x4a9d28], eax
lea eax, [ebp - 0x218]
push eax
push 0x104
push 0x4a9d34
push 0x48b148
push str.LanguageFile
push str.MainWnd
call ebx
lea eax, [ebp - 0x218]
push eax
push 1
push str.WheelForZoom
push str.MainWnd
call esi
mov dword [0x4a9f3c], eax
lea eax, [ebp - 0x218]
push eax
push 1
push str.DBClickForFullScreen
push str.MainWnd
call esi
mov dword [0x4a9f40], eax
lea eax, [ebp - 0x218]
push eax
push 0
push str.FullScreen
push str.MainWnd
call esi
mov dword [0x4a9d1c], eax
lea eax, [ebp - 0x218]
push eax
push 0
push str.WndTopMost
push str.MainWnd
call esi
mov dword [0x4a9f44], eax
lea eax, [ebp - 0x218]
push eax
push 0
push str.SkinIndex
push str.MainWnd
call esi
mov dword [0x4a9f48], eax
lea eax, [ebp - 0x218]
push eax
push 0
push str.CollectImgsBufSize
push str.MainWnd
call esi
mov dword [0x4a9f4c], eax
lea eax, [ebp - 0x218]
push eax
push 0
push str.RecentFilesStrLength
push str.MainWnd
call esi
mov dword [0x4a9f64], eax
lea eax, [ebp - 0x218]
push eax
push 1
push str.Photomanage_Main
push str.MainWnd
call esi
test eax, eax
lea eax, [ebp - 0x218]
push eax
push 1
push str.Print_Main
push str.MainWnd
setne byte [0x4a9f99]
call esi
test eax, eax
lea eax, [ebp - 0x218]
push eax
push 0x104
push 0x4a9f68
push 0
push str.LoadDurationDate
push str.MainWnd
setne byte [0x4a9f98]
call ebx
lea eax, [ebp - 0x218]
push eax
push 0
push str.TotaFilesToday
push str.MainWnd
call esi
mov dword [0x4a9f90], eax
lea eax, [ebp - 0x218]
push eax
push 0
push str.LongFilesToday
push str.MainWnd
call esi
lea ecx, [ebp - 0x25c]
mov dword [0x4a9f94], eax
call fcn.0043aec0
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 0x10
jb 0x42419f
mov eax, dword [eax]
mov edx, eax
lea ecx, [ebp - 0x240]
call fcn.0043ad60
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x248]
cmp eax, 0x10
jb 0x4241ce
inc eax
lea ecx, [ebp - 0x25c]
push eax
push dword [ebp - 0x25c]
call fcn.00421800
push 0x4a9f68
lea ecx, [ebp - 0x240]
mov dword [ebp - 0x248], 0xf
mov dword [ebp - 0x24c], 0
mov byte [ebp - 0x25c], 0
call fcn.00425ce0
or ebx, 0xffffffff
test eax, eax
je 0x42439b
mov eax, dword [0x4a9f90]
cmp eax, dword [0x4a9f94]
jb 0x42435e
call fcn.004035d0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x220], eax
mov byte [ebp - 4], 3
call fcn.004035d0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
mov byte [ebp - 4], 4
lea eax, [ebp - 0x220]
push dword [0x4a9f90]
push 0x48ac98
push eax
call fcn.0041c920
push dword [0x4a9f94]
lea eax, [ebp - 0x21c]
push 0x48ac98
push eax
call fcn.0041c920
add esp, 0x18
lea ecx, [ebp - 0x2ac]
push str.kantu
call fcn.0041ad40
mov byte [ebp - 4], 5
mov edi, dword [ebp - 0x21c]
cmp dword [edi - 4], 1
jle 0x4242ac
push dword [edi - 0xc]
lea ecx, [ebp - 0x21c]
call fcn.004024e0
mov edi, dword [ebp - 0x21c]
push edi
lea ecx, [ebp - 0x294]
call fcn.0041ad40
mov byte [ebp - 4], 6
mov esi, dword [ebp - 0x220]
cmp dword [esi - 4], 1
jle 0x4242dc
push dword [esi - 0xc]
lea ecx, [ebp - 0x220]
call fcn.004024e0
mov esi, dword [ebp - 0x220]
push esi
lea ecx, [ebp - 0x27c]
call fcn.0041ad40
lea eax, [ebp - 0x2ac]
mov byte [ebp - 4], 7
push eax
lea edx, [ebp - 0x294]
lea ecx, [ebp - 0x27c]
call fcn.00438ee0
add esp, 4
lea ecx, [ebp - 0x27c]
call fcn.00408680
lea ecx, [ebp - 0x294]
call fcn.00408680
lea ecx, [ebp - 0x2ac]
call fcn.00408680
mov byte [ebp - 4], 3
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x424343
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x42435e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x22c], 8
lea eax, [ebp - 0x240]
cmovae eax, dword [ebp - 0x240]
push eax
push 0x48cd08
push 0x14
push 0x4a9f68
call fcn.004217e0
add esp, 0x10
mov dword [0x4a9f90], 0
mov dword [0x4a9f94], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x22c]
cmp eax, 8
jb 0x4243c0
inc eax
lea ecx, [ebp - 0x240]
push eax
push dword [ebp - 0x240]
call fcn.004085b0
mov edi, dword [0x4a9f4c]
test edi, edi
je 0x4246a7
call fcn.004035d0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x21c], esi
add edi, 1
mov dword [ebp - 4], 8
jns 0x4243f9
push 0x80070057
call fcn.00403340
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x42441c
push edi
lea ecx, [ebp - 0x21c]
call fcn.004023a0
mov esi, dword [ebp - 0x21c]
cmp edi, dword [esi - 8]
jg 0x4243ef
xor eax, eax
mov dword [esi - 0xc], edi
mov word [esi + edi*2], ax
lea eax, [ebp - 0x218]
push eax
push edi
push esi
push 0
push str.CollectImages
push str.MainWnd
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
sub esp, 8
mov dword [ebp - 0x224], 0
lea ecx, [ebp - 0x224]
call fcn.00425320
mov byte [ebp - 4], 9
mov dword [ebp - 0x220], 0
call fcn.004035d0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 0xa
push eax
push dword [ebp - 0x224]
lea eax, [ebp - 0x244]
mov dword [ebp - 0x228], 0
push eax
lea ecx, [ebp - 0x21c]
call fcn.00425200
push eax
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 0xb
call fcn.0041bc30
mov byte [ebp - 4], 0xa
mov eax, ebx
mov edx, dword [ebp - 0x244]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4244de
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x220]
call fcn.00425550
mov ecx, eax
call fcn.004254a0
mov ecx, 0x48c2c0
mov eax, dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42451d
test dx, dx
je 0x424519
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42451d
add eax, 4
add ecx, 4
test dx, dx
jne 0x4244f7
xor eax, eax
jmp 0x424522
sbb eax, eax
or eax, 1
test eax, eax
je 0x424647
mov edi, dword [ebp - 0x244]
push dword [ebp - 0x220]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4245ab
lea eax, [ebp - 0x220]
mov ecx, 0x4a9f50
push eax
call fcn.00402730
cmp eax, dword [0x4a9f50]
je 0x424591
mov eax, dword [eax + 0x10]
mov ecx, dword [ebp - 0x220]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x424588
test dx, dx
je 0x424584
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x424588
add ecx, 4
add eax, 4
test dx, dx
jne 0x424562
xor eax, eax
jmp 0x42458d
sbb eax, eax
or eax, 1
test eax, eax
jns 0x4245ab
push edi
lea eax, [ebp - 0x220]
push eax
push ecx
lea eax, [ebp - 0x264]
mov ecx, 0x4a9f50
push eax
call fcn.0041de50
lea eax, [ebp - 0x228]
push eax
push dword [ebp - 0x224]
lea eax, [ebp - 0x244]
push eax
lea ecx, [ebp - 0x21c]
call fcn.00425200
push eax
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 0xc
call fcn.0041bc30
mov byte [ebp - 4], 0xa
mov eax, ebx
mov edx, dword [ebp - 0x244]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4245fb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x220]
call fcn.00425550
mov ecx, eax
call fcn.004254a0
mov ecx, 0x48c2c0
mov eax, dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42463a
test dx, dx
je 0x424636
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42463a
add eax, 4
add ecx, 4
test dx, dx
jne 0x424614
xor eax, eax
jmp 0x42463f
sbb eax, eax
or eax, 1
test eax, eax
jne 0x424530
mov byte [ebp - 4], 9
mov eax, ebx
mov edx, dword [ebp - 0x220]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x424668
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 8
mov eax, ebx
mov edx, dword [ebp - 0x224]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x424689
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4246a7
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [0x4a9f64]
test edi, edi
je 0x424964
call fcn.004035d0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x224], esi
add edi, 1
mov dword [ebp - 4], 0xd
jns 0x4246e0
push 0x80070057
call fcn.00403340
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x424703
push edi
lea ecx, [ebp - 0x224]
call fcn.004023a0
mov esi, dword [ebp - 0x224]
cmp edi, dword [esi - 8]
jg 0x4243ef
xor eax, eax
mov dword [esi - 0xc], edi
mov word [esi + edi*2], ax
lea eax, [ebp - 0x218]
push eax
push edi
push esi
push 0
push str.RecentFiles
push str.MainWnd
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
sub esp, 8
mov dword [ebp - 0x228], 0
lea ecx, [ebp - 0x228]
call fcn.00425320
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x21c], 0
call fcn.004035d0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 0xf
push eax
push dword [ebp - 0x228]
lea eax, [ebp - 0x244]
mov dword [ebp - 0x220], 0
push eax
lea ecx, [ebp - 0x224]
call fcn.00425200
push eax
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 0x10
call fcn.0041bc30
mov byte [ebp - 4], 0xf
mov eax, ebx
mov edx, dword [ebp - 0x244]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4247c9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x21c]
call fcn.00425550
mov ecx, eax
call fcn.004254a0
mov ecx, 0x48c2c0
mov eax, dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x424808
test dx, dx
je 0x424804
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x424808
add eax, 4
add ecx, 4
test dx, dx
jne 0x4247e2
xor eax, eax
jmp 0x42480d
sbb eax, eax
or eax, 1
test eax, eax
je 0x424906
nop word [eax + eax]
push dword [ebp - 0x21c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42486a
push dword [ebp - 0x244]
mov edx, dword [0x4a9f5c]
lea eax, [ebp - 0x21c]
mov ecx, dword [0x4a9f58]
push eax
call fcn.0041e750
add esp, 8
cmp eax, dword [0x4a9f5c]
jne 0x42486a
lea eax, [ebp - 0x21c]
mov ecx, 0x4a9f58
push eax
call fcn.0041abb0
lea eax, [ebp - 0x220]
push eax
push dword [ebp - 0x228]
lea eax, [ebp - 0x244]
push eax
lea ecx, [ebp - 0x224]
call fcn.00425200
push eax
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 0x11
call fcn.0041bc30
mov byte [ebp - 4], 0xf
mov eax, ebx
mov edx, dword [ebp - 0x244]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4248ba
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x21c]
call fcn.00425550
mov ecx, eax
call fcn.004254a0
mov ecx, dword [eax]
mov eax, 0x48c2c0
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x4248f9
test dx, dx
je 0x4248f5
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x4248f9
add ecx, 4
add eax, 4
test dx, dx
jne 0x4248d3
xor eax, eax
jmp 0x4248fe
sbb eax, eax
or eax, 1
test eax, eax
jne 0x424820
mov byte [ebp - 4], 0xe
mov eax, ebx
mov edx, dword [ebp - 0x21c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x424927
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xd
mov eax, ebx
mov edx, dword [ebp - 0x228]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x424948
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x424964
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
jmp 0x42496d
xor eax, eax
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