Function at 0x493b20
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov bl, byte [ebp + 0x18]
push esi
mov esi, eax
push edi
lea edi, [esi + 0x3c]
push edi
mov ecx, str.BrCcHome.sdd
mov byte [esi + 0x9330], 0
mov byte [esi + 0x9318], bl
call fcn.00470370
lea eax, [esi + 0x4c]
test bl, bl
je 0x493b57
push str.PcFaxTxScanPage_Mini_Wnd_HLineBottom
jmp 0x493b5c
push str.PcFaxTxScanPage_Wnd_HLineBottom
call fcn.005080c0
mov eax, dword [edi + 0x10]
mov ecx, eax
test eax, eax
jne 0x493b6f
mov ecx, 0x54ee24
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
xor eax, eax
cmp dword [edi + 8], eax
jle 0x493b9c
test ecx, ecx
je 0x493b9c
cmp word [ecx], ax
je 0x493b9c
mov eax, dword [edi + 4]
test eax, eax
jne 0x493b91
mov eax, 0x54ee24
push eax
push 0
push str.ColorR
push ecx
call ebx
mov dword [esi + 0x9324], eax
mov eax, dword [edi + 0x10]
mov ecx, eax
test eax, eax
jne 0x493bb0
mov ecx, 0x54ee24
xor eax, eax
cmp dword [edi + 8], eax
jle 0x493bd7
test ecx, ecx
je 0x493bd7
cmp word [ecx], ax
je 0x493bd7
mov eax, dword [edi + 4]
test eax, eax
jne 0x493bcc
mov eax, 0x54ee24
push eax
push 0
push str.ColorG
push ecx
call ebx
mov dword [esi + 0x9328], eax
mov eax, dword [edi + 0x10]
mov ecx, eax
test eax, eax
jne 0x493beb
mov ecx, 0x54ee24
xor eax, eax
cmp dword [edi + 8], eax
jle 0x493c12
test ecx, ecx
je 0x493c12
cmp word [ecx], ax
je 0x493c12
mov eax, dword [edi + 4]
test eax, eax
jne 0x493c07
mov eax, 0x54ee24
push eax
push 0
push str.ColorB
push ecx
call ebx
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push esi
push 0x234b
push ebx
mov dword [esi + 0x932c], eax
mov eax, dword [ebp + 0x14]
push eax
push ecx
mov ecx, dword [ebp + 8]
push 0
push 0
push 0
push 0x40000000
push 0
mov eax, str.ControlCenter4_wChildWndCls
mov edx, esi
call fcn.0051bcc0
mov dword [ebp + 0xc], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], ebx
mov byte [esi + 0x38], 1
test eax, eax
je 0x493f60
mov edx, dword [ebp + 0x18]
mov ecx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0x14]
push edx
push eax
lea ebx, [esi + 0x74]
push ecx
mov dword [esi + 0x9344], ecx
mov dword [esi + 0x9348], eax
call fcn.00496020
cmp byte [ebx + 0x135c], 0
mov cl, 1
je 0x493c89
xor cl, cl
mov eax, dword [ebx + 0x610]
test eax, eax
je 0x493ca0
movzx ecx, cl
push ecx
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x493cb4
mov edx, dword [ebx + 0x60c]
mov eax, dword [edx + 4]
mov dword [ebx + eax + 0x60c], 6
mov eax, dword [esi + 0x930]
test eax, eax
je 0x493cc9
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x493cdd
mov ecx, dword [esi + 0x92c]
mov edx, dword [ecx + 4]
mov dword [esi + edx + 0x92c], 6
push edi
mov ecx, str.BrCcHome.sdd
call fcn.00470370
cmp byte [ebp + 0x18], 0
lea ebx, [esi + 0x4c]
mov eax, ebx
je 0x493cfa
push str.PcFaxTxScanPage_Mini_PanelWnd
jmp 0x493cff
push str.PcFaxTxScanPage_PanelWnd
call fcn.005080c0
mov ecx, dword [edi + 0x10]
test ecx, ecx
jne 0x493d10
mov ecx, 0x54ee24
xor eax, eax
cmp dword [edi + 8], eax
jle 0x493d3b
test ecx, ecx
je 0x493d3b
cmp word [ecx], ax
je 0x493d3b
mov eax, dword [edi + 4]
test eax, eax
jne 0x493d2c
mov eax, 0x54ee24
push eax
push 0
push str.Width
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp byte [ebp + 0x18], 0
mov dword [esi + 0x931c], eax
mov eax, ebx
je 0x493d50
push str.PcFaxTxScanPage_Mini_ToolBtnWnd
jmp 0x493d55
push str.PcFaxTxScanPage_ToolBtnWnd
call fcn.005080c0
mov ecx, dword [edi + 0x10]
test ecx, ecx
jne 0x493d66
mov ecx, 0x54ee24
cmp dword [edi + 8], 0
mov dword [ebp - 4], 0
jle 0x493d9b
test ecx, ecx
je 0x493d9b
cmp word [ecx], 0
je 0x493d9b
mov eax, dword [edi + 4]
test eax, eax
jne 0x493d89
mov eax, 0x54ee24
push eax
push 0
push str.PosiX
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 4], eax
mov ecx, dword [edi + 0x10]
test ecx, ecx
jne 0x493da7
mov ecx, 0x54ee24
xor edi, edi
cmp dword [esi + 0x44], edi
jle 0x493dd4
test ecx, ecx
je 0x493dd4
cmp word [ecx], di
je 0x493dd4
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x493dc3
mov eax, 0x54ee24
push eax
push 0
push str.PosiY
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
mov ecx, dword [esi + 0x4c]
test ecx, ecx
jne 0x493de0
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 0x44], eax
jle 0x493e0b
test ecx, ecx
je 0x493e0b
cmp word [ecx], ax
je 0x493e0b
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x493dfc
mov eax, 0x54ee24
push eax
push 0
push str.Height
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp + 0x10]
sub ecx, dword [esi + 0x931c]
lea ebx, [esi + 0x1454]
push ebx
push 0x232e
push dword [ebp + 0xc]
mov dword [esi + 0x9320], eax
push eax
mov eax, dword [ebp - 4]
push ecx
push edi
push eax
push 0
push 0x50000000
mov dword [ebp - 8], ecx
mov ecx, dword [ebp + 8]
push 0
mov eax, str.ControlCenter4_wChildWndCls
mov edx, ebx
call fcn.0051bcc0
mov ecx, dword [ebp + 0xc]
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x34], ecx
mov byte [ebx + 0x38], 1
test eax, eax
je 0x493e6d
mov edx, dword [ebp + 8]
push 0
push 1
push 0
push eax
push edx
push ebx
call fcn.0050ed50
mov eax, esi
call fcn.00495560
mov ebx, dword [ebp + 0x18]
lea eax, [esi + 0x4c]
test bl, bl
je 0x493e85
push str.PcFaxTxScanPage_Mini_FuncBtnWnd
jmp 0x493e8a
push str.PcFaxTxScanPage_FuncBtnWnd
call fcn.005080c0
mov ecx, dword [esi + 0x4c]
test ecx, ecx
jne 0x493e9b
mov ecx, 0x54ee24
cmp dword [esi + 0x44], 0
mov dword [ebp + 0x18], 0
jle 0x493ed0
test ecx, ecx
je 0x493ed0
cmp word [ecx], 0
je 0x493ed0
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x493ebe
mov eax, 0x54ee24
push eax
push 0
push str.Width
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp + 0x18], eax
mov eax, dword [esi + 0x9320]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
push ebx
push 0
push 0
push 1
sub ecx, eax
push ecx
mov ecx, dword [ebp + 0x18]
push ecx
push eax
mov eax, dword [ebp + 0x10]
sub eax, ecx
push eax
mov eax, dword [ebp + 8]
push edx
push eax
lea edi, [esi + 0x3120]
call fcn.00488020
mov eax, dword [esi + 0x31e4]
test eax, eax
je 0x493f16
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x493f2a
mov ecx, dword [esi + 0x31e0]
mov edx, dword [ecx + 4]
mov dword [esi + edx + 0x31e0], 6
mov eax, dword [ebp - 8]
sub eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0xc]
mov edx, dword [esi + 0x9320]
mov ebx, dword [ebp + 0x14]
push eax
mov eax, dword [esi + 0x931c]
push eax
mov eax, dword [ebp + 8]
push ecx
sub ebx, edx
push eax
add esi, 0x39e8
call fcn.004d27c0
push 0
call fcn.005146c0
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14