Function at 0x49bc20
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53b0a8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
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 edi, dword [ebp + 8]
lea ebx, [edi + 0x3c]
push ebx
mov ecx, 0x554c48
call fcn.00470260
mov eax, dword [ebp + 0x10]
push eax
mov esi, edi
call fcn.0049c000
call fcn.0049c4e0
call fcn.0049c870
lea eax, [edi + 0x4c]
push str.FuncBtn_BtnWnd
call fcn.005080c0
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x49bc87
mov eax, 0x54ee24
xor esi, esi
mov dword [ebp - 0x18], esi
cmp dword [ebx + 8], esi
jle 0x49bcb7
cmp eax, esi
je 0x49bcb7
cmp word [eax], si
je 0x49bcb7
mov ecx, dword [ebx + 4]
cmp ecx, esi
jne 0x49bca6
mov ecx, 0x54ee24
push ecx
push esi
push str.PosiX
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebx + 0x10]
cmp ecx, esi
jne 0x49bcc3
mov ecx, 0x54ee24
mov dword [ebp - 0x10], esi
cmp dword [ebx + 8], esi
jle 0x49bcf1
cmp ecx, esi
je 0x49bcf1
cmp word [ecx], si
je 0x49bcf1
mov eax, dword [ebx + 4]
cmp eax, esi
jne 0x49bce0
mov eax, 0x54ee24
push eax
push esi
push str.PosiY
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebx + 0x10]
cmp ecx, esi
jne 0x49bcfd
mov ecx, 0x54ee24
mov dword [ebp - 0x14], esi
cmp dword [ebx + 8], esi
jle 0x49bd2b
cmp ecx, esi
je 0x49bd2b
cmp word [ecx], si
je 0x49bd2b
mov eax, dword [ebx + 4]
cmp eax, esi
jne 0x49bd1a
mov eax, 0x54ee24
push eax
push esi
push str.Width
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebx + 0x10]
cmp ecx, esi
jne 0x49bd37
mov ecx, 0x54ee24
xor esi, esi
cmp dword [ebx + 8], esi
jle 0x49bd66
test ecx, ecx
je 0x49bd66
cmp word [ecx], si
je 0x49bd66
mov ebx, dword [ebx + 4]
mov eax, ebx
test ebx, ebx
jne 0x49bd55
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 ecx, [ebp - 0x24]
push ecx
mov ecx, 0x5776a0
call fcn.00471380
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x49bd8c
mov eax, 0x54ee24
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov ebx, dword [ebp + 0x10]
push esi
push edx
mov edx, dword [ebp - 0x18]
push ecx
push edx
push 0
push eax
mov eax, dword [ebp + 0xc]
push 0x17cb
push eax
mov eax, 0x10000000
lea ecx, [edi + 0x74]
call fcn.0043b720
test eax, eax
je 0x49bdc3
mov dword [edi + 0x234], 0
mov ecx, dword [ebp - 0x10]
push 0x2efb
lea edx, [ebp - 0x30]
lea ebx, [esi + ecx]
push edx
mov ecx, 0x5776a0
call fcn.00471380
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.00508010
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x49bdfc
push eax
call fcn.0051eadb
add esp, 4
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x49be08
mov eax, 0x54ee24
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
mov edi, dword [ebp + 8]
push esi
push ecx
push ebx
mov ebx, dword [ebp + 0x10]
push edx
push 0
push eax
mov eax, dword [ebp + 0xc]
push 0x17cf
push eax
mov eax, 0x10000000
lea ecx, [edi + 0x320]
call fcn.0043b720
xor ebx, ebx
test eax, eax
je 0x49be40
mov dword [edi + 0x4e0], ebx
mov esi, edi
push str.PhotoEditorPage_BackBtnWnd
lea eax, [esi + 0x4c]
call fcn.005080c0
mov eax, dword [esi + 0x4c]
mov ecx, eax
cmp eax, ebx
jne 0x49be5d
mov ecx, 0x54ee24
mov dword [ebp - 0x18], ebx
cmp dword [esi + 0x44], ebx
jle 0x49be8b
cmp ecx, ebx
je 0x49be8b
cmp word [ecx], bx
je 0x49be8b
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x49be7a
mov eax, 0x54ee24
push eax
push ebx
push str.PosiX
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x18], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, ebx
jne 0x49be97
mov ecx, 0x54ee24
mov dword [ebp - 0x10], ebx
cmp dword [esi + 0x44], ebx
jle 0x49bec5
cmp ecx, ebx
je 0x49bec5
cmp word [ecx], bx
je 0x49bec5
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x49beb4
mov eax, 0x54ee24
push eax
push ebx
push str.PosiY
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x10], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, ebx
jne 0x49bed1
mov ecx, 0x54ee24
xor edi, edi
xor ebx, ebx
cmp dword [esi + 0x44], edi
jle 0x49beff
cmp ecx, edi
je 0x49beff
cmp word [ecx], di
je 0x49beff
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x49beef
mov eax, 0x54ee24
push eax
push edi
push str.Width
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
mov ecx, dword [esi + 0x4c]
cmp ecx, edi
jne 0x49bf0b
mov ecx, 0x54ee24
mov dword [ebp - 0x14], edi
cmp dword [esi + 0x44], edi
jle 0x49bf39
cmp ecx, edi
je 0x49bf39
cmp word [ecx], di
je 0x49bf39
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x49bf28
mov eax, 0x54ee24
push eax
push edi
push str.Height
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x14], eax
push 0x2efc
lea ecx, [ebp - 0x30]
push ecx
mov ecx, 0x5776a0
call fcn.00471380
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.00508010
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x30]
cmp eax, edi
je 0x49bf75
push eax
call fcn.0051eadb
add esp, 4
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
mov eax, dword [ebp - 0x24]
cmp eax, edi
jne 0x49bf81
mov eax, 0x54ee24
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov edi, dword [ebp + 8]
push edx
mov edx, dword [ebp - 0x18]
push ebx
mov ebx, dword [ebp + 0x10]
push ecx
push edx
push 0
push eax
mov eax, dword [ebp + 0xc]
push 0x17f3
push eax
mov eax, 0x10000000
lea ecx, [edi + 0x5cc]
call fcn.0043b720
test eax, eax
je 0x49bfbe
mov dword [edi + 0x78c], 0
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x24]
mov dword [edi + 0x89c], ecx
mov dword [edi + 0x8a0], edx
test eax, eax
je 0x49bfe7
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 0xc