Function at 0x4b2810
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52d4c0
mov eax, dword fs:[0]
push eax
sub esp, 0x30
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, ecx
mov ebx, edx
mov edi, dword [ebp + 8]
add edi, 0x6284
push edi
mov ecx, 0x53b7a8
call fcn.00466b30
mov eax, dword [ebp + 8]
add eax, 0x6294
cmp byte [ebp + 0x14], 0
je 0x4b2865
push str.PrntSettingPage_Mini_PrinterName
jmp 0x4b286a
push str.PrntSettingPage_PrinterName
call fcn.004fcf00
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x4b287b
mov eax, 0x538640
cmp dword [edi + 8], 0
mov dword [ebp - 0x14], 0
jle 0x4b28b0
test eax, eax
je 0x4b28b0
cmp word [eax], 0
je 0x4b28b0
mov ecx, dword [edi + 4]
test ecx, ecx
jne 0x4b289e
mov ecx, 0x538640
push ecx
push 0
push str.PosiX
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x14], eax
mov ecx, dword [edi + 0x10]
test ecx, ecx
jne 0x4b28bc
mov ecx, 0x538640
cmp dword [edi + 8], 0
mov dword [ebp - 0x10], 0
jle 0x4b28f1
test ecx, ecx
je 0x4b28f1
cmp word [ecx], 0
je 0x4b28f1
mov eax, dword [edi + 4]
test eax, eax
jne 0x4b28df
mov eax, 0x538640
push eax
push 0
push str.PosiY
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x10], eax
mov ecx, dword [edi + 0x10]
test ecx, ecx
jne 0x4b28fd
mov ecx, 0x538640
cmp dword [edi + 8], 0
mov dword [ebp + 0x14], 0
jle 0x4b2932
test ecx, ecx
je 0x4b2932
cmp word [ecx], 0
je 0x4b2932
mov eax, dword [edi + 4]
test eax, eax
jne 0x4b2920
mov eax, 0x538640
push eax
push 0
push str.Width
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp + 0x14], eax
mov ecx, dword [edi + 0x10]
test ecx, ecx
jne 0x4b293e
mov ecx, 0x538640
cmp dword [edi + 8], 0
mov dword [ebp - 0x18], 0
jle 0x4b2975
test ecx, ecx
je 0x4b2975
cmp word [ecx], 0
je 0x4b2975
mov edi, dword [edi + 4]
mov eax, edi
test edi, edi
jne 0x4b2963
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 [ebp + 8]
mov edi, dword [eax + 0x6828]
mov edx, dword [eax + 0x6834]
mov ecx, dword [eax + 0x6838]
sub esi, edi
sub esi, edx
sub esi, ecx
sub esi, dword [ebp + 0x14]
push 0x2af8
mov eax, esi
sub eax, dword [ebp - 0x14]
mov esi, dword [ebp + 8]
sub ebx, eax
sub ebx, edi
sub ebx, edx
sub ebx, ecx
sub ebx, dword [ebp + 0x14]
mov dword [esi + 0x683c], eax
lea eax, [ebp - 0x3c]
push eax
mov ecx, 0x55a400
mov dword [ebp + 8], ebx
call fcn.00467b90
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x30], eax
cmp eax, ebx
jne 0x4b29d8
mov dword [ebp - 0x30], 0x538640
mov ecx, dword [esi + 0x6294]
cmp ecx, ebx
jne 0x4b29e7
mov ecx, 0x538640
cmp dword [esi + 0x628c], ebx
jle 0x4b2a17
cmp ecx, ebx
je 0x4b2a17
cmp word [ecx], bx
je 0x4b2a17
mov eax, dword [esi + 0x6288]
cmp eax, ebx
jne 0x4b2a07
mov eax, 0x538640
push eax
push ebx
push str.FontPoint
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
push 0x7540
lea ecx, [ebp - 0x24]
push ecx
mov ecx, 0x55a400
call fcn.00467b90
push 0x540734
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x540734
lea edi, [ebp - 0x24]
call fcn.004fcc10
mov edx, dword [esi + 0x67c8]
mov eax, dword [esi + 0x67cc]
push edx
call fcn.004fcc10
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4b2a64
mov eax, 0x538640
lea edi, [esi + 0x62a4]
push eax
lea eax, [edi + 0x64]
call fcn.004fcf00
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 8]
push 0
push 0
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [edi + 0x50], ecx
mov ecx, dword [ebp - 0x30]
mov dword [edi + 0x54], edx
mov dword [edi + 0x4c], eax
mov eax, dword [ebp - 0x18]
push ecx
lea edx, [edi + 0x3c]
push edx
mov dword [edi + 0x58], eax
mov dword [edi + 0x60], 0x16
mov dword [edi + 0x5c], 1
call fcn.0046a1f0
xor ebx, ebx
mov byte [edi + 0x70], bl
mov byte [edi + 0x78], bl
mov eax, dword [edi + 0x54]
cmp eax, ebx
jle 0x4b2ae9
mov ecx, dword [edi + 0x58]
cmp ecx, ebx
jle 0x4b2ae9
mov edx, dword [edi + 0x4c]
push eax
mov eax, dword [edi + 0x50]
push eax
mov eax, dword [ebp + 0x10]
push edx
mov edx, dword [ebp + 0xc]
push eax
push edx
push edi
mov ebx, ecx
mov eax, 0x10000000
mov edx, 0x1997
call fcn.004fdeb0
xor ebx, ebx
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x6830], eax
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x24]
cmp eax, ebx
je 0x4b2b0e
push eax
call fcn.005134a7
add esp, 4
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x3c]
cmp eax, ebx
je 0x4b2b25
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 0x10