Function at 0x4970b0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5402d8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
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 esi, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
lea eax, [edi + 0x3c]
push eax
mov ecx, str.BrCcHome.sdd
mov dword [ebp - 0x14], eax
call fcn.00470370
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
push ebx
push esi
push eax
push edi
call fcn.00497970
push ebx
push esi
push edi
call fcn.00497de0
mov ecx, dword [ebp + 0xc]
push ebx
push esi
push ecx
push edi
call fcn.00498130
push ebx
push esi
mov esi, edi
call fcn.00498300
call fcn.00498ef0
push ebx
call fcn.00499290
mov ecx, dword [edi + 0x158]
lea eax, [edi + 0x104]
test ecx, ecx
jle 0x497163
mov edx, dword [eax + 0x58]
test edx, edx
jle 0x497163
push ecx
mov ecx, dword [eax + 0x50]
push ecx
mov ecx, dword [eax + 0x4c]
push ecx
mov ecx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
push eax
mov ebx, edx
mov eax, 0x10000000
mov edx, 0x1983
call fcn.00509070
mov ebx, dword [ebp + 0x14]
mov ecx, dword [edi + 0x230]
lea eax, [edi + 0x1dc]
test ecx, ecx
jle 0x4971a0
mov edx, dword [eax + 0x58]
test edx, edx
jle 0x4971a0
push ecx
mov ecx, dword [eax + 0x50]
push ecx
mov ecx, dword [eax + 0x4c]
push ecx
mov ecx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
push eax
mov ebx, edx
mov eax, 0x10000000
mov edx, 0x1984
call fcn.00509070
mov ebx, dword [ebp + 0x14]
mov ecx, dword [edi + 0x56c]
lea eax, [edi + 0x518]
test ecx, ecx
jle 0x4971dd
mov edx, dword [eax + 0x58]
test edx, edx
jle 0x4971dd
push ecx
mov ecx, dword [eax + 0x50]
push ecx
mov ecx, dword [eax + 0x4c]
push ecx
mov ecx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
push eax
mov ebx, edx
mov eax, 0x10000000
mov edx, 0x1985
call fcn.00509070
mov ebx, dword [ebp + 0x14]
lea eax, [edi + 0x4c]
mov dword [ebp - 0x10], eax
test bl, bl
je 0x4971ee
push str.PcFaxTxScanPage_Mini_CustomBtnWnd
jmp 0x4971f3
push str.PcFaxTxScanPage_CustomBtnWnd
call fcn.005080c0
mov esi, dword [ebp - 0x14]
mov eax, dword [esi + 0x10]
mov ecx, eax
test eax, eax
jne 0x497209
mov ecx, 0x54ee24
cmp dword [esi + 8], 0
mov dword [ebp - 0x1c], 0
jle 0x49723e
test ecx, ecx
je 0x49723e
cmp word [ecx], 0
je 0x49723e
mov eax, dword [esi + 4]
test eax, eax
jne 0x49722c
mov eax, 0x54ee24
push eax
push 0
push str.PosiX
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x1c], eax
mov ecx, dword [esi + 0x10]
test ecx, ecx
jne 0x49724a
mov ecx, 0x54ee24
xor ebx, ebx
cmp dword [esi + 8], ebx
jle 0x497277
test ecx, ecx
je 0x497277
cmp word [ecx], bx
je 0x497277
mov eax, dword [esi + 4]
test eax, eax
jne 0x497266
mov eax, 0x54ee24
push eax
push 0
push str.PosiY
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
mov ecx, dword [esi + 0x10]
test ecx, ecx
jne 0x497283
mov ecx, 0x54ee24
cmp dword [esi + 8], 0
mov dword [ebp - 0x18], 0
jle 0x4972b8
test ecx, ecx
je 0x4972b8
cmp word [ecx], 0
je 0x4972b8
mov eax, dword [esi + 4]
test eax, eax
jne 0x4972a6
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 ecx, dword [esi + 0x10]
test ecx, ecx
jne 0x4972c4
mov ecx, 0x54ee24
mov eax, dword [ebp - 0x14]
xor esi, esi
cmp dword [eax + 8], esi
jle 0x4972f4
test ecx, ecx
je 0x4972f4
cmp word [ecx], si
je 0x4972f4
mov eax, dword [eax + 4]
test eax, eax
jne 0x4972e3
mov eax, 0x54ee24
push eax
push 0
push str.Height
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
push 0x80fb
lea edx, [ebp - 0x30]
push edx
mov ecx, 0x5776a0
call fcn.00471480
xor ecx, ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 0x30]
mov dword [edi + 0x42c], ecx
cmp eax, ecx
jne 0x49731e
mov eax, 0x54ee24
mov ecx, dword [ebp - 0x18]
sub ebx, dword [edi + 0x13d4]
mov edx, dword [ebp - 0x1c]
push esi
push ecx
push ebx
mov ebx, dword [ebp + 0x10]
push edx
push 0
push eax
mov eax, dword [ebp + 0xc]
push 0x17eb
push eax
lea ecx, [edi + 0x26c]
mov eax, 0x10000000
call fcn.0043b8a0
cmp byte [ebp + 0x14], 0
mov eax, dword [ebp - 0x10]
je 0x49735d
push str.PcFaxTxScanPage_Mini_ScanBtnPict
jmp 0x497362
push str.PcFaxTxScanPage_ScanBtnPict
call fcn.005080c0
mov esi, dword [ebp - 0x14]
mov ecx, dword [esi + 0x10]
xor edi, edi
cmp ecx, edi
jne 0x497378
mov ecx, 0x54ee24
mov dword [ebp - 0x14], edi
cmp dword [esi + 8], edi
jle 0x4973aa
cmp ecx, edi
je 0x4973aa
cmp word [ecx], di
je 0x4973aa
mov eax, dword [esi + 4]
cmp eax, edi
jne 0x497395
mov eax, 0x54ee24
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push edi
push str.PosiX
push ecx
call ebx
mov dword [ebp - 0x14], eax
jmp 0x4973b0
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [esi + 0x10]
cmp ecx, edi
jne 0x4973bc
mov ecx, 0x54ee24
mov dword [ebp - 0x10], edi
cmp dword [esi + 8], edi
jle 0x4973e6
cmp ecx, edi
je 0x4973e6
cmp word [ecx], di
je 0x4973e6
mov eax, dword [esi + 4]
cmp eax, edi
jne 0x4973d9
mov eax, 0x54ee24
push eax
push edi
push str.PosiY
push ecx
call ebx
mov dword [ebp - 0x10], eax
mov ecx, dword [esi + 0x10]
cmp ecx, edi
jne 0x4973f2
mov ecx, 0x54ee24
mov dword [ebp - 0x20], edi
cmp dword [esi + 8], edi
jle 0x49741c
cmp ecx, edi
je 0x49741c
cmp word [ecx], di
je 0x49741c
mov eax, dword [esi + 4]
cmp eax, edi
jne 0x49740f
mov eax, 0x54ee24
push eax
push edi
push str.Width
push ecx
call ebx
mov dword [ebp - 0x20], eax
mov ecx, dword [esi + 0x10]
cmp ecx, edi
jne 0x497428
mov ecx, 0x54ee24
mov dword [ebp - 0x24], edi
cmp dword [esi + 8], edi
jle 0x497452
cmp ecx, edi
je 0x497452
cmp word [ecx], di
je 0x497452
mov eax, dword [esi + 4]
cmp eax, edi
jne 0x497445
mov eax, 0x54ee24
push eax
push edi
push str.Height
push ecx
call ebx
mov dword [ebp - 0x24], eax
mov eax, dword [0x577698]
mov ebx, dword [sym.imp.USER32.dll_LoadImageW]
xor edi, edi
test eax, eax
je 0x49748d
push 0x80
push edi
push edi
push edi
push 0xc7cd
push eax
call ebx
mov esi, eax
test esi, esi
jne 0x497484
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov edi, esi
jmp 0x497497
mov dword [0x57768c], 0x57
mov dword [ebp - 0x1c], 0
test eax, eax
je 0x4974d0
push 0x80
push 0
push 0
push 0
push 0xc7ce
push eax
call ebx
mov esi, eax
test esi, esi
jne 0x4974c6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov dword [ebp - 0x1c], esi
jmp 0x4974da
mov dword [0x57768c], 0x57
mov dword [ebp - 0x18], 0
test eax, eax
je 0x497513
push 0x80
push 0
push 0
push 0
push 0xc7cf
push eax
call ebx
mov esi, eax
test esi, esi
jne 0x497509
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov dword [ebp - 0x18], esi
jmp 0x49751d
mov dword [0x57768c], 0x57
xor ebx, ebx
test eax, eax
je 0x49754f
push 0x80
push ebx
push ebx
push ebx
push 0xc7d8
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov ebx, eax
test ebx, ebx
jne 0x497548
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
jmp 0x497559
mov dword [0x57768c], 0x57
xor ecx, ecx
test eax, eax
je 0x497588
push 0x80
push ecx
push ecx
push ecx
push 0xc7d9
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov esi, eax
test esi, esi
jne 0x497584
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov ecx, esi
jmp 0x497592
mov dword [0x57768c], 0x57
mov esi, dword [ebp + 8]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x7bc], edx
mov edx, dword [ebp - 0x14]
mov dword [esi + 0x7c0], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x7b4], edi
mov dword [esi + 0x7b8], edi
mov dword [esi + 0x808], edx
mov edx, dword [ebp - 0x20]
mov dword [esi + 0x80c], eax
mov eax, dword [ebp - 0x24]
xor edi, edi
cmp byte [ebp + 0x14], 0
mov dword [esi + 0x810], edx
mov dword [esi + 0x814], eax
mov dword [esi + 0x818], edi
mov dword [esi + 0x81c], edi
mov dword [esi + 0x820], edx
mov dword [esi + 0x824], eax
mov word [esi + 0x7a5], 0x101
mov dword [esi + 0x7c4], ebx
mov dword [esi + 0x7c8], ecx
je 0x49761d
mov ebx, esi
push str.PcFaxTxScanPage_Mini_ScanBtnWnd
lea eax, [ebx + 0x4c]
call fcn.005080c0
jmp 0x49762e
mov eax, esi
push str.PcFaxTxScanPage_ScanBtnWnd
add eax, 0x4c
call fcn.005080c0
mov ebx, esi
mov ecx, dword [ebx + 0x4c]
test ecx, ecx
jne 0x49763a
mov ecx, 0x54ee24
mov dword [ebp - 0x20], edi
cmp dword [ebx + 0x44], edi
jle 0x497669
test ecx, ecx
je 0x497669
cmp word [ecx], di
je 0x497669
mov eax, dword [ebx + 0x40]
test eax, eax
jne 0x497657
mov eax, 0x54ee24
push eax
push 0
push str.PosiX
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebx + 0x4c]
test ecx, ecx
jne 0x497675
mov ecx, 0x54ee24
xor edi, edi
cmp dword [ebx + 0x44], edi
jle 0x4976a2
test ecx, ecx
je 0x4976a2
cmp word [ecx], di
je 0x4976a2
mov eax, dword [ebx + 0x40]
test eax, eax
jne 0x497691
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 [ebx + 0x4c]
test ecx, ecx
jne 0x4976ae
mov ecx, 0x54ee24
cmp dword [ebx + 0x44], 0
mov dword [ebp - 0x24], 0
jle 0x4976e3
test ecx, ecx
je 0x4976e3
cmp word [ecx], 0
je 0x4976e3
mov eax, dword [ebx + 0x40]
test eax, eax
jne 0x4976d1
mov eax, 0x54ee24
push eax
push 0
push str.Width
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebx + 0x4c]
test ecx, ecx
jne 0x4976ef
mov ecx, 0x54ee24
xor ebx, ebx
mov eax, esi
cmp dword [eax + 0x44], ebx
jle 0x49771e
test ecx, ecx
je 0x49771e
cmp word [ecx], bx
je 0x49771e
mov eax, dword [eax + 0x40]
test eax, eax
jne 0x49770d
mov eax, 0x54ee24
push eax
push 0
push str.Height
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
push 0x2af9
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, 0x5776a0
call fcn.00471480
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.00508010
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x497751
push eax
call fcn.0051ebab
add esp, 4
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp + 8]
mov dword [edx + 0x7a0], 0
test eax, eax
jne 0x49776a
mov eax, 0x54ee24
mov ecx, dword [ebp - 0x24]
sub edi, dword [edx + 0x13d4]
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp - 0x20]
push edi
push ecx
push 0
push eax
push 0x17ea
push edx
mov eax, 0x10000000
lea ecx, [esi + 0x5e0]
call fcn.0043b8a0
cmp byte [ebp + 0x14], 0
je 0x4977b1
mov edi, dword [ebp + 8]
push str.PcFaxTxScanPage_Mini_ClearBtnWnd
lea eax, [edi + 0x4c]
call fcn.005080c0
jmp 0x4977c4
mov eax, dword [ebp + 8]
push str.PcFaxTxScanPage_ClearBtnWnd
add eax, 0x4c
call fcn.005080c0
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 0x4c]
test ecx, ecx
jne 0x4977d0
mov ecx, 0x54ee24
cmp dword [edi + 0x44], 0
mov dword [ebp + 0x14], 0
jle 0x497809
test ecx, ecx
je 0x497809
cmp word [ecx], 0
je 0x497809
mov eax, dword [edi + 0x40]
test eax, eax
jne 0x4977f3
mov eax, 0x54ee24
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push 0
push str.PosiX
push ecx
call esi
mov dword [ebp + 0x14], eax
jmp 0x49780f
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [edi + 0x4c]
test ecx, ecx
jne 0x49781b
mov ecx, 0x54ee24
xor ebx, ebx
cmp dword [edi + 0x44], ebx
jle 0x497844
test ecx, ecx
je 0x497844
cmp word [ecx], bx
je 0x497844
mov eax, dword [edi + 0x40]
test eax, eax
jne 0x497837
mov eax, 0x54ee24
push eax
push 0
push str.PosiY
push ecx
call esi
mov ebx, eax
mov ecx, dword [edi + 0x4c]
test ecx, ecx
jne 0x497850
mov ecx, 0x54ee24
cmp dword [edi + 0x44], 0
mov dword [ebp + 8], 0
jle 0x497881
test ecx, ecx
je 0x497881
cmp word [ecx], 0
je 0x497881
mov eax, dword [edi + 0x40]
test eax, eax
jne 0x497873
mov eax, 0x54ee24
push eax
push 0
push str.Width
push ecx
call esi
mov dword [ebp + 8], eax
mov ecx, dword [edi + 0x4c]
test ecx, ecx
jne 0x49788d
mov ecx, 0x54ee24
xor esi, esi
cmp dword [edi + 0x44], esi
jle 0x4978ba
test ecx, ecx
je 0x4978ba
cmp word [ecx], si
je 0x4978ba
mov eax, dword [edi + 0x40]
test eax, eax
jne 0x4978a9
mov eax, 0x54ee24
push eax
push 0
push str.Height
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
push 0x80fc
lea eax, [ebp - 0x3c]
push eax
mov ecx, 0x5776a0
call fcn.00471480
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.00508010
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x4978f8
push eax
call fcn.0051ebab
add esp, 4
xor eax, eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
mov dword [edi + 0xa4c], 0
test eax, eax
jne 0x49790e
mov eax, 0x54ee24
mov ecx, dword [ebp + 8]
sub ebx, dword [edi + 0x13d4]
mov edx, dword [ebp + 0x14]
push esi
push ecx
push ebx
mov ebx, dword [ebp + 0x10]
push edx
push 0
push eax
mov eax, dword [ebp + 0xc]
push 0x17f6
push eax
lea ecx, [edi + 0x88c]
mov eax, 0x10000000
call fcn.0043b8a0
mov eax, edi
call fcn.00496630
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x49795b
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