Function at 0x4b8710
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53af38
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, 0x554c58
call fcn.00470370
mov eax, dword [ebp + 0x10]
push eax
call fcn.004b8ba0
call fcn.004b91c0
call fcn.004b9560
lea eax, [esi + 0x4c]
push str.PrntSettingPage_PreViewBtnWnd
call fcn.005080c0
mov eax, dword [ebx + 0x10]
xor edi, edi
cmp eax, edi
jne 0x4b8777
mov eax, 0x54ee24
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x18], edi
cmp dword [ebx + 8], edi
jle 0x4b87a7
cmp eax, edi
je 0x4b87a7
cmp word [eax], di
je 0x4b87a7
mov ecx, dword [ebx + 4]
cmp ecx, edi
jne 0x4b879a
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 0x4b87b3
mov ecx, 0x54ee24
mov dword [ebp - 0x10], edi
cmp dword [ebx + 8], edi
jle 0x4b87dd
cmp ecx, edi
je 0x4b87dd
cmp word [ecx], di
je 0x4b87dd
mov eax, dword [ebx + 4]
cmp eax, edi
jne 0x4b87d0
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 0x4b87e9
mov ecx, 0x54ee24
mov dword [ebp - 0x14], edi
cmp dword [ebx + 8], edi
jle 0x4b8813
cmp ecx, edi
je 0x4b8813
cmp word [ecx], di
je 0x4b8813
mov eax, dword [ebx + 4]
cmp eax, edi
jne 0x4b8806
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 0x4b881f
mov ecx, 0x54ee24
xor edi, edi
cmp dword [ebx + 8], edi
jle 0x4b884a
test ecx, ecx
je 0x4b884a
cmp word [ecx], di
je 0x4b884a
mov ebx, dword [ebx + 4]
mov eax, ebx
test ebx, ebx
jne 0x4b883d
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.00471480
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4b8870
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.0043b8a0
xor ebx, ebx
test eax, eax
je 0x4b88a8
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 0x4b88c7
mov eax, 0x54ee24
mov dword [ebp - 0x14], ebx
cmp dword [esi + 0x44], ebx
jle 0x4b88f9
cmp eax, ebx
je 0x4b88f9
cmp word [eax], bx
je 0x4b88f9
mov ecx, dword [esi + 0x40]
cmp ecx, ebx
jne 0x4b88e4
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 0x4b88ff
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [esi + 0x4c]
cmp ecx, ebx
jne 0x4b890b
mov ecx, 0x54ee24
mov dword [ebp - 0x18], ebx
cmp dword [esi + 0x44], ebx
jle 0x4b8935
cmp ecx, ebx
je 0x4b8935
cmp word [ecx], bx
je 0x4b8935
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x4b8928
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 0x4b8941
mov ecx, 0x54ee24
xor ebx, ebx
cmp dword [esi + 0x44], ebx
jle 0x4b896c
test ecx, ecx
je 0x4b896c
cmp word [ecx], bx
je 0x4b896c
mov esi, dword [esi + 0x40]
mov eax, esi
test esi, esi
jne 0x4b895f
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.00471480
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 0x4b899f
push eax
call fcn.0051ebab
add esp, 4
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4b89ab
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.0043b8a0
xor ebx, ebx
test eax, eax
je 0x4b89e6
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 0x4b8a04
mov ecx, 0x54ee24
mov dword [ebp - 0x10], ebx
cmp dword [esi + 8], ebx
jle 0x4b8a32
cmp ecx, ebx
je 0x4b8a32
cmp word [ecx], bx
je 0x4b8a32
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x4b8a21
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 0x4b8a3e
mov ecx, 0x54ee24
mov dword [ebp - 0x18], ebx
cmp dword [esi + 8], ebx
jle 0x4b8a6c
cmp ecx, ebx
je 0x4b8a6c
cmp word [ecx], bx
je 0x4b8a6c
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x4b8a5b
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 0x4b8a78
mov ecx, 0x54ee24
xor ebx, ebx
cmp dword [esi + 8], ebx
jle 0x4b8aa5
test ecx, ecx
je 0x4b8aa5
cmp word [ecx], bx
je 0x4b8aa5
mov eax, dword [esi + 4]
test eax, eax
jne 0x4b8a94
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 0x4b8ab1
mov ecx, 0x54ee24
xor edi, edi
cmp dword [esi + 8], edi
jle 0x4b8ade
test ecx, ecx
je 0x4b8ade
cmp word [ecx], di
je 0x4b8ade
mov eax, dword [esi + 4]
test eax, eax
jne 0x4b8acd
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.00471480
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 0x4b8b1c
push eax
call fcn.0051ebab
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 0x4b8b28
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.0043b8a0
test eax, eax
je 0x4b8b62
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 0x4b8b8a
push eax
call fcn.0051ebab
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