Function at 0x45a220
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x539058
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x575494]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea esi, [edi + 0x3c]
push esi
mov ecx, 0x554c58
call fcn.00470370
add edi, 0x4c
cmp byte [ebp + 0x14], 0
mov eax, edi
je 0x45a26b
push str.PhotoEditorPage_Mini_CrctFncArea
jmp 0x45a270
push str.PhotoEditorPage_CrctFncArea
call fcn.005080c0
mov eax, dword [esi + 0x10]
xor ebx, ebx
mov ecx, eax
cmp eax, ebx
jne 0x45a285
mov ecx, 0x54ee24
mov dword [ebp - 0x1c], ebx
cmp dword [esi + 8], ebx
jle 0x45a2b3
cmp ecx, ebx
je 0x45a2b3
cmp word [ecx], bx
je 0x45a2b3
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x45a2a2
mov eax, 0x54ee24
push eax
push ebx
push str.PosiX
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x1c], eax
mov ecx, dword [esi + 0x10]
cmp ecx, ebx
jne 0x45a2bf
mov ecx, 0x54ee24
mov dword [ebp - 0x24], ebx
cmp dword [esi + 8], ebx
jle 0x45a2ed
cmp ecx, ebx
je 0x45a2ed
cmp word [ecx], bx
je 0x45a2ed
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x45a2dc
mov eax, 0x54ee24
push eax
push ebx
push str.PosiY
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x24], eax
mov ecx, dword [esi + 0x10]
cmp ecx, ebx
jne 0x45a2f9
mov ecx, 0x54ee24
mov dword [ebp - 0x14], ebx
cmp dword [esi + 8], ebx
jle 0x45a327
cmp ecx, ebx
je 0x45a327
cmp word [ecx], bx
je 0x45a327
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x45a316
mov eax, 0x54ee24
push eax
push ebx
push str.OffsetY
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x14], eax
mov eax, edi
cmp byte [ebp + 0x14], bl
je 0x45a335
push str.PhotoEditorPage_Mini_CrctRBtn
jmp 0x45a33a
push str.PhotoEditorPage_CrctRBtn
call fcn.005080c0
mov ecx, dword [esi + 0x10]
cmp ecx, ebx
jne 0x45a34b
mov ecx, 0x54ee24
mov dword [ebp - 0x18], ebx
cmp dword [esi + 8], ebx
jle 0x45a37d
cmp ecx, ebx
je 0x45a37d
cmp word [ecx], bx
je 0x45a37d
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x45a368
mov eax, 0x54ee24
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push ebx
push str.PosiX
push ecx
call edi
mov dword [ebp - 0x18], eax
jmp 0x45a383
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [esi + 0x10]
cmp ecx, ebx
jne 0x45a38f
mov ecx, 0x54ee24
mov dword [ebp - 0x20], ebx
cmp dword [esi + 8], ebx
jle 0x45a3b9
cmp ecx, ebx
je 0x45a3b9
cmp word [ecx], bx
je 0x45a3b9
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x45a3ac
mov eax, 0x54ee24
push eax
push ebx
push str.PosiY
push ecx
call edi
mov dword [ebp - 0x20], eax
mov ecx, dword [esi + 0x10]
cmp ecx, ebx
jne 0x45a3c5
mov ecx, 0x54ee24
mov dword [ebp - 0x10], ebx
cmp dword [esi + 8], ebx
jle 0x45a3ef
cmp ecx, ebx
je 0x45a3ef
cmp word [ecx], bx
je 0x45a3ef
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x45a3e2
mov eax, 0x54ee24
push eax
push ebx
push str.Width
push ecx
call edi
mov dword [ebp - 0x10], eax
mov ecx, dword [esi + 0x10]
cmp ecx, ebx
jne 0x45a3fb
mov ecx, 0x54ee24
mov dword [ebp + 0x14], ebx
cmp dword [esi + 8], ebx
jle 0x45a425
cmp ecx, ebx
je 0x45a425
cmp word [ecx], bx
je 0x45a425
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x45a418
mov eax, 0x54ee24
push eax
push ebx
push str.Height
push ecx
call edi
mov dword [ebp + 0x14], eax
mov ecx, dword [esi + 0x10]
cmp ecx, ebx
jne 0x45a431
mov ecx, 0x54ee24
xor edi, edi
cmp dword [esi + 8], ebx
jle 0x45a45d
cmp ecx, ebx
je 0x45a45d
cmp word [ecx], bx
je 0x45a45d
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x45a44d
mov eax, 0x54ee24
push eax
push ebx
push str.FontPoint
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
push 0x2af8
lea eax, [ebp - 0x48]
push eax
mov ecx, 0x5776a0
call fcn.00471480
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ebx
movzx esi, byte [ecx + 0x434]
mov eax, ecx
movzx edx, byte [eax + 0x430]
movzx eax, byte [eax + 0x42c]
shl esi, 8
or esi, edx
shl esi, 8
or esi, eax
mov eax, dword [ebp - 0x48]
cmp eax, ebx
jne 0x45a4a3
mov eax, 0x54ee24
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
add ebx, 0x124
mov dword [ebx + 0x30], ecx
mov ecx, dword [ebp + 0x10]
mov dword [ebp + 8], ebx
mov dword [ebx + 0x34], ecx
test eax, eax
je 0x45a4dc
cmp word [eax], 0
je 0x45a4dc
test edi, edi
jle 0x45a4dc
push 0
push 0
push edi
add ebx, 0x28
push eax
push ebx
mov ebx, ecx
call fcn.00473a60
mov ebx, dword [ebp + 8]
push esi
mov byte [ebx + 0x38], 1
mov dword [ebx + 0x3c], esi
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov edx, dword [ebp + 0x10]
push edx
mov edx, 0x158a
lea esi, [ebx + 4]
lea ecx, [edx - 3]
mov edi, 4
mov dword [ebx + 0x40], eax
call fcn.004bea60
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x20]
add edi, dword [ebp - 0x1c]
add esi, dword [ebp - 0x24]
push 0x88b9
lea ecx, [ebp - 0x30]
push ecx
mov ecx, 0x5776a0
call fcn.00471480
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x45a535
mov eax, 0x54ee24
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x10]
push edx
push ecx
push esi
push edi
push eax
push 0x1587
mov eax, 0x10030c00
mov ecx, ebx
call fcn.004bee50
add esi, dword [ebp - 0x14]
push 0x88ba
lea edx, [ebp - 0x3c]
push edx
mov ecx, 0x5776a0
call fcn.00471480
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.00508010
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x45a587
push eax
call fcn.0051ebab
add esp, 4
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x45a593
mov eax, 0x54ee24
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x10]
push ecx
push edx
push esi
push edi
push eax
push 0x1588
mov eax, 0x10010c00
mov ecx, ebx
call fcn.004bee50
add esi, dword [ebp - 0x14]
push 0x88bb
lea eax, [ebp - 0x3c]
push eax
mov ecx, 0x5776a0
call fcn.00471480
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.00508010
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x45a5e5
push eax
call fcn.0051ebab
add esp, 4
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x45a5f1
mov eax, 0x54ee24
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x10]
push ecx
push edx
push esi
push edi
push eax
push 0x1589
mov eax, 0x10010c00
mov ecx, ebx
call fcn.004bee50
add esi, dword [ebp - 0x14]
push 0x88bc
lea eax, [ebp - 0x3c]
push eax
mov ecx, 0x5776a0
call fcn.00471480
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call fcn.00508010
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x45a64e
push eax
call fcn.0051ebab
add esp, 4
xor eax, eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x45a65a
mov eax, 0x54ee24
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x10]
push ecx
push edx
push esi
push edi
push eax
push 0x158a
mov eax, 0x10010c00
mov ecx, ebx
call fcn.004bee50
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x45a697
push eax
call fcn.0051ebab
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
jmp 0x45a699
xor ecx, ecx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x48]
cmp eax, ecx
je 0x45a6b0
push eax
call fcn.0051ebab
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10