Function at 0x4b2310
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52eef0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
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 esi, [edi + 0x6284]
push esi
mov ecx, 0x53b7a8
mov dword [ebp - 0x20], esi
call fcn.00466b30
cmp byte [ebp + 0x1c], 0
lea eax, [edi + 0x6294]
mov dword [ebp - 0x10], eax
je 0x4b2365
push str.PrntSettingPage_Mini_PrinterOpt_BtnTxt
jmp 0x4b236a
push str.PrntSettingPage_PrinterOpt_BtnTxt
call fcn.004fcf00
mov eax, dword [esi + 0x10]
xor ebx, ebx
mov ecx, eax
cmp eax, ebx
jne 0x4b237f
mov ecx, 0x538640
mov dword [ebp - 0x14], ebx
cmp dword [esi + 8], ebx
jle 0x4b23b1
cmp ecx, ebx
je 0x4b23b1
cmp word [ecx], bx
je 0x4b23b1
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x4b239c
mov eax, 0x538640
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push ebx
push str.PosiX
push ecx
call edi
mov dword [ebp - 0x14], eax
jmp 0x4b23b7
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [esi + 0x10]
cmp ecx, ebx
jne 0x4b23c3
mov ecx, 0x538640
mov dword [ebp - 0x18], ebx
cmp dword [esi + 8], ebx
jle 0x4b23ed
cmp ecx, ebx
je 0x4b23ed
cmp word [ecx], bx
je 0x4b23ed
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x4b23e0
mov eax, 0x538640
push eax
push ebx
push str.PosiY
push ecx
call edi
mov dword [ebp - 0x18], eax
mov ecx, dword [esi + 0x10]
cmp ecx, ebx
jne 0x4b23f9
mov ecx, 0x538640
mov dword [ebp - 0x1c], ebx
cmp dword [esi + 8], ebx
jle 0x4b2423
cmp ecx, ebx
je 0x4b2423
cmp word [ecx], bx
je 0x4b2423
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x4b2416
mov eax, 0x538640
push eax
push ebx
push str.Width
push ecx
call edi
mov dword [ebp - 0x1c], eax
mov ecx, dword [esi + 0x10]
cmp ecx, ebx
jne 0x4b242f
mov ecx, 0x538640
xor edi, edi
cmp dword [esi + 8], ebx
jle 0x4b245b
cmp ecx, ebx
je 0x4b245b
cmp word [ecx], bx
je 0x4b245b
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x4b244b
mov eax, 0x538640
push eax
push ebx
push str.Height
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
push 0x2af8
lea eax, [ebp - 0x44]
push eax
mov ecx, 0x55a400
call fcn.00467b90
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x38], eax
cmp eax, ebx
jne 0x4b2482
mov dword [ebp - 0x38], 0x538640
mov ecx, dword [esi + 0x10]
cmp ecx, ebx
jne 0x4b248e
mov ecx, 0x538640
xor ebx, ebx
cmp dword [esi + 8], ebx
jle 0x4b24bb
test ecx, ecx
je 0x4b24bb
cmp word [ecx], bx
je 0x4b24bb
mov eax, dword [esi + 4]
test eax, eax
jne 0x4b24aa
mov eax, 0x538640
push eax
push 0
push str.FontPoint
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
push 0x80f9
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, 0x55a400
call fcn.00467b90
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x4b24de
mov eax, 0x538640
mov esi, dword [ebp + 8]
push eax
lea eax, [esi + 0x6584]
mov byte [esi + 0x66a8], 1
call fcn.004fcf00
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
push 0
push 0
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [esi + 0x656c], edx
mov edx, dword [ebp - 0x38]
mov dword [esi + 0x6570], eax
push edx
lea eax, [esi + 0x655c]
push eax
mov dword [esi + 0x6574], ecx
mov dword [esi + 0x6578], edi
mov dword [esi + 0x6580], 0x25
mov dword [esi + 0x657c], 1
call fcn.0046a1f0
mov byte [esi + 0x6590], 0
mov byte [esi + 0x6598], 0
mov eax, dword [0x55a3f8]
xor ebx, ebx
lea edi, [ebx + 0x57]
test eax, eax
je 0x4b2589
push 0x80
push ebx
push ebx
push ebx
push 0xc990
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov ebx, eax
test ebx, ebx
jne 0x4b2582
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x55a3ec], eax
mov eax, dword [0x55a3f8]
jmp 0x4b258f
mov dword [0x55a3ec], edi
mov dword [ebp - 0x1c], 0
test eax, eax
je 0x4b25cc
push 0x80
push 0
push 0
push 0
push 0xc991
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov edi, eax
test edi, edi
jne 0x4b25c2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x55a3ec], eax
mov eax, dword [0x55a3f8]
mov dword [ebp - 0x1c], edi
jmp 0x4b25d2
mov dword [0x55a3ec], edi
xor ecx, ecx
test eax, eax
je 0x4b2601
push 0x80
push ecx
push ecx
push ecx
push 0xc992
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov edi, eax
test edi, edi
jne 0x4b25fd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x55a3ec], eax
mov ecx, edi
jmp 0x4b260b
mov dword [0x55a3ec], 0x57
cmp byte [ebp + 0x1c], 0
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
mov byte [esi + 0x66ab], 1
mov dword [esi + 0x66d0], ebx
mov dword [esi + 0x66d4], edx
mov dword [esi + 0x66d8], ecx
mov dword [esi + 0x66dc], ebx
je 0x4b263d
push str.PrntSettingPage_Mini_PrinterOpt_BtnWnd
jmp 0x4b2642
push str.PrntSettingPage_PrinterOpt_BtnWnd
call fcn.004fcf00
mov edi, dword [ebp - 0x20]
mov ecx, dword [edi + 0x10]
xor ebx, ebx
cmp ecx, ebx
jne 0x4b2658
mov ecx, 0x538640
mov dword [ebp - 0x1c], ebx
cmp dword [edi + 8], ebx
jle 0x4b2686
cmp ecx, ebx
je 0x4b2686
cmp word [ecx], bx
je 0x4b2686
mov eax, dword [edi + 4]
cmp eax, ebx
jne 0x4b2675
mov eax, 0x538640
push eax
push ebx
push str.PosiX
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x1c], eax
mov ecx, dword [edi + 0x10]
cmp ecx, ebx
jne 0x4b2692
mov ecx, 0x538640
mov dword [ebp + 0x1c], ebx
cmp dword [edi + 8], ebx
jle 0x4b26c0
cmp ecx, ebx
je 0x4b26c0
cmp word [ecx], bx
je 0x4b26c0
mov eax, dword [edi + 4]
cmp eax, ebx
jne 0x4b26af
mov eax, 0x538640
push eax
push ebx
push str.PosiY
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp + 0x1c], eax
mov ecx, dword [edi + 0x10]
cmp ecx, ebx
jne 0x4b26cc
mov ecx, 0x538640
xor edi, edi
mov ebx, esi
cmp dword [ebx + 0x628c], edi
jle 0x4b2701
test ecx, ecx
je 0x4b2701
cmp word [ecx], di
je 0x4b2701
mov eax, dword [ebx + 0x6288]
test eax, eax
jne 0x4b26f0
mov eax, 0x538640
push eax
push 0
push str.Width
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
mov ecx, dword [ebx + 0x6294]
test ecx, ecx
jne 0x4b2710
mov ecx, 0x538640
cmp dword [ebx + 0x628c], 0
mov dword [ebp - 0x18], 0
jle 0x4b274b
test ecx, ecx
je 0x4b274b
cmp word [ecx], 0
je 0x4b274b
mov eax, dword [ebx + 0x6288]
test eax, eax
jne 0x4b2739
mov eax, 0x538640
push eax
push 0
push str.Height
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x6834]
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
sub ecx, eax
sub ecx, edi
sub ecx, dword [ebp - 0x1c]
sub edx, eax
mov eax, dword [ebp - 0x2c]
sub edx, ecx
sub edx, edi
mov dword [ebx + 0x6828], ecx
mov dword [ebx + 0x66a4], 0
test eax, eax
jne 0x4b2780
mov eax, 0x538640
mov ecx, dword [ebp - 0x18]
mov ebx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 0x1c]
push edi
push ecx
push edx
mov edx, dword [ebp + 0xc]
push 0
push eax
push 0x17ec
push edx
mov eax, 0x10000000
lea ecx, [esi + 0x64e4]
call fcn.00433520
mov ecx, dword [ebp + 0x1c]
mov eax, esi
xor ebx, ebx
mov dword [eax + 0x682c], ecx
mov dword [eax + 0x6838], edi
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
je 0x4b27d8
push eax
call fcn.005134a7
add esp, 4
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x44]
cmp eax, ebx
je 0x4b27ef
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 0x18