Function at 0x472170
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53bafa
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 0x4721e4
push str.PrntSettingPage_Mini_MediaType_ItemPict
call fcn.005080c0
push str.PrntSettingPage_Mini_MediaType_ItemText
jmp 0x4721f3
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, 0x554c58
call fcn.00470370
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x47221e
cmp word [eax], bx
je 0x47221e
push eax
lea eax, [ebp - 0x34]
call fcn.005080c0
mov edx, dword [ebp - 0x34]
mov ecx, edx
cmp edx, ebx
jne 0x47222c
mov ecx, 0x54ee24
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
xor eax, eax
cmp dword [ebp - 0x3c], ebx
jle 0x47225b
cmp ecx, ebx
je 0x47225b
cmp word [ecx], bx
je 0x47225b
mov eax, dword [ebp - 0x40]
cmp eax, ebx
jne 0x47224e
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 0x47226f
mov ecx, 0x54ee24
xor eax, eax
cmp dword [ebp - 0x3c], ebx
jle 0x472298
cmp ecx, ebx
je 0x472298
cmp word [ecx], bx
je 0x472298
mov eax, dword [ebp - 0x40]
cmp eax, ebx
jne 0x47228b
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 0x4722a9
mov ecx, 0x54ee24
xor eax, eax
cmp dword [ebp - 0x3c], ebx
jle 0x4722d2
cmp ecx, ebx
je 0x4722d2
cmp word [ecx], bx
je 0x4722d2
mov eax, dword [ebp - 0x40]
cmp eax, ebx
jne 0x4722c5
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 0x4722f0
cmp word [edi], bx
je 0x4722f0
push edi
lea eax, [ebp - 0x34]
call fcn.005080c0
mov edx, dword [ebp - 0x34]
mov ecx, edx
cmp edx, ebx
jne 0x4722fb
mov ecx, 0x54ee24
xor eax, eax
cmp dword [ebp - 0x3c], ebx
jle 0x472324
cmp ecx, ebx
je 0x472324
cmp word [ecx], bx
je 0x472324
mov eax, dword [ebp - 0x40]
cmp eax, ebx
jne 0x472317
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 0x472338
mov ecx, 0x54ee24
xor eax, eax
cmp dword [ebp - 0x3c], ebx
jle 0x472361
cmp ecx, ebx
je 0x472361
cmp word [ecx], bx
je 0x472361
mov eax, dword [ebp - 0x40]
cmp eax, ebx
jne 0x472354
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 0x472375
mov ecx, 0x54ee24
xor eax, eax
cmp dword [ebp - 0x3c], ebx
jle 0x47239e
cmp ecx, ebx
je 0x47239e
cmp word [ecx], bx
je 0x47239e
mov eax, dword [ebp - 0x40]
cmp eax, ebx
jne 0x472391
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 0x4723b2
mov ecx, 0x54ee24
xor eax, eax
cmp dword [ebp - 0x3c], ebx
jle 0x4723db
cmp ecx, ebx
je 0x4723db
cmp word [ecx], bx
je 0x4723db
mov eax, dword [ebp - 0x40]
cmp eax, ebx
jne 0x4723ce
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 0x4723ed
mov edx, 0x54ee24
xor eax, eax
cmp dword [ebp - 0x3c], ebx
jle 0x472413
cmp edx, ebx
je 0x472413
cmp word [edx], bx
je 0x472413
mov eax, dword [ebp - 0x40]
cmp eax, ebx
jne 0x472409
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 0x47242d
push edi
call fcn.0051ebab
add esp, 4
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x472440
push eax
call fcn.0051ebab
add esp, 4
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 4], 0xffffffff
call fcn.004702d0
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