Function at 0x492840
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52c220
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push edi
mov eax, dword [0x559024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [esi + 0x4c]
push str.FuncBtn_BtnText
call fcn.004fcf00
mov eax, dword [esi + 0x4c]
xor edi, edi
cmp eax, edi
jne 0x492882
mov eax, 0x538640
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x10], edi
cmp dword [esi + 0x44], edi
jle 0x4928b2
cmp eax, edi
je 0x4928b2
cmp word [eax], di
je 0x4928b2
mov ecx, dword [esi + 0x40]
cmp ecx, edi
jne 0x4928a5
mov ecx, 0x538640
push ecx
push edi
push str.PosiX
push eax
call ebx
mov dword [ebp - 0x10], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, edi
jne 0x4928be
mov ecx, 0x538640
mov dword [ebp - 0x14], edi
cmp dword [esi + 0x44], edi
jle 0x4928e8
cmp ecx, edi
je 0x4928e8
cmp word [ecx], di
je 0x4928e8
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x4928db
mov eax, 0x538640
push eax
push edi
push str.PosiY
push ecx
call ebx
mov dword [ebp - 0x14], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, edi
jne 0x4928f4
mov ecx, 0x538640
mov dword [ebp - 0x18], edi
cmp dword [esi + 0x44], edi
jle 0x49291e
cmp ecx, edi
je 0x49291e
cmp word [ecx], di
je 0x49291e
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x492911
mov eax, 0x538640
push eax
push edi
push str.Width
push ecx
call ebx
mov dword [ebp - 0x18], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, edi
jne 0x49292a
mov ecx, 0x538640
mov dword [ebp - 0x1c], edi
cmp dword [esi + 0x44], edi
jle 0x492954
cmp ecx, edi
je 0x492954
cmp word [ecx], di
je 0x492954
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x492947
mov eax, 0x538640
push eax
push edi
push str.Height
push ecx
call ebx
mov dword [ebp - 0x1c], eax
push 0x2af8
lea eax, [ebp - 0x4c]
push eax
mov ecx, 0x55a400
call fcn.00467b90
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x40], eax
cmp eax, edi
jne 0x49297b
mov dword [ebp - 0x40], 0x538640
mov ecx, dword [esi + 0x4c]
cmp ecx, edi
jne 0x492987
mov ecx, 0x538640
cmp dword [esi + 0x44], edi
jle 0x4929ad
cmp ecx, edi
je 0x4929ad
cmp word [ecx], di
je 0x4929ad
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x4929a1
mov eax, 0x538640
push eax
push edi
push str.FontPoint
push ecx
call ebx
mov edi, eax
push 0x2ef9
lea ecx, [ebp - 0x28]
push ecx
mov ecx, 0x55a400
call fcn.00467b90
mov ebx, 1
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x4929d4
mov eax, 0x538640
push eax
lea eax, [esi + 0x114]
mov byte [esi + 0x238], bl
call fcn.004fcf00
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x10]
push 0
push 0
mov dword [esi + 0x100], eax
mov eax, dword [ebp - 0x40]
push edi
mov dword [esi + 0x104], ecx
mov dword [esi + 0xfc], edx
mov edx, dword [ebp - 0x1c]
push eax
lea ecx, [esi + 0xec]
mov dword [esi + 0x10c], ebx
mov ebx, dword [ebp + 8]
push ecx
mov dword [esi + 0x108], edx
mov dword [esi + 0x110], 0x15
call fcn.0046a1f0
push 0x2efb
lea edx, [ebp - 0x34]
push edx
mov ecx, 0x55a400
mov byte [esi + 0x120], 0
mov byte [esi + 0x128], 0
call fcn.00467b90
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.004fce50
mov ebx, 1
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x492a77
push eax
call fcn.005134a7
add esp, 4
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x492a83
mov eax, 0x538640
push eax
lea eax, [esi + 0x3c0]
mov byte [esi + 0x4e4], bl
call fcn.004fcf00
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
push 0
push 0
mov dword [esi + 0x3ac], ecx
mov ecx, dword [ebp - 0x40]
push edi
mov dword [esi + 0x3b0], edx
mov dword [esi + 0x3a8], eax
mov eax, dword [ebp - 0x1c]
push ecx
lea edx, [esi + 0x398]
mov dword [esi + 0x3b8], ebx
mov ebx, dword [ebp + 8]
push edx
mov dword [esi + 0x3b4], eax
mov dword [esi + 0x3bc], 0x15
call fcn.0046a1f0
push str.PhotoEditorPage_BackBtnText
lea eax, [esi + 0x4c]
mov byte [esi + 0x3cc], 0
mov byte [esi + 0x3d4], 0
call fcn.004fcf00
mov eax, dword [esi + 0x4c]
test eax, eax
jne 0x492b08
mov eax, 0x538640
xor edi, edi
mov dword [ebp - 0x1c], edi
cmp dword [esi + 0x44], edi
jle 0x492b3c
cmp eax, edi
je 0x492b3c
cmp word [eax], di
je 0x492b3c
mov ecx, dword [esi + 0x40]
cmp ecx, edi
jne 0x492b27
mov ecx, 0x538640
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push ecx
push edi
push str.PosiX
push eax
call ebx
mov dword [ebp - 0x1c], eax
jmp 0x492b42
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [esi + 0x4c]
cmp ecx, edi
jne 0x492b4e
mov ecx, 0x538640
mov dword [ebp - 0x18], edi
cmp dword [esi + 0x44], edi
jle 0x492b78
cmp ecx, edi
je 0x492b78
cmp word [ecx], di
je 0x492b78
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x492b6b
mov eax, 0x538640
push eax
push edi
push str.PosiY
push ecx
call ebx
mov dword [ebp - 0x18], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, edi
jne 0x492b84
mov ecx, 0x538640
mov dword [ebp - 0x14], edi
cmp dword [esi + 0x44], edi
jle 0x492bae
cmp ecx, edi
je 0x492bae
cmp word [ecx], di
je 0x492bae
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x492ba1
mov eax, 0x538640
push eax
push edi
push str.Width
push ecx
call ebx
mov dword [ebp - 0x14], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, edi
jne 0x492bba
mov ecx, 0x538640
mov dword [ebp - 0x10], edi
cmp dword [esi + 0x44], edi
jle 0x492be4
cmp ecx, edi
je 0x492be4
cmp word [ecx], di
je 0x492be4
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x492bd7
mov eax, 0x538640
push eax
push edi
push str.Height
push ecx
call ebx
mov dword [ebp - 0x10], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, edi
jne 0x492bf0
mov ecx, 0x538640
cmp dword [esi + 0x44], edi
jle 0x492c16
cmp ecx, edi
je 0x492c16
cmp word [ecx], di
je 0x492c16
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x492c0a
mov eax, 0x538640
push eax
push edi
push str.FontPoint
push ecx
call ebx
mov edi, eax
push 0x2efc
lea eax, [ebp - 0x34]
push eax
mov ecx, 0x55a400
call fcn.00467b90
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.004fce50
mov ebx, 1
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x492c58
push eax
call fcn.005134a7
add esp, 4
xor eax, eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x492c64
mov eax, 0x538640
push eax
lea eax, [esi + 0x66c]
mov byte [esi + 0x790], bl
call fcn.004fcf00
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
push 0
push 0
mov dword [esi + 0x658], edx
mov edx, dword [ebp - 0x40]
push edi
mov dword [esi + 0x65c], eax
mov dword [esi + 0x654], ecx
mov ecx, dword [ebp - 0x10]
push edx
lea eax, [esi + 0x644]
mov dword [esi + 0x664], ebx
mov ebx, dword [ebp + 8]
push eax
mov dword [esi + 0x660], ecx
mov dword [esi + 0x668], 0x15
call fcn.0046a1f0
xor ebx, ebx
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x28]
mov byte [esi + 0x678], bl
mov byte [esi + 0x680], bl
cmp eax, ebx
je 0x492cec
push eax
call fcn.005134a7
add esp, 4
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x4c]
cmp eax, ebx
je 0x492d03
push eax
call fcn.005134a7
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4