Function at 0x439da0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48ac12
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x4c2010]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x248], ecx
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.004720a0
add esp, 0xc
mov ecx, dword [ebp - 0x248]
add ecx, 0x26c
call fcn.00429180
push eax
push 0x4a0f08
push 0x104
lea edx, [ebp - 0x218]
push edx
call fcn.00436f30
add esp, 0x10
push 4
lea ecx, [ebp - 0x21c]
call fcn.00401320
lea ecx, [ebp - 0x21c]
call fcn.00401d20
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x248]
mov ecx, dword [eax + 0x18]
push ecx
push 0x4a0f10
lea edx, [ebp - 0x21c]
push edx
call fcn.0042bf00
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
call fcn.00401d70
push eax
push str.FullScreen
push 0x4a0f30
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [ebp - 0x248]
mov edx, dword [ecx + 0x1c]
push edx
push 0x4a0f40
lea eax, [ebp - 0x21c]
push eax
call fcn.0042bf00
add esp, 0xc
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x21c]
call fcn.00401d70
push eax
push str.Maximize
push 0x4a0f5c
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov edx, dword [ebp - 0x248]
mov eax, dword [edx + 0x20]
push eax
push 0x4a0f6c
lea ecx, [ebp - 0x21c]
push ecx
call fcn.0042bf00
add esp, 0xc
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x21c]
call fcn.00401d70
push eax
push str.Left
push 0x4a0f80
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov eax, dword [ebp - 0x248]
mov ecx, dword [eax + 0x28]
push ecx
push 0x4a0f90
lea edx, [ebp - 0x21c]
push edx
call fcn.0042bf00
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
call fcn.00401d70
push eax
push str.Right
push 0x4a0fa4
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [ebp - 0x248]
mov edx, dword [ecx + 0x2c]
push edx
push 0x4a0fb4
lea eax, [ebp - 0x21c]
push eax
call fcn.0042bf00
add esp, 0xc
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x21c]
call fcn.00401d70
push eax
push str.Bottom
push 0x4a0fcc
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov edx, dword [ebp - 0x248]
mov eax, dword [edx + 0x24]
push eax
push 0x4a0fdc
lea ecx, [ebp - 0x21c]
push ecx
call fcn.0042bf00
add esp, 0xc
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x21c]
call fcn.00401d70
push eax
push 0x4a0fe4
push 0x4a0fec
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea eax, [ebp - 0x218]
push eax
mov ecx, dword [ebp - 0x248]
add ecx, 0x30
push ecx
push str.LanguageFile
push 0x4a1018
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov edx, dword [ebp - 0x248]
mov eax, dword [edx + 0x238]
push eax
push 0x4a1028
lea ecx, [ebp - 0x21c]
push ecx
call fcn.0042bf00
add esp, 0xc
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x21c]
call fcn.00401d70
push eax
push str.WheelForZoom
push 0x4a104c
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov eax, dword [ebp - 0x248]
mov ecx, dword [eax + 0x23c]
push ecx
push 0x4a105c
lea edx, [ebp - 0x21c]
push edx
call fcn.0042bf00
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
call fcn.00401d70
push eax
push str.DBClickForFullScreen
push 0x4a1090
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [ebp - 0x248]
mov edx, dword [ecx + 0x240]
push edx
push 0x4a10a0
lea eax, [ebp - 0x21c]
push eax
call fcn.0042bf00
add esp, 0xc
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x21c]
call fcn.00401d70
push eax
push str.WndTopMost
push 0x4a10c0
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov edx, dword [ebp - 0x248]
mov eax, dword [edx + 0x244]
push eax
push 0x4a10d0
lea ecx, [ebp - 0x21c]
push ecx
call fcn.0042bf00
add esp, 0xc
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x21c]
call fcn.00401d70
push eax
push str.SkinIndex
push 0x4a10ec
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push 4
lea ecx, [ebp - 0x224]
call fcn.00401320
lea ecx, [ebp - 0x224]
call fcn.00401d20
mov byte [ebp - 4], 1
push 4
lea ecx, [ebp - 0x228]
call fcn.00401320
lea ecx, [ebp - 0x228]
call fcn.00401d20
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x248]
add eax, 0x24c
mov dword [ebp - 0x24c], eax
push 4
lea ecx, [ebp - 0x22c]
call fcn.00401320
lea ecx, [ebp - 0x22c]
push ecx
mov ecx, dword [ebp - 0x24c]
call fcn.004025e0
push 4
lea ecx, [ebp - 0x238]
call fcn.00401320
lea edx, [ebp - 0x238]
push edx
mov ecx, dword [ebp - 0x24c]
call fcn.00401760
jmp 0x43a185
lea ecx, [ebp - 0x22c]
call fcn.00428600
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x22c]
call fcn.00401660
movzx ecx, al
test ecx, ecx
je 0x43a26d
lea ecx, [ebp - 0x22c]
call fcn.00402400
push eax
lea ecx, [ebp - 0x244]
call fcn.0043a4d0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x248]
add edx, 8
push edx
lea ecx, [ebp - 0x228]
call fcn.00429160
push 0x5c
lea ecx, [ebp - 0x228]
call fcn.00429100
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebp - 0x228]
call fcn.00429140
lea ecx, [ebp - 0x228]
call fcn.00401d70
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43a21b
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x244]
call fcn.0042ffc0
jmp 0x43a17a
lea ecx, [ebp - 0x244]
push ecx
lea ecx, [ebp - 0x224]
call fcn.00429140
push 0x3e
lea ecx, [ebp - 0x224]
call fcn.00429100
lea edx, [ebp - 0x240]
push edx
lea ecx, [ebp - 0x224]
call fcn.00429140
push 0x3f
lea ecx, [ebp - 0x224]
call fcn.00429100
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x244]
call fcn.0042ffc0
jmp 0x43a17a
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x224]
call fcn.00401d70
push eax
push str.CollectImages
push 0x4a1118
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x224]
call fcn.004022c0
mov ecx, dword [ebp - 0x248]
mov dword [ecx + 0x248], eax
mov edx, dword [ebp - 0x248]
mov eax, dword [edx + 0x248]
push eax
push 0x4a1128
lea ecx, [ebp - 0x21c]
push ecx
call fcn.0042bf00
add esp, 0xc
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x21c]
call fcn.00401d70
push eax
push str.CollectImgsBufSize
push 0x4a1158
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push 4
lea ecx, [ebp - 0x220]
call fcn.00401320
lea ecx, [ebp - 0x220]
call fcn.00401d20
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x248]
add eax, 0x254
mov dword [ebp - 0x250], eax
push 4
lea ecx, [ebp - 0x230]
call fcn.00401320
lea ecx, [ebp - 0x230]
push ecx
mov ecx, dword [ebp - 0x250]
call fcn.00401990
push 4
lea ecx, [ebp - 0x23c]
call fcn.00401320
lea edx, [ebp - 0x23c]
push edx
mov ecx, dword [ebp - 0x250]
call fcn.00401930
jmp 0x43a363
lea ecx, [ebp - 0x230]
call fcn.004018f0
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x230]
call fcn.004018b0
movzx ecx, al
test ecx, ecx
je 0x43a3d4
push 4
lea ecx, [ebp - 0x234]
call fcn.00401320
lea ecx, [ebp - 0x230]
call fcn.00401910
push eax
lea ecx, [ebp - 0x234]
call fcn.00401d00
mov byte [ebp - 4], 5
lea edx, [ebp - 0x234]
push edx
lea ecx, [ebp - 0x220]
call fcn.00429140
push 0x3b
lea ecx, [ebp - 0x220]
call fcn.00429100
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x234]
call fcn.00401c60
jmp 0x43a358
push 1
lea ecx, [ebp - 0x220]
call fcn.004022c0
sub eax, 1
push eax
lea ecx, [ebp - 0x220]
call fcn.00429010
lea ecx, [ebp - 0x220]
call fcn.004022c0
mov ecx, dword [ebp - 0x248]
mov dword [ecx + 0x260], eax
mov edx, dword [ebp - 0x248]
mov eax, dword [edx + 0x260]
push eax
push 0x4a1168
lea ecx, [ebp - 0x21c]
push ecx
call fcn.0042bf00
add esp, 0xc
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x21c]
call fcn.00401d70
push eax
push str.RecentFilesStrLength
push 0x4a119c
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x220]
call fcn.00401d70
push eax
push str.RecentFiles
push str.MainWnd
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x220]
call fcn.00401c60
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x228]
call fcn.00401c60
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x224]
call fcn.00401c60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c]
call fcn.00401c60
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00458fdd
mov esp, ebp
pop ebp
ret