Function at 0x495f90
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov al, byte [0x5786b5]
sub esp, 0x10
push esi
push edi
lea esi, [ebx + 0x3c]
push esi
mov ecx, str.BrCcHome.sdd
mov byte [ebx + 0x13d8], al
call fcn.00470260
xor edi, edi
cmp byte [ebp + 0x14], 0
lea eax, [ebx + 0x4c]
je 0x495fc3
push str.PcFaxTxScanPage_Mini_PanelWnd
jmp 0x495fc8
push str.PcFaxTxScanPage_PanelWnd
call fcn.005080c0
mov eax, dword [esi + 0x10]
cmp eax, edi
jne 0x495fd9
mov eax, 0x54ee24
mov dword [ebp - 0xc], edi
cmp dword [esi + 8], edi
jle 0x496007
cmp eax, edi
je 0x496007
cmp word [eax], di
je 0x496007
mov ecx, dword [esi + 4]
cmp ecx, edi
jne 0x495ff6
mov ecx, 0x54ee24
push ecx
push edi
push str.PosiX
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0xc], eax
mov ecx, dword [esi + 0x10]
cmp ecx, edi
jne 0x496013
mov ecx, 0x54ee24
mov dword [ebp - 8], edi
cmp dword [esi + 8], edi
jle 0x496041
cmp ecx, edi
je 0x496041
cmp word [ecx], di
je 0x496041
mov eax, dword [esi + 4]
cmp eax, edi
jne 0x496030
mov eax, 0x54ee24
push eax
push edi
push str.PosiY
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 8], eax
mov ecx, dword [esi + 0x10]
cmp ecx, edi
jne 0x49604d
mov ecx, 0x54ee24
mov dword [ebp - 4], edi
cmp dword [esi + 8], edi
jle 0x49607b
cmp ecx, edi
je 0x49607b
cmp word [ecx], di
je 0x49607b
mov eax, dword [esi + 4]
cmp eax, edi
jne 0x49606a
mov eax, 0x54ee24
push eax
push edi
push str.Width
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 4], eax
cmp byte [ebp + 0x14], 0
lea eax, [ebx + 0x4c]
je 0x49608b
push str.PcFaxTxScanPage_Mini_PanelWnd_BkColor
jmp 0x496090
push str.PcFaxTxScanPage_PanelWnd_BkColor
call fcn.005080c0
mov ecx, dword [esi + 0x10]
cmp ecx, edi
jne 0x4960a1
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], edi
jle 0x4960cb
cmp ecx, edi
je 0x4960cb
cmp word [ecx], di
je 0x4960cb
mov eax, dword [esi + 4]
cmp eax, edi
jne 0x4960bd
mov eax, 0x54ee24
push eax
push edi
push str.ColorR
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea edi, [ebx + 0x1364]
mov dword [edi], eax
mov eax, dword [esi + 0x10]
mov ecx, eax
test eax, eax
jne 0x4960e1
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x49610c
test ecx, ecx
je 0x49610c
cmp word [ecx], ax
je 0x49610c
mov eax, dword [esi + 4]
test eax, eax
jne 0x4960fd
mov eax, 0x54ee24
push eax
push 0
push str.ColorG
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebx + 0x1368], eax
mov eax, dword [esi + 0x10]
mov ecx, eax
test eax, eax
jne 0x496120
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x49614b
test ecx, ecx
je 0x49614b
cmp word [ecx], ax
je 0x49614b
mov eax, dword [esi + 4]
test eax, eax
jne 0x49613c
mov eax, 0x54ee24
push eax
push 0
push str.ColorB
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebx + 0x136c], eax
cmp dword [ebx + 0x68], 0
jne 0x49617a
test edi, edi
je 0x49617a
movzx eax, byte [edi + 8]
movzx ecx, byte [edi + 4]
movzx edx, byte [edi]
shl eax, 8
or eax, ecx
shl eax, 8
or eax, edx
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [ebx + 0x68], eax
cmp byte [ebp + 0x14], 0
lea eax, [ebx + 0x4c]
je 0x49618a
push str.PcFaxTxScanPage_Mini_PanelWnd_VLineLeft
jmp 0x49618f
push str.PcFaxTxScanPage_PanelWnd_VLineLeft
call fcn.005080c0
mov ecx, dword [esi + 0x10]
test ecx, ecx
jne 0x4961a0
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x4961cf
test ecx, ecx
je 0x4961cf
cmp word [ecx], ax
je 0x4961cf
mov eax, dword [esi + 4]
test eax, eax
jne 0x4961bc
mov eax, 0x54ee24
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push 0
push str.ColorR
push ecx
call edi
jmp 0x4961d5
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebx + 0x1370], eax
mov eax, dword [esi + 0x10]
mov ecx, eax
test eax, eax
jne 0x4961e9
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x496210
test ecx, ecx
je 0x496210
cmp word [ecx], ax
je 0x496210
mov eax, dword [esi + 4]
test eax, eax
jne 0x496205
mov eax, 0x54ee24
push eax
push 0
push str.ColorG
push ecx
call edi
mov dword [ebx + 0x1374], eax
mov eax, dword [esi + 0x10]
mov ecx, eax
test eax, eax
jne 0x496224
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x49624b
test ecx, ecx
je 0x49624b
cmp word [ecx], ax
je 0x49624b
mov eax, dword [esi + 4]
test eax, eax
jne 0x496240
mov eax, 0x54ee24
push eax
push 0
push str.ColorB
push ecx
call edi
cmp byte [ebp + 0x14], 0
mov dword [ebx + 0x1378], eax
lea eax, [ebx + 0x4c]
je 0x496261
push str.PcFaxTxScanPage_Mini_PanelWnd_VLineRight
jmp 0x496266
push str.PcFaxTxScanPage_PanelWnd_VLineRight
call fcn.005080c0
mov ecx, dword [esi + 0x10]
test ecx, ecx
jne 0x496277
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x49629e
test ecx, ecx
je 0x49629e
cmp word [ecx], ax
je 0x49629e
mov eax, dword [esi + 4]
test eax, eax
jne 0x496293
mov eax, 0x54ee24
push eax
push 0
push str.ColorR
push ecx
call edi
mov dword [ebx + 0x137c], eax
mov eax, dword [esi + 0x10]
mov ecx, eax
test eax, eax
jne 0x4962b2
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x4962d9
test ecx, ecx
je 0x4962d9
cmp word [ecx], ax
je 0x4962d9
mov eax, dword [esi + 4]
test eax, eax
jne 0x4962ce
mov eax, 0x54ee24
push eax
push 0
push str.ColorG
push ecx
call edi
mov dword [ebx + 0x1380], eax
mov eax, dword [esi + 0x10]
mov ecx, eax
test eax, eax
jne 0x4962ed
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x496314
test ecx, ecx
je 0x496314
cmp word [ecx], ax
je 0x496314
mov eax, dword [esi + 4]
test eax, eax
jne 0x496309
mov eax, 0x54ee24
push eax
push 0
push str.ColorB
push ecx
call edi
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 4]
mov edi, dword [ebp + 8]
push ebx
push 0x2329
mov dword [ebx + 0x1384], eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 8]
push ecx
mov ecx, dword [ebp - 0xc]
push edx
push eax
push ecx
push 0
push 0x50000000
push 0
mov eax, str.ControlCenter4_wChildWndCls
mov ecx, edi
mov edx, ebx
call fcn.0051bbf0
mov edx, dword [ebp + 0xc]
mov esi, eax
mov dword [ebx + 0x30], esi
mov dword [ebx + 0x34], edx
mov byte [ebx + 0x38], 1
test esi, esi
je 0x49637e
mov eax, dword [ebp - 4]
push esi
push edi
push ebx
mov dword [ebx + 0x1360], eax
call fcn.00496d20
mov ecx, dword [ebp + 0x14]
push ecx
push esi
push edi
push ebx
call fcn.00497020
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 0x10