Function at 0x498300
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53b280
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push edi
mov eax, dword [0x575494]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ebx, [esi + 0x3c]
push ebx
mov ecx, str.BrCcHome.sdd
call fcn.00470370
cmp byte [ebp + 0xc], 0
lea eax, [esi + 0x4c]
je 0x498345
push str.PcFaxTxScanPage_Mini_DocTypeText
jmp 0x49834a
push str.PcFaxTxScanPage_DocTypeText
call fcn.005080c0
mov eax, dword [ebx + 0x10]
xor edi, edi
mov ecx, eax
cmp eax, edi
jne 0x49835f
mov ecx, 0x54ee24
mov dword [ebp - 0x14], edi
cmp dword [ebx + 8], edi
jle 0x49838d
cmp ecx, edi
je 0x49838d
cmp word [ecx], di
je 0x49838d
mov eax, dword [ebx + 4]
cmp eax, edi
jne 0x49837c
mov eax, 0x54ee24
push eax
push edi
push str.PosiX
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebx + 0x10]
cmp ecx, edi
jne 0x498399
mov ecx, 0x54ee24
mov dword [ebp - 0x10], edi
cmp dword [ebx + 8], edi
jle 0x4983c7
cmp ecx, edi
je 0x4983c7
cmp word [ecx], di
je 0x4983c7
mov eax, dword [ebx + 4]
cmp eax, edi
jne 0x4983b6
mov eax, 0x54ee24
push eax
push edi
push str.PosiY
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebx + 0x10]
cmp ecx, edi
jne 0x4983d3
mov ecx, 0x54ee24
mov dword [ebp - 0x18], edi
cmp dword [ebx + 8], edi
jle 0x498401
cmp ecx, edi
je 0x498401
cmp word [ecx], di
je 0x498401
mov eax, dword [ebx + 4]
cmp eax, edi
jne 0x4983f0
mov eax, 0x54ee24
push eax
push edi
push str.Width
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebx + 0x10]
cmp ecx, edi
jne 0x49840d
mov ecx, 0x54ee24
mov dword [ebp - 0x1c], edi
cmp dword [ebx + 8], edi
jle 0x49843b
cmp ecx, edi
je 0x49843b
cmp word [ecx], di
je 0x49843b
mov eax, dword [ebx + 4]
cmp eax, edi
jne 0x49842a
mov eax, 0x54ee24
push eax
push edi
push str.Height
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x1c], eax
push 0x2af8
lea eax, [ebp - 0x4c]
push eax
mov ecx, 0x5776a0
call fcn.00471480
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x34], eax
cmp eax, edi
jne 0x498462
mov dword [ebp - 0x34], 0x54ee24
mov ecx, dword [ebx + 0x10]
cmp ecx, edi
jne 0x49846e
mov ecx, 0x54ee24
xor edi, edi
cmp dword [ebx + 8], edi
jle 0x49849b
test ecx, ecx
je 0x49849b
cmp word [ecx], di
je 0x49849b
mov eax, dword [ebx + 4]
test eax, eax
jne 0x49848a
mov eax, 0x54ee24
push eax
push 0
push str.FontPoint
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
push 0x754c
lea ecx, [ebp - 0x28]
push ecx
mov ecx, 0x5776a0
call fcn.00471480
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x4984be
mov eax, 0x54ee24
mov ebx, dword [ebp - 0x10]
sub ebx, dword [esi + 0x13d4]
push eax
lea eax, [esi + 0x168]
call fcn.005080c0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
push 0
push 0
mov dword [esi + 0x150], edx
mov edx, dword [ebp - 0x34]
push edi
mov dword [esi + 0x158], eax
push edx
lea eax, [esi + 0x140]
mov dword [esi + 0x154], ebx
mov ebx, dword [ebp + 8]
push eax
mov dword [esi + 0x15c], ecx
mov dword [esi + 0x164], 0x14
mov dword [esi + 0x160], 1
call fcn.00473a60
cmp byte [ebp + 0xc], 0
mov byte [esi + 0x174], 0
mov byte [esi + 0x17c], 0
lea eax, [esi + 0x4c]
je 0x49853e
push str.PcFaxTxScanPage_Mini_DocTypeInfo
jmp 0x498543
push str.PcFaxTxScanPage_DocTypeInfo
call fcn.005080c0
mov ecx, dword [esi + 0x4c]
xor edi, edi
cmp ecx, edi
jne 0x498556
mov ecx, 0x54ee24
mov dword [ebp - 0x1c], edi
cmp dword [esi + 0x44], edi
jle 0x498584
cmp ecx, edi
je 0x498584
cmp word [ecx], di
je 0x498584
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x498573
mov eax, 0x54ee24
push eax
push edi
push str.PosiX
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x1c], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, edi
jne 0x498590
mov ecx, 0x54ee24
xor ebx, ebx
cmp dword [esi + 0x44], edi
jle 0x4985bc
cmp ecx, edi
je 0x4985bc
cmp word [ecx], di
je 0x4985bc
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x4985ac
mov eax, 0x54ee24
push eax
push edi
push str.PosiY
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
mov ecx, dword [esi + 0x4c]
cmp ecx, edi
jne 0x4985c8
mov ecx, 0x54ee24
mov dword [ebp - 0x18], edi
cmp dword [esi + 0x44], edi
jle 0x4985f6
cmp ecx, edi
je 0x4985f6
cmp word [ecx], di
je 0x4985f6
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x4985e5
mov eax, 0x54ee24
push eax
push edi
push str.Width
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x18], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, edi
jne 0x498602
mov ecx, 0x54ee24
mov dword [ebp - 0x14], edi
cmp dword [esi + 0x44], edi
jle 0x498630
cmp ecx, edi
je 0x498630
cmp word [ecx], di
je 0x498630
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x49861f
mov eax, 0x54ee24
push eax
push edi
push str.Height
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x14], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, edi
jne 0x49863c
mov ecx, 0x54ee24
xor edi, edi
cmp dword [esi + 0x44], edi
jle 0x498669
test ecx, ecx
je 0x498669
cmp word [ecx], di
je 0x498669
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x498658
mov eax, 0x54ee24
push eax
push 0
push str.FontPoint
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
sub ebx, dword [esi + 0x13d4]
push 0x54ee24
lea eax, [esi + 0x240]
call fcn.005080c0
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
push 0
push 0
mov dword [esi + 0x228], ecx
mov ecx, dword [ebp - 0x34]
push edi
mov dword [esi + 0x230], edx
push ecx
lea edx, [esi + 0x218]
mov dword [esi + 0x22c], ebx
mov ebx, dword [ebp + 8]
push edx
mov dword [esi + 0x234], eax
mov dword [esi + 0x23c], 0x810
mov dword [esi + 0x238], 1
call fcn.00473a60
mov byte [esi + 0x24c], 0
mov byte [esi + 0x254], 0
test ebx, ebx
je 0x4986fa
push 0xffffffffffffffec
mov eax, ebx
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x400000
je 0x4986fa
or dword [esi + 0x23c], 0x20000
cmp byte [ebp + 0xc], 0
lea eax, [esi + 0x4c]
je 0x49870a
push str.PcFaxTxScanPage_Mini_CustomBtnTxt
jmp 0x49870f
push str.PcFaxTxScanPage_CustomBtnTxt
call fcn.005080c0
mov ecx, dword [esi + 0x4c]
xor edi, edi
cmp ecx, edi
jne 0x498722
mov ecx, 0x54ee24
mov dword [ebp - 0x1c], edi
cmp dword [esi + 0x44], edi
jle 0x498754
cmp ecx, edi
je 0x498754
cmp word [ecx], di
je 0x498754
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x49873f
mov eax, 0x54ee24
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push edi
push str.PosiX
push ecx
call ebx
mov dword [ebp - 0x1c], eax
jmp 0x49875a
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [esi + 0x4c]
cmp ecx, edi
jne 0x498766
mov ecx, 0x54ee24
mov dword [ebp - 0x18], edi
cmp dword [esi + 0x44], edi
jle 0x498790
cmp ecx, edi
je 0x498790
cmp word [ecx], di
je 0x498790
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x498783
mov eax, 0x54ee24
push eax
push edi
push str.PosiY
push ecx
call ebx
mov dword [ebp - 0x18], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, edi
jne 0x49879c
mov ecx, 0x54ee24
mov dword [ebp - 0x14], edi
cmp dword [esi + 0x44], edi
jle 0x4987c6
cmp ecx, edi
je 0x4987c6
cmp word [ecx], di
je 0x4987c6
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x4987b9
mov eax, 0x54ee24
push eax
push edi
push str.Width
push ecx
call ebx
mov dword [ebp - 0x14], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, edi
jne 0x4987d2
mov ecx, 0x54ee24
cmp dword [esi + 0x44], edi
jle 0x4987f9
test ecx, ecx
je 0x4987f9
cmp word [ecx], di
je 0x4987f9
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x4987ec
mov eax, 0x54ee24
push eax
push 0
push str.Height
push ecx
call ebx
mov edi, eax
mov ecx, dword [esi + 0x4c]
test ecx, ecx
jne 0x498805
mov ecx, 0x54ee24
xor ebx, ebx
cmp dword [esi + 0x44], ebx
jle 0x498832
test ecx, ecx
je 0x498832
cmp word [ecx], bx
je 0x498832
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x498821
mov eax, 0x54ee24
push eax
push 0
push str.FontPoint
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
push 0x80fb
lea ecx, [ebp - 0x40]
push ecx
mov ecx, 0x5776a0
call fcn.00471480
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00508010
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x498865
push eax
call fcn.0051ebab
add esp, 4
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x498871
mov eax, 0x54ee24
push eax
lea eax, [esi + 0x30c]
mov byte [esi + 0x430], 1
call fcn.005080c0
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
push 0
push 0
push ebx
mov ebx, dword [ebp + 8]
mov dword [esi + 0x2f4], edx
mov edx, dword [ebp - 0x34]
mov dword [esi + 0x2f8], eax
push edx
lea eax, [esi + 0x2e4]
push eax
mov dword [esi + 0x2fc], ecx
mov dword [esi + 0x300], edi
mov dword [esi + 0x308], 0x15
mov dword [esi + 0x304], 1
call fcn.00473a60
cmp byte [ebp + 0xc], 0
mov byte [esi + 0x318], 0
mov byte [esi + 0x320], 0
lea eax, [esi + 0x4c]
je 0x4988ef
push str.PcFaxTxScanPage_Mini_ScanSizeText
jmp 0x4988f4
push str.PcFaxTxScanPage_ScanSizeText
call fcn.005080c0
mov ecx, dword [esi + 0x4c]
xor edi, edi
cmp ecx, edi
jne 0x498907
mov ecx, 0x54ee24
mov dword [ebp - 0x1c], edi
cmp dword [esi + 0x44], edi
jle 0x498935
cmp ecx, edi
je 0x498935
cmp word [ecx], di
je 0x498935
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x498924
mov eax, 0x54ee24
push eax
push edi
push str.PosiX
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x1c], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, edi
jne 0x498941
mov ecx, 0x54ee24
xor ebx, ebx
cmp dword [esi + 0x44], edi
jle 0x49896d
cmp ecx, edi
je 0x49896d
cmp word [ecx], di
je 0x49896d
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x49895d
mov eax, 0x54ee24
push eax
push edi
push str.PosiY
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
mov ecx, dword [esi + 0x4c]
cmp ecx, edi
jne 0x498979
mov ecx, 0x54ee24
mov dword [ebp - 0x18], edi
cmp dword [esi + 0x44], edi
jle 0x4989a7
cmp ecx, edi
je 0x4989a7
cmp word [ecx], di
je 0x4989a7
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x498996
mov eax, 0x54ee24
push eax
push edi
push str.Width
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x18], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, edi
jne 0x4989b3
mov ecx, 0x54ee24
mov dword [ebp - 0x14], edi
cmp dword [esi + 0x44], edi
jle 0x4989e1
cmp ecx, edi
je 0x4989e1
cmp word [ecx], di
je 0x4989e1
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x4989d0
mov eax, 0x54ee24
push eax
push edi
push str.Height
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x14], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, edi
jne 0x4989ed
mov ecx, 0x54ee24
xor edi, edi
cmp dword [esi + 0x44], edi
jle 0x498a1a
test ecx, ecx
je 0x498a1a
cmp word [ecx], di
je 0x498a1a
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x498a09
mov eax, 0x54ee24
push eax
push 0
push str.FontPoint
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
push 0x754d
lea ecx, [ebp - 0x40]
push ecx
mov ecx, 0x5776a0
call fcn.00471480
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.00508010
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x498a4d
push eax
call fcn.0051ebab
add esp, 4
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x498a59
mov eax, 0x54ee24
sub ebx, dword [esi + 0x13d4]
push eax
lea eax, [esi + 0x57c]
call fcn.005080c0
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
push 0
push 0
mov dword [esi + 0x564], edx
mov edx, dword [ebp - 0x34]
push edi
mov dword [esi + 0x56c], eax
push edx
lea eax, [esi + 0x554]
mov dword [esi + 0x568], ebx
mov ebx, dword [ebp + 8]
push eax
mov dword [esi + 0x570], ecx
mov dword [esi + 0x578], 0x14
mov dword [esi + 0x574], 1
call fcn.00473a60
cmp byte [ebp + 0xc], 0
mov byte [esi + 0x588], 0
mov byte [esi + 0x590], 0
lea eax, [esi + 0x4c]
je 0x498ad6
push str.PcFaxTxScanPage_Mini_ScanBtnTxt
jmp 0x498adb
push str.PcFaxTxScanPage_ScanBtnTxt
call fcn.005080c0
mov ecx, dword [esi + 0x4c]
xor edi, edi
cmp ecx, edi
jne 0x498aee
mov ecx, 0x54ee24
mov dword [ebp - 0x1c], edi
cmp dword [esi + 0x44], edi
jle 0x498b20
cmp ecx, edi
je 0x498b20
cmp word [ecx], di
je 0x498b20
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x498b0b
mov eax, 0x54ee24
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push edi
push str.PosiX
push ecx
call ebx
mov dword [ebp - 0x1c], eax
jmp 0x498b26
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [esi + 0x4c]
cmp ecx, edi
jne 0x498b32
mov ecx, 0x54ee24
mov dword [ebp - 0x18], edi
cmp dword [esi + 0x44], edi
jle 0x498b5c
cmp ecx, edi
je 0x498b5c
cmp word [ecx], di
je 0x498b5c
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x498b4f
mov eax, 0x54ee24
push eax
push edi
push str.PosiY
push ecx
call ebx
mov dword [ebp - 0x18], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, edi
jne 0x498b68
mov ecx, 0x54ee24
mov dword [ebp - 0x14], edi
cmp dword [esi + 0x44], edi
jle 0x498b92
cmp ecx, edi
je 0x498b92
cmp word [ecx], di
je 0x498b92
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x498b85
mov eax, 0x54ee24
push eax
push edi
push str.Width
push ecx
call ebx
mov dword [ebp - 0x14], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, edi
jne 0x498b9e
mov ecx, 0x54ee24
cmp dword [esi + 0x44], edi
jle 0x498bc5
test ecx, ecx
je 0x498bc5
cmp word [ecx], di
je 0x498bc5
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x498bb8
mov eax, 0x54ee24
push eax
push 0
push str.Height
push ecx
call ebx
mov edi, eax
mov ecx, dword [esi + 0x4c]
test ecx, ecx
jne 0x498bd1
mov ecx, 0x54ee24
xor ebx, ebx
cmp dword [esi + 0x44], ebx
jle 0x498bfe
test ecx, ecx
je 0x498bfe
cmp word [ecx], bx
je 0x498bfe
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x498bed
mov eax, 0x54ee24
push eax
push 0
push str.FontPoint
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
push 0x2af9
lea ecx, [ebp - 0x40]
push ecx
mov ecx, 0x5776a0
call fcn.00471480
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.00508010
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x498c31
push eax
call fcn.0051ebab
add esp, 4
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x498c3d
mov eax, 0x54ee24
push eax
lea eax, [esi + 0x680]
mov byte [esi + 0x7a4], 1
call fcn.005080c0
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
push 0
push 0
push ebx
mov ebx, dword [ebp + 8]
mov dword [esi + 0x668], edx
mov edx, dword [ebp - 0x34]
mov dword [esi + 0x66c], eax
push edx
lea eax, [esi + 0x658]
push eax
mov dword [esi + 0x670], ecx
mov dword [esi + 0x674], edi
mov dword [esi + 0x67c], 0x15
mov dword [esi + 0x678], 1
call fcn.00473a60
cmp byte [ebp + 0xc], 0
mov byte [esi + 0x68c], 0
mov byte [esi + 0x694], 0
lea eax, [esi + 0x4c]
je 0x498cbb
push str.PcFaxTxScanPage_Mini_ClearBtnTxt
jmp 0x498cc0
push str.PcFaxTxScanPage_ClearBtnTxt
call fcn.005080c0
mov ecx, dword [esi + 0x4c]
xor edi, edi
cmp ecx, edi
jne 0x498cd3
mov ecx, 0x54ee24
mov dword [ebp + 0xc], edi
cmp dword [esi + 0x44], edi
jle 0x498d05
cmp ecx, edi
je 0x498d05
cmp word [ecx], di
je 0x498d05
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x498cf0
mov eax, 0x54ee24
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push edi
push str.PosiX
push ecx
call ebx
mov dword [ebp + 0xc], eax
jmp 0x498d0b
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [esi + 0x4c]
cmp ecx, edi
jne 0x498d17
mov ecx, 0x54ee24
mov dword [ebp - 0x1c], edi
cmp dword [esi + 0x44], edi
jle 0x498d41
cmp ecx, edi
je 0x498d41
cmp word [ecx], di
je 0x498d41
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x498d34
mov eax, 0x54ee24
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 0x498d4d
mov ecx, 0x54ee24
mov dword [ebp - 0x18], edi
cmp dword [esi + 0x44], edi
jle 0x498d77
cmp ecx, edi
je 0x498d77
cmp word [ecx], di
je 0x498d77
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x498d6a
mov eax, 0x54ee24
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 0x498d83
mov ecx, 0x54ee24
cmp dword [esi + 0x44], edi
jle 0x498daa
test ecx, ecx
je 0x498daa
cmp word [ecx], di
je 0x498daa
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x498d9d
mov eax, 0x54ee24
push eax
push 0
push str.Height
push ecx
call ebx
mov edi, eax
mov ecx, dword [esi + 0x4c]
test ecx, ecx
jne 0x498db6
mov ecx, 0x54ee24
xor ebx, ebx
cmp dword [esi + 0x44], ebx
jle 0x498de3
test ecx, ecx
je 0x498de3
cmp word [ecx], bx
je 0x498de3
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x498dd2
mov eax, 0x54ee24
push eax
push 0
push str.FontPoint
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
push 0x80fc
lea ecx, [ebp - 0x40]
push ecx
mov ecx, 0x5776a0
call fcn.00471480
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.00508010
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x498e21
push eax
call fcn.0051ebab
add esp, 4
xor eax, eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x498e2d
mov eax, 0x54ee24
push eax
lea eax, [esi + 0x92c]
mov byte [esi + 0xa50], 1
call fcn.005080c0
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
push 0
push 0
push ebx
mov ebx, dword [ebp + 8]
mov dword [esi + 0x914], edx
mov edx, dword [ebp - 0x34]
mov dword [esi + 0x918], eax
push edx
lea eax, [esi + 0x904]
push eax
mov dword [esi + 0x91c], ecx
mov dword [esi + 0x920], edi
mov dword [esi + 0x928], 0x15
mov dword [esi + 0x924], 1
call fcn.00473a60
xor ebx, ebx
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x28]
mov byte [esi + 0x938], bl
mov byte [esi + 0x940], bl
cmp eax, ebx
je 0x498eb7
push eax
call fcn.0051ebab
add esp, 4
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x4c]
cmp eax, ebx
je 0x498ece
push eax
call fcn.0051ebab
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 8