Function at 0x50d980
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52a7c0
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push edi
mov eax, dword [0x559024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x2af8
lea eax, [ebp - 0x50]
push eax
mov ecx, 0x55a400
call fcn.00467b90
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x38], eax
cmp eax, ebx
jne 0x50d9d0
mov dword [ebp - 0x38], 0x538640
push str.PrntPreView_InfoWnd
lea eax, [esi + 0x4c]
call fcn.004fcf00
mov eax, dword [esi + 0x4c]
mov ecx, eax
cmp eax, ebx
jne 0x50d9eb
mov ecx, 0x538640
mov dword [ebp - 0x10], ebx
cmp dword [esi + 0x44], ebx
jle 0x50da19
cmp ecx, ebx
je 0x50da19
cmp word [ecx], bx
je 0x50da19
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x50da08
mov eax, 0x538640
push eax
push ebx
push str.PosiX
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x10], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, ebx
jne 0x50da25
mov ecx, 0x538640
mov dword [ebp - 0x14], ebx
cmp dword [esi + 0x44], ebx
jle 0x50da53
cmp ecx, ebx
je 0x50da53
cmp word [ecx], bx
je 0x50da53
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x50da42
mov eax, 0x538640
push eax
push ebx
push str.PosiY
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov byte [ebp - 4], 1
cmp byte [esi + 0x3ce4], 0
lea eax, [esi + 0x4c]
je 0x50dc4e
push str.PrntPreViewInfo_PrntSheets_Text
call fcn.004fcf00
mov eax, dword [esi + 0x4c]
mov ecx, eax
cmp eax, ebx
jne 0x50da88
mov ecx, 0x538640
mov dword [ebp - 0x18], ebx
cmp dword [esi + 0x44], ebx
jle 0x50daba
cmp ecx, ebx
je 0x50daba
cmp word [ecx], bx
je 0x50daba
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x50daa5
mov eax, 0x538640
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push ebx
push str.PosiX
push ecx
call edi
mov dword [ebp - 0x18], eax
jmp 0x50dac0
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [esi + 0x4c]
cmp ecx, ebx
jne 0x50dacc
mov ecx, 0x538640
mov dword [ebp - 0x1c], ebx
cmp dword [esi + 0x44], ebx
jle 0x50daf6
cmp ecx, ebx
je 0x50daf6
cmp word [ecx], bx
je 0x50daf6
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x50dae9
mov eax, 0x538640
push eax
push ebx
push str.PosiY
push ecx
call edi
mov dword [ebp - 0x1c], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, ebx
jne 0x50db02
mov ecx, 0x538640
mov dword [ebp - 0x20], ebx
cmp dword [esi + 0x44], ebx
jle 0x50db2c
cmp ecx, ebx
je 0x50db2c
cmp word [ecx], bx
je 0x50db2c
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x50db1f
mov eax, 0x538640
push eax
push ebx
push str.Width
push ecx
call edi
mov dword [ebp - 0x20], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, ebx
jne 0x50db38
mov ecx, 0x538640
xor edi, edi
cmp dword [esi + 0x44], ebx
jle 0x50db64
cmp ecx, ebx
je 0x50db64
cmp word [ecx], bx
je 0x50db64
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x50db54
mov eax, 0x538640
push eax
push ebx
push str.Height
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
mov ecx, dword [esi + 0x4c]
cmp ecx, ebx
jne 0x50db70
mov ecx, 0x538640
xor ebx, ebx
cmp dword [esi + 0x44], ebx
jle 0x50db9d
test ecx, ecx
je 0x50db9d
cmp word [ecx], bx
je 0x50db9d
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x50db8c
mov eax, 0x538640
push eax
push 0
push str.FontPoint
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
push 0x754b
lea ecx, [ebp - 0x44]
push ecx
mov ecx, 0x55a400
call fcn.00467b90
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.004fce50
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x50dbd0
push eax
call fcn.005134a7
add esp, 4
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x50dbdc
mov eax, 0x538640
push eax
lea eax, [esi + 0x298]
call fcn.004fcf00
mov ecx, dword [ebp - 0x1c]
add ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x20]
push 0
push 0
push ebx
mov ebx, dword [ebp + 8]
mov dword [esi + 0x284], ecx
mov ecx, dword [ebp - 0x38]
mov dword [esi + 0x280], edx
push ecx
lea edx, [esi + 0x270]
push edx
mov dword [esi + 0x288], eax
mov dword [esi + 0x28c], edi
mov dword [esi + 0x294], 0x24
mov dword [esi + 0x290], 1
call fcn.0046a1f0
mov byte [esi + 0x2a4], 0
mov byte [esi + 0x2ac], 0
jmp 0x50e12a
push str.PrntPreViewInfo_ScaleText
call fcn.004fcf00
mov eax, dword [esi + 0x4c]
mov ecx, eax
cmp eax, ebx
jne 0x50dc66
mov ecx, 0x538640
mov dword [ebp - 0x20], ebx
cmp dword [esi + 0x44], ebx
jle 0x50dc98
cmp ecx, ebx
je 0x50dc98
cmp word [ecx], bx
je 0x50dc98
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x50dc83
mov eax, 0x538640
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push ebx
push str.PosiX
push ecx
call edi
mov dword [ebp - 0x20], eax
jmp 0x50dc9e
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [esi + 0x4c]
cmp ecx, ebx
jne 0x50dcaa
mov ecx, 0x538640
mov dword [ebp - 0x1c], ebx
cmp dword [esi + 0x44], ebx
jle 0x50dcd4
cmp ecx, ebx
je 0x50dcd4
cmp word [ecx], bx
je 0x50dcd4
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x50dcc7
mov eax, 0x538640
push eax
push ebx
push str.PosiY
push ecx
call edi
mov dword [ebp - 0x1c], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, ebx
jne 0x50dce0
mov ecx, 0x538640
mov dword [ebp - 0x18], ebx
cmp dword [esi + 0x44], ebx
jle 0x50dd0a
cmp ecx, ebx
je 0x50dd0a
cmp word [ecx], bx
je 0x50dd0a
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x50dcfd
mov eax, 0x538640
push eax
push ebx
push str.Width
push ecx
call edi
mov dword [ebp - 0x18], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, ebx
jne 0x50dd16
mov ecx, 0x538640
xor edi, edi
cmp dword [esi + 0x44], edi
jle 0x50dd43
test ecx, ecx
je 0x50dd43
cmp word [ecx], di
je 0x50dd43
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x50dd32
mov eax, 0x538640
push eax
push 0
push str.Height
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
mov ecx, dword [esi + 0x4c]
test ecx, ecx
jne 0x50dd4f
mov ecx, 0x538640
xor ebx, ebx
cmp dword [esi + 0x44], ebx
jle 0x50dd7c
test ecx, ecx
je 0x50dd7c
cmp word [ecx], bx
je 0x50dd7c
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x50dd6b
mov eax, 0x538640
push eax
push 0
push str.FontPoint
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
push 0x538640
lea eax, [esi + 0xe8]
call fcn.004fcf00
mov edx, dword [ebp - 0x1c]
add edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
push 0
push 0
push ebx
mov ebx, dword [ebp + 8]
mov dword [esi + 0xd4], edx
mov edx, dword [ebp - 0x38]
mov dword [esi + 0xd0], eax
push edx
lea eax, [esi + 0xc0]
push eax
mov dword [esi + 0xd8], ecx
mov dword [esi + 0xdc], edi
mov dword [esi + 0xe4], 0x26
mov dword [esi + 0xe0], 1
call fcn.0046a1f0
push str.PrntPreViewInfo_FileNameText
lea eax, [esi + 0x4c]
mov byte [esi + 0xf4], 0
mov byte [esi + 0xfc], 0
call fcn.004fcf00
mov eax, dword [esi + 0x4c]
test eax, eax
jne 0x50de06
mov eax, 0x538640
xor edi, edi
mov dword [ebp - 0x20], edi
cmp dword [esi + 0x44], edi
jle 0x50de3a
cmp eax, edi
je 0x50de3a
cmp word [eax], di
je 0x50de3a
mov ecx, dword [esi + 0x40]
cmp ecx, edi
jne 0x50de25
mov ecx, 0x538640
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push ecx
push edi
push str.PosiX
push eax
call ebx
mov dword [ebp - 0x20], eax
jmp 0x50de40
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [esi + 0x4c]
cmp ecx, edi
jne 0x50de4c
mov ecx, 0x538640
mov dword [ebp - 0x1c], edi
cmp dword [esi + 0x44], edi
jle 0x50de76
cmp ecx, edi
je 0x50de76
cmp word [ecx], di
je 0x50de76
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x50de69
mov eax, 0x538640
push eax
push edi
push str.PosiY
push ecx
call ebx
mov dword [ebp - 0x1c], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, edi
jne 0x50de82
mov ecx, 0x538640
mov dword [ebp - 0x18], edi
cmp dword [esi + 0x44], edi
jle 0x50deac
cmp ecx, edi
je 0x50deac
cmp word [ecx], di
je 0x50deac
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x50de9f
mov eax, 0x538640
push eax
push edi
push str.Width
push ecx
call ebx
mov dword [ebp - 0x18], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, edi
jne 0x50deb8
mov ecx, 0x538640
cmp dword [esi + 0x44], edi
jle 0x50dedf
test ecx, ecx
je 0x50dedf
cmp word [ecx], di
je 0x50dedf
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x50ded2
mov eax, 0x538640
push eax
push 0
push str.Height
push ecx
call ebx
mov edi, eax
mov ecx, dword [esi + 0x4c]
test ecx, ecx
jne 0x50deeb
mov ecx, 0x538640
xor ebx, ebx
cmp dword [esi + 0x44], ebx
jle 0x50df18
test ecx, ecx
je 0x50df18
cmp word [ecx], bx
je 0x50df18
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x50df07
mov eax, 0x538640
push eax
push 0
push str.FontPoint
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
push 0x538640
lea eax, [esi + 0x178]
call fcn.004fcf00
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
push 0
push 0
push ebx
mov ebx, dword [ebp + 8]
mov dword [esi + 0x164], eax
mov eax, dword [ebp - 0x38]
mov dword [esi + 0x160], ecx
push eax
lea ecx, [esi + 0x150]
push ecx
mov dword [esi + 0x168], edx
mov dword [esi + 0x16c], edi
mov dword [esi + 0x174], 0x40025
mov dword [esi + 0x170], 1
call fcn.0046a1f0
push str.PrntPreViewInfo_TiffPageText
lea eax, [esi + 0x4c]
mov byte [esi + 0x184], 0
mov byte [esi + 0x18c], 0
call fcn.004fcf00
mov eax, dword [esi + 0x4c]
test eax, eax
jne 0x50dfa2
mov eax, 0x538640
xor ebx, ebx
mov dword [ebp - 0x20], ebx
cmp dword [esi + 0x44], ebx
jle 0x50dfd6
cmp eax, ebx
je 0x50dfd6
cmp word [eax], bx
je 0x50dfd6
mov ecx, dword [esi + 0x40]
cmp ecx, ebx
jne 0x50dfc1
mov ecx, 0x538640
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push ecx
push ebx
push str.PosiX
push eax
call edi
mov dword [ebp - 0x20], eax
jmp 0x50dfdc
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [esi + 0x4c]
cmp ecx, ebx
jne 0x50dfe8
mov ecx, 0x538640
mov dword [ebp - 0x1c], ebx
cmp dword [esi + 0x44], ebx
jle 0x50e012
cmp ecx, ebx
je 0x50e012
cmp word [ecx], bx
je 0x50e012
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x50e005
mov eax, 0x538640
push eax
push ebx
push str.PosiY
push ecx
call edi
mov dword [ebp - 0x1c], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, ebx
jne 0x50e01e
mov ecx, 0x538640
mov dword [ebp - 0x18], ebx
cmp dword [esi + 0x44], ebx
jle 0x50e048
cmp ecx, ebx
je 0x50e048
cmp word [ecx], bx
je 0x50e048
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x50e03b
mov eax, 0x538640
push eax
push ebx
push str.Width
push ecx
call edi
mov dword [ebp - 0x18], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, ebx
jne 0x50e054
mov ecx, 0x538640
xor edi, edi
cmp dword [esi + 0x44], ebx
jle 0x50e080
cmp ecx, ebx
je 0x50e080
cmp word [ecx], bx
je 0x50e080
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x50e070
mov eax, 0x538640
push eax
push ebx
push str.Height
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
mov ecx, dword [esi + 0x4c]
cmp ecx, ebx
jne 0x50e08c
mov ecx, 0x538640
xor ebx, ebx
cmp dword [esi + 0x44], ebx
jle 0x50e0b9
test ecx, ecx
je 0x50e0b9
cmp word [ecx], bx
je 0x50e0b9
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x50e0a8
mov eax, 0x538640
push eax
push 0
push str.FontPoint
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
push 0x538640
lea eax, [esi + 0x208]
call fcn.004fcf00
mov edx, dword [ebp - 0x1c]
add edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x38]
push 0
push 0
push ebx
mov ebx, dword [ebp + 8]
mov dword [esi + 0x1f4], edx
mov dword [esi + 0x1f0], eax
mov eax, dword [ebp - 0x18]
push ecx
lea edx, [esi + 0x1e0]
push edx
mov dword [esi + 0x1f8], eax
mov dword [esi + 0x1fc], edi
mov dword [esi + 0x204], 0x24
mov dword [esi + 0x200], 1
call fcn.0046a1f0
xor al, al
mov byte [esi + 0x214], al
mov byte [esi + 0x21c], al
push str.PrntPreViewClose_BtnText
lea eax, [esi + 0x4c]
xor edi, edi
call fcn.004fcf00
mov eax, dword [esi + 0x4c]
mov ecx, eax
cmp eax, edi
jne 0x50e147
mov ecx, 0x538640
mov dword [ebp - 0x20], edi
cmp dword [esi + 0x44], edi
jle 0x50e179
cmp ecx, edi
je 0x50e179
cmp word [ecx], di
je 0x50e179
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x50e164
mov eax, 0x538640
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push edi
push str.PosiX
push ecx
call ebx
mov dword [ebp - 0x20], eax
jmp 0x50e17f
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [esi + 0x4c]
cmp ecx, edi
jne 0x50e18b
mov ecx, 0x538640
mov dword [ebp - 0x1c], edi
cmp dword [esi + 0x44], edi
jle 0x50e1b5
cmp ecx, edi
je 0x50e1b5
cmp word [ecx], di
je 0x50e1b5
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x50e1a8
mov eax, 0x538640
push eax
push edi
push str.PosiY
push ecx
call ebx
mov dword [ebp - 0x1c], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, edi
jne 0x50e1c1
mov ecx, 0x538640
mov dword [ebp - 0x18], edi
cmp dword [esi + 0x44], edi
jle 0x50e1eb
cmp ecx, edi
je 0x50e1eb
cmp word [ecx], di
je 0x50e1eb
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x50e1de
mov eax, 0x538640
push eax
push edi
push str.Width
push ecx
call ebx
mov dword [ebp - 0x18], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, edi
jne 0x50e1f7
mov ecx, 0x538640
mov dword [ebp - 0x14], edi
cmp dword [esi + 0x44], edi
jle 0x50e221
cmp ecx, edi
je 0x50e221
cmp word [ecx], di
je 0x50e221
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x50e214
mov eax, 0x538640
push eax
push edi
push str.Height
push ecx
call ebx
mov dword [ebp - 0x14], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, edi
jne 0x50e22d
mov ecx, 0x538640
xor ebx, ebx
cmp dword [esi + 0x44], edi
jle 0x50e259
cmp ecx, edi
je 0x50e259
cmp word [ecx], di
je 0x50e259
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x50e249
mov eax, 0x538640
push eax
push edi
push str.FontPoint
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
push 0x80ff
lea eax, [ebp - 0x44]
push eax
mov ecx, 0x55a400
call fcn.00467b90
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.004fce50
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x44]
cmp eax, edi
je 0x50e295
push eax
call fcn.005134a7
add esp, 4
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edi
mov edi, dword [ebp - 0x2c]
mov eax, edi
test edi, edi
jne 0x50e2a3
mov eax, 0x538640
push eax
lea eax, [esi + 0x8bc]
mov byte [esi + 0x9e0], 1
call fcn.004fcf00
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
push 0
push 0
push ebx
mov ebx, dword [ebp + 8]
mov dword [esi + 0x8a8], edx
mov edx, dword [ebp - 0x38]
mov dword [esi + 0x8ac], eax
mov dword [esi + 0x8a4], ecx
mov ecx, dword [ebp - 0x14]
push edx
lea eax, [esi + 0x894]
push eax
mov dword [esi + 0x8b0], ecx
mov dword [esi + 0x8b8], 0x15
mov dword [esi + 0x8b4], 1
call fcn.0046a1f0
xor ebx, ebx
mov byte [esi + 0x8c8], bl
mov byte [esi + 0x8d0], bl
mov byte [ebp - 4], bl
cmp edi, ebx
je 0x50e324
push edi
call fcn.005134a7
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x50]
cmp eax, ebx
je 0x50e33b
push eax
call fcn.005134a7
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4