Function at 0x45a5b0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
lea esi, [ebx + 0x3c]
push esi
mov ecx, 0x554c48
call fcn.00470260
xor edi, edi
cmp byte [ebp + 0x10], 0
lea eax, [ebx + 0x4c]
mov dword [ebp - 4], eax
je 0x45a5df
push str.PhotoEditorPage_Mini_CrctFncArea
jmp 0x45a5e4
push str.PhotoEditorPage_CrctFncArea
call fcn.005080c0
mov eax, dword [esi + 0x10]
mov ecx, eax
cmp eax, edi
jne 0x45a5f7
mov ecx, 0x54ee24
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 8], edi
cmp dword [esi + 8], edi
jle 0x45a627
cmp ecx, edi
je 0x45a627
cmp word [ecx], di
je 0x45a627
mov eax, dword [esi + 4]
cmp eax, edi
jne 0x45a61a
mov eax, 0x54ee24
push eax
push edi
push str.PosiX
push ecx
call ebx
mov dword [ebp - 8], eax
mov ecx, dword [esi + 0x10]
cmp ecx, edi
jne 0x45a633
mov ecx, 0x54ee24
mov dword [ebp - 0xc], edi
cmp dword [esi + 8], edi
jle 0x45a65d
cmp ecx, edi
je 0x45a65d
cmp word [ecx], di
je 0x45a65d
mov eax, dword [esi + 4]
cmp eax, edi
jne 0x45a650
mov eax, 0x54ee24
push eax
push edi
push str.PosiY
push ecx
call ebx
mov dword [ebp - 0xc], eax
mov ecx, dword [esi + 0x10]
cmp ecx, edi
jne 0x45a669
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], edi
jle 0x45a68f
cmp ecx, edi
je 0x45a68f
cmp word [ecx], di
je 0x45a68f
mov eax, dword [esi + 4]
cmp eax, edi
jne 0x45a685
mov eax, 0x54ee24
push eax
push edi
push str.OffsetY
push ecx
call ebx
cmp byte [ebp + 0x10], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x428], eax
mov eax, dword [ebp - 4]
je 0x45a6a8
push str.PhotoEditorPage_Mini_CrctPict
jmp 0x45a6ad
push str.PhotoEditorPage_CrctPict
call fcn.005080c0
mov ecx, dword [esi + 0x10]
cmp ecx, edi
jne 0x45a6be
mov ecx, 0x54ee24
xor ebx, ebx
cmp dword [esi + 8], edi
jle 0x45a6ea
cmp ecx, edi
je 0x45a6ea
cmp word [ecx], di
je 0x45a6ea
mov eax, dword [esi + 4]
cmp eax, edi
jne 0x45a6da
mov eax, 0x54ee24
push eax
push edi
push str.PosiX
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
mov ecx, dword [esi + 0x10]
cmp ecx, edi
jne 0x45a6f6
mov ecx, 0x54ee24
xor edi, edi
cmp dword [esi + 8], edi
jle 0x45a723
test ecx, ecx
je 0x45a723
cmp word [ecx], di
je 0x45a723
mov eax, dword [esi + 4]
test eax, eax
jne 0x45a712
mov eax, 0x54ee24
push eax
push 0
push str.PosiY
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
mov ecx, dword [esi + 0x10]
test ecx, ecx
jne 0x45a72f
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x45a75a
test ecx, ecx
je 0x45a75a
cmp word [ecx], ax
je 0x45a75a
mov eax, dword [esi + 4]
test eax, eax
jne 0x45a74b
mov eax, 0x54ee24
push eax
push 0
push str.Width
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edx, dword [ebp + 8]
mov dword [edx + 0x420], eax
mov eax, dword [esi + 0x10]
mov ecx, eax
test eax, eax
jne 0x45a771
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x45a79f
test ecx, ecx
je 0x45a79f
cmp word [ecx], ax
je 0x45a79f
mov eax, dword [esi + 4]
test eax, eax
jne 0x45a78d
mov eax, 0x54ee24
push eax
push 0
push str.Height
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edx, dword [ebp + 8]
add ebx, dword [ebp - 8]
add edi, dword [ebp - 0xc]
mov dword [edx + 0x418], ebx
mov ebx, dword [sym.imp.USER32.dll_LoadImageW]
mov dword [edx + 0x424], eax
mov dword [edx + 0x41c], edi
mov eax, dword [0x577698]
test eax, eax
je 0x45a926
push 0x80
push 0
push 0
push 0
push 0xc7ba
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x45a7f2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
test edi, edi
je 0x45a815
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
add esi, 0xa4
call fcn.00475200
test eax, eax
je 0x45a80e
mov eax, esi
call fcn.00475290
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [0x577698]
test eax, eax
je 0x45a935
push 0x80
push 0
push 0
push 0
push 0xc7bb
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x45a84a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
test edi, edi
je 0x45a86d
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
add esi, 0xc4
call fcn.00475200
test eax, eax
je 0x45a866
mov eax, esi
call fcn.00475290
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [0x577698]
test eax, eax
je 0x45a944
push 0x80
push 0
push 0
push 0
push 0xc7bc
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x45a8a2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
test edi, edi
je 0x45a8c5
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
add esi, 0xe4
call fcn.00475200
test eax, eax
je 0x45a8be
mov eax, esi
call fcn.00475290
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [0x577698]
test eax, eax
je 0x45a953
push 0x80
push 0
push 0
push 0
push 0xc7bd
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x45a8fa
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
test edi, edi
je 0x45a91d
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
add esi, 0x104
call fcn.00475200
test eax, eax
je 0x45a916
mov eax, esi
call fcn.00475290
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov dword [0x57768c], 0x57
jmp 0x45a81a
mov dword [0x57768c], 0x57
jmp 0x45a872
mov dword [0x57768c], 0x57
jmp 0x45a8ca
pop edi
pop esi
mov dword [0x57768c], 0x57
pop ebx
mov esp, ebp
pop ebp
ret 0xc