Function at 0x45bb80
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x538f60
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 0x45bbcb
push str.PhotoEditorPage_Mini_EnhcFncArea
jmp 0x45bbd0
push str.PhotoEditorPage_EnhcFncArea
call fcn.005080c0
mov eax, dword [esi + 0x10]
xor ebx, ebx
mov ecx, eax
cmp eax, ebx
jne 0x45bbe5
mov ecx, 0x54ee24
mov dword [ebp - 0x1c], ebx
cmp dword [esi + 8], ebx
jle 0x45bc13
cmp ecx, ebx
je 0x45bc13
cmp word [ecx], bx
je 0x45bc13
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x45bc02
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 0x45bc1f
mov ecx, 0x54ee24
mov dword [ebp - 0x24], ebx
cmp dword [esi + 8], ebx
jle 0x45bc4d
cmp ecx, ebx
je 0x45bc4d
cmp word [ecx], bx
je 0x45bc4d
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x45bc3c
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 0x45bc59
mov ecx, 0x54ee24
mov dword [ebp - 0x14], ebx
cmp dword [esi + 8], ebx
jle 0x45bc87
cmp ecx, ebx
je 0x45bc87
cmp word [ecx], bx
je 0x45bc87
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x45bc76
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 0x45bc95
push str.PhotoEditorPage_Mini_EnhcRBtn
jmp 0x45bc9a
push str.PhotoEditorPage_EnhcRBtn
call fcn.005080c0
mov ecx, dword [esi + 0x10]
cmp ecx, ebx
jne 0x45bcab
mov ecx, 0x54ee24
mov dword [ebp - 0x18], ebx
cmp dword [esi + 8], ebx
jle 0x45bcdd
cmp ecx, ebx
je 0x45bcdd
cmp word [ecx], bx
je 0x45bcdd
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x45bcc8
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 0x45bce3
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [esi + 0x10]
cmp ecx, ebx
jne 0x45bcef
mov ecx, 0x54ee24
mov dword [ebp - 0x20], ebx
cmp dword [esi + 8], ebx
jle 0x45bd19
cmp ecx, ebx
je 0x45bd19
cmp word [ecx], bx
je 0x45bd19
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x45bd0c
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 0x45bd25
mov ecx, 0x54ee24
mov dword [ebp - 0x10], ebx
cmp dword [esi + 8], ebx
jle 0x45bd4f
cmp ecx, ebx
je 0x45bd4f
cmp word [ecx], bx
je 0x45bd4f
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x45bd42
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 0x45bd5b
mov ecx, 0x54ee24
mov dword [ebp + 0x14], ebx
cmp dword [esi + 8], ebx
jle 0x45bd85
cmp ecx, ebx
je 0x45bd85
cmp word [ecx], bx
je 0x45bd85
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x45bd78
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 0x45bd91
mov ecx, 0x54ee24
xor edi, edi
cmp dword [esi + 8], ebx
jle 0x45bdbd
cmp ecx, ebx
je 0x45bdbd
cmp word [ecx], bx
je 0x45bdbd
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x45bdad
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 + 0x414]
mov eax, ecx
movzx edx, byte [eax + 0x410]
movzx eax, byte [eax + 0x40c]
shl esi, 8
or esi, edx
shl esi, 8
or esi, eax
mov eax, dword [ebp - 0x48]
cmp eax, ebx
jne 0x45be03
mov eax, 0x54ee24
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
add ebx, 0x104
mov dword [ebx + 0x30], ecx
mov ecx, dword [ebp + 0x10]
mov dword [ebp + 8], ebx
mov dword [ebx + 0x34], ecx
test eax, eax
je 0x45be3c
cmp word [eax], 0
je 0x45be3c
test edi, edi
jle 0x45be3c
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, 0x1593
lea esi, [ebx + 4]
lea ecx, [edx - 2]
mov edi, 3
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 0x88be
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 0x45be95
mov eax, 0x54ee24
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x10]
push edx
push ecx
push esi
push edi
push eax
push 0x1591
mov eax, 0x10030c00
mov ecx, ebx
call fcn.004bee50
add esi, dword [ebp - 0x14]
push 0x88bd
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 0x45bee7
push eax
call fcn.0051ebab
add esp, 4
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x45bef3
mov eax, 0x54ee24
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x10]
push ecx
push edx
push esi
push edi
push eax
push 0x1592
mov eax, 0x10010c00
mov ecx, ebx
call fcn.004bee50
add esi, dword [ebp - 0x14]
push 0x88bf
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 0x45bf50
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 0x45bf5c
mov eax, 0x54ee24
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x10]
push ecx
push edx
push esi
push edi
push eax
push 0x1593
mov eax, 0x10010c00
mov ecx, ebx
call fcn.004bee50
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x45bf99
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 0x45bf9b
xor ecx, ecx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x48]
cmp eax, ecx
je 0x45bfb2
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