Function at 0x4978e0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53b140
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x575494]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea esi, [edi + 0x3c]
push esi
mov ecx, str.BrCcHome.sdd
call fcn.00470260
add edi, 0x4c
cmp byte [ebp + 0x14], 0
mov eax, edi
je 0x49792b
push str.PcFaxTxScanPage_Mini_TypeSlctArea
jmp 0x497930
push str.PcFaxTxScanPage_TypeSlctArea
call fcn.005080c0
mov eax, dword [esi + 0x10]
xor ebx, ebx
mov ecx, eax
cmp eax, ebx
jne 0x497945
mov ecx, 0x54ee24
mov dword [ebp - 0x1c], ebx
cmp dword [esi + 8], ebx
jle 0x497973
cmp ecx, ebx
je 0x497973
cmp word [ecx], bx
je 0x497973
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x497962
mov eax, 0x54ee24
push eax
push ebx
push str.PosiX
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x1c], eax
mov ecx, dword [esi + 0x10]
cmp ecx, ebx
jne 0x49797f
mov ecx, 0x54ee24
mov dword [ebp - 0x24], ebx
cmp dword [esi + 8], ebx
jle 0x4979ad
cmp ecx, ebx
je 0x4979ad
cmp word [ecx], bx
je 0x4979ad
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x49799c
mov eax, 0x54ee24
push eax
push ebx
push str.PosiY
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x24], eax
mov ecx, dword [esi + 0x10]
cmp ecx, ebx
jne 0x4979b9
mov ecx, 0x54ee24
mov dword [ebp - 0x14], ebx
cmp dword [esi + 8], ebx
jle 0x4979e7
cmp ecx, ebx
je 0x4979e7
cmp word [ecx], bx
je 0x4979e7
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x4979d6
mov eax, 0x54ee24
push eax
push ebx
push str.OffsetY
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x14], eax
mov eax, edi
cmp byte [ebp + 0x14], bl
je 0x4979f5
push str.PcFaxTxScanPage_Mini_TypeSlctRBtn
jmp 0x4979fa
push str.PcFaxTxScanPage_TypeSlctRBtn
call fcn.005080c0
mov ecx, dword [esi + 0x10]
cmp ecx, ebx
jne 0x497a0b
mov ecx, 0x54ee24
mov dword [ebp - 0x18], ebx
cmp dword [esi + 8], ebx
jle 0x497a3d
cmp ecx, ebx
je 0x497a3d
cmp word [ecx], bx
je 0x497a3d
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x497a28
mov eax, 0x54ee24
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push ebx
push str.PosiX
push ecx
call edi
mov dword [ebp - 0x18], eax
jmp 0x497a43
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [esi + 0x10]
cmp ecx, ebx
jne 0x497a4f
mov ecx, 0x54ee24
mov dword [ebp - 0x20], ebx
cmp dword [esi + 8], ebx
jle 0x497a79
cmp ecx, ebx
je 0x497a79
cmp word [ecx], bx
je 0x497a79
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x497a6c
mov eax, 0x54ee24
push eax
push ebx
push str.PosiY
push ecx
call edi
mov dword [ebp - 0x20], eax
mov ecx, dword [esi + 0x10]
cmp ecx, ebx
jne 0x497a85
mov ecx, 0x54ee24
mov dword [ebp - 0x10], ebx
cmp dword [esi + 8], ebx
jle 0x497aaf
cmp ecx, ebx
je 0x497aaf
cmp word [ecx], bx
je 0x497aaf
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x497aa2
mov eax, 0x54ee24
push eax
push ebx
push str.Width
push ecx
call edi
mov dword [ebp - 0x10], eax
mov ecx, dword [esi + 0x10]
cmp ecx, ebx
jne 0x497abb
mov ecx, 0x54ee24
mov dword [ebp + 0x14], ebx
cmp dword [esi + 8], ebx
jle 0x497ae5
cmp ecx, ebx
je 0x497ae5
cmp word [ecx], bx
je 0x497ae5
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x497ad8
mov eax, 0x54ee24
push eax
push ebx
push str.Height
push ecx
call edi
mov dword [ebp + 0x14], eax
mov ecx, dword [esi + 0x10]
cmp ecx, ebx
jne 0x497af1
mov ecx, 0x54ee24
xor edi, edi
cmp dword [esi + 8], ebx
jle 0x497b1d
cmp ecx, ebx
je 0x497b1d
cmp word [ecx], bx
je 0x497b1d
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x497b0d
mov eax, 0x54ee24
push eax
push ebx
push str.FontPoint
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
push 0x2af8
lea eax, [ebp - 0x4c]
push eax
mov ecx, 0x5776a0
call fcn.00471380
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ebx
movzx esi, byte [ecx + 0x136c]
mov eax, ecx
movzx edx, byte [eax + 0x1368]
movzx eax, byte [eax + 0x1364]
shl esi, 8
or esi, edx
shl esi, 8
or esi, eax
mov eax, dword [ebp - 0x4c]
cmp eax, ebx
jne 0x497b63
mov eax, 0x54ee24
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
add ebx, 0x194
mov dword [ebx + 0x30], ecx
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x28], ebx
mov dword [ebx + 0x34], ecx
test eax, eax
je 0x497b9c
cmp word [eax], 0
je 0x497b9c
test edi, edi
jle 0x497b9c
push 0
push 0
push edi
add ebx, 0x28
push eax
push ebx
mov ebx, ecx
call fcn.00473690
mov ebx, dword [ebp - 0x28]
push esi
mov byte [ebx + 0x38], 1
mov dword [ebx + 0x3c], esi
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov edx, dword [ebp + 0x10]
push edx
mov edx, 0x1580
lea esi, [ebx + 4]
lea ecx, [edx - 2]
mov edi, 3
mov dword [ebx + 0x40], eax
call fcn.004bea70
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x20]
add edi, dword [ebp - 0x1c]
add esi, dword [ebp - 0x24]
push 0x88c1
lea ecx, [ebp - 0x34]
push ecx
mov ecx, 0x5776a0
call fcn.00471380
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x497bf5
mov eax, 0x54ee24
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x10]
push edx
push ecx
mov ecx, dword [ebp + 8]
mov edx, esi
sub edx, dword [ecx + 0x13d4]
mov ecx, ebx
push edx
push edi
push eax
push 0x157e
mov eax, 0x10010c00
call fcn.004bee60
add esi, dword [ebp - 0x14]
push 0x88c0
lea edx, [ebp - 0x40]
push edx
mov ecx, 0x5776a0
call fcn.00471380
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.00508010
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x497c52
push eax
call fcn.0051eadb
add esp, 4
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x497c5e
mov eax, 0x54ee24
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x10]
push ecx
push edx
mov edx, dword [ebp + 8]
mov ecx, esi
sub ecx, dword [edx + 0x13d4]
push ecx
push edi
push eax
push 0x157f
mov eax, 0x10030c00
mov ecx, ebx
call fcn.004bee60
add esi, dword [ebp - 0x14]
push 0x2aff
lea eax, [ebp - 0x40]
push eax
mov ecx, 0x5776a0
call fcn.00471380
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
call fcn.00508010
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x497cc6
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 - 0x34]
test eax, eax
jne 0x497cd2
mov eax, 0x54ee24
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp + 8]
sub esi, dword [ecx + 0x13d4]
push edx
push esi
push edi
push eax
push 0x1580
mov eax, 0x10010c00
mov ecx, ebx
call fcn.004bee60
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x497d18
push eax
call fcn.0051eadb
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
jmp 0x497d1a
xor ecx, ecx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x4c]
cmp eax, ecx
je 0x497d31
push eax
call fcn.0051eadb
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10