Function at 0x4b8720
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 esi, dword [ebp + 8]
lea ebx, [esi + 0x3c]
push ebx
mov ecx, 0x554c48
call fcn.00470260
mov eax, dword [ebp + 0x10]
push eax
call fcn.004b8bb0
call fcn.004b91d0
call fcn.004b9570
lea eax, [esi + 0x4c]
push str.PrntSettingPage_PreViewBtnWnd
call fcn.005080c0
mov eax, dword [ebx + 0x10]
xor edi, edi
cmp eax, edi
jne 0x4b8787
mov eax, 0x54ee24
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x18], edi
cmp dword [ebx + 8], edi
jle 0x4b87b7
cmp eax, edi
je 0x4b87b7
cmp word [eax], di
je 0x4b87b7
mov ecx, dword [ebx + 4]
cmp ecx, edi
jne 0x4b87aa
mov ecx, 0x54ee24
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 0x4b87c3
mov ecx, 0x54ee24
mov dword [ebp - 0x10], edi
cmp dword [ebx + 8], edi
jle 0x4b87ed
cmp ecx, edi
je 0x4b87ed
cmp word [ecx], di
je 0x4b87ed
mov eax, dword [ebx + 4]
cmp eax, edi
jne 0x4b87e0
mov eax, 0x54ee24
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 0x4b87f9
mov ecx, 0x54ee24
mov dword [ebp - 0x14], edi
cmp dword [ebx + 8], edi
jle 0x4b8823
cmp ecx, edi
je 0x4b8823
cmp word [ecx], di
je 0x4b8823
mov eax, dword [ebx + 4]
cmp eax, edi
jne 0x4b8816
mov eax, 0x54ee24
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 0x4b882f
mov ecx, 0x54ee24
xor edi, edi
cmp dword [ebx + 8], edi
jle 0x4b885a
test ecx, ecx
je 0x4b885a
cmp word [ecx], di
je 0x4b885a
mov ebx, dword [ebx + 4]
mov eax, ebx
test ebx, ebx
jne 0x4b884d
mov eax, 0x54ee24
push eax
push 0
push str.Height
push ecx
call esi
mov edi, eax
push 0x2efd
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 0x4b8880
mov eax, 0x54ee24
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.0043b720
xor ebx, ebx
test eax, eax
je 0x4b88b8
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.005080c0
mov eax, dword [esi + 0x4c]
cmp eax, ebx
jne 0x4b88d7
mov eax, 0x54ee24
mov dword [ebp - 0x14], ebx
cmp dword [esi + 0x44], ebx
jle 0x4b8909
cmp eax, ebx
je 0x4b8909
cmp word [eax], bx
je 0x4b8909
mov ecx, dword [esi + 0x40]
cmp ecx, ebx
jne 0x4b88f4
mov ecx, 0x54ee24
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 0x4b890f
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [esi + 0x4c]
cmp ecx, ebx
jne 0x4b891b
mov ecx, 0x54ee24
mov dword [ebp - 0x18], ebx
cmp dword [esi + 0x44], ebx
jle 0x4b8945
cmp ecx, ebx
je 0x4b8945
cmp word [ecx], bx
je 0x4b8945
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x4b8938
mov eax, 0x54ee24
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 0x4b8951
mov ecx, 0x54ee24
xor ebx, ebx
cmp dword [esi + 0x44], ebx
jle 0x4b897c
test ecx, ecx
je 0x4b897c
cmp word [ecx], bx
je 0x4b897c
mov esi, dword [esi + 0x40]
mov eax, esi
test esi, esi
jne 0x4b896f
mov eax, 0x54ee24
push eax
push 0
push str.Height
push ecx
call edi
mov ebx, eax
push 0x2ef9
lea edx, [ebp - 0x30]
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 0x4b89af
push eax
call fcn.0051eadb
add esp, 4
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4b89bb
mov eax, 0x54ee24
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.0043b720
xor ebx, ebx
test eax, eax
je 0x4b89f6
mov dword [edi + 0x4e0], ebx
push str.PrntSettingPage_BackBtnWnd
lea eax, [edi + 0x4c]
call fcn.005080c0
mov eax, dword [edi + 0x4c]
lea esi, [edi + 0x3c]
mov ecx, eax
cmp eax, ebx
jne 0x4b8a14
mov ecx, 0x54ee24
mov dword [ebp - 0x10], ebx
cmp dword [esi + 8], ebx
jle 0x4b8a42
cmp ecx, ebx
je 0x4b8a42
cmp word [ecx], bx
je 0x4b8a42
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x4b8a31
mov eax, 0x54ee24
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 0x4b8a4e
mov ecx, 0x54ee24
mov dword [ebp - 0x18], ebx
cmp dword [esi + 8], ebx
jle 0x4b8a7c
cmp ecx, ebx
je 0x4b8a7c
cmp word [ecx], bx
je 0x4b8a7c
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x4b8a6b
mov eax, 0x54ee24
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 0x4b8a88
mov ecx, 0x54ee24
xor ebx, ebx
cmp dword [esi + 8], ebx
jle 0x4b8ab5
test ecx, ecx
je 0x4b8ab5
cmp word [ecx], bx
je 0x4b8ab5
mov eax, dword [esi + 4]
test eax, eax
jne 0x4b8aa4
mov eax, 0x54ee24
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 0x4b8ac1
mov ecx, 0x54ee24
xor edi, edi
cmp dword [esi + 8], edi
jle 0x4b8aee
test ecx, ecx
je 0x4b8aee
cmp word [ecx], di
je 0x4b8aee
mov eax, dword [esi + 4]
test eax, eax
jne 0x4b8add
mov eax, 0x54ee24
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, 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]
xor esi, esi
cmp eax, esi
je 0x4b8b2c
push eax
call fcn.0051eadb
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 0x4b8b38
mov eax, 0x54ee24
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.0043b720
test eax, eax
je 0x4b8b72
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 0x4b8b9a
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