Function at 0x45a6d0
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 0x45a6ff
push str.PhotoEditorPage_Mini_CrctFncArea
jmp 0x45a704
push str.PhotoEditorPage_CrctFncArea
call fcn.005080c0
mov eax, dword [esi + 0x10]
mov ecx, eax
cmp eax, edi
jne 0x45a717
mov ecx, 0x54ee24
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 8], edi
cmp dword [esi + 8], edi
jle 0x45a747
cmp ecx, edi
je 0x45a747
cmp word [ecx], di
je 0x45a747
mov eax, dword [esi + 4]
cmp eax, edi
jne 0x45a73a
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 0x45a753
mov ecx, 0x54ee24
mov dword [ebp - 0xc], edi
cmp dword [esi + 8], edi
jle 0x45a77d
cmp ecx, edi
je 0x45a77d
cmp word [ecx], di
je 0x45a77d
mov eax, dword [esi + 4]
cmp eax, edi
jne 0x45a770
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 0x45a789
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], edi
jle 0x45a7af
cmp ecx, edi
je 0x45a7af
cmp word [ecx], di
je 0x45a7af
mov eax, dword [esi + 4]
cmp eax, edi
jne 0x45a7a5
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 + 0x428], eax
mov eax, dword [ebp - 4]
je 0x45a7c8
push str.PhotoEditorPage_Mini_CrctPict
jmp 0x45a7cd
push str.PhotoEditorPage_CrctPict
call fcn.005080c0
mov ecx, dword [esi + 0x10]
cmp ecx, edi
jne 0x45a7de
mov ecx, 0x54ee24
xor ebx, ebx
cmp dword [esi + 8], edi
jle 0x45a80a
cmp ecx, edi
je 0x45a80a
cmp word [ecx], di
je 0x45a80a
mov eax, dword [esi + 4]
cmp eax, edi
jne 0x45a7fa
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 0x45a816
mov ecx, 0x54ee24
xor edi, edi
cmp dword [esi + 8], edi
jle 0x45a843
test ecx, ecx
je 0x45a843
cmp word [ecx], di
je 0x45a843
mov eax, dword [esi + 4]
test eax, eax
jne 0x45a832
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 0x45a84f
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x45a87a
test ecx, ecx
je 0x45a87a
cmp word [ecx], ax
je 0x45a87a
mov eax, dword [esi + 4]
test eax, eax
jne 0x45a86b
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 + 0x420], eax
mov eax, dword [esi + 0x10]
mov ecx, eax
test eax, eax
jne 0x45a891
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x45a8bf
test ecx, ecx
je 0x45a8bf
cmp word [ecx], ax
je 0x45a8bf
mov eax, dword [esi + 4]
test eax, eax
jne 0x45a8ad
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 + 0x418], ebx
mov ebx, dword [sym.imp.USER32.dll_LoadImageW]
mov dword [edx + 0x424], eax
mov dword [edx + 0x41c], edi
mov eax, dword [0x577698]
test eax, eax
je 0x45aa46
push 0x80
push 0
push 0
push 0
push 0xc7ba
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x45a912
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
test edi, edi
je 0x45a935
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
add esi, 0xa4
call fcn.00475350
test eax, eax
je 0x45a92e
mov eax, esi
call fcn.004753e0
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [0x577698]
test eax, eax
je 0x45aa55
push 0x80
push 0
push 0
push 0
push 0xc7bb
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x45a96a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
test edi, edi
je 0x45a98d
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
add esi, 0xc4
call fcn.00475350
test eax, eax
je 0x45a986
mov eax, esi
call fcn.004753e0
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [0x577698]
test eax, eax
je 0x45aa64
push 0x80
push 0
push 0
push 0
push 0xc7bc
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x45a9c2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
test edi, edi
je 0x45a9e5
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
add esi, 0xe4
call fcn.00475350
test eax, eax
je 0x45a9de
mov eax, esi
call fcn.004753e0
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [0x577698]
test eax, eax
je 0x45aa73
push 0x80
push 0
push 0
push 0
push 0xc7bd
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x45aa1a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
test edi, edi
je 0x45aa3d
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
add esi, 0x104
call fcn.00475350
test eax, eax
je 0x45aa36
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 0x45a93a
mov dword [0x57768c], 0x57
jmp 0x45a992
mov dword [0x57768c], 0x57
jmp 0x45a9ea
pop edi
pop esi
mov dword [0x57768c], 0x57
pop ebx
mov esp, ebp
pop ebp
ret 0xc