Function at 0x4a5730
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5396c8
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, 0x554c48
call fcn.00470260
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.004a5bf0
mov edx, dword [ebp + 0x1c]
push edx
push edi
call fcn.004a6250
push edi
call fcn.004a6840
lea eax, [esi + 0x4c]
push str.FuncBtn_BtnWnd
call fcn.005080c0
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x4a57a5
mov eax, 0x54ee24
xor esi, esi
mov dword [ebp - 0x14], esi
cmp dword [ebx + 8], esi
jle 0x4a57d5
cmp eax, esi
je 0x4a57d5
cmp word [eax], si
je 0x4a57d5
mov ecx, dword [ebx + 4]
cmp ecx, esi
jne 0x4a57c4
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 0x4a57e1
mov ecx, 0x54ee24
xor edi, edi
cmp dword [ebx + 8], esi
jle 0x4a580d
cmp ecx, esi
je 0x4a580d
cmp word [ecx], si
je 0x4a580d
mov eax, dword [ebx + 4]
cmp eax, esi
jne 0x4a57fd
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 0x4a5819
mov ecx, 0x54ee24
mov dword [ebp - 0x10], esi
cmp dword [ebx + 8], esi
jle 0x4a5847
cmp ecx, esi
je 0x4a5847
cmp word [ecx], si
je 0x4a5847
mov eax, dword [ebx + 4]
cmp eax, esi
jne 0x4a5836
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 0x4a5853
mov ecx, 0x54ee24
xor esi, esi
cmp dword [ebx + 8], esi
jle 0x4a5882
test ecx, ecx
je 0x4a5882
cmp word [ecx], si
je 0x4a5882
mov ebx, dword [ebx + 4]
mov eax, ebx
test ebx, ebx
jne 0x4a5871
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.00471380
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 0x4a58af
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.0043b720
push 0x2efa
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, 0x5776a0
add edi, esi
call fcn.00471380
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 0x4a590e
push eax
call fcn.0051eadb
add esp, 4
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp + 8]
mov dword [edx + 0x4e0], ebx
cmp eax, ebx
jne 0x4a5923
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.0043b720
cmp byte [ebp + 0x18], 0
je 0x4a5a48
push 0x2eff
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, 0x5776a0
add edi, esi
call fcn.00471380
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 0x4a598d
push eax
call fcn.0051eadb
add esp, 4
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp + 8]
mov dword [edx + 0x78c], 0
test eax, eax
jne 0x4a59a6
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.0043b720
push 0x2f00
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, 0x5776a0
add edi, esi
call fcn.00471380
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 0x4a5a08
push eax
call fcn.0051eadb
add esp, 4
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp + 8]
mov dword [edx + 0xa38], ebx
cmp eax, ebx
jne 0x4a5a1d
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.0043b720
cmp byte [ebp + 0x1c], 0
je 0x4a5bc4
cmp byte [ebp + 0x20], 0
mov esi, dword [ebp + 8]
lea eax, [esi + 0x4c]
je 0x4a5a65
push str.PhotoFilerPage_Mini_FuncBtnWnd_CancelBtnWnd
jmp 0x4a5a6a
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 0x4a5a81
mov ecx, 0x54ee24
cmp dword [esi + 8], 0
mov dword [ebp + 0x20], 0
jle 0x4a5aba
test ecx, ecx
je 0x4a5aba
cmp word [ecx], 0
je 0x4a5aba
mov eax, dword [esi + 4]
test eax, eax
jne 0x4a5aa4
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 0x4a5ac0
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [esi + 0x10]
test ecx, ecx
jne 0x4a5acc
mov ecx, 0x54ee24
xor edi, edi
cmp dword [esi + 8], edi
jle 0x4a5af5
test ecx, ecx
je 0x4a5af5
cmp word [ecx], di
je 0x4a5af5
mov eax, dword [esi + 4]
test eax, eax
jne 0x4a5ae8
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 0x4a5b01
mov ecx, 0x54ee24
mov eax, dword [ebp + 0x1c]
xor esi, esi
cmp dword [eax + 8], esi
jle 0x4a5b2d
test ecx, ecx
je 0x4a5b2d
cmp word [ecx], si
je 0x4a5b2d
mov eax, dword [eax + 4]
test eax, eax
jne 0x4a5b20
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.00471380
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 0x4a5b70
push eax
call fcn.0051eadb
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 0x4a5b89
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.0043b720
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 0x4a5bdb
push eax
call fcn.0051eadb
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