Function at 0x493a80
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.00470260
lea eax, [esi + 0x4c]
test bl, bl
je 0x493ab7
push str.PcFaxTxScanPage_Mini_Wnd_HLineBottom
jmp 0x493abc
push str.PcFaxTxScanPage_Wnd_HLineBottom
call fcn.005080c0
mov eax, dword [edi + 0x10]
mov ecx, eax
test eax, eax
jne 0x493acf
mov ecx, 0x54ee24
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
xor eax, eax
cmp dword [edi + 8], eax
jle 0x493afc
test ecx, ecx
je 0x493afc
cmp word [ecx], ax
je 0x493afc
mov eax, dword [edi + 4]
test eax, eax
jne 0x493af1
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 0x493b10
mov ecx, 0x54ee24
xor eax, eax
cmp dword [edi + 8], eax
jle 0x493b37
test ecx, ecx
je 0x493b37
cmp word [ecx], ax
je 0x493b37
mov eax, dword [edi + 4]
test eax, eax
jne 0x493b2c
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 0x493b4b
mov ecx, 0x54ee24
xor eax, eax
cmp dword [edi + 8], eax
jle 0x493b72
test ecx, ecx
je 0x493b72
cmp word [ecx], ax
je 0x493b72
mov eax, dword [edi + 4]
test eax, eax
jne 0x493b67
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.0051bbf0
mov dword [ebp + 0xc], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], ebx
mov byte [esi + 0x38], 1
test eax, eax
je 0x493ec0
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.00495f90
cmp byte [ebx + 0x135c], 0
mov cl, 1
je 0x493be9
xor cl, cl
mov eax, dword [ebx + 0x610]
test eax, eax
je 0x493c00
movzx ecx, cl
push ecx
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x493c14
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 0x493c29
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x493c3d
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.00470260
cmp byte [ebp + 0x18], 0
lea ebx, [esi + 0x4c]
mov eax, ebx
je 0x493c5a
push str.PcFaxTxScanPage_Mini_PanelWnd
jmp 0x493c5f
push str.PcFaxTxScanPage_PanelWnd
call fcn.005080c0
mov ecx, dword [edi + 0x10]
test ecx, ecx
jne 0x493c70
mov ecx, 0x54ee24
xor eax, eax
cmp dword [edi + 8], eax
jle 0x493c9b
test ecx, ecx
je 0x493c9b
cmp word [ecx], ax
je 0x493c9b
mov eax, dword [edi + 4]
test eax, eax
jne 0x493c8c
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 0x493cb0
push str.PcFaxTxScanPage_Mini_ToolBtnWnd
jmp 0x493cb5
push str.PcFaxTxScanPage_ToolBtnWnd
call fcn.005080c0
mov ecx, dword [edi + 0x10]
test ecx, ecx
jne 0x493cc6
mov ecx, 0x54ee24
cmp dword [edi + 8], 0
mov dword [ebp - 4], 0
jle 0x493cfb
test ecx, ecx
je 0x493cfb
cmp word [ecx], 0
je 0x493cfb
mov eax, dword [edi + 4]
test eax, eax
jne 0x493ce9
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 0x493d07
mov ecx, 0x54ee24
xor edi, edi
cmp dword [esi + 0x44], edi
jle 0x493d34
test ecx, ecx
je 0x493d34
cmp word [ecx], di
je 0x493d34
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x493d23
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 0x493d40
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 0x44], eax
jle 0x493d6b
test ecx, ecx
je 0x493d6b
cmp word [ecx], ax
je 0x493d6b
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x493d5c
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.0051bbf0
mov ecx, dword [ebp + 0xc]
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x34], ecx
mov byte [ebx + 0x38], 1
test eax, eax
je 0x493dcd
mov edx, dword [ebp + 8]
push 0
push 1
push 0
push eax
push edx
push ebx
call fcn.0050ec90
mov eax, esi
call fcn.004954c0
mov ebx, dword [ebp + 0x18]
lea eax, [esi + 0x4c]
test bl, bl
je 0x493de5
push str.PcFaxTxScanPage_Mini_FuncBtnWnd
jmp 0x493dea
push str.PcFaxTxScanPage_FuncBtnWnd
call fcn.005080c0
mov ecx, dword [esi + 0x4c]
test ecx, ecx
jne 0x493dfb
mov ecx, 0x54ee24
cmp dword [esi + 0x44], 0
mov dword [ebp + 0x18], 0
jle 0x493e30
test ecx, ecx
je 0x493e30
cmp word [ecx], 0
je 0x493e30
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x493e1e
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.00487f70
mov eax, dword [esi + 0x31e4]
test eax, eax
je 0x493e76
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x493e8a
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.004d27e0
push 0
call fcn.00514590
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14