Function at 0x466b20
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x538be0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x575494]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov eax, dword [0x5776b8]
and eax, 0x3ff
dec eax
cmp eax, 0x59
ja case.0x466b63.2
movzx eax, byte [eax + 0x4671e4]
jmp dword [eax*4 + 0x4671dc]
mov byte [esp + 0x14], 1
jmp 0x466b76
mov byte [esp + 0x14], 0
mov ecx, dword [esp + 0x14]
mov edi, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
push ecx
lea eax, [edi + 0x74]
push edx
mov ecx, 0x40
mov dword [esp + 0x34], eax
call fcn.00511ef0
lea esi, [edi + 0x3c]
push esi
mov ecx, 0x554c58
mov dword [esp + 0x34], esi
call fcn.00470370
cmp byte [ebp + 0x14], 0
lea eax, [edi + 0x4c]
mov dword [esp + 0x18], eax
je 0x466bbc
push str.PhotoEditorPage_Mini_TrimEnlargeBtn
jmp 0x466bc1
push str.PhotoEditorPage_TrimEnlargeBtn
call fcn.005080c0
mov eax, dword [esi + 0x10]
xor ebx, ebx
mov ecx, eax
cmp eax, ebx
jne 0x466bd6
mov ecx, 0x54ee24
mov dword [esp + 0x28], ebx
cmp dword [esi + 8], ebx
jle 0x466c0a
cmp ecx, ebx
je 0x466c0a
cmp word [ecx], bx
je 0x466c0a
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x466bf4
mov eax, 0x54ee24
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push ebx
push str.PosiX
push ecx
call edi
mov dword [esp + 0x28], eax
jmp 0x466c10
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [esi + 0x10]
cmp ecx, ebx
jne 0x466c1c
mov ecx, 0x54ee24
mov dword [esp + 0x24], ebx
cmp dword [esi + 8], ebx
jle 0x466c48
cmp ecx, ebx
je 0x466c48
cmp word [ecx], bx
je 0x466c48
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x466c3a
mov eax, 0x54ee24
push eax
push ebx
push str.PosiY
push ecx
call edi
mov dword [esp + 0x24], eax
mov ecx, dword [esi + 0x10]
cmp ecx, ebx
jne 0x466c54
mov ecx, 0x54ee24
mov dword [esp + 0x14], ebx
cmp dword [esi + 8], ebx
jle 0x466c80
cmp ecx, ebx
je 0x466c80
cmp word [ecx], bx
je 0x466c80
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x466c72
mov eax, 0x54ee24
push eax
push ebx
push str.Width
push ecx
call edi
mov dword [esp + 0x14], eax
mov ecx, dword [esi + 0x10]
cmp ecx, ebx
jne 0x466c8c
mov ecx, 0x54ee24
cmp dword [esi + 8], ebx
jle 0x466cb5
test ecx, ecx
je 0x466cb5
cmp word [ecx], bx
je 0x466cb5
mov esi, dword [esi + 4]
mov eax, esi
test esi, esi
jne 0x466ca8
mov eax, 0x54ee24
push eax
push 0
push str.Height
push ecx
call edi
mov ebx, eax
mov eax, dword [0x577698]
mov dword [esp + 0x1c], 0
test eax, eax
je 0x466cf9
push 0x80
push 0
push 0
push 0
push 0xc7ae
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov esi, eax
test esi, esi
jne 0x466cee
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov dword [esp + 0x1c], esi
jmp 0x466d03
mov dword [0x57768c], 0x57
mov dword [esp + 0x20], 0
test eax, eax
je 0x466d42
push 0x80
push 0
push 0
push 0
push 0xc7af
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov esi, eax
test esi, esi
jne 0x466d37
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov dword [esp + 0x20], esi
jmp 0x466d4c
mov dword [0x57768c], 0x57
xor edi, edi
test eax, eax
je 0x466d80
push 0x80
push edi
push edi
push edi
push 0xc7b0
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov esi, eax
test esi, esi
jne 0x466d77
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov edi, esi
jmp 0x466d8a
mov dword [0x57768c], 0x57
xor ecx, ecx
test eax, eax
je 0x466db9
push 0x80
push ecx
push ecx
push ecx
push 0xc7b1
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov esi, eax
test esi, esi
jne 0x466db5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov ecx, esi
jmp 0x466dc3
mov dword [0x57768c], 0x57
mov esi, dword [ebp + 8]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esi + 0x270], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x27c], ecx
xor ecx, ecx
mov dword [esi + 0x2cc], eax
mov dword [esi + 0x2dc], eax
push 0x80ee
lea eax, [esp + 0x38]
mov dword [esi + 0x2c4], ecx
mov dword [esi + 0x2c8], ecx
mov dword [esi + 0x2d4], ecx
mov dword [esi + 0x2d8], ecx
push eax
mov ecx, 0x5776a0
mov dword [esi + 0x274], edx
mov dword [esi + 0x278], edi
mov byte [esi + 0x261], 1
mov dword [esi + 0x2d0], ebx
mov dword [esi + 0x2e0], ebx
call fcn.00471480
xor ecx, ecx
mov dword [esp + 0x58], ecx
mov eax, dword [esp + 0x34]
mov edx, esi
mov dword [edx + 0x25c], ecx
cmp eax, ecx
jne 0x466e52
mov eax, 0x54ee24
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x24]
push ebx
mov ebx, dword [ebp + 0x10]
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [ebp + 0xc]
push ecx
push 0
push eax
push 0x17fd
push edx
mov eax, 0x10000000
lea ecx, [esi + 0x9c]
call fcn.0043b8a0
mov ecx, dword [esp + 0x34]
test ecx, ecx
jne 0x466e8e
mov ecx, 0x54ee24
mov edi, ecx
mov ecx, dword [esp + 0x2c]
mov esi, eax
call fcn.00511f60
push 0x80ef
lea eax, [esp + 0x44]
push eax
mov ecx, 0x5776a0
call fcn.00471480
lea ecx, [esp + 0x34]
mov byte [esp + 0x58], 1
call fcn.00508010
mov byte [esp + 0x58], 0
mov eax, dword [esp + 0x40]
xor esi, esi
cmp eax, esi
je 0x466ee1
push eax
call fcn.0051ebab
add esp, 4
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
cmp byte [ebp + 0x14], 0
mov eax, dword [esp + 0x18]
je 0x466ef2
push str.PhotoEditorPage_Mini_TrimReduceBtn
jmp 0x466ef7
push str.PhotoEditorPage_TrimReduceBtn
call fcn.005080c0
mov edi, dword [esp + 0x30]
mov ecx, dword [edi + 0x10]
cmp ecx, esi
jne 0x466f0c
mov ecx, 0x54ee24
mov dword [esp + 0x18], esi
cmp dword [edi + 8], esi
jle 0x466f40
cmp ecx, esi
je 0x466f40
cmp word [ecx], si
je 0x466f40
mov eax, dword [edi + 4]
cmp eax, esi
jne 0x466f2a
mov eax, 0x54ee24
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push esi
push str.PosiX
push ecx
call ebx
mov dword [esp + 0x18], eax
jmp 0x466f46
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [edi + 0x10]
cmp ecx, esi
jne 0x466f52
mov ecx, 0x54ee24
mov dword [esp + 0x1c], esi
cmp dword [edi + 8], esi
jle 0x466f7e
cmp ecx, esi
je 0x466f7e
cmp word [ecx], si
je 0x466f7e
mov eax, dword [edi + 4]
cmp eax, esi
jne 0x466f70
mov eax, 0x54ee24
push eax
push esi
push str.PosiY
push ecx
call ebx
mov dword [esp + 0x1c], eax
mov ecx, dword [edi + 0x10]
cmp ecx, esi
jne 0x466f8a
mov ecx, 0x54ee24
mov dword [esp + 0x20], esi
cmp dword [edi + 8], esi
jle 0x466fb6
cmp ecx, esi
je 0x466fb6
cmp word [ecx], si
je 0x466fb6
mov eax, dword [edi + 4]
cmp eax, esi
jne 0x466fa8
mov eax, 0x54ee24
push eax
push esi
push str.Width
push ecx
call ebx
mov dword [esp + 0x20], eax
mov ecx, dword [edi + 0x10]
cmp ecx, esi
jne 0x466fc2
mov ecx, 0x54ee24
cmp dword [edi + 8], esi
jle 0x466fe9
test ecx, ecx
je 0x466fe9
cmp word [ecx], si
je 0x466fe9
mov eax, dword [edi + 4]
test eax, eax
jne 0x466fdc
mov eax, 0x54ee24
push eax
push 0
push str.Height
push ecx
call ebx
mov esi, eax
mov eax, dword [0x577698]
mov dword [esp + 0x28], 0
test eax, eax
je 0x46702d
push 0x80
push 0
push 0
push 0
push 0xc7b2
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov edi, eax
test edi, edi
jne 0x467022
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov dword [esp + 0x28], edi
jmp 0x467037
mov dword [0x57768c], 0x57
mov dword [esp + 0x24], 0
test eax, eax
je 0x467076
push 0x80
push 0
push 0
push 0
push 0xc7b3
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov edi, eax
test edi, edi
jne 0x46706b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov dword [esp + 0x24], edi
jmp 0x467080
mov dword [0x57768c], 0x57
xor ebx, ebx
test eax, eax
je 0x4670b4
push 0x80
push ebx
push ebx
push ebx
push 0xc7b4
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov edi, eax
test edi, edi
jne 0x4670ab
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov ebx, edi
jmp 0x4670be
mov dword [0x57768c], 0x57
xor edx, edx
test eax, eax
je 0x4670ed
push 0x80
push edx
push edx
push edx
push 0xc7b5
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov edi, eax
test edi, edi
jne 0x4670e9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov edx, edi
jmp 0x4670f7
mov dword [0x57768c], 0x57
mov eax, dword [ebp + 8]
mov edi, dword [esp + 0x28]
lea ecx, [eax + 0x348]
mov dword [ecx + 0x1d4], edi
mov edi, dword [esp + 0x24]
mov dword [ecx + 0x1d8], edi
xor edi, edi
mov dword [ecx + 0x1e0], edx
mov edx, dword [esp + 0x20]
mov dword [ecx + 0x1dc], ebx
mov byte [ecx + 0x1c5], 1
mov dword [ecx + 0x228], edi
mov dword [ecx + 0x22c], edi
mov dword [ecx + 0x230], edx
mov dword [ecx + 0x234], esi
mov dword [ecx + 0x238], edi
mov dword [ecx + 0x23c], edi
mov dword [ecx + 0x240], edx
mov dword [ecx + 0x244], esi
mov dword [eax + 0x508], edi
mov eax, dword [esp + 0x34]
cmp eax, edi
jne 0x467170
mov eax, 0x54ee24
mov ebx, dword [ebp + 0x10]
push esi
push edx
mov edx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x24]
push edx
push edi
push eax
mov eax, dword [ebp + 0xc]
push 0x17fe
push eax
mov eax, 0x10000000
call fcn.0043b8a0
mov ecx, dword [esp + 0x34]
test ecx, ecx
jne 0x4671a1
mov ecx, 0x54ee24
mov edi, ecx
mov ecx, dword [esp + 0x2c]
mov esi, eax
call fcn.00511f60
mov dword [esp + 0x58], 0xffffffff
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4671c7
push eax
call fcn.0051ebab
add esp, 4
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10