Function at 0x474290
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53b8fa
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x575494]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], 2
lea eax, [ebp - 0x18]
cmp byte [ebp + 0xc], bl
je 0x474304
push str.PrntSettingPage_Mini_MediaType_ItemPict
call fcn.005080c0
push str.PrntSettingPage_Mini_MediaType_ItemText
jmp 0x474313
push str.PrntSettingPage_MediaType_ItemPict
call fcn.005080c0
push str.PrntSettingPage_MediaType_ItemText
lea eax, [ebp - 0x24]
call fcn.005080c0
lea eax, [ebp - 0x44]
push eax
mov ecx, 0x554c48
call fcn.00470260
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x47433e
cmp word [eax], bx
je 0x47433e
push eax
lea eax, [ebp - 0x34]
call fcn.005080c0
mov edx, dword [ebp - 0x34]
mov ecx, edx
cmp edx, ebx
jne 0x47434c
mov ecx, 0x54ee24
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
xor eax, eax
cmp dword [ebp - 0x3c], ebx
jle 0x47437b
cmp ecx, ebx
je 0x47437b
cmp word [ecx], bx
je 0x47437b
mov eax, dword [ebp - 0x40]
cmp eax, ebx
jne 0x47436e
mov eax, 0x54ee24
push eax
push ebx
push str.Width
push ecx
call esi
mov edx, dword [ebp - 0x34]
mov edi, dword [ebp + 8]
mov dword [edi + 0xe4], eax
mov ecx, edx
cmp edx, ebx
jne 0x47438f
mov ecx, 0x54ee24
xor eax, eax
cmp dword [ebp - 0x3c], ebx
jle 0x4743b8
cmp ecx, ebx
je 0x4743b8
cmp word [ecx], bx
je 0x4743b8
mov eax, dword [ebp - 0x40]
cmp eax, ebx
jne 0x4743ab
mov eax, 0x54ee24
push eax
push ebx
push str.Height
push ecx
call esi
mov edx, dword [ebp - 0x34]
mov dword [edi + 0xe8], eax
mov ecx, edx
cmp edx, ebx
jne 0x4743c9
mov ecx, 0x54ee24
xor eax, eax
cmp dword [ebp - 0x3c], ebx
jle 0x4743f2
cmp ecx, ebx
je 0x4743f2
cmp word [ecx], bx
je 0x4743f2
mov eax, dword [ebp - 0x40]
cmp eax, ebx
jne 0x4743e5
mov eax, 0x54ee24
push eax
push ebx
push str.OffsetX
push ecx
call esi
mov edx, dword [ebp - 0x34]
mov dword [edi + 0xec], eax
mov edi, dword [ebp - 0x24]
cmp edi, ebx
je 0x474410
cmp word [edi], bx
je 0x474410
push edi
lea eax, [ebp - 0x34]
call fcn.005080c0
mov edx, dword [ebp - 0x34]
mov ecx, edx
cmp edx, ebx
jne 0x47441b
mov ecx, 0x54ee24
xor eax, eax
cmp dword [ebp - 0x3c], ebx
jle 0x474444
cmp ecx, ebx
je 0x474444
cmp word [ecx], bx
je 0x474444
mov eax, dword [ebp - 0x40]
cmp eax, ebx
jne 0x474437
mov eax, 0x54ee24
push eax
push ebx
push str.PosiX
push ecx
call esi
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xf0], eax
mov ecx, edx
cmp edx, ebx
jne 0x474458
mov ecx, 0x54ee24
xor eax, eax
cmp dword [ebp - 0x3c], ebx
jle 0x474481
cmp ecx, ebx
je 0x474481
cmp word [ecx], bx
je 0x474481
mov eax, dword [ebp - 0x40]
cmp eax, ebx
jne 0x474474
mov eax, 0x54ee24
push eax
push ebx
push str.PosiY
push ecx
call esi
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xf4], eax
mov ecx, edx
cmp edx, ebx
jne 0x474495
mov ecx, 0x54ee24
xor eax, eax
cmp dword [ebp - 0x3c], ebx
jle 0x4744be
cmp ecx, ebx
je 0x4744be
cmp word [ecx], bx
je 0x4744be
mov eax, dword [ebp - 0x40]
cmp eax, ebx
jne 0x4744b1
mov eax, 0x54ee24
push eax
push ebx
push str.Width
push ecx
call esi
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xf8], eax
mov ecx, edx
cmp edx, ebx
jne 0x4744d2
mov ecx, 0x54ee24
xor eax, eax
cmp dword [ebp - 0x3c], ebx
jle 0x4744fb
cmp ecx, ebx
je 0x4744fb
cmp word [ecx], bx
je 0x4744fb
mov eax, dword [ebp - 0x40]
cmp eax, ebx
jne 0x4744ee
mov eax, 0x54ee24
push eax
push ebx
push str.Height
push ecx
call esi
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xfc], eax
cmp edx, ebx
jne 0x47450d
mov edx, 0x54ee24
xor eax, eax
cmp dword [ebp - 0x3c], ebx
jle 0x474533
cmp edx, ebx
je 0x474533
cmp word [edx], bx
je 0x474533
mov eax, dword [ebp - 0x40]
cmp eax, ebx
jne 0x474529
mov eax, 0x54ee24
push eax
push ebx
push str.FontPoint
push edx
call esi
mov edx, dword [ebp + 8]
mov dword [edx + 0x100], eax
mov byte [ebp - 4], 1
cmp edi, ebx
je 0x47454d
push edi
call fcn.0051eadb
add esp, 4
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x474560
push eax
call fcn.0051eadb
add esp, 4
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 4], 0xffffffff
call fcn.004701c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8