Function at 0x45a970
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x538f10
mov eax, dword fs:[0]
push eax
sub esp, 0x38
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, 0x554c48
mov dword [ebp - 0x20], esi
call fcn.00470260
cmp byte [ebp + 0x14], 0
lea eax, [edi + 0x4c]
mov dword [ebp - 0x10], eax
je 0x45a9bf
push str.PhotoEditorPage_Mini_CrctDoneBtnTxt
jmp 0x45a9c4
push str.PhotoEditorPage_CrctDoneBtnTxt
call fcn.005080c0
mov eax, dword [esi + 0x10]
xor ebx, ebx
mov ecx, eax
cmp eax, ebx
jne 0x45a9d9
mov ecx, 0x54ee24
mov dword [ebp - 0x14], ebx
cmp dword [esi + 8], ebx
jle 0x45aa0b
cmp ecx, ebx
je 0x45aa0b
cmp word [ecx], bx
je 0x45aa0b
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x45a9f6
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 - 0x14], eax
jmp 0x45aa11
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [esi + 0x10]
cmp ecx, ebx
jne 0x45aa1d
mov ecx, 0x54ee24
mov dword [ebp - 0x18], ebx
cmp dword [esi + 8], ebx
jle 0x45aa47
cmp ecx, ebx
je 0x45aa47
cmp word [ecx], bx
je 0x45aa47
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x45aa3a
mov eax, 0x54ee24
push eax
push ebx
push str.PosiY
push ecx
call edi
mov dword [ebp - 0x18], eax
mov ecx, dword [esi + 0x10]
cmp ecx, ebx
jne 0x45aa53
mov ecx, 0x54ee24
mov dword [ebp - 0x1c], ebx
cmp dword [esi + 8], ebx
jle 0x45aa7d
cmp ecx, ebx
je 0x45aa7d
cmp word [ecx], bx
je 0x45aa7d
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x45aa70
mov eax, 0x54ee24
push eax
push ebx
push str.Width
push ecx
call edi
mov dword [ebp - 0x1c], eax
mov ecx, dword [esi + 0x10]
cmp ecx, ebx
jne 0x45aa89
mov ecx, 0x54ee24
xor edi, edi
cmp dword [esi + 8], ebx
jle 0x45aab5
cmp ecx, ebx
je 0x45aab5
cmp word [ecx], bx
je 0x45aab5
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x45aaa5
mov eax, 0x54ee24
push eax
push ebx
push str.Height
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
push 0x2af8
lea eax, [ebp - 0x44]
push eax
mov ecx, 0x5776a0
call fcn.00471380
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x38], eax
cmp eax, ebx
jne 0x45aadc
mov dword [ebp - 0x38], 0x54ee24
mov ecx, dword [esi + 0x10]
cmp ecx, ebx
jne 0x45aae8
mov ecx, 0x54ee24
xor ebx, ebx
cmp dword [esi + 8], ebx
jle 0x45ab15
test ecx, ecx
je 0x45ab15
cmp word [ecx], bx
je 0x45ab15
mov eax, dword [esi + 4]
test eax, eax
jne 0x45ab04
mov eax, 0x54ee24
push eax
push 0
push str.FontPoint
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
push 0x80f0
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, 0x5776a0
call fcn.00471380
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x45ab38
mov eax, 0x54ee24
mov esi, dword [ebp + 8]
push eax
lea eax, [esi + 0x20c]
mov byte [esi + 0x330], 1
call fcn.005080c0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
push 0
push 0
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [esi + 0x1f4], edx
mov edx, dword [ebp - 0x38]
mov dword [esi + 0x1f8], eax
push edx
lea eax, [esi + 0x1e4]
push eax
mov dword [esi + 0x1fc], ecx
mov dword [esi + 0x200], edi
mov dword [esi + 0x208], 0x25
mov dword [esi + 0x204], 1
call fcn.00473690
mov byte [esi + 0x218], 0
mov byte [esi + 0x220], 0
mov eax, dword [0x577698]
xor edi, edi
test eax, eax
je 0x45abe2
push 0x80
push edi
push edi
push edi
push 0xc7b6
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov ebx, eax
test ebx, ebx
jne 0x45abd9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov edi, ebx
jmp 0x45abec
mov dword [0x57768c], 0x57
mov dword [ebp + 8], 0
test eax, eax
je 0x45ac29
push 0x80
push 0
push 0
push 0
push 0xc7b7
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov ebx, eax
test ebx, ebx
jne 0x45ac1f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov dword [ebp + 8], ebx
jmp 0x45ac33
mov dword [0x57768c], 0x57
mov dword [ebp - 0x1c], 0
test eax, eax
je 0x45ac70
push 0x80
push 0
push 0
push 0
push 0xc7b8
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov ebx, eax
test ebx, ebx
jne 0x45ac66
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov dword [ebp - 0x1c], ebx
jmp 0x45ac7a
mov dword [0x57768c], 0x57
xor ecx, ecx
test eax, eax
je 0x45aca9
push 0x80
push ecx
push ecx
push ecx
push 0xc7b9
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov ebx, eax
test ebx, ebx
jne 0x45aca5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov ecx, ebx
jmp 0x45acb3
mov dword [0x57768c], 0x57
cmp byte [ebp + 0x14], 0
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp + 8]
mov dword [esi + 0x360], eax
mov eax, dword [ebp - 0x10]
mov byte [esi + 0x333], 1
mov dword [esi + 0x358], edi
mov dword [esi + 0x35c], edx
mov dword [esi + 0x364], ecx
je 0x45ace8
push str.PhotoEditorPage_Mini_CrctDoneBtnWnd
jmp 0x45aced
push str.PhotoEditorPage_CrctDoneBtnWnd
call fcn.005080c0
mov edi, dword [ebp - 0x20]
mov ecx, dword [edi + 0x10]
xor ebx, ebx
cmp ecx, ebx
jne 0x45ad03
mov ecx, 0x54ee24
mov dword [ebp + 8], ebx
cmp dword [edi + 8], ebx
jle 0x45ad31
cmp ecx, ebx
je 0x45ad31
cmp word [ecx], bx
je 0x45ad31
mov eax, dword [edi + 4]
cmp eax, ebx
jne 0x45ad20
mov eax, 0x54ee24
push eax
push ebx
push str.PosiX
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp + 8], eax
mov ecx, dword [edi + 0x10]
cmp ecx, ebx
jne 0x45ad3d
mov ecx, 0x54ee24
mov dword [ebp + 0x14], ebx
cmp dword [edi + 8], ebx
jle 0x45ad6b
cmp ecx, ebx
je 0x45ad6b
cmp word [ecx], bx
je 0x45ad6b
mov eax, dword [edi + 4]
cmp eax, ebx
jne 0x45ad5a
mov eax, 0x54ee24
push eax
push ebx
push str.PosiY
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp + 0x14], eax
mov ecx, dword [edi + 0x10]
cmp ecx, ebx
jne 0x45ad77
mov ecx, 0x54ee24
xor ebx, ebx
cmp dword [edi + 8], ebx
jle 0x45ada4
test ecx, ecx
je 0x45ada4
cmp word [ecx], bx
je 0x45ada4
mov eax, dword [edi + 4]
test eax, eax
jne 0x45ad93
mov eax, 0x54ee24
push eax
push 0
push str.Width
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
mov ecx, dword [edi + 0x10]
test ecx, ecx
jne 0x45adb0
mov ecx, 0x54ee24
xor eax, eax
cmp dword [edi + 8], eax
jle 0x45addb
test ecx, ecx
je 0x45addb
cmp word [ecx], ax
je 0x45addb
mov eax, dword [edi + 4]
test eax, eax
jne 0x45adcc
mov eax, 0x54ee24
push eax
push 0
push str.Height
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
jne 0x45ade7
mov ecx, 0x54ee24
mov edx, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push edx
push eax
push 0
push ecx
mov ecx, dword [ebp + 0xc]
push 0x17f4
push ecx
mov eax, 0x10000000
lea ecx, [esi + 0x16c]
call fcn.0043b720
xor ebx, ebx
cmp eax, ebx
je 0x45ae1c
mov dword [esi + 0x32c], ebx
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
je 0x45ae38
push eax
call fcn.0051eadb
add esp, 4
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x44]
cmp eax, ebx
je 0x45ae4f
push eax
call fcn.0051eadb
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