Function at 0x40f3c3
Capabilities:
Read .ini file

Disassembly:
push 0x280
mov eax, 0x56925a
call fcn.0053cd89
mov eax, dword [ebp + 8]
mov dword [ebp - 0x27c], eax
mov ebx, ecx
and dword [ebp - 4], 0
push 0x2f
mov esi, str...COMMONDeviceManager.cpp
push esi
call fcn.005385d0
pop ecx
pop ecx
test eax, eax
je 0x40f3f8
push 0x2f
jmp 0x40f408
push 0x5c
push esi
call fcn.005385d0
pop ecx
pop ecx
test eax, eax
je 0x40f413
push 0x5c
push esi
call fcn.005385d0
pop ecx
pop ecx
inc eax
jmp 0x40f415
mov eax, esi
push 1
push 0x7d
push eax
lea esi, [ebp - 0x26c]
call fcn.00404b3c
push str.Retrieving_scanner_info:
push 0
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.00404c1a
mov edi, eax
call fcn.0040cbfa
pop ecx
mov ecx, esi
mov byte [ebp - 4], 0
call fcn.00404ba8
xor esi, esi
inc esi
mov dword [ebp - 0x278], esi
call fcn.00437969
push eax
lea ecx, [ebp - 0x288]
call fcn.00402738
mov byte [ebp - 4], 2
call fcn.00437969
push eax
lea ecx, [ebp - 0x280]
call fcn.00402738
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 3
call fcn.004024a4
lea ecx, [ebp - 0x280]
call fcn.0040febf
mov ecx, dword [ebp - 0x27c]
lea eax, [ebp - 0x288]
push eax
push dword [ebp - 0x280]
add ecx, 0x50
call fcn.00439f4b
test eax, eax
je 0x40f53d
lea esi, [ebp - 0x24c]
call fcn.0042c314
lea eax, [ebp - 0x288]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x22c]
mov dword [ebp - 0x244], 0xffff
mov dword [ebp - 0x240], 5
call fcn.004024a4
and dword [ebp - 0x23c], 0
mov eax, esi
mov esi, ebx
call fcn.0040fa4f
lea ecx, [ebp - 0x24c]
call fcn.0042c38c
xor esi, esi
mov ecx, dword [ebp - 0x280]
add ecx, 0xfffffff0
call fcn.00402760
mov ecx, dword [ebp - 0x288]
add ecx, 0xfffffff0
call fcn.00402760
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00402760
mov eax, esi
call fcn.0053ce0c
ret 0xc
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
cmp byte [ebp + 0x10], 0
je 0x40f93e
push eax
call fcn.00402446
lea edi, [eax + 0x10]
pop ecx
mov dword [ebp - 0x274], edi
mov byte [ebp - 4], 5
xor eax, eax
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], 4
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], eax
cmp dword [edi - 0xc], eax
jne 0x40f58d
lea ecx, [edi - 0x10]
call fcn.00402760
mov eax, esi
jmp 0x40f937
call fcn.00437969
push eax
lea ecx, [ebp - 0x270]
call fcn.00402738
lea esi, [ebp - 0x278]
mov byte [ebp - 4], 6
call fcn.004125a0
push eax
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 7
call fcn.004024a4
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x278]
add ecx, 0xfffffff0
call fcn.00402760
push dword [ebp - 0x270]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
and dword [ebp - 0x278], 0
push 0
push 0x59dec4
push edi
call esi
push dword [ebp - 0x270]
mov dword [ebp - 0x27c], eax
push 1
push str.CacheVersion
push edi
call esi
cmp dword [ebp - 0x27c], 0
je 0x40f7d3
cmp eax, 3
jl 0x40f7d3
push 0x2f
mov esi, str...COMMONScannerInfo.cpp
push esi
call fcn.005385d0
pop ecx
pop ecx
test eax, eax
je 0x40f62f
push 0x2f
jmp 0x40f63f
push 0x5c
push esi
call fcn.005385d0
pop ecx
pop ecx
test eax, eax
je 0x40f64a
push 0x5c
push esi
call fcn.005385d0
pop ecx
pop ecx
inc eax
jmp 0x40f64c
mov eax, esi
push 1
push 0xda
push eax
lea esi, [ebp - 0x26c]
call fcn.00404b3c
push str.Cache_hits.
push 0
mov ecx, eax
mov byte [ebp - 4], 0xb
call fcn.00404c1a
mov edi, eax
call fcn.004027b4
pop ecx
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.00404ba8
lea eax, [ebp - 0x274]
push eax
lea ecx, [ebx + 0x20]
call fcn.004024a4
mov edi, dword [ebp - 0x270]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push edi
push 0
push str.ModelID
push dword [ebp - 0x274]
call esi
push edi
push 0
push str.ScannerType
push dword [ebp - 0x274]
mov dword [ebx + 8], eax
call esi
push edi
push 0
push str.ButtonNum
push dword [ebp - 0x274]
mov dword [ebx + 0xc], eax
call esi
push edi
push 0
push str.ModelDependency
push dword [ebp - 0x274]
mov dword [ebx + 0x10], eax
call esi
push edi
push 0
push str.EPSSetting
push dword [ebp - 0x274]
mov dword [ebx + 0x14], eax
call esi
mov dword [ebx + 0x18], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
call fcn.00538410
add esp, 0xc
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0x104
lea eax, [ebp - 0x21c]
push eax
push 0x599080
push str.ShortTranslation
push dword [ebp - 0x274]
call edi
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebx + 0x24]
call fcn.0040234c
push dword [ebp - 0x270]
lea eax, [ebp - 0x21c]
push 0x104
push eax
push 0x599080
push str.DeviceSettingAlias
push dword [ebp - 0x274]
call edi
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebx + 0x28]
call fcn.0040234c
push dword [ebp - 0x270]
lea eax, [ebp - 0x21c]
push 0x104
push eax
push 0x599080
push str.DevInfAlias
push dword [ebp - 0x274]
call edi
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebx + 0x2c]
call fcn.0040234c
push dword [ebp - 0x270]
push 0
push str.ModifiedEvent
push dword [ebp - 0x274]
call esi
mov dword [ebx + 0x1c], eax
jmp 0x40f919
push ecx
mov dword [ebp - 0x284], esp
add edi, 0xfffffff0
mov dword [ebp - 0x284], esp
push edi
lea esi, [ebp - 0x278]
mov dword [ebp - 0x27c], edi
call fcn.00402446
pop ecx
mov ecx, dword [ebp - 0x284]
add eax, 0x10
mov edi, esi
mov dword [ecx], eax
call fcn.00436cf7
pop ecx
test eax, eax
je 0x40f84b
mov ecx, dword [ebp - 0x270]
add ecx, 0xfffffff0
cmp eax, 4
jne 0x40f833
call fcn.00402760
mov ecx, dword [ebp - 0x27c]
call fcn.00402760
push 4
pop eax
jmp 0x40f937
call fcn.00402760
mov ecx, dword [ebp - 0x27c]
call fcn.00402760
xor eax, eax
inc eax
jmp 0x40f937
push ecx
mov ecx, esp
mov dword [ebp - 0x284], esp
push 0x599080
call fcn.00402372
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x270]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x28c], esp
mov edi, esp
push eax
call fcn.00402446
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 9
mov edi, dword [ebp - 0x278]
mov dword [ebp - 0x278], esp
mov esi, esp
push dword [ebp - 0x27c]
call fcn.00402446
add eax, 0x10
pop ecx
mov dword [esi], eax
mov ecx, edi
mov byte [ebp - 4], 6
call fcn.0042c5fe
push 0x2f
mov esi, str...COMMONScannerInfo.cpp
push esi
call fcn.005385d0
pop ecx
pop ecx
test eax, eax
je 0x40f8c4
push 0x2f
jmp 0x40f8d4
push 0x5c
push esi
call fcn.005385d0
pop ecx
pop ecx
test eax, eax
je 0x40f8df
push 0x5c
push esi
call fcn.005385d0
pop ecx
pop ecx
inc eax
jmp 0x40f8e1
mov eax, esi
push 1
push 0xd6
push eax
lea esi, [ebp - 0x26c]
call fcn.00404b3c
push str.Cache_no_hits.
push 0
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.00404c1a
mov edi, eax
call fcn.004027b4
pop ecx
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.00404ba8
mov ecx, dword [ebp - 0x270]
add ecx, 0xfffffff0
call fcn.00402760
mov ecx, dword [ebp - 0x274]
add ecx, 0xfffffff0
call fcn.00402760
xor eax, eax
mov esi, eax
jmp 0x40f50c
push ecx
mov dword [ebp - 0x28c], esp
mov esi, esp
push eax
call fcn.00402446
add eax, 0x10
mov dword [esi], eax
pop ecx
mov esi, ebx
call fcn.0042c500
xor edi, edi
cmp eax, edi
je 0x40f97d
push 0x2f
mov esi, str...COMMONDeviceManager.cpp
push esi
mov dword [ebp - 0x278], edi
call fcn.005385d0
pop ecx
pop ecx
test eax, eax
je 0x40f9ea
push 0x2f
jmp 0x40f9fa
push 0x2f
mov esi, str...COMMONDeviceManager.cpp
push esi
call fcn.005385d0
pop ecx
pop ecx
test eax, eax
je 0x40f994
push 0x2f
jmp 0x40f9a4
push 0x5c
push esi
call fcn.005385d0
pop ecx
pop ecx
test eax, eax
je 0x40f9af
push 0x5c
push esi
call fcn.005385d0
pop ecx
pop ecx
inc eax
jmp 0x40f9b1
mov eax, esi
push 1
push 0xa0
push eax
lea esi, [ebp - 0x26c]
call fcn.00404b3c
push str.__Failed_scanner_info:
push edi
mov ecx, eax
mov byte [ebp - 4], 0xc
call fcn.00404c1a
mov edi, eax
call fcn.0040cbfa
pop ecx
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.00404ba8
jmp 0x40fa44
push 0x5c
push esi
call fcn.005385d0
pop ecx
pop ecx
test eax, eax
je 0x40fa05
push 0x5c
push esi
call fcn.005385d0
pop ecx
pop ecx
inc eax
jmp 0x40fa07
mov eax, esi
push 1
push 0xa2
push eax
lea esi, [ebp - 0x26c]
call fcn.00404b3c
push str.__Succeeded_scanner_info:
push edi
mov ecx, eax
mov byte [ebp - 4], 0xd
call fcn.00404c1a
mov edi, eax
call fcn.0040cbfa
pop ecx
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.00404ba8
push ebx
call fcn.0042c9de
mov esi, dword [ebp - 0x278]
jmp 0x40f50c