Function at 0x45d660
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x52ce30
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x559024]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov eax, dword [0x55a418]
and eax, 0x3ff
dec eax
cmp eax, 0x59
ja case.0x45d6a3.2
movzx eax, byte [eax + 0x45dd24]
jmp dword [eax*4 + 0x45dd1c]
mov byte [esp + 0x14], 1
jmp 0x45d6b6
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.005069b0
lea esi, [edi + 0x3c]
push esi
mov ecx, 0x53b7a8
mov dword [esp + 0x34], esi
call fcn.00466b30
cmp byte [ebp + 0x14], 0
lea eax, [edi + 0x4c]
mov dword [esp + 0x18], eax
je 0x45d6fc
push str.PhotoEditorPage_Mini_TrimEnlargeBtn
jmp 0x45d701
push str.PhotoEditorPage_TrimEnlargeBtn
call fcn.004fcf00
mov eax, dword [esi + 0x10]
xor ebx, ebx
mov ecx, eax
cmp eax, ebx
jne 0x45d716
mov ecx, 0x538640
mov dword [esp + 0x28], ebx
cmp dword [esi + 8], ebx
jle 0x45d74a
cmp ecx, ebx
je 0x45d74a
cmp word [ecx], bx
je 0x45d74a
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x45d734
mov eax, 0x538640
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 0x45d750
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [esi + 0x10]
cmp ecx, ebx
jne 0x45d75c
mov ecx, 0x538640
mov dword [esp + 0x24], ebx
cmp dword [esi + 8], ebx
jle 0x45d788
cmp ecx, ebx
je 0x45d788
cmp word [ecx], bx
je 0x45d788
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x45d77a
mov eax, 0x538640
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 0x45d794
mov ecx, 0x538640
mov dword [esp + 0x14], ebx
cmp dword [esi + 8], ebx
jle 0x45d7c0
cmp ecx, ebx
je 0x45d7c0
cmp word [ecx], bx
je 0x45d7c0
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x45d7b2
mov eax, 0x538640
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 0x45d7cc
mov ecx, 0x538640
cmp dword [esi + 8], ebx
jle 0x45d7f5
test ecx, ecx
je 0x45d7f5
cmp word [ecx], bx
je 0x45d7f5
mov esi, dword [esi + 4]
mov eax, esi
test esi, esi
jne 0x45d7e8
mov eax, 0x538640
push eax
push 0
push str.Height
push ecx
call edi
mov ebx, eax
mov eax, dword [0x55a3f8]
mov dword [esp + 0x1c], 0
test eax, eax
je 0x45d839
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 0x45d82e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x55a3ec], eax
mov eax, dword [0x55a3f8]
mov dword [esp + 0x1c], esi
jmp 0x45d843
mov dword [0x55a3ec], 0x57
mov dword [esp + 0x20], 0
test eax, eax
je 0x45d882
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 0x45d877
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x55a3ec], eax
mov eax, dword [0x55a3f8]
mov dword [esp + 0x20], esi
jmp 0x45d88c
mov dword [0x55a3ec], 0x57
xor edi, edi
test eax, eax
je 0x45d8c0
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 0x45d8b7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x55a3ec], eax
mov eax, dword [0x55a3f8]
mov edi, esi
jmp 0x45d8ca
mov dword [0x55a3ec], 0x57
xor ecx, ecx
test eax, eax
je 0x45d8f9
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 0x45d8f5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x55a3ec], eax
mov ecx, esi
jmp 0x45d903
mov dword [0x55a3ec], 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, 0x55a400
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.00467b90
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 0x45d992
mov eax, 0x538640
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.00433520
mov ecx, dword [esp + 0x34]
test ecx, ecx
jne 0x45d9ce
mov ecx, 0x538640
mov edi, ecx
mov ecx, dword [esp + 0x2c]
mov esi, eax
call fcn.00506a20
push 0x80ef
lea eax, [esp + 0x44]
push eax
mov ecx, 0x55a400
call fcn.00467b90
lea ecx, [esp + 0x34]
mov byte [esp + 0x58], 1
call fcn.004fce50
mov byte [esp + 0x58], 0
mov eax, dword [esp + 0x40]
xor esi, esi
cmp eax, esi
je 0x45da21
push eax
call fcn.005134a7
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 0x45da32
push str.PhotoEditorPage_Mini_TrimReduceBtn
jmp 0x45da37
push str.PhotoEditorPage_TrimReduceBtn
call fcn.004fcf00
mov edi, dword [esp + 0x30]
mov ecx, dword [edi + 0x10]
cmp ecx, esi
jne 0x45da4c
mov ecx, 0x538640
mov dword [esp + 0x18], esi
cmp dword [edi + 8], esi
jle 0x45da80
cmp ecx, esi
je 0x45da80
cmp word [ecx], si
je 0x45da80
mov eax, dword [edi + 4]
cmp eax, esi
jne 0x45da6a
mov eax, 0x538640
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 0x45da86
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [edi + 0x10]
cmp ecx, esi
jne 0x45da92
mov ecx, 0x538640
mov dword [esp + 0x1c], esi
cmp dword [edi + 8], esi
jle 0x45dabe
cmp ecx, esi
je 0x45dabe
cmp word [ecx], si
je 0x45dabe
mov eax, dword [edi + 4]
cmp eax, esi
jne 0x45dab0
mov eax, 0x538640
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 0x45daca
mov ecx, 0x538640
mov dword [esp + 0x20], esi
cmp dword [edi + 8], esi
jle 0x45daf6
cmp ecx, esi
je 0x45daf6
cmp word [ecx], si
je 0x45daf6
mov eax, dword [edi + 4]
cmp eax, esi
jne 0x45dae8
mov eax, 0x538640
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 0x45db02
mov ecx, 0x538640
cmp dword [edi + 8], esi
jle 0x45db29
test ecx, ecx
je 0x45db29
cmp word [ecx], si
je 0x45db29
mov eax, dword [edi + 4]
test eax, eax
jne 0x45db1c
mov eax, 0x538640
push eax
push 0
push str.Height
push ecx
call ebx
mov esi, eax
mov eax, dword [0x55a3f8]
mov dword [esp + 0x28], 0
test eax, eax
je 0x45db6d
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 0x45db62
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x55a3ec], eax
mov eax, dword [0x55a3f8]
mov dword [esp + 0x28], edi
jmp 0x45db77
mov dword [0x55a3ec], 0x57
mov dword [esp + 0x24], 0
test eax, eax
je 0x45dbb6
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 0x45dbab
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x55a3ec], eax
mov eax, dword [0x55a3f8]
mov dword [esp + 0x24], edi
jmp 0x45dbc0
mov dword [0x55a3ec], 0x57
xor ebx, ebx
test eax, eax
je 0x45dbf4
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 0x45dbeb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x55a3ec], eax
mov eax, dword [0x55a3f8]
mov ebx, edi
jmp 0x45dbfe
mov dword [0x55a3ec], 0x57
xor edx, edx
test eax, eax
je 0x45dc2d
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 0x45dc29
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x55a3ec], eax
mov edx, edi
jmp 0x45dc37
mov dword [0x55a3ec], 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 0x45dcb0
mov eax, 0x538640
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.00433520
mov ecx, dword [esp + 0x34]
test ecx, ecx
jne 0x45dce1
mov ecx, 0x538640
mov edi, ecx
mov ecx, dword [esp + 0x2c]
mov esi, eax
call fcn.00506a20
mov dword [esp + 0x58], 0xffffffff
mov eax, dword [esp + 0x34]
test eax, eax
je 0x45dd07
push eax
call fcn.005134a7
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