Function at 0x498270
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53b100
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.00470260
cmp byte [ebp + 0xc], 0
lea eax, [esi + 0x4c]
je 0x4982b5
push str.PcFaxTxScanPage_Mini_DocTypeText
jmp 0x4982ba
push str.PcFaxTxScanPage_DocTypeText
call fcn.005080c0
mov eax, dword [ebx + 0x10]
xor edi, edi
mov ecx, eax
cmp eax, edi
jne 0x4982cf
mov ecx, 0x54ee24
mov dword [ebp - 0x14], edi
cmp dword [ebx + 8], edi
jle 0x4982fd
cmp ecx, edi
je 0x4982fd
cmp word [ecx], di
je 0x4982fd
mov eax, dword [ebx + 4]
cmp eax, edi
jne 0x4982ec
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 0x498309
mov ecx, 0x54ee24
mov dword [ebp - 0x10], edi
cmp dword [ebx + 8], edi
jle 0x498337
cmp ecx, edi
je 0x498337
cmp word [ecx], di
je 0x498337
mov eax, dword [ebx + 4]
cmp eax, edi
jne 0x498326
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 0x498343
mov ecx, 0x54ee24
mov dword [ebp - 0x18], edi
cmp dword [ebx + 8], edi
jle 0x498371
cmp ecx, edi
je 0x498371
cmp word [ecx], di
je 0x498371
mov eax, dword [ebx + 4]
cmp eax, edi
jne 0x498360
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 0x49837d
mov ecx, 0x54ee24
mov dword [ebp - 0x1c], edi
cmp dword [ebx + 8], edi
jle 0x4983ab
cmp ecx, edi
je 0x4983ab
cmp word [ecx], di
je 0x4983ab
mov eax, dword [ebx + 4]
cmp eax, edi
jne 0x49839a
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.00471380
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x34], eax
cmp eax, edi
jne 0x4983d2
mov dword [ebp - 0x34], 0x54ee24
mov ecx, dword [ebx + 0x10]
cmp ecx, edi
jne 0x4983de
mov ecx, 0x54ee24
xor edi, edi
cmp dword [ebx + 8], edi
jle 0x49840b
test ecx, ecx
je 0x49840b
cmp word [ecx], di
je 0x49840b
mov eax, dword [ebx + 4]
test eax, eax
jne 0x4983fa
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.00471380
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x49842e
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.00473690
cmp byte [ebp + 0xc], 0
mov byte [esi + 0x174], 0
mov byte [esi + 0x17c], 0
lea eax, [esi + 0x4c]
je 0x4984ae
push str.PcFaxTxScanPage_Mini_DocTypeInfo
jmp 0x4984b3
push str.PcFaxTxScanPage_DocTypeInfo
call fcn.005080c0
mov ecx, dword [esi + 0x4c]
xor edi, edi
cmp ecx, edi
jne 0x4984c6
mov ecx, 0x54ee24
mov dword [ebp - 0x1c], edi
cmp dword [esi + 0x44], edi
jle 0x4984f4
cmp ecx, edi
je 0x4984f4
cmp word [ecx], di
je 0x4984f4
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x4984e3
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 0x498500
mov ecx, 0x54ee24
xor ebx, ebx
cmp dword [esi + 0x44], edi
jle 0x49852c
cmp ecx, edi
je 0x49852c
cmp word [ecx], di
je 0x49852c
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x49851c
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 0x498538
mov ecx, 0x54ee24
mov dword [ebp - 0x18], edi
cmp dword [esi + 0x44], edi
jle 0x498566
cmp ecx, edi
je 0x498566
cmp word [ecx], di
je 0x498566
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x498555
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 0x498572
mov ecx, 0x54ee24
mov dword [ebp - 0x14], edi
cmp dword [esi + 0x44], edi
jle 0x4985a0
cmp ecx, edi
je 0x4985a0
cmp word [ecx], di
je 0x4985a0
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x49858f
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 0x4985ac
mov ecx, 0x54ee24
xor edi, edi
cmp dword [esi + 0x44], edi
jle 0x4985d9
test ecx, ecx
je 0x4985d9
cmp word [ecx], di
je 0x4985d9
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x4985c8
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.00473690
mov byte [esi + 0x24c], 0
mov byte [esi + 0x254], 0
test ebx, ebx
je 0x49866a
push 0xffffffffffffffec
mov eax, ebx
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x400000
je 0x49866a
or dword [esi + 0x23c], 0x20000
cmp byte [ebp + 0xc], 0
lea eax, [esi + 0x4c]
je 0x49867a
push str.PcFaxTxScanPage_Mini_CustomBtnTxt
jmp 0x49867f
push str.PcFaxTxScanPage_CustomBtnTxt
call fcn.005080c0
mov ecx, dword [esi + 0x4c]
xor edi, edi
cmp ecx, edi
jne 0x498692
mov ecx, 0x54ee24
mov dword [ebp - 0x1c], edi
cmp dword [esi + 0x44], edi
jle 0x4986c4
cmp ecx, edi
je 0x4986c4
cmp word [ecx], di
je 0x4986c4
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x4986af
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 0x4986ca
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [esi + 0x4c]
cmp ecx, edi
jne 0x4986d6
mov ecx, 0x54ee24
mov dword [ebp - 0x18], edi
cmp dword [esi + 0x44], edi
jle 0x498700
cmp ecx, edi
je 0x498700
cmp word [ecx], di
je 0x498700
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x4986f3
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 0x49870c
mov ecx, 0x54ee24
mov dword [ebp - 0x14], edi
cmp dword [esi + 0x44], edi
jle 0x498736
cmp ecx, edi
je 0x498736
cmp word [ecx], di
je 0x498736
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x498729
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 0x498742
mov ecx, 0x54ee24
cmp dword [esi + 0x44], edi
jle 0x498769
test ecx, ecx
je 0x498769
cmp word [ecx], di
je 0x498769
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x49875c
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 0x498775
mov ecx, 0x54ee24
xor ebx, ebx
cmp dword [esi + 0x44], ebx
jle 0x4987a2
test ecx, ecx
je 0x4987a2
cmp word [ecx], bx
je 0x4987a2
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x498791
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.00471380
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 0x4987d5
push eax
call fcn.0051eadb
add esp, 4
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x4987e1
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.00473690
cmp byte [ebp + 0xc], 0
mov byte [esi + 0x318], 0
mov byte [esi + 0x320], 0
lea eax, [esi + 0x4c]
je 0x49885f
push str.PcFaxTxScanPage_Mini_ScanSizeText
jmp 0x498864
push str.PcFaxTxScanPage_ScanSizeText
call fcn.005080c0
mov ecx, dword [esi + 0x4c]
xor edi, edi
cmp ecx, edi
jne 0x498877
mov ecx, 0x54ee24
mov dword [ebp - 0x1c], edi
cmp dword [esi + 0x44], edi
jle 0x4988a5
cmp ecx, edi
je 0x4988a5
cmp word [ecx], di
je 0x4988a5
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x498894
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 0x4988b1
mov ecx, 0x54ee24
xor ebx, ebx
cmp dword [esi + 0x44], edi
jle 0x4988dd
cmp ecx, edi
je 0x4988dd
cmp word [ecx], di
je 0x4988dd
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x4988cd
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 0x4988e9
mov ecx, 0x54ee24
mov dword [ebp - 0x18], edi
cmp dword [esi + 0x44], edi
jle 0x498917
cmp ecx, edi
je 0x498917
cmp word [ecx], di
je 0x498917
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x498906
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 0x498923
mov ecx, 0x54ee24
mov dword [ebp - 0x14], edi
cmp dword [esi + 0x44], edi
jle 0x498951
cmp ecx, edi
je 0x498951
cmp word [ecx], di
je 0x498951
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x498940
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 0x49895d
mov ecx, 0x54ee24
xor edi, edi
cmp dword [esi + 0x44], edi
jle 0x49898a
test ecx, ecx
je 0x49898a
cmp word [ecx], di
je 0x49898a
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x498979
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.00471380
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 0x4989bd
push eax
call fcn.0051eadb
add esp, 4
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x4989c9
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.00473690
cmp byte [ebp + 0xc], 0
mov byte [esi + 0x588], 0
mov byte [esi + 0x590], 0
lea eax, [esi + 0x4c]
je 0x498a46
push str.PcFaxTxScanPage_Mini_ScanBtnTxt
jmp 0x498a4b
push str.PcFaxTxScanPage_ScanBtnTxt
call fcn.005080c0
mov ecx, dword [esi + 0x4c]
xor edi, edi
cmp ecx, edi
jne 0x498a5e
mov ecx, 0x54ee24
mov dword [ebp - 0x1c], edi
cmp dword [esi + 0x44], edi
jle 0x498a90
cmp ecx, edi
je 0x498a90
cmp word [ecx], di
je 0x498a90
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x498a7b
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 0x498a96
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [esi + 0x4c]
cmp ecx, edi
jne 0x498aa2
mov ecx, 0x54ee24
mov dword [ebp - 0x18], edi
cmp dword [esi + 0x44], edi
jle 0x498acc
cmp ecx, edi
je 0x498acc
cmp word [ecx], di
je 0x498acc
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x498abf
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 0x498ad8
mov ecx, 0x54ee24
mov dword [ebp - 0x14], edi
cmp dword [esi + 0x44], edi
jle 0x498b02
cmp ecx, edi
je 0x498b02
cmp word [ecx], di
je 0x498b02
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x498af5
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 0x498b0e
mov ecx, 0x54ee24
cmp dword [esi + 0x44], edi
jle 0x498b35
test ecx, ecx
je 0x498b35
cmp word [ecx], di
je 0x498b35
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x498b28
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 0x498b41
mov ecx, 0x54ee24
xor ebx, ebx
cmp dword [esi + 0x44], ebx
jle 0x498b6e
test ecx, ecx
je 0x498b6e
cmp word [ecx], bx
je 0x498b6e
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x498b5d
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.00471380
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 0x498ba1
push eax
call fcn.0051eadb
add esp, 4
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x498bad
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.00473690
cmp byte [ebp + 0xc], 0
mov byte [esi + 0x68c], 0
mov byte [esi + 0x694], 0
lea eax, [esi + 0x4c]
je 0x498c2b
push str.PcFaxTxScanPage_Mini_ClearBtnTxt
jmp 0x498c30
push str.PcFaxTxScanPage_ClearBtnTxt
call fcn.005080c0
mov ecx, dword [esi + 0x4c]
xor edi, edi
cmp ecx, edi
jne 0x498c43
mov ecx, 0x54ee24
mov dword [ebp + 0xc], edi
cmp dword [esi + 0x44], edi
jle 0x498c75
cmp ecx, edi
je 0x498c75
cmp word [ecx], di
je 0x498c75
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x498c60
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 0x498c7b
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [esi + 0x4c]
cmp ecx, edi
jne 0x498c87
mov ecx, 0x54ee24
mov dword [ebp - 0x1c], edi
cmp dword [esi + 0x44], edi
jle 0x498cb1
cmp ecx, edi
je 0x498cb1
cmp word [ecx], di
je 0x498cb1
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x498ca4
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 0x498cbd
mov ecx, 0x54ee24
mov dword [ebp - 0x18], edi
cmp dword [esi + 0x44], edi
jle 0x498ce7
cmp ecx, edi
je 0x498ce7
cmp word [ecx], di
je 0x498ce7
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x498cda
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 0x498cf3
mov ecx, 0x54ee24
cmp dword [esi + 0x44], edi
jle 0x498d1a
test ecx, ecx
je 0x498d1a
cmp word [ecx], di
je 0x498d1a
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x498d0d
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 0x498d26
mov ecx, 0x54ee24
xor ebx, ebx
cmp dword [esi + 0x44], ebx
jle 0x498d53
test ecx, ecx
je 0x498d53
cmp word [ecx], bx
je 0x498d53
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x498d42
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.00471380
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 0x498d91
push eax
call fcn.0051eadb
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 0x498d9d
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.00473690
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 0x498e27
push eax
call fcn.0051eadb
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 0x498e3e
push eax
call fcn.0051eadb
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