Function at 0x4a57a0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53b0b8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
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 esi, dword [ebp + 8]
lea ebx, [esi + 0x3c]
push ebx
mov ecx, 0x554c58
call fcn.00470370
mov eax, dword [ebp + 0x1c]
mov edi, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x10]
push eax
push edi
push ecx
mov ecx, esi
call fcn.004a5c60
mov edx, dword [ebp + 0x1c]
push edx
push edi
call fcn.004a62c0
push edi
call fcn.004a68b0
lea eax, [esi + 0x4c]
push str.FuncBtn_BtnWnd
call fcn.005080c0
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x4a5815
mov eax, 0x54ee24
xor esi, esi
mov dword [ebp - 0x14], esi
cmp dword [ebx + 8], esi
jle 0x4a5845
cmp eax, esi
je 0x4a5845
cmp word [eax], si
je 0x4a5845
mov ecx, dword [ebx + 4]
cmp ecx, esi
jne 0x4a5834
mov ecx, 0x54ee24
push ecx
push esi
push str.PosiX
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebx + 0x10]
cmp ecx, esi
jne 0x4a5851
mov ecx, 0x54ee24
xor edi, edi
cmp dword [ebx + 8], esi
jle 0x4a587d
cmp ecx, esi
je 0x4a587d
cmp word [ecx], si
je 0x4a587d
mov eax, dword [ebx + 4]
cmp eax, esi
jne 0x4a586d
mov eax, 0x54ee24
push eax
push esi
push str.PosiY
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
mov ecx, dword [ebx + 0x10]
cmp ecx, esi
jne 0x4a5889
mov ecx, 0x54ee24
mov dword [ebp - 0x10], esi
cmp dword [ebx + 8], esi
jle 0x4a58b7
cmp ecx, esi
je 0x4a58b7
cmp word [ecx], si
je 0x4a58b7
mov eax, dword [ebx + 4]
cmp eax, esi
jne 0x4a58a6
mov eax, 0x54ee24
push eax
push esi
push str.Width
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebx + 0x10]
cmp ecx, esi
jne 0x4a58c3
mov ecx, 0x54ee24
xor esi, esi
cmp dword [ebx + 8], esi
jle 0x4a58f2
test ecx, ecx
je 0x4a58f2
cmp word [ecx], si
je 0x4a58f2
mov ebx, dword [ebx + 4]
mov eax, ebx
test ebx, ebx
jne 0x4a58e1
mov eax, 0x54ee24
push eax
push 0
push str.Height
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
push 0x2ef9
lea eax, [ebp - 0x20]
push eax
mov ecx, 0x5776a0
call fcn.00471480
mov edx, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 0x20]
mov dword [edx + 0x234], ecx
cmp eax, ecx
jne 0x4a591f
mov eax, 0x54ee24
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp + 0x10]
push esi
push ecx
mov ecx, dword [ebp + 8]
push edi
push edx
push 0
push eax
mov eax, dword [ebp + 0xc]
push 0x17cb
push eax
add ecx, 0x74
mov eax, 0x10000000
call fcn.0043b8a0
push 0x2efa
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, 0x5776a0
add edi, esi
call fcn.00471480
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.00508010
xor ebx, ebx
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
je 0x4a597e
push eax
call fcn.0051ebab
add esp, 4
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp + 8]
mov dword [edx + 0x4e0], ebx
cmp eax, ebx
jne 0x4a5993
mov eax, 0x54ee24
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
push esi
push ecx
mov ecx, dword [ebp + 8]
push edi
push edx
push ebx
mov ebx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push 0x17cc
push eax
add ecx, 0x320
mov eax, 0x10000000
call fcn.0043b8a0
cmp byte [ebp + 0x18], 0
je 0x4a5ab8
push 0x2eff
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, 0x5776a0
add edi, esi
call fcn.00471480
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.00508010
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4a59fd
push eax
call fcn.0051ebab
add esp, 4
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp + 8]
mov dword [edx + 0x78c], 0
test eax, eax
jne 0x4a5a16
mov eax, 0x54ee24
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp + 0x10]
push esi
push ecx
mov ecx, dword [ebp + 8]
push edi
push edx
push 0
push eax
mov eax, dword [ebp + 0xc]
push 0x17ce
push eax
add ecx, 0x5cc
mov eax, 0x10000000
call fcn.0043b8a0
push 0x2f00
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, 0x5776a0
add edi, esi
call fcn.00471480
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.00508010
xor ebx, ebx
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
je 0x4a5a78
push eax
call fcn.0051ebab
add esp, 4
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp + 8]
mov dword [edx + 0xa38], ebx
cmp eax, ebx
jne 0x4a5a8d
mov eax, 0x54ee24
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
push esi
push ecx
mov ecx, dword [ebp + 8]
push edi
push edx
push ebx
mov ebx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push 0x17cd
push eax
add ecx, 0x878
mov eax, 0x10000000
call fcn.0043b8a0
cmp byte [ebp + 0x1c], 0
je 0x4a5c34
cmp byte [ebp + 0x20], 0
mov esi, dword [ebp + 8]
lea eax, [esi + 0x4c]
je 0x4a5ad5
push str.PhotoFilerPage_Mini_FuncBtnWnd_CancelBtnWnd
jmp 0x4a5ada
push str.PhotoFilerPage_FuncBtnWnd_CancelBtnWnd
call fcn.005080c0
mov ecx, dword [esi + 0x4c]
add esi, 0x3c
mov dword [ebp + 0x1c], esi
test ecx, ecx
jne 0x4a5af1
mov ecx, 0x54ee24
cmp dword [esi + 8], 0
mov dword [ebp + 0x20], 0
jle 0x4a5b2a
test ecx, ecx
je 0x4a5b2a
cmp word [ecx], 0
je 0x4a5b2a
mov eax, dword [esi + 4]
test eax, eax
jne 0x4a5b14
mov eax, 0x54ee24
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push 0
push str.PosiX
push ecx
call ebx
mov dword [ebp + 0x20], eax
jmp 0x4a5b30
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [esi + 0x10]
test ecx, ecx
jne 0x4a5b3c
mov ecx, 0x54ee24
xor edi, edi
cmp dword [esi + 8], edi
jle 0x4a5b65
test ecx, ecx
je 0x4a5b65
cmp word [ecx], di
je 0x4a5b65
mov eax, dword [esi + 4]
test eax, eax
jne 0x4a5b58
mov eax, 0x54ee24
push eax
push 0
push str.Width
push ecx
call ebx
mov edi, eax
mov ecx, dword [esi + 0x10]
test ecx, ecx
jne 0x4a5b71
mov ecx, 0x54ee24
mov eax, dword [ebp + 0x1c]
xor esi, esi
cmp dword [eax + 8], esi
jle 0x4a5b9d
test ecx, ecx
je 0x4a5b9d
cmp word [ecx], si
je 0x4a5b9d
mov eax, dword [eax + 4]
test eax, eax
jne 0x4a5b90
mov eax, 0x54ee24
push eax
push 0
push str.Height
push ecx
call ebx
mov esi, eax
mov ebx, dword [ebp + 0x14]
push 0x80ed
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, 0x5776a0
sub ebx, esi
call fcn.00471480
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call fcn.00508010
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4a5be0
push eax
call fcn.0051ebab
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp + 8]
mov dword [edx + 0xce4], 0
test eax, eax
jne 0x4a5bf9
mov eax, 0x54ee24
mov ecx, dword [ebp + 0x20]
mov edx, dword [ebp + 0xc]
push esi
push edi
push ebx
mov ebx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 8]
push 0
push eax
push 0x17f5
push edx
add ecx, 0xb24
mov eax, 0x10000000
call fcn.0043b8a0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x20]
mov dword [eax + 0xdf4], ecx
mov dword [eax + 0xdf8], esi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4a5c4b
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 0x1c