Function at 0x4516a0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52d130
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x559024]
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, 0x53b7a8
mov dword [ebp - 0x20], esi
call fcn.00466b30
cmp byte [ebp + 0x14], 0
lea eax, [edi + 0x4c]
mov dword [ebp - 0x10], eax
je 0x4516ef
push str.PhotoEditorPage_Mini_CrctDoneBtnTxt
jmp 0x4516f4
push str.PhotoEditorPage_CrctDoneBtnTxt
call fcn.004fcf00
mov eax, dword [esi + 0x10]
xor ebx, ebx
mov ecx, eax
cmp eax, ebx
jne 0x451709
mov ecx, 0x538640
mov dword [ebp - 0x14], ebx
cmp dword [esi + 8], ebx
jle 0x45173b
cmp ecx, ebx
je 0x45173b
cmp word [ecx], bx
je 0x45173b
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x451726
mov eax, 0x538640
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 0x451741
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [esi + 0x10]
cmp ecx, ebx
jne 0x45174d
mov ecx, 0x538640
mov dword [ebp - 0x18], ebx
cmp dword [esi + 8], ebx
jle 0x451777
cmp ecx, ebx
je 0x451777
cmp word [ecx], bx
je 0x451777
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x45176a
mov eax, 0x538640
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 0x451783
mov ecx, 0x538640
mov dword [ebp - 0x1c], ebx
cmp dword [esi + 8], ebx
jle 0x4517ad
cmp ecx, ebx
je 0x4517ad
cmp word [ecx], bx
je 0x4517ad
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x4517a0
mov eax, 0x538640
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 0x4517b9
mov ecx, 0x538640
xor edi, edi
cmp dword [esi + 8], ebx
jle 0x4517e5
cmp ecx, ebx
je 0x4517e5
cmp word [ecx], bx
je 0x4517e5
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x4517d5
mov eax, 0x538640
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, 0x55a400
call fcn.00467b90
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x38], eax
cmp eax, ebx
jne 0x45180c
mov dword [ebp - 0x38], 0x538640
mov ecx, dword [esi + 0x10]
cmp ecx, ebx
jne 0x451818
mov ecx, 0x538640
xor ebx, ebx
cmp dword [esi + 8], ebx
jle 0x451845
test ecx, ecx
je 0x451845
cmp word [ecx], bx
je 0x451845
mov eax, dword [esi + 4]
test eax, eax
jne 0x451834
mov eax, 0x538640
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, 0x55a400
call fcn.00467b90
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x451868
mov eax, 0x538640
mov esi, dword [ebp + 8]
push eax
lea eax, [esi + 0x20c]
mov byte [esi + 0x330], 1
call fcn.004fcf00
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.0046a1f0
mov byte [esi + 0x218], 0
mov byte [esi + 0x220], 0
mov eax, dword [0x55a3f8]
xor edi, edi
test eax, eax
je 0x451912
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 0x451909
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x55a3ec], eax
mov eax, dword [0x55a3f8]
mov edi, ebx
jmp 0x45191c
mov dword [0x55a3ec], 0x57
mov dword [ebp + 8], 0
test eax, eax
je 0x451959
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 0x45194f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x55a3ec], eax
mov eax, dword [0x55a3f8]
mov dword [ebp + 8], ebx
jmp 0x451963
mov dword [0x55a3ec], 0x57
mov dword [ebp - 0x1c], 0
test eax, eax
je 0x4519a0
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 0x451996
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x55a3ec], eax
mov eax, dword [0x55a3f8]
mov dword [ebp - 0x1c], ebx
jmp 0x4519aa
mov dword [0x55a3ec], 0x57
xor ecx, ecx
test eax, eax
je 0x4519d9
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 0x4519d5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x55a3ec], eax
mov ecx, ebx
jmp 0x4519e3
mov dword [0x55a3ec], 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 0x451a18
push str.PhotoEditorPage_Mini_CrctDoneBtnWnd
jmp 0x451a1d
push str.PhotoEditorPage_CrctDoneBtnWnd
call fcn.004fcf00
mov edi, dword [ebp - 0x20]
mov ecx, dword [edi + 0x10]
xor ebx, ebx
cmp ecx, ebx
jne 0x451a33
mov ecx, 0x538640
mov dword [ebp + 8], ebx
cmp dword [edi + 8], ebx
jle 0x451a61
cmp ecx, ebx
je 0x451a61
cmp word [ecx], bx
je 0x451a61
mov eax, dword [edi + 4]
cmp eax, ebx
jne 0x451a50
mov eax, 0x538640
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 0x451a6d
mov ecx, 0x538640
mov dword [ebp + 0x14], ebx
cmp dword [edi + 8], ebx
jle 0x451a9b
cmp ecx, ebx
je 0x451a9b
cmp word [ecx], bx
je 0x451a9b
mov eax, dword [edi + 4]
cmp eax, ebx
jne 0x451a8a
mov eax, 0x538640
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 0x451aa7
mov ecx, 0x538640
xor ebx, ebx
cmp dword [edi + 8], ebx
jle 0x451ad4
test ecx, ecx
je 0x451ad4
cmp word [ecx], bx
je 0x451ad4
mov eax, dword [edi + 4]
test eax, eax
jne 0x451ac3
mov eax, 0x538640
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 0x451ae0
mov ecx, 0x538640
xor eax, eax
cmp dword [edi + 8], eax
jle 0x451b0b
test ecx, ecx
je 0x451b0b
cmp word [ecx], ax
je 0x451b0b
mov eax, dword [edi + 4]
test eax, eax
jne 0x451afc
mov eax, 0x538640
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 0x451b17
mov ecx, 0x538640
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.00433520
xor ebx, ebx
cmp eax, ebx
je 0x451b4c
mov dword [esi + 0x32c], ebx
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
je 0x451b68
push eax
call fcn.005134a7
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 0x451b7f
push eax
call fcn.005134a7
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