Function at 0x4bc7f0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53aed0
mov eax, dword fs:[0]
push eax
sub esp, 0x48
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 edi, dword [ebp + 8]
lea esi, [edi + 0x63b4]
push esi
mov ecx, 0x554c58
mov dword [ebp - 0x24], esi
call fcn.00470370
cmp byte [ebp + 0x1c], 0
lea eax, [edi + 0x63c4]
mov dword [ebp - 0x14], eax
je 0x4bc845
push str.PrntSettingPage_Mini_PaperSize_Text
jmp 0x4bc84a
push str.PrntSettingPage_PaperSize_Text
call fcn.005080c0
mov eax, dword [esi + 0x10]
xor ebx, ebx
mov ecx, eax
cmp eax, ebx
jne 0x4bc85f
mov ecx, 0x54ee24
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x10], ebx
cmp dword [esi + 8], ebx
jle 0x4bc88f
cmp ecx, ebx
je 0x4bc88f
cmp word [ecx], bx
je 0x4bc88f
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x4bc882
mov eax, 0x54ee24
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 0x4bc89b
mov ecx, 0x54ee24
mov dword [ebp - 0x18], ebx
cmp dword [esi + 8], ebx
jle 0x4bc8c5
cmp ecx, ebx
je 0x4bc8c5
cmp word [ecx], bx
je 0x4bc8c5
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x4bc8b8
mov eax, 0x54ee24
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 0x4bc8d1
mov ecx, 0x54ee24
mov dword [ebp - 0x1c], ebx
cmp dword [esi + 8], ebx
jle 0x4bc8fb
cmp ecx, ebx
je 0x4bc8fb
cmp word [ecx], bx
je 0x4bc8fb
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x4bc8ee
mov eax, 0x54ee24
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 0x4bc907
mov ecx, 0x54ee24
mov dword [ebp - 0x20], ebx
cmp dword [esi + 8], ebx
jle 0x4bc931
cmp ecx, ebx
je 0x4bc931
cmp word [ecx], bx
je 0x4bc931
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x4bc924
mov eax, 0x54ee24
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, 0x5776a0
call fcn.00471480
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x54]
mov edi, eax
cmp eax, ebx
jne 0x4bc955
mov edi, 0x54ee24
mov ecx, dword [esi + 0x10]
mov dword [ebp - 0x48], edi
cmp ecx, ebx
jne 0x4bc964
mov ecx, 0x54ee24
xor ebx, ebx
cmp dword [esi + 8], ebx
jle 0x4bc991
test ecx, ecx
je 0x4bc991
cmp word [ecx], bx
je 0x4bc991
mov eax, dword [esi + 4]
test eax, eax
jne 0x4bc980
mov eax, 0x54ee24
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, 0x5776a0
call fcn.00471480
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x4bc9b4
mov eax, 0x54ee24
mov esi, dword [ebp + 8]
add esi, 0x6464
push eax
lea eax, [esi + 0x64]
call fcn.005080c0
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.00473a60
mov byte [esi + 0x70], 0
mov byte [esi + 0x78], 0
mov eax, dword [esi + 0x54]
test eax, eax
jle 0x4bca35
mov ebx, dword [esi + 0x58]
test ebx, ebx
jle 0x4bca35
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.00509070
cmp byte [ebp + 0x1c], 0
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
mov dword [eax + 0x6950], edx
mov eax, dword [ebp - 0x14]
je 0x4bca51
push str.PrntSettingPage_Mini_MediaType_Text
jmp 0x4bca56
push str.PrntSettingPage_MediaType_Text
call fcn.005080c0
mov esi, dword [ebp - 0x24]
mov ecx, dword [esi + 0x10]
test ecx, ecx
jne 0x4bca6a
mov ecx, 0x54ee24
cmp dword [esi + 8], 0
mov dword [ebp - 0x20], 0
jle 0x4bcaa3
test ecx, ecx
je 0x4bcaa3
cmp word [ecx], 0
je 0x4bcaa3
mov eax, dword [esi + 4]
test eax, eax
jne 0x4bca8d
mov eax, 0x54ee24
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 0x4bcaa9
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [esi + 0x10]
test ecx, ecx
jne 0x4bcab5
mov ecx, 0x54ee24
cmp dword [esi + 8], 0
jle 0x4bcadc
test ecx, ecx
je 0x4bcadc
cmp word [ecx], 0
je 0x4bcadc
mov eax, dword [esi + 4]
test eax, eax
jne 0x4bcad1
mov eax, 0x54ee24
push eax
push 0
push str.PosiY
push ecx
call edi
mov ecx, dword [esi + 0x10]
test ecx, ecx
jne 0x4bcae8
mov ecx, 0x54ee24
cmp dword [esi + 8], 0
mov dword [ebp - 0x1c], 0
jle 0x4bcb19
test ecx, ecx
je 0x4bcb19
cmp word [ecx], 0
je 0x4bcb19
mov eax, dword [esi + 4]
test eax, eax
jne 0x4bcb0b
mov eax, 0x54ee24
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 0x4bcb25
mov ecx, 0x54ee24
mov esi, dword [ebp + 8]
xor edi, edi
cmp dword [esi + 0x63bc], edi
jle 0x4bcb5b
test ecx, ecx
je 0x4bcb5b
cmp word [ecx], di
je 0x4bcb5b
mov eax, dword [esi + 0x63b8]
test eax, eax
jne 0x4bcb4a
mov eax, 0x54ee24
push eax
push 0
push str.Height
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
mov ecx, dword [esi + 0x63c4]
test ecx, ecx
jne 0x4bcb6a
mov ecx, 0x54ee24
xor ebx, ebx
cmp dword [esi + 0x63bc], ebx
jle 0x4bcb9d
test ecx, ecx
je 0x4bcb9d
cmp word [ecx], bx
je 0x4bcb9d
mov eax, dword [esi + 0x63b8]
test eax, eax
jne 0x4bcb8c
mov eax, 0x54ee24
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, 0x5776a0
call fcn.00471480
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.00508010
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x4bcbd0
push eax
call fcn.0051ebab
add esp, 4
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x4bcbdc
mov eax, 0x54ee24
mov esi, dword [ebp + 8]
add esi, 0x64f4
push eax
lea eax, [esi + 0x64]
call fcn.005080c0
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.00473a60
mov byte [esi + 0x70], 0
mov byte [esi + 0x78], 0
mov eax, dword [esi + 0x54]
test eax, eax
jle 0x4bcc5d
mov ebx, dword [esi + 0x58]
test ebx, ebx
jle 0x4bcc5d
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.00509070
cmp byte [ebp + 0x1c], 0
je 0x4bcc78
mov ebx, dword [ebp + 8]
push str.PrntSettingPage_Mini_LayoutType_Text
lea eax, [ebx + 0x63c4]
call fcn.005080c0
jmp 0x4bcc8d
mov eax, dword [ebp + 8]
push str.PrntSettingPage_LayoutType_Text
add eax, 0x63c4
call fcn.005080c0
mov ebx, dword [ebp + 8]
mov ecx, dword [ebx + 0x63c4]
xor edi, edi
cmp ecx, edi
jne 0x4bcc9e
mov ecx, 0x54ee24
mov dword [ebp + 0x1c], edi
cmp dword [ebx + 0x63bc], edi
jle 0x4bccd6
cmp ecx, edi
je 0x4bccd6
cmp word [ecx], di
je 0x4bccd6
mov eax, dword [ebx + 0x63b8]
cmp eax, edi
jne 0x4bccc1
mov eax, 0x54ee24
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 0x4bccdc
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebx + 0x63c4]
cmp ecx, edi
jne 0x4bcceb
mov ecx, 0x54ee24
cmp dword [ebx + 0x63bc], edi
jle 0x4bcd15
cmp ecx, edi
je 0x4bcd15
cmp word [ecx], di
je 0x4bcd15
mov eax, dword [ebx + 0x63b8]
cmp eax, edi
jne 0x4bcd0b
mov eax, 0x54ee24
push eax
push edi
push str.PosiY
push ecx
call esi
mov ecx, dword [ebx + 0x63c4]
cmp ecx, edi
jne 0x4bcd24
mov ecx, 0x54ee24
mov dword [ebp + 0x14], edi
cmp dword [ebx + 0x63bc], edi
jle 0x4bcd54
cmp ecx, edi
je 0x4bcd54
cmp word [ecx], di
je 0x4bcd54
mov eax, dword [ebx + 0x63b8]
cmp eax, edi
jne 0x4bcd47
mov eax, 0x54ee24
push eax
push edi
push str.Width
push ecx
call esi
mov dword [ebp + 0x14], eax
mov ecx, dword [ebx + 0x63c4]
cmp ecx, edi
jne 0x4bcd63
mov ecx, 0x54ee24
xor esi, esi
xor edi, edi
cmp dword [ebx + 0x63bc], esi
jle 0x4bcd97
cmp ecx, esi
je 0x4bcd97
cmp word [ecx], si
je 0x4bcd97
mov eax, dword [ebx + 0x63b8]
cmp eax, esi
jne 0x4bcd87
mov eax, 0x54ee24
push eax
push esi
push str.Height
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
mov ecx, dword [ebx + 0x63c4]
cmp ecx, esi
jne 0x4bcda6
mov ecx, 0x54ee24
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp dword [eax + 0x63bc], esi
jle 0x4bcddb
cmp ecx, esi
je 0x4bcddb
cmp word [ecx], si
je 0x4bcddb
mov eax, dword [eax + 0x63b8]
cmp eax, esi
jne 0x4bcdcb
mov eax, 0x54ee24
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, 0x5776a0
call fcn.00471480
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.00508010
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x3c]
cmp eax, esi
je 0x4bce17
push eax
call fcn.0051ebab
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 0x4bce23
mov eax, 0x54ee24
mov esi, dword [ebp + 8]
add esi, 0x6584
push eax
lea eax, [esi + 0x64]
call fcn.005080c0
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.00473a60
xor ebx, ebx
mov byte [esi + 0x70], bl
mov byte [esi + 0x78], bl
mov eax, dword [esi + 0x54]
cmp eax, ebx
jle 0x4bcea8
mov ecx, dword [esi + 0x58]
cmp ecx, ebx
jle 0x4bcea8
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.00509070
xor ebx, ebx
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x30]
cmp eax, ebx
je 0x4bcec4
push eax
call fcn.0051ebab
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 0x4bcedb
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 0x18