Function at 0x4aea50
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 esi, dword [ebp + 8]
lea ebx, [esi + 0x3c]
push ebx
mov ecx, 0x53b7a8
call fcn.00466b30
mov eax, dword [ebp + 0x10]
push eax
call fcn.004aeef0
call fcn.004af510
call fcn.004af8b0
lea eax, [esi + 0x4c]
push str.PrntSettingPage_PreViewBtnWnd
call fcn.004fcf00
mov eax, dword [ebx + 0x10]
xor edi, edi
cmp eax, edi
jne 0x4aeab7
mov eax, 0x538640
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x18], edi
cmp dword [ebx + 8], edi
jle 0x4aeae7
cmp eax, edi
je 0x4aeae7
cmp word [eax], di
je 0x4aeae7
mov ecx, dword [ebx + 4]
cmp ecx, edi
jne 0x4aeada
mov ecx, 0x538640
push ecx
push edi
push str.PosiX
push eax
call esi
mov dword [ebp - 0x18], eax
mov ecx, dword [ebx + 0x10]
cmp ecx, edi
jne 0x4aeaf3
mov ecx, 0x538640
mov dword [ebp - 0x10], edi
cmp dword [ebx + 8], edi
jle 0x4aeb1d
cmp ecx, edi
je 0x4aeb1d
cmp word [ecx], di
je 0x4aeb1d
mov eax, dword [ebx + 4]
cmp eax, edi
jne 0x4aeb10
mov eax, 0x538640
push eax
push edi
push str.PosiY
push ecx
call esi
mov dword [ebp - 0x10], eax
mov ecx, dword [ebx + 0x10]
cmp ecx, edi
jne 0x4aeb29
mov ecx, 0x538640
mov dword [ebp - 0x14], edi
cmp dword [ebx + 8], edi
jle 0x4aeb53
cmp ecx, edi
je 0x4aeb53
cmp word [ecx], di
je 0x4aeb53
mov eax, dword [ebx + 4]
cmp eax, edi
jne 0x4aeb46
mov eax, 0x538640
push eax
push edi
push str.Width
push ecx
call esi
mov dword [ebp - 0x14], eax
mov ecx, dword [ebx + 0x10]
cmp ecx, edi
jne 0x4aeb5f
mov ecx, 0x538640
xor edi, edi
cmp dword [ebx + 8], edi
jle 0x4aeb8a
test ecx, ecx
je 0x4aeb8a
cmp word [ecx], di
je 0x4aeb8a
mov ebx, dword [ebx + 4]
mov eax, ebx
test ebx, ebx
jne 0x4aeb7d
mov eax, 0x538640
push eax
push 0
push str.Height
push ecx
call esi
mov edi, eax
push 0x2efd
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 0x4aebb0
mov eax, 0x538640
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
push edi
push edx
mov edx, dword [ebp - 0x18]
push ecx
push edx
push 0
push eax
mov eax, dword [ebp + 0xc]
push 0x17d1
push eax
mov eax, 0x10000000
lea ecx, [esi + 0x74]
call fcn.00433520
xor ebx, ebx
test eax, eax
je 0x4aebe8
mov dword [esi + 0x234], ebx
add edi, dword [ebp - 0x10]
push str.FuncBtn_BtnWnd
lea eax, [esi + 0x4c]
mov dword [ebp - 0x10], edi
call fcn.004fcf00
mov eax, dword [esi + 0x4c]
cmp eax, ebx
jne 0x4aec07
mov eax, 0x538640
mov dword [ebp - 0x14], ebx
cmp dword [esi + 0x44], ebx
jle 0x4aec39
cmp eax, ebx
je 0x4aec39
cmp word [eax], bx
je 0x4aec39
mov ecx, dword [esi + 0x40]
cmp ecx, ebx
jne 0x4aec24
mov ecx, 0x538640
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push ecx
push ebx
push str.PosiX
push eax
call edi
mov dword [ebp - 0x14], eax
jmp 0x4aec3f
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [esi + 0x4c]
cmp ecx, ebx
jne 0x4aec4b
mov ecx, 0x538640
mov dword [ebp - 0x18], ebx
cmp dword [esi + 0x44], ebx
jle 0x4aec75
cmp ecx, ebx
je 0x4aec75
cmp word [ecx], bx
je 0x4aec75
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x4aec68
mov eax, 0x538640
push eax
push ebx
push str.Width
push ecx
call edi
mov dword [ebp - 0x18], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, ebx
jne 0x4aec81
mov ecx, 0x538640
xor ebx, ebx
cmp dword [esi + 0x44], ebx
jle 0x4aecac
test ecx, ecx
je 0x4aecac
cmp word [ecx], bx
je 0x4aecac
mov esi, dword [esi + 0x40]
mov eax, esi
test esi, esi
jne 0x4aec9f
mov eax, 0x538640
push eax
push 0
push str.Height
push ecx
call edi
mov ebx, eax
push 0x2ef9
lea edx, [ebp - 0x30]
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 0x4aecdf
push eax
call fcn.005134a7
add esp, 4
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4aeceb
mov eax, 0x538640
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x10]
mov edi, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp - 0x14]
push edx
mov edx, dword [ebp + 0xc]
push ecx
push 0
push eax
push 0x17d0
push edx
mov eax, 0x10000000
lea ecx, [edi + 0x320]
call fcn.00433520
xor ebx, ebx
test eax, eax
je 0x4aed26
mov dword [edi + 0x4e0], ebx
push str.PrntSettingPage_BackBtnWnd
lea eax, [edi + 0x4c]
call fcn.004fcf00
mov eax, dword [edi + 0x4c]
lea esi, [edi + 0x3c]
mov ecx, eax
cmp eax, ebx
jne 0x4aed44
mov ecx, 0x538640
mov dword [ebp - 0x10], ebx
cmp dword [esi + 8], ebx
jle 0x4aed72
cmp ecx, ebx
je 0x4aed72
cmp word [ecx], bx
je 0x4aed72
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x4aed61
mov eax, 0x538640
push eax
push ebx
push str.PosiX
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x10], eax
mov ecx, dword [esi + 0x10]
cmp ecx, ebx
jne 0x4aed7e
mov ecx, 0x538640
mov dword [ebp - 0x18], ebx
cmp dword [esi + 8], ebx
jle 0x4aedac
cmp ecx, ebx
je 0x4aedac
cmp word [ecx], bx
je 0x4aedac
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x4aed9b
mov eax, 0x538640
push eax
push ebx
push str.PosiY
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x18], eax
mov ecx, dword [esi + 0x10]
cmp ecx, ebx
jne 0x4aedb8
mov ecx, 0x538640
xor ebx, ebx
cmp dword [esi + 8], ebx
jle 0x4aede5
test ecx, ecx
je 0x4aede5
cmp word [ecx], bx
je 0x4aede5
mov eax, dword [esi + 4]
test eax, eax
jne 0x4aedd4
mov eax, 0x538640
push eax
push 0
push str.Width
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
mov ecx, dword [esi + 0x10]
test ecx, ecx
jne 0x4aedf1
mov ecx, 0x538640
xor edi, edi
cmp dword [esi + 8], edi
jle 0x4aee1e
test ecx, ecx
je 0x4aee1e
cmp word [ecx], di
je 0x4aee1e
mov eax, dword [esi + 4]
test eax, eax
jne 0x4aee0d
mov eax, 0x538640
push eax
push 0
push str.Height
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
push 0x2efc
lea eax, [ebp - 0x30]
push eax
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]
xor esi, esi
cmp eax, esi
je 0x4aee5c
push eax
call fcn.005134a7
add esp, 4
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
mov eax, dword [ebp - 0x24]
cmp eax, esi
jne 0x4aee68
mov eax, 0x538640
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp + 8]
push edi
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, [esi + 0x5cc]
call fcn.00433520
test eax, eax
je 0x4aeea2
mov dword [esi + 0x78c], 0
mov ecx, dword [ebp - 0x10]
mov eax, esi
mov dword [eax + 0x89c], ecx
mov dword [eax + 0x8a0], edi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4aeeca
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