Function at 0x406b07
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x43078c
call fcn.00411dd0
sub esp, 0x188
push ebx
push esi
push edi
mov esi, ecx
push 0x3ef
call fcn.0042416e
lea ecx, [ebp - 0x50]
push ecx
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x50]
mov ecx, esi
push eax
call fcn.00427bed
call fcn.0042c9d7
mov eax, dword [eax + 4]
xor ecx, ecx
cmp dword [eax + 0x1c8], ecx
je 0x406dad
cmp dword [0x441c10], ecx
mov dword [ebp - 0x14], ecx
mov ebx, 0xf0
jle 0x406d61
mov dword [ebp - 0x10], 0x64
mov dword [ebp - 0x18], 0x43ffae
jmp 0x406b7a
xor ecx, ecx
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x1a]
cmp eax, 0xa
ja case.default.0x406b89
jmp dword [eax*4 + 0x4070de]
call fcn.00405fd3
add eax, ebx
jmp 0x406bf4
call fcn.00405fd3
add eax, 0x1f4
jmp 0x406bf4
call fcn.00405fd3
add eax, 0x1f4
push eax
lea eax, [ebp - 0x154]
push eax
call fcn.00411df0
push str.Drivers
jmp 0x406c90
call fcn.00405fd3
add eax, 0x3fc
jmp 0x406bf4
push str.lifeview.ini
lea eax, [ebp - 0x194]
push 0x40
push eax
mov eax, str.DestPath
push ecx
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x194]
push eax
lea eax, [ebp - 0x154]
push eax
call fcn.00411df0
pop ecx
pop ecx
jmp case.default.0x406b89
call fcn.00405fd3
add eax, ebx
push eax
lea eax, [ebp - 0x154]
push eax
call fcn.00411df0
push str.TWAIN_32
jmp 0x406c90
call fcn.00405fd3
add eax, ebx
push eax
lea eax, [ebp - 0x154]
push eax
call fcn.00411df0
push str.TWAIN_32OVTUSB
jmp 0x406c90
call fcn.00405fd3
add eax, 0x3fc
push eax
lea eax, [ebp - 0x154]
push eax
call fcn.00411df0
push str.Other
jmp 0x406c90
call fcn.00405fd3
add eax, ebx
push eax
lea eax, [ebp - 0x154]
push eax
call fcn.00411df0
push str.Ovtcam
jmp 0x406c90
call fcn.00405fd3
add eax, ebx
push eax
lea eax, [ebp - 0x154]
push eax
call fcn.00411df0
push str.TWAIN_32LV
lea eax, [ebp - 0x154]
push eax
call fcn.00411e00
add esp, 0x10
push 0x44929c
lea ecx, [ebp - 0x1c]
call fcn.00424cf8
push eax
lea eax, [ebp - 0x154]
push eax
lea eax, [ebp - 0x20]
xor edi, edi
push eax
mov dword [ebp - 4], edi
call fcn.00424f93
push dword [ebp - 0x18]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00424f1f
push dword [eax]
call fcn.0041216b
pop ecx
lea ecx, [ebp - 0x24]
call fcn.00424c8a
and byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00424c8a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00424c8a
mov eax, dword [ebp - 0x10]
xor edx, edx
div dword [0x441c10]
push 1
mov dword [esi + 0x90], eax
lea eax, [ebp - 0x50]
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_InvalidateRect]
push 1
push edi
push edi
lea eax, [ebp - 0x40]
push edi
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x406d44
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x406d1b
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
add dword [ebp - 0x10], 0x64
add dword [ebp - 0x18], 0x80
cmp eax, dword [0x441c10]
jl 0x406b78
push 0x449bd8
lea ecx, [ebp - 0x20]
call fcn.00424cf8
push eax
lea eax, [ebp - 0x1c]
push dword [ebp - 0x194]
mov dword [ebp - 4], 2
push eax
call fcn.0041f822
push dword [eax]
call fcn.00411f36
pop ecx
lea ecx, [ebp - 0x1c]
call fcn.00424c8a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00424c8a
lea eax, [ebp - 0x194]
push eax
jmp 0x406fee
cmp dword [0x443b98], ecx
mov dword [ebp - 0x10], ecx
mov ebx, 0xf0
jle 0x406fa0
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
mov dword [ebp - 0x14], 0x64
mov dword [ebp - 0x18], str.LifeViewUSB_CAM.INF
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x1a]
cmp eax, 0xa
ja case.default.0x406de4
jmp dword [eax*4 + 0x40710a]
call fcn.00405fd3
add eax, ebx
push eax
jmp 0x406e34
call fcn.00405fd3
add eax, 0x1f4
jmp 0x406df2
call fcn.00405fd3
add eax, 0x1f4
push eax
lea eax, [ebp - 0x154]
push eax
call fcn.00411df0
push str.32Drivers
jmp 0x406ecf
call fcn.00405fd3
add eax, 0x3fc
jmp 0x406df2
push dword [esi + 0x8c]
lea eax, [ebp - 0x154]
push eax
call fcn.00411df0
pop ecx
pop ecx
jmp case.default.0x406de4
call fcn.00405fd3
add eax, ebx
push eax
lea eax, [ebp - 0x154]
push eax
call fcn.00411df0
push str.TWAIN_32
jmp 0x406ecf
call fcn.00405fd3
add eax, ebx
push eax
lea eax, [ebp - 0x154]
push eax
call fcn.00411df0
push str.TWAIN_32OVTUSB
jmp 0x406ecf
call fcn.00405fd3
add eax, 0x3fc
push eax
lea eax, [ebp - 0x154]
push eax
call fcn.00411df0
push str.Other
jmp 0x406ecf
call fcn.00405fd3
add eax, ebx
push eax
lea eax, [ebp - 0x154]
push eax
call fcn.00411df0
push str.Ovtcam
jmp 0x406ecf
call fcn.00405fd3
add eax, ebx
push eax
lea eax, [ebp - 0x154]
push eax
call fcn.00411df0
push str.TWAIN_32LV
lea eax, [ebp - 0x154]
push eax
call fcn.00411e00
add esp, 0x10
push 0x44929c
lea ecx, [ebp - 0x24]
call fcn.00424cf8
push eax
lea eax, [ebp - 0x154]
push eax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 4], 3
call fcn.00424f93
push dword [ebp - 0x18]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00424f1f
push dword [eax]
call fcn.0041216b
pop ecx
lea ecx, [ebp - 0x1c]
call fcn.00424c8a
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.00424c8a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00424c8a
mov eax, dword [ebp - 0x14]
xor edx, edx
div dword [0x443b98]
push 1
mov dword [esi + 0x90], eax
lea eax, [ebp - 0x50]
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_InvalidateRect]
xor eax, eax
push 1
push eax
push eax
push eax
lea eax, [ebp - 0x40]
push eax
call edi
test eax, eax
je 0x406f83
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x406f5c
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
add dword [ebp - 0x14], 0x64
add dword [ebp - 0x18], 0x80
cmp eax, dword [0x443b98]
jl 0x406dd5
push 0x449bd8
lea ecx, [ebp - 0x10]
call fcn.00424cf8
mov ecx, dword [esi + 0x8c]
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 5
mov cl, byte [ecx]
mov byte [ebp - 0x1c], cl
push dword [ebp - 0x1c]
push eax
call fcn.0041f822
push dword [eax]
call fcn.00411f36
pop ecx
lea ecx, [ebp - 0x14]
call fcn.00424c8a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00424c8a
push dword [esi + 0x8c]
call fcn.00411f0c
pop ecx
call fcn.00405fd3
add eax, ebx
push eax
lea eax, [ebp - 0x154]
push eax
call fcn.00411df0
lea eax, [ebp - 0x154]
push str.Ovtcam
push eax
call fcn.00411e00
mov edi, 0x43f0f4
push edi
call fcn.00411f36
lea eax, [ebp - 0x154]
push eax
call fcn.00411f0c
add esp, 0x18
call fcn.00405fd3
add eax, ebx
push eax
lea eax, [ebp - 0x154]
push eax
call fcn.00411df0
lea eax, [ebp - 0x154]
push str.TWAIN_32OMCAM
push eax
call fcn.00411e00
push edi
call fcn.00411f36
lea eax, [ebp - 0x154]
push eax
call fcn.00411f0c
add esp, 0x18
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0x44c274
call fcn.00424cf8
or dword [ebp - 4], 0xffffffff
call fcn.00405fd3
mov ecx, eax
call fcn.004029f6
mov ecx, esi
call fcn.00407136
push 5
push 0x3f6
mov ecx, esi
call fcn.0042416e
mov ecx, eax
call fcn.0042435f
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.004218e8
push 5
push 0x3024
mov ecx, eax
call fcn.0042416e
mov ecx, eax
call fcn.0042435f
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret