Function at 0x4b2b40
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52eec0
mov eax, dword fs:[0]
push eax
sub esp, 0x48
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 - 0x24], esi
call fcn.00466b30
cmp byte [ebp + 0x1c], 0
lea eax, [edi + 0x6294]
mov dword [ebp - 0x14], eax
je 0x4b2b95
push str.PrntSettingPage_Mini_PaperSize_Text
jmp 0x4b2b9a
push str.PrntSettingPage_PaperSize_Text
call fcn.004fcf00
mov eax, dword [esi + 0x10]
xor ebx, ebx
mov ecx, eax
cmp eax, ebx
jne 0x4b2baf
mov ecx, 0x538640
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x10], ebx
cmp dword [esi + 8], ebx
jle 0x4b2bdf
cmp ecx, ebx
je 0x4b2bdf
cmp word [ecx], bx
je 0x4b2bdf
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x4b2bd2
mov eax, 0x538640
push eax
push ebx
push str.PosiX
push ecx
call edi
mov dword [ebp - 0x10], eax
mov ecx, dword [esi + 0x10]
cmp ecx, ebx
jne 0x4b2beb
mov ecx, 0x538640
mov dword [ebp - 0x18], ebx
cmp dword [esi + 8], ebx
jle 0x4b2c15
cmp ecx, ebx
je 0x4b2c15
cmp word [ecx], bx
je 0x4b2c15
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x4b2c08
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 0x4b2c21
mov ecx, 0x538640
mov dword [ebp - 0x1c], ebx
cmp dword [esi + 8], ebx
jle 0x4b2c4b
cmp ecx, ebx
je 0x4b2c4b
cmp word [ecx], bx
je 0x4b2c4b
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x4b2c3e
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 0x4b2c57
mov ecx, 0x538640
mov dword [ebp - 0x20], ebx
cmp dword [esi + 8], ebx
jle 0x4b2c81
cmp ecx, ebx
je 0x4b2c81
cmp word [ecx], bx
je 0x4b2c81
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x4b2c74
mov eax, 0x538640
push eax
push ebx
push str.Height
push ecx
call edi
mov dword [ebp - 0x20], eax
push 0x2af8
lea eax, [ebp - 0x54]
push eax
mov ecx, 0x55a400
call fcn.00467b90
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x54]
mov edi, eax
cmp eax, ebx
jne 0x4b2ca5
mov edi, 0x538640
mov ecx, dword [esi + 0x10]
mov dword [ebp - 0x48], edi
cmp ecx, ebx
jne 0x4b2cb4
mov ecx, 0x538640
xor ebx, ebx
cmp dword [esi + 8], ebx
jle 0x4b2ce1
test ecx, ecx
je 0x4b2ce1
cmp word [ecx], bx
je 0x4b2ce1
mov eax, dword [esi + 4]
test eax, eax
jne 0x4b2cd0
mov eax, 0x538640
push eax
push 0
push str.FontPoint
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
push 0x7541
lea ecx, [ebp - 0x30]
push ecx
mov ecx, 0x55a400
call fcn.00467b90
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x4b2d04
mov eax, 0x538640
mov esi, dword [ebp + 8]
add esi, 0x6334
push eax
lea eax, [esi + 0x64]
call fcn.004fcf00
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
push 0
push 0
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [esi + 0x50], eax
mov dword [esi + 0x4c], edx
mov edx, dword [ebp - 0x20]
push edi
lea eax, [esi + 0x3c]
push eax
mov dword [esi + 0x54], ecx
mov dword [esi + 0x58], edx
mov dword [esi + 0x60], 0x15
mov dword [esi + 0x5c], 1
call fcn.0046a1f0
mov byte [esi + 0x70], 0
mov byte [esi + 0x78], 0
mov eax, dword [esi + 0x54]
test eax, eax
jle 0x4b2d85
mov ebx, dword [esi + 0x58]
test ebx, ebx
jle 0x4b2d85
mov ecx, dword [esi + 0x50]
mov edx, dword [esi + 0x4c]
push eax
mov eax, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 0xc]
push edx
push eax
push ecx
push esi
mov eax, 0x10000000
mov edx, 0x1998
call fcn.004fdeb0
cmp byte [ebp + 0x1c], 0
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
mov dword [eax + 0x6820], edx
mov eax, dword [ebp - 0x14]
je 0x4b2da1
push str.PrntSettingPage_Mini_MediaType_Text
jmp 0x4b2da6
push str.PrntSettingPage_MediaType_Text
call fcn.004fcf00
mov esi, dword [ebp - 0x24]
mov ecx, dword [esi + 0x10]
test ecx, ecx
jne 0x4b2dba
mov ecx, 0x538640
cmp dword [esi + 8], 0
mov dword [ebp - 0x20], 0
jle 0x4b2df3
test ecx, ecx
je 0x4b2df3
cmp word [ecx], 0
je 0x4b2df3
mov eax, dword [esi + 4]
test eax, eax
jne 0x4b2ddd
mov eax, 0x538640
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push 0
push str.PosiX
push ecx
call edi
mov dword [ebp - 0x20], eax
jmp 0x4b2df9
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [esi + 0x10]
test ecx, ecx
jne 0x4b2e05
mov ecx, 0x538640
cmp dword [esi + 8], 0
jle 0x4b2e2c
test ecx, ecx
je 0x4b2e2c
cmp word [ecx], 0
je 0x4b2e2c
mov eax, dword [esi + 4]
test eax, eax
jne 0x4b2e21
mov eax, 0x538640
push eax
push 0
push str.PosiY
push ecx
call edi
mov ecx, dword [esi + 0x10]
test ecx, ecx
jne 0x4b2e38
mov ecx, 0x538640
cmp dword [esi + 8], 0
mov dword [ebp - 0x1c], 0
jle 0x4b2e69
test ecx, ecx
je 0x4b2e69
cmp word [ecx], 0
je 0x4b2e69
mov eax, dword [esi + 4]
test eax, eax
jne 0x4b2e5b
mov eax, 0x538640
push eax
push 0
push str.Width
push ecx
call edi
mov dword [ebp - 0x1c], eax
mov ecx, dword [esi + 0x10]
test ecx, ecx
jne 0x4b2e75
mov ecx, 0x538640
mov esi, dword [ebp + 8]
xor edi, edi
cmp dword [esi + 0x628c], edi
jle 0x4b2eab
test ecx, ecx
je 0x4b2eab
cmp word [ecx], di
je 0x4b2eab
mov eax, dword [esi + 0x6288]
test eax, eax
jne 0x4b2e9a
mov eax, 0x538640
push eax
push 0
push str.Height
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
mov ecx, dword [esi + 0x6294]
test ecx, ecx
jne 0x4b2eba
mov ecx, 0x538640
xor ebx, ebx
cmp dword [esi + 0x628c], ebx
jle 0x4b2eed
test ecx, ecx
je 0x4b2eed
cmp word [ecx], bx
je 0x4b2eed
mov eax, dword [esi + 0x6288]
test eax, eax
jne 0x4b2edc
mov eax, 0x538640
push eax
push 0
push str.FontPoint
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
push 0x7542
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, 0x55a400
call fcn.00467b90
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.004fce50
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x4b2f20
push eax
call fcn.005134a7
add esp, 4
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x4b2f2c
mov eax, 0x538640
mov esi, dword [ebp + 8]
add esi, 0x63c4
push eax
lea eax, [esi + 0x64]
call fcn.004fcf00
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x1c]
push 0
push 0
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [esi + 0x4c], edx
mov edx, dword [ebp - 0x48]
mov dword [esi + 0x50], eax
push edx
lea eax, [esi + 0x3c]
push eax
mov dword [esi + 0x54], ecx
mov dword [esi + 0x58], edi
mov dword [esi + 0x60], 0x15
mov dword [esi + 0x5c], 1
call fcn.0046a1f0
mov byte [esi + 0x70], 0
mov byte [esi + 0x78], 0
mov eax, dword [esi + 0x54]
test eax, eax
jle 0x4b2fad
mov ebx, dword [esi + 0x58]
test ebx, ebx
jle 0x4b2fad
mov ecx, dword [esi + 0x50]
mov edx, dword [esi + 0x4c]
push eax
mov eax, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 0xc]
push edx
push eax
push ecx
push esi
mov eax, 0x10000000
mov edx, 0x1999
call fcn.004fdeb0
cmp byte [ebp + 0x1c], 0
je 0x4b2fc8
mov ebx, dword [ebp + 8]
push str.PrntSettingPage_Mini_LayoutType_Text
lea eax, [ebx + 0x6294]
call fcn.004fcf00
jmp 0x4b2fdd
mov eax, dword [ebp + 8]
push str.PrntSettingPage_LayoutType_Text
add eax, 0x6294
call fcn.004fcf00
mov ebx, dword [ebp + 8]
mov ecx, dword [ebx + 0x6294]
xor edi, edi
cmp ecx, edi
jne 0x4b2fee
mov ecx, 0x538640
mov dword [ebp + 0x1c], edi
cmp dword [ebx + 0x628c], edi
jle 0x4b3026
cmp ecx, edi
je 0x4b3026
cmp word [ecx], di
je 0x4b3026
mov eax, dword [ebx + 0x6288]
cmp eax, edi
jne 0x4b3011
mov eax, 0x538640
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push edi
push str.PosiX
push ecx
call esi
mov dword [ebp + 0x1c], eax
jmp 0x4b302c
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebx + 0x6294]
cmp ecx, edi
jne 0x4b303b
mov ecx, 0x538640
cmp dword [ebx + 0x628c], edi
jle 0x4b3065
cmp ecx, edi
je 0x4b3065
cmp word [ecx], di
je 0x4b3065
mov eax, dword [ebx + 0x6288]
cmp eax, edi
jne 0x4b305b
mov eax, 0x538640
push eax
push edi
push str.PosiY
push ecx
call esi
mov ecx, dword [ebx + 0x6294]
cmp ecx, edi
jne 0x4b3074
mov ecx, 0x538640
mov dword [ebp + 0x14], edi
cmp dword [ebx + 0x628c], edi
jle 0x4b30a4
cmp ecx, edi
je 0x4b30a4
cmp word [ecx], di
je 0x4b30a4
mov eax, dword [ebx + 0x6288]
cmp eax, edi
jne 0x4b3097
mov eax, 0x538640
push eax
push edi
push str.Width
push ecx
call esi
mov dword [ebp + 0x14], eax
mov ecx, dword [ebx + 0x6294]
cmp ecx, edi
jne 0x4b30b3
mov ecx, 0x538640
xor esi, esi
xor edi, edi
cmp dword [ebx + 0x628c], esi
jle 0x4b30e7
cmp ecx, esi
je 0x4b30e7
cmp word [ecx], si
je 0x4b30e7
mov eax, dword [ebx + 0x6288]
cmp eax, esi
jne 0x4b30d7
mov eax, 0x538640
push eax
push esi
push str.Height
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
mov ecx, dword [ebx + 0x6294]
cmp ecx, esi
jne 0x4b30f6
mov ecx, 0x538640
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp dword [eax + 0x628c], esi
jle 0x4b312b
cmp ecx, esi
je 0x4b312b
cmp word [ecx], si
je 0x4b312b
mov eax, dword [eax + 0x6288]
cmp eax, esi
jne 0x4b311b
mov eax, 0x538640
push eax
push esi
push str.FontPoint
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
push 0x7543
lea edx, [ebp - 0x3c]
push edx
mov ecx, 0x55a400
call fcn.00467b90
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.004fce50
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x3c]
cmp eax, esi
je 0x4b3167
push eax
call fcn.005134a7
add esp, 4
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], esi
mov eax, dword [ebp - 0x30]
cmp eax, esi
jne 0x4b3173
mov eax, 0x538640
mov esi, dword [ebp + 8]
add esi, 0x6454
push eax
lea eax, [esi + 0x64]
call fcn.004fcf00
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
push 0
push 0
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [esi + 0x4c], eax
mov eax, dword [ebp - 0x48]
mov dword [esi + 0x50], ecx
push eax
lea ecx, [esi + 0x3c]
push ecx
mov dword [esi + 0x54], edx
mov dword [esi + 0x58], edi
mov dword [esi + 0x60], 0x15
mov dword [esi + 0x5c], 1
call fcn.0046a1f0
xor ebx, ebx
mov byte [esi + 0x70], bl
mov byte [esi + 0x78], bl
mov eax, dword [esi + 0x54]
cmp eax, ebx
jle 0x4b31f8
mov ecx, dword [esi + 0x58]
cmp ecx, ebx
jle 0x4b31f8
mov edx, dword [esi + 0x50]
push eax
mov eax, dword [esi + 0x4c]
push edx
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push edx
push eax
push esi
mov ebx, ecx
mov eax, 0x10000000
mov edx, 0x199a
call fcn.004fdeb0
xor ebx, ebx
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x30]
cmp eax, ebx
je 0x4b3214
push eax
call fcn.005134a7
add esp, 4
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x54]
cmp eax, ebx
je 0x4b322b
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