Function at 0x4512e0
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 0x45130f
push str.PhotoEditorPage_Mini_CrctFncArea
jmp 0x451314
push str.PhotoEditorPage_CrctFncArea
call fcn.004fcf00
mov eax, dword [esi + 0x10]
mov ecx, eax
cmp eax, edi
jne 0x451327
mov ecx, 0x538640
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 8], edi
cmp dword [esi + 8], edi
jle 0x451357
cmp ecx, edi
je 0x451357
cmp word [ecx], di
je 0x451357
mov eax, dword [esi + 4]
cmp eax, edi
jne 0x45134a
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 0x451363
mov ecx, 0x538640
mov dword [ebp - 0xc], edi
cmp dword [esi + 8], edi
jle 0x45138d
cmp ecx, edi
je 0x45138d
cmp word [ecx], di
je 0x45138d
mov eax, dword [esi + 4]
cmp eax, edi
jne 0x451380
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 0x451399
mov ecx, 0x538640
xor eax, eax
cmp dword [esi + 8], edi
jle 0x4513bf
cmp ecx, edi
je 0x4513bf
cmp word [ecx], di
je 0x4513bf
mov eax, dword [esi + 4]
cmp eax, edi
jne 0x4513b5
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 + 0x428], eax
mov eax, dword [ebp - 4]
je 0x4513d8
push str.PhotoEditorPage_Mini_CrctPict
jmp 0x4513dd
push str.PhotoEditorPage_CrctPict
call fcn.004fcf00
mov ecx, dword [esi + 0x10]
cmp ecx, edi
jne 0x4513ee
mov ecx, 0x538640
xor ebx, ebx
cmp dword [esi + 8], edi
jle 0x45141a
cmp ecx, edi
je 0x45141a
cmp word [ecx], di
je 0x45141a
mov eax, dword [esi + 4]
cmp eax, edi
jne 0x45140a
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 0x451426
mov ecx, 0x538640
xor edi, edi
cmp dword [esi + 8], edi
jle 0x451453
test ecx, ecx
je 0x451453
cmp word [ecx], di
je 0x451453
mov eax, dword [esi + 4]
test eax, eax
jne 0x451442
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 0x45145f
mov ecx, 0x538640
xor eax, eax
cmp dword [esi + 8], eax
jle 0x45148a
test ecx, ecx
je 0x45148a
cmp word [ecx], ax
je 0x45148a
mov eax, dword [esi + 4]
test eax, eax
jne 0x45147b
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 + 0x420], eax
mov eax, dword [esi + 0x10]
mov ecx, eax
test eax, eax
jne 0x4514a1
mov ecx, 0x538640
xor eax, eax
cmp dword [esi + 8], eax
jle 0x4514cf
test ecx, ecx
je 0x4514cf
cmp word [ecx], ax
je 0x4514cf
mov eax, dword [esi + 4]
test eax, eax
jne 0x4514bd
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 + 0x418], ebx
mov ebx, dword [sym.imp.USER32.dll_LoadImageW]
mov dword [edx + 0x424], eax
mov dword [edx + 0x41c], edi
mov eax, dword [0x55a3f8]
test eax, eax
je 0x451656
push 0x80
push 0
push 0
push 0
push 0xc7ba
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x451522
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x55a3ec], eax
test edi, edi
je 0x451545
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
add esi, 0xa4
call fcn.0046bdf0
test eax, eax
je 0x45153e
mov eax, esi
call fcn.0046be80
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [0x55a3f8]
test eax, eax
je 0x451665
push 0x80
push 0
push 0
push 0
push 0xc7bb
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x45157a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x55a3ec], eax
test edi, edi
je 0x45159d
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
add esi, 0xc4
call fcn.0046bdf0
test eax, eax
je 0x451596
mov eax, esi
call fcn.0046be80
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [0x55a3f8]
test eax, eax
je 0x451674
push 0x80
push 0
push 0
push 0
push 0xc7bc
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x4515d2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x55a3ec], eax
test edi, edi
je 0x4515f5
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
add esi, 0xe4
call fcn.0046bdf0
test eax, eax
je 0x4515ee
mov eax, esi
call fcn.0046be80
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [0x55a3f8]
test eax, eax
je 0x451683
push 0x80
push 0
push 0
push 0
push 0xc7bd
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x45162a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x55a3ec], eax
test edi, edi
je 0x45164d
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
add esi, 0x104
call fcn.0046bdf0
test eax, eax
je 0x451646
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 0x45154a
mov dword [0x55a3ec], 0x57
jmp 0x4515a2
mov dword [0x55a3ec], 0x57
jmp 0x4515fa
pop edi
pop esi
mov dword [0x55a3ec], 0x57
pop ebx
mov esp, ebp
pop ebp
ret 0xc