Function at 0x497970
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53b2c0
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.00470370
add edi, 0x4c
cmp byte [ebp + 0x14], 0
mov eax, edi
je 0x4979bb
push str.PcFaxTxScanPage_Mini_TypeSlctArea
jmp 0x4979c0
push str.PcFaxTxScanPage_TypeSlctArea
call fcn.005080c0
mov eax, dword [esi + 0x10]
xor ebx, ebx
mov ecx, eax
cmp eax, ebx
jne 0x4979d5
mov ecx, 0x54ee24
mov dword [ebp - 0x1c], ebx
cmp dword [esi + 8], ebx
jle 0x497a03
cmp ecx, ebx
je 0x497a03
cmp word [ecx], bx
je 0x497a03
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x4979f2
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 0x497a0f
mov ecx, 0x54ee24
mov dword [ebp - 0x24], 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 0x497a2c
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 0x497a49
mov ecx, 0x54ee24
mov dword [ebp - 0x14], ebx
cmp dword [esi + 8], ebx
jle 0x497a77
cmp ecx, ebx
je 0x497a77
cmp word [ecx], bx
je 0x497a77
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x497a66
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 0x497a85
push str.PcFaxTxScanPage_Mini_TypeSlctRBtn
jmp 0x497a8a
push str.PcFaxTxScanPage_TypeSlctRBtn
call fcn.005080c0
mov ecx, dword [esi + 0x10]
cmp ecx, ebx
jne 0x497a9b
mov ecx, 0x54ee24
mov dword [ebp - 0x18], ebx
cmp dword [esi + 8], ebx
jle 0x497acd
cmp ecx, ebx
je 0x497acd
cmp word [ecx], bx
je 0x497acd
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x497ab8
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 0x497ad3
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [esi + 0x10]
cmp ecx, ebx
jne 0x497adf
mov ecx, 0x54ee24
mov dword [ebp - 0x20], ebx
cmp dword [esi + 8], ebx
jle 0x497b09
cmp ecx, ebx
je 0x497b09
cmp word [ecx], bx
je 0x497b09
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x497afc
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 0x497b15
mov ecx, 0x54ee24
mov dword [ebp - 0x10], ebx
cmp dword [esi + 8], ebx
jle 0x497b3f
cmp ecx, ebx
je 0x497b3f
cmp word [ecx], bx
je 0x497b3f
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x497b32
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 0x497b4b
mov ecx, 0x54ee24
mov dword [ebp + 0x14], ebx
cmp dword [esi + 8], ebx
jle 0x497b75
cmp ecx, ebx
je 0x497b75
cmp word [ecx], bx
je 0x497b75
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x497b68
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 0x497b81
mov ecx, 0x54ee24
xor edi, edi
cmp dword [esi + 8], ebx
jle 0x497bad
cmp ecx, ebx
je 0x497bad
cmp word [ecx], bx
je 0x497bad
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x497b9d
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.00471480
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 0x497bf3
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 0x497c2c
cmp word [eax], 0
je 0x497c2c
test edi, edi
jle 0x497c2c
push 0
push 0
push edi
add ebx, 0x28
push eax
push ebx
mov ebx, ecx
call fcn.00473a60
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.004bea60
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.00471480
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x497c85
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.004bee50
add esi, dword [ebp - 0x14]
push 0x88c0
lea edx, [ebp - 0x40]
push edx
mov ecx, 0x5776a0
call fcn.00471480
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 0x497ce2
push eax
call fcn.0051ebab
add esp, 4
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x497cee
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.004bee50
add esi, dword [ebp - 0x14]
push 0x2aff
lea eax, [ebp - 0x40]
push eax
mov ecx, 0x5776a0
call fcn.00471480
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 0x497d56
push eax
call fcn.0051ebab
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 0x497d62
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.004bee50
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x497da8
push eax
call fcn.0051ebab
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
jmp 0x497daa
xor ecx, ecx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x4c]
cmp eax, ecx
je 0x497dc1
push eax
call fcn.0051ebab
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