Function at 0x4bc4c0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x538bb0
mov eax, dword fs:[0]
push eax
sub esp, 0x30
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, ecx
mov ebx, edx
mov edi, dword [ebp + 8]
add edi, 0x63b4
push edi
mov ecx, 0x554c58
call fcn.00470370
mov eax, dword [ebp + 8]
add eax, 0x63c4
cmp byte [ebp + 0x14], 0
je 0x4bc515
push str.PrntSettingPage_Mini_PrinterName
jmp 0x4bc51a
push str.PrntSettingPage_PrinterName
call fcn.005080c0
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x4bc52b
mov eax, 0x54ee24
cmp dword [edi + 8], 0
mov dword [ebp - 0x14], 0
jle 0x4bc560
test eax, eax
je 0x4bc560
cmp word [eax], 0
je 0x4bc560
mov ecx, dword [edi + 4]
test ecx, ecx
jne 0x4bc54e
mov ecx, 0x54ee24
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 0x4bc56c
mov ecx, 0x54ee24
cmp dword [edi + 8], 0
mov dword [ebp - 0x10], 0
jle 0x4bc5a1
test ecx, ecx
je 0x4bc5a1
cmp word [ecx], 0
je 0x4bc5a1
mov eax, dword [edi + 4]
test eax, eax
jne 0x4bc58f
mov eax, 0x54ee24
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 0x4bc5ad
mov ecx, 0x54ee24
cmp dword [edi + 8], 0
mov dword [ebp + 0x14], 0
jle 0x4bc5e2
test ecx, ecx
je 0x4bc5e2
cmp word [ecx], 0
je 0x4bc5e2
mov eax, dword [edi + 4]
test eax, eax
jne 0x4bc5d0
mov eax, 0x54ee24
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 0x4bc5ee
mov ecx, 0x54ee24
cmp dword [edi + 8], 0
mov dword [ebp - 0x18], 0
jle 0x4bc625
test ecx, ecx
je 0x4bc625
cmp word [ecx], 0
je 0x4bc625
mov edi, dword [edi + 4]
mov eax, edi
test edi, edi
jne 0x4bc613
mov eax, 0x54ee24
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 + 0x6958]
mov edx, dword [eax + 0x6964]
mov ecx, dword [eax + 0x6968]
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 + 0x696c], eax
lea eax, [ebp - 0x3c]
push eax
mov ecx, 0x5776a0
mov dword [ebp + 8], ebx
call fcn.00471480
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x30], eax
cmp eax, ebx
jne 0x4bc688
mov dword [ebp - 0x30], 0x54ee24
mov ecx, dword [esi + 0x63c4]
cmp ecx, ebx
jne 0x4bc697
mov ecx, 0x54ee24
cmp dword [esi + 0x63bc], ebx
jle 0x4bc6c7
cmp ecx, ebx
je 0x4bc6c7
cmp word [ecx], bx
je 0x4bc6c7
mov eax, dword [esi + 0x63b8]
cmp eax, ebx
jne 0x4bc6b7
mov eax, 0x54ee24
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, 0x5776a0
call fcn.00471480
push 0x55a074
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x55a074
lea edi, [ebp - 0x24]
call fcn.00507dd0
mov edx, dword [esi + 0x68f8]
mov eax, dword [esi + 0x68fc]
push edx
call fcn.00507dd0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4bc714
mov eax, 0x54ee24
lea edi, [esi + 0x63d4]
push eax
lea eax, [edi + 0x64]
call fcn.005080c0
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.00473a60
xor ebx, ebx
mov byte [edi + 0x70], bl
mov byte [edi + 0x78], bl
mov eax, dword [edi + 0x54]
cmp eax, ebx
jle 0x4bc799
mov ecx, dword [edi + 0x58]
cmp ecx, ebx
jle 0x4bc799
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.00509070
xor ebx, ebx
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x6960], eax
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x24]
cmp eax, ebx
je 0x4bc7be
push eax
call fcn.0051ebab
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 0x4bc7d5
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 0x10