Function at 0x466950
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x538ae0
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.0x466993.2
movzx eax, byte [eax + 0x467014]
jmp dword [eax*4 + 0x46700c]
mov byte [esp + 0x14], 1
jmp 0x4669a6
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.00511e30
lea esi, [edi + 0x3c]
push esi
mov ecx, 0x554c48
mov dword [esp + 0x34], esi
call fcn.00470260
cmp byte [ebp + 0x14], 0
lea eax, [edi + 0x4c]
mov dword [esp + 0x18], eax
je 0x4669ec
push str.PhotoEditorPage_Mini_TrimEnlargeBtn
jmp 0x4669f1
push str.PhotoEditorPage_TrimEnlargeBtn
call fcn.005080c0
mov eax, dword [esi + 0x10]
xor ebx, ebx
mov ecx, eax
cmp eax, ebx
jne 0x466a06
mov ecx, 0x54ee24
mov dword [esp + 0x28], ebx
cmp dword [esi + 8], ebx
jle 0x466a3a
cmp ecx, ebx
je 0x466a3a
cmp word [ecx], bx
je 0x466a3a
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x466a24
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 0x466a40
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [esi + 0x10]
cmp ecx, ebx
jne 0x466a4c
mov ecx, 0x54ee24
mov dword [esp + 0x24], ebx
cmp dword [esi + 8], ebx
jle 0x466a78
cmp ecx, ebx
je 0x466a78
cmp word [ecx], bx
je 0x466a78
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x466a6a
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 0x466a84
mov ecx, 0x54ee24
mov dword [esp + 0x14], ebx
cmp dword [esi + 8], ebx
jle 0x466ab0
cmp ecx, ebx
je 0x466ab0
cmp word [ecx], bx
je 0x466ab0
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x466aa2
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 0x466abc
mov ecx, 0x54ee24
cmp dword [esi + 8], ebx
jle 0x466ae5
test ecx, ecx
je 0x466ae5
cmp word [ecx], bx
je 0x466ae5
mov esi, dword [esi + 4]
mov eax, esi
test esi, esi
jne 0x466ad8
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 0x466b29
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 0x466b1e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov dword [esp + 0x1c], esi
jmp 0x466b33
mov dword [0x57768c], 0x57
mov dword [esp + 0x20], 0
test eax, eax
je 0x466b72
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 0x466b67
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov dword [esp + 0x20], esi
jmp 0x466b7c
mov dword [0x57768c], 0x57
xor edi, edi
test eax, eax
je 0x466bb0
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 0x466ba7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov edi, esi
jmp 0x466bba
mov dword [0x57768c], 0x57
xor ecx, ecx
test eax, eax
je 0x466be9
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 0x466be5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov ecx, esi
jmp 0x466bf3
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.00471380
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 0x466c82
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.0043b720
mov ecx, dword [esp + 0x34]
test ecx, ecx
jne 0x466cbe
mov ecx, 0x54ee24
mov edi, ecx
mov ecx, dword [esp + 0x2c]
mov esi, eax
call fcn.00511ea0
push 0x80ef
lea eax, [esp + 0x44]
push eax
mov ecx, 0x5776a0
call fcn.00471380
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 0x466d11
push eax
call fcn.0051eadb
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 0x466d22
push str.PhotoEditorPage_Mini_TrimReduceBtn
jmp 0x466d27
push str.PhotoEditorPage_TrimReduceBtn
call fcn.005080c0
mov edi, dword [esp + 0x30]
mov ecx, dword [edi + 0x10]
cmp ecx, esi
jne 0x466d3c
mov ecx, 0x54ee24
mov dword [esp + 0x18], esi
cmp dword [edi + 8], esi
jle 0x466d70
cmp ecx, esi
je 0x466d70
cmp word [ecx], si
je 0x466d70
mov eax, dword [edi + 4]
cmp eax, esi
jne 0x466d5a
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 0x466d76
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [edi + 0x10]
cmp ecx, esi
jne 0x466d82
mov ecx, 0x54ee24
mov dword [esp + 0x1c], esi
cmp dword [edi + 8], esi
jle 0x466dae
cmp ecx, esi
je 0x466dae
cmp word [ecx], si
je 0x466dae
mov eax, dword [edi + 4]
cmp eax, esi
jne 0x466da0
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 0x466dba
mov ecx, 0x54ee24
mov dword [esp + 0x20], esi
cmp dword [edi + 8], esi
jle 0x466de6
cmp ecx, esi
je 0x466de6
cmp word [ecx], si
je 0x466de6
mov eax, dword [edi + 4]
cmp eax, esi
jne 0x466dd8
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 0x466df2
mov ecx, 0x54ee24
cmp dword [edi + 8], esi
jle 0x466e19
test ecx, ecx
je 0x466e19
cmp word [ecx], si
je 0x466e19
mov eax, dword [edi + 4]
test eax, eax
jne 0x466e0c
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 0x466e5d
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 0x466e52
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov dword [esp + 0x28], edi
jmp 0x466e67
mov dword [0x57768c], 0x57
mov dword [esp + 0x24], 0
test eax, eax
je 0x466ea6
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 0x466e9b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov dword [esp + 0x24], edi
jmp 0x466eb0
mov dword [0x57768c], 0x57
xor ebx, ebx
test eax, eax
je 0x466ee4
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 0x466edb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov ebx, edi
jmp 0x466eee
mov dword [0x57768c], 0x57
xor edx, edx
test eax, eax
je 0x466f1d
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 0x466f19
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov edx, edi
jmp 0x466f27
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 0x466fa0
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.0043b720
mov ecx, dword [esp + 0x34]
test ecx, ecx
jne 0x466fd1
mov ecx, 0x54ee24
mov edi, ecx
mov ecx, dword [esp + 0x2c]
mov esi, eax
call fcn.00511ea0
mov dword [esp + 0x58], 0xffffffff
mov eax, dword [esp + 0x34]
test eax, eax
je 0x466ff7
push eax
call fcn.0051eadb
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