Function at 0x45bfd0
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, 0x554c58
call fcn.00470370
xor edi, edi
cmp byte [ebp + 0x10], 0
lea eax, [ebx + 0x4c]
mov dword [ebp - 4], eax
je 0x45bfff
push str.PhotoEditorPage_Mini_EnhcFncArea
jmp 0x45c004
push str.PhotoEditorPage_EnhcFncArea
call fcn.005080c0
mov eax, dword [esi + 0x10]
mov ecx, eax
cmp eax, edi
jne 0x45c017
mov ecx, 0x54ee24
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 8], edi
cmp dword [esi + 8], edi
jle 0x45c047
cmp ecx, edi
je 0x45c047
cmp word [ecx], di
je 0x45c047
mov eax, dword [esi + 4]
cmp eax, edi
jne 0x45c03a
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 0x45c053
mov ecx, 0x54ee24
mov dword [ebp - 0xc], edi
cmp dword [esi + 8], edi
jle 0x45c07d
cmp ecx, edi
je 0x45c07d
cmp word [ecx], di
je 0x45c07d
mov eax, dword [esi + 4]
cmp eax, edi
jne 0x45c070
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 0x45c089
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], edi
jle 0x45c0af
cmp ecx, edi
je 0x45c0af
cmp word [ecx], di
je 0x45c0af
mov eax, dword [esi + 4]
cmp eax, edi
jne 0x45c0a5
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 + 0x408], eax
mov eax, dword [ebp - 4]
je 0x45c0c8
push str.PhotoEditorPage_Mini_EnhcPict
jmp 0x45c0cd
push str.PhotoEditorPage_EnhcPict
call fcn.005080c0
mov ecx, dword [esi + 0x10]
cmp ecx, edi
jne 0x45c0de
mov ecx, 0x54ee24
xor ebx, ebx
cmp dword [esi + 8], edi
jle 0x45c10a
cmp ecx, edi
je 0x45c10a
cmp word [ecx], di
je 0x45c10a
mov eax, dword [esi + 4]
cmp eax, edi
jne 0x45c0fa
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 0x45c116
mov ecx, 0x54ee24
xor edi, edi
cmp dword [esi + 8], edi
jle 0x45c143
test ecx, ecx
je 0x45c143
cmp word [ecx], di
je 0x45c143
mov eax, dword [esi + 4]
test eax, eax
jne 0x45c132
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 0x45c14f
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x45c17a
test ecx, ecx
je 0x45c17a
cmp word [ecx], ax
je 0x45c17a
mov eax, dword [esi + 4]
test eax, eax
jne 0x45c16b
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 + 0x400], eax
mov eax, dword [esi + 0x10]
mov ecx, eax
test eax, eax
jne 0x45c191
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x45c1bf
test ecx, ecx
je 0x45c1bf
cmp word [ecx], ax
je 0x45c1bf
mov eax, dword [esi + 4]
test eax, eax
jne 0x45c1ad
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 + 0x3f8], ebx
mov ebx, dword [sym.imp.USER32.dll_LoadImageW]
mov dword [edx + 0x404], eax
mov dword [edx + 0x3fc], edi
mov eax, dword [0x577698]
test eax, eax
je 0x45c2ea
push 0x80
push 0
push 0
push 0
push 0xc7be
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x45c212
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
test edi, edi
je 0x45c235
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
add esi, 0xa4
call fcn.00475350
test eax, eax
je 0x45c22e
mov eax, esi
call fcn.004753e0
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [0x577698]
test eax, eax
je 0x45c2f9
push 0x80
push 0
push 0
push 0
push 0xc7bf
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x45c26a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
test edi, edi
je 0x45c28d
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
add esi, 0xc4
call fcn.00475350
test eax, eax
je 0x45c286
mov eax, esi
call fcn.004753e0
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [0x577698]
test eax, eax
je 0x45c305
push 0x80
push 0
push 0
push 0
push 0xc7c0
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x45c2be
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
test edi, edi
je 0x45c2e1
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
add esi, 0xe4
call fcn.00475350
test eax, eax
je 0x45c2da
mov eax, esi
call fcn.004753e0
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 0x45c23a
mov dword [0x57768c], 0x57
jmp 0x45c292
pop edi
pop esi
mov dword [0x57768c], 0x57
pop ebx
mov esp, ebp
pop ebp
ret 0xc