Function at 0x45aa90
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x538f20
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, 0x554c58
mov dword [ebp - 0x20], esi
call fcn.00470370
cmp byte [ebp + 0x14], 0
lea eax, [edi + 0x4c]
mov dword [ebp - 0x10], eax
je 0x45aadf
push str.PhotoEditorPage_Mini_CrctDoneBtnTxt
jmp 0x45aae4
push str.PhotoEditorPage_CrctDoneBtnTxt
call fcn.005080c0
mov eax, dword [esi + 0x10]
xor ebx, ebx
mov ecx, eax
cmp eax, ebx
jne 0x45aaf9
mov ecx, 0x54ee24
mov dword [ebp - 0x14], ebx
cmp dword [esi + 8], ebx
jle 0x45ab2b
cmp ecx, ebx
je 0x45ab2b
cmp word [ecx], bx
je 0x45ab2b
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x45ab16
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 0x45ab31
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [esi + 0x10]
cmp ecx, ebx
jne 0x45ab3d
mov ecx, 0x54ee24
mov dword [ebp - 0x18], ebx
cmp dword [esi + 8], ebx
jle 0x45ab67
cmp ecx, ebx
je 0x45ab67
cmp word [ecx], bx
je 0x45ab67
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x45ab5a
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 0x45ab73
mov ecx, 0x54ee24
mov dword [ebp - 0x1c], ebx
cmp dword [esi + 8], ebx
jle 0x45ab9d
cmp ecx, ebx
je 0x45ab9d
cmp word [ecx], bx
je 0x45ab9d
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x45ab90
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 0x45aba9
mov ecx, 0x54ee24
xor edi, edi
cmp dword [esi + 8], ebx
jle 0x45abd5
cmp ecx, ebx
je 0x45abd5
cmp word [ecx], bx
je 0x45abd5
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x45abc5
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.00471480
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x38], eax
cmp eax, ebx
jne 0x45abfc
mov dword [ebp - 0x38], 0x54ee24
mov ecx, dword [esi + 0x10]
cmp ecx, ebx
jne 0x45ac08
mov ecx, 0x54ee24
xor ebx, ebx
cmp dword [esi + 8], ebx
jle 0x45ac35
test ecx, ecx
je 0x45ac35
cmp word [ecx], bx
je 0x45ac35
mov eax, dword [esi + 4]
test eax, eax
jne 0x45ac24
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.00471480
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x45ac58
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.00473a60
mov byte [esi + 0x218], 0
mov byte [esi + 0x220], 0
mov eax, dword [0x577698]
xor edi, edi
test eax, eax
je 0x45ad02
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 0x45acf9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov edi, ebx
jmp 0x45ad0c
mov dword [0x57768c], 0x57
mov dword [ebp + 8], 0
test eax, eax
je 0x45ad49
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 0x45ad3f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov dword [ebp + 8], ebx
jmp 0x45ad53
mov dword [0x57768c], 0x57
mov dword [ebp - 0x1c], 0
test eax, eax
je 0x45ad90
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 0x45ad86
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov dword [ebp - 0x1c], ebx
jmp 0x45ad9a
mov dword [0x57768c], 0x57
xor ecx, ecx
test eax, eax
je 0x45adc9
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 0x45adc5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov ecx, ebx
jmp 0x45add3
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 0x45ae08
push str.PhotoEditorPage_Mini_CrctDoneBtnWnd
jmp 0x45ae0d
push str.PhotoEditorPage_CrctDoneBtnWnd
call fcn.005080c0
mov edi, dword [ebp - 0x20]
mov ecx, dword [edi + 0x10]
xor ebx, ebx
cmp ecx, ebx
jne 0x45ae23
mov ecx, 0x54ee24
mov dword [ebp + 8], ebx
cmp dword [edi + 8], ebx
jle 0x45ae51
cmp ecx, ebx
je 0x45ae51
cmp word [ecx], bx
je 0x45ae51
mov eax, dword [edi + 4]
cmp eax, ebx
jne 0x45ae40
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 0x45ae5d
mov ecx, 0x54ee24
mov dword [ebp + 0x14], ebx
cmp dword [edi + 8], ebx
jle 0x45ae8b
cmp ecx, ebx
je 0x45ae8b
cmp word [ecx], bx
je 0x45ae8b
mov eax, dword [edi + 4]
cmp eax, ebx
jne 0x45ae7a
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 0x45ae97
mov ecx, 0x54ee24
xor ebx, ebx
cmp dword [edi + 8], ebx
jle 0x45aec4
test ecx, ecx
je 0x45aec4
cmp word [ecx], bx
je 0x45aec4
mov eax, dword [edi + 4]
test eax, eax
jne 0x45aeb3
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 0x45aed0
mov ecx, 0x54ee24
xor eax, eax
cmp dword [edi + 8], eax
jle 0x45aefb
test ecx, ecx
je 0x45aefb
cmp word [ecx], ax
je 0x45aefb
mov eax, dword [edi + 4]
test eax, eax
jne 0x45aeec
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 0x45af07
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.0043b8a0
xor ebx, ebx
cmp eax, ebx
je 0x45af3c
mov dword [esi + 0x32c], ebx
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
je 0x45af58
push eax
call fcn.0051ebab
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 0x45af6f
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