Function at 0x492460
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52ef28
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x559024]
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, 0x53b7a8
call fcn.00466b30
mov eax, dword [ebp + 0x10]
push eax
mov esi, edi
call fcn.00492840
call fcn.00492d20
call fcn.004930b0
lea eax, [edi + 0x4c]
push str.FuncBtn_BtnWnd
call fcn.004fcf00
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x4924c7
mov eax, 0x538640
xor esi, esi
mov dword [ebp - 0x18], esi
cmp dword [ebx + 8], esi
jle 0x4924f7
cmp eax, esi
je 0x4924f7
cmp word [eax], si
je 0x4924f7
mov ecx, dword [ebx + 4]
cmp ecx, esi
jne 0x4924e6
mov ecx, 0x538640
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 0x492503
mov ecx, 0x538640
mov dword [ebp - 0x10], esi
cmp dword [ebx + 8], esi
jle 0x492531
cmp ecx, esi
je 0x492531
cmp word [ecx], si
je 0x492531
mov eax, dword [ebx + 4]
cmp eax, esi
jne 0x492520
mov eax, 0x538640
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 0x49253d
mov ecx, 0x538640
mov dword [ebp - 0x14], esi
cmp dword [ebx + 8], esi
jle 0x49256b
cmp ecx, esi
je 0x49256b
cmp word [ecx], si
je 0x49256b
mov eax, dword [ebx + 4]
cmp eax, esi
jne 0x49255a
mov eax, 0x538640
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 0x492577
mov ecx, 0x538640
xor esi, esi
cmp dword [ebx + 8], esi
jle 0x4925a6
test ecx, ecx
je 0x4925a6
cmp word [ecx], si
je 0x4925a6
mov ebx, dword [ebx + 4]
mov eax, ebx
test ebx, ebx
jne 0x492595
mov eax, 0x538640
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, 0x55a400
call fcn.00467b90
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4925cc
mov eax, 0x538640
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.00433520
test eax, eax
je 0x492603
mov dword [edi + 0x234], 0
mov ecx, dword [ebp - 0x10]
push 0x2efb
lea edx, [ebp - 0x30]
lea ebx, [esi + ecx]
push edx
mov ecx, 0x55a400
call fcn.00467b90
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.004fce50
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x49263c
push eax
call fcn.005134a7
add esp, 4
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x492648
mov eax, 0x538640
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.00433520
xor ebx, ebx
test eax, eax
je 0x492680
mov dword [edi + 0x4e0], ebx
mov esi, edi
push str.PhotoEditorPage_BackBtnWnd
lea eax, [esi + 0x4c]
call fcn.004fcf00
mov eax, dword [esi + 0x4c]
mov ecx, eax
cmp eax, ebx
jne 0x49269d
mov ecx, 0x538640
mov dword [ebp - 0x18], ebx
cmp dword [esi + 0x44], ebx
jle 0x4926cb
cmp ecx, ebx
je 0x4926cb
cmp word [ecx], bx
je 0x4926cb
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x4926ba
mov eax, 0x538640
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 0x4926d7
mov ecx, 0x538640
mov dword [ebp - 0x10], ebx
cmp dword [esi + 0x44], ebx
jle 0x492705
cmp ecx, ebx
je 0x492705
cmp word [ecx], bx
je 0x492705
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x4926f4
mov eax, 0x538640
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 0x492711
mov ecx, 0x538640
xor edi, edi
xor ebx, ebx
cmp dword [esi + 0x44], edi
jle 0x49273f
cmp ecx, edi
je 0x49273f
cmp word [ecx], di
je 0x49273f
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x49272f
mov eax, 0x538640
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 0x49274b
mov ecx, 0x538640
mov dword [ebp - 0x14], edi
cmp dword [esi + 0x44], edi
jle 0x492779
cmp ecx, edi
je 0x492779
cmp word [ecx], di
je 0x492779
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x492768
mov eax, 0x538640
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, 0x55a400
call fcn.00467b90
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.004fce50
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x30]
cmp eax, edi
je 0x4927b5
push eax
call fcn.005134a7
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 0x4927c1
mov eax, 0x538640
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.00433520
test eax, eax
je 0x4927fe
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 0x492827
push eax
call fcn.005134a7
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