Function at 0x452c40
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, 0x53b7a8
call fcn.00466b30
xor edi, edi
cmp byte [ebp + 0x10], 0
lea eax, [ebx + 0x4c]
mov dword [ebp - 4], eax
je 0x452c6f
push str.PhotoEditorPage_Mini_EnhcFncArea
jmp 0x452c74
push str.PhotoEditorPage_EnhcFncArea
call fcn.004fcf00
mov eax, dword [esi + 0x10]
mov ecx, eax
cmp eax, edi
jne 0x452c87
mov ecx, 0x538640
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 8], edi
cmp dword [esi + 8], edi
jle 0x452cb7
cmp ecx, edi
je 0x452cb7
cmp word [ecx], di
je 0x452cb7
mov eax, dword [esi + 4]
cmp eax, edi
jne 0x452caa
mov eax, 0x538640
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 0x452cc3
mov ecx, 0x538640
mov dword [ebp - 0xc], edi
cmp dword [esi + 8], edi
jle 0x452ced
cmp ecx, edi
je 0x452ced
cmp word [ecx], di
je 0x452ced
mov eax, dword [esi + 4]
cmp eax, edi
jne 0x452ce0
mov eax, 0x538640
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 0x452cf9
mov ecx, 0x538640
xor eax, eax
cmp dword [esi + 8], edi
jle 0x452d1f
cmp ecx, edi
je 0x452d1f
cmp word [ecx], di
je 0x452d1f
mov eax, dword [esi + 4]
cmp eax, edi
jne 0x452d15
mov eax, 0x538640
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 0x452d38
push str.PhotoEditorPage_Mini_EnhcPict
jmp 0x452d3d
push str.PhotoEditorPage_EnhcPict
call fcn.004fcf00
mov ecx, dword [esi + 0x10]
cmp ecx, edi
jne 0x452d4e
mov ecx, 0x538640
xor ebx, ebx
cmp dword [esi + 8], edi
jle 0x452d7a
cmp ecx, edi
je 0x452d7a
cmp word [ecx], di
je 0x452d7a
mov eax, dword [esi + 4]
cmp eax, edi
jne 0x452d6a
mov eax, 0x538640
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 0x452d86
mov ecx, 0x538640
xor edi, edi
cmp dword [esi + 8], edi
jle 0x452db3
test ecx, ecx
je 0x452db3
cmp word [ecx], di
je 0x452db3
mov eax, dword [esi + 4]
test eax, eax
jne 0x452da2
mov eax, 0x538640
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 0x452dbf
mov ecx, 0x538640
xor eax, eax
cmp dword [esi + 8], eax
jle 0x452dea
test ecx, ecx
je 0x452dea
cmp word [ecx], ax
je 0x452dea
mov eax, dword [esi + 4]
test eax, eax
jne 0x452ddb
mov eax, 0x538640
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 0x452e01
mov ecx, 0x538640
xor eax, eax
cmp dword [esi + 8], eax
jle 0x452e2f
test ecx, ecx
je 0x452e2f
cmp word [ecx], ax
je 0x452e2f
mov eax, dword [esi + 4]
test eax, eax
jne 0x452e1d
mov eax, 0x538640
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 [0x55a3f8]
test eax, eax
je 0x452f5a
push 0x80
push 0
push 0
push 0
push 0xc7be
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x452e82
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x55a3ec], eax
test edi, edi
je 0x452ea5
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
add esi, 0xa4
call fcn.0046bdf0
test eax, eax
je 0x452e9e
mov eax, esi
call fcn.0046be80
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [0x55a3f8]
test eax, eax
je 0x452f69
push 0x80
push 0
push 0
push 0
push 0xc7bf
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x452eda
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x55a3ec], eax
test edi, edi
je 0x452efd
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
add esi, 0xc4
call fcn.0046bdf0
test eax, eax
je 0x452ef6
mov eax, esi
call fcn.0046be80
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [0x55a3f8]
test eax, eax
je 0x452f75
push 0x80
push 0
push 0
push 0
push 0xc7c0
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x452f2e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x55a3ec], eax
test edi, edi
je 0x452f51
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
add esi, 0xe4
call fcn.0046bdf0
test eax, eax
je 0x452f4a
mov eax, esi
call fcn.0046be80
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov dword [0x55a3ec], 0x57
jmp 0x452eaa
mov dword [0x55a3ec], 0x57
jmp 0x452f02
pop edi
pop esi
mov dword [0x55a3ec], 0x57
pop ebx
mov esp, ebp
pop ebp
ret 0xc