Function at 0x40e0a2
Capabilities:
Create process on windows
Get common file path
Read .ini file

Disassembly:
push 0x6d4
mov eax, 0x46c23b
call fcn.004517f7
mov edi, ecx
push 0xa
lea ecx, [ebp - 0x694]
call fcn.0042ada0
lea eax, [ebp - 0x694]
xor esi, esi
push eax
mov ecx, edi
mov dword [ebp - 4], esi
call fcn.0040b8b1
test eax, eax
je 0x40e52e
mov edi, dword [edi + 0xc]
call fcn.0042a8d7
push eax
lea ecx, [ebp - 0x648]
call fcn.00402773
push edi
mov ebx, 0x477a1c
lea eax, [ebp - 0x648]
push ebx
push eax
mov byte [ebp - 4], 1
call fcn.0040314f
add esp, 0xc
lea edi, [ebp - 0x638]
call fcn.00408353
push dword [eax]
push esi
push dword [ebp - 0x648]
push str.WatchFolder2
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 0x638]
add ecx, 0xfffffff0
mov edi, eax
call fcn.0040285d
cmp edi, esi
je 0x40e520
push 1
push 0x1a
lea eax, [ebp - 0x628]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
call fcn.0042a8d7
push eax
lea ecx, [ebp - 0x64c]
call fcn.00402773
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x64c]
push str._sEpsonDocument_CaptureMonitorFolder2AppInfo1
push eax
mov byte [ebp - 4], 2
call fcn.0040314f
add esp, 0xc
lea eax, [ebp - 0x63c]
push edi
push eax
lea ecx, [ebp - 0x64c]
call fcn.00419246
pop ecx
pop ecx
lea eax, [ebp - 0x420]
push eax
push 0x104
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x218]
push eax
push esi
push 0x47957c
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
call fcn.0042a8d7
push eax
lea ecx, [ebp - 0x644]
call fcn.00402773
mov byte [ebp - 4], 4
push dword [ebp - 0x688]
lea eax, [ebp - 0x644]
push ebx
push eax
call fcn.0040314f
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x479584
push 0x479588
push str.DCU_MonitorFolder
call edi
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x644]
mov ebx, str.FileList
push str.count
push ebx
call edi
call fcn.0042a8d7
push eax
lea ecx, [ebp - 0x640]
call fcn.00402773
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x690]
mov dword [ebp - 0x630], eax
mov dword [ebp - 0x62c], esi
cmp eax, esi
je 0x40e2c7
lea eax, [ebp - 0x630]
push eax
lea ecx, [ebp - 0x694]
call fcn.00407341
push eax
lea ecx, [ebp - 0x634]
call fcn.0040283c
mov byte [ebp - 4], 6
push dword [ebp - 0x62c]
lea eax, [ebp - 0x640]
push str.file_04d
push eax
call fcn.0040314f
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x634]
push dword [ebp - 0x640]
push ebx
call edi
inc dword [ebp - 0x62c]
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x634]
add ecx, 0xfffffff0
call fcn.0040285d
cmp dword [ebp - 0x630], esi
jne 0x40e255
lea ebx, [ebp - 0x638]
call fcn.0041656f
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x63c]
cmp dword [eax - 0xc], esi
jle 0x40e4da
mov edi, 0x47814c
push edi
lea ecx, [ebp - 0x654]
call fcn.00406a1b
push str.___FileList:
lea ecx, [ebp - 0x62c]
mov byte [ebp - 4], 8
call fcn.00406a1b
push edi
lea ecx, [ebp - 0x634]
mov byte [ebp - 4], 9
call fcn.00406a1b
push str.__MJ___PF:
lea ecx, [ebp - 0x630]
mov byte [ebp - 4], 0xa
call fcn.00406a1b
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x664]
mov byte [ebp - 4], 0xb
call fcn.004024c3
mov edi, eax
lea eax, [ebp - 0x63c]
push eax
lea eax, [ebp - 0x630]
push eax
lea eax, [ebp - 0x658]
push eax
mov byte [ebp - 4], 0xc
call fcn.00406973
add esp, 0xc
lea ecx, [ebp - 0x634]
push ecx
push eax
lea eax, [ebp - 0x660]
push eax
mov byte [ebp - 4], 0xd
call fcn.00406973
add esp, 0xc
lea ecx, [ebp - 0x62c]
push ecx
push eax
lea eax, [ebp - 0x668]
push eax
mov byte [ebp - 4], 0xe
call fcn.00406973
add esp, 0xc
push edi
push eax
lea eax, [ebp - 0x65c]
push eax
mov byte [ebp - 4], 0xf
call fcn.00406973
add esp, 0xc
lea ecx, [ebp - 0x654]
push ecx
push eax
lea eax, [ebp - 0x650]
push eax
mov byte [ebp - 4], 0x10
call fcn.00406973
mov ecx, dword [ebp - 0x65c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040285d
mov ecx, dword [ebp - 0x668]
add ecx, 0xfffffff0
call fcn.0040285d
mov ecx, dword [ebp - 0x660]
add ecx, 0xfffffff0
call fcn.0040285d
mov ecx, dword [ebp - 0x658]
add ecx, 0xfffffff0
call fcn.0040285d
mov ecx, dword [ebp - 0x664]
add ecx, 0xfffffff0
call fcn.0040285d
mov ecx, dword [ebp - 0x630]
add ecx, 0xfffffff0
call fcn.0040285d
mov ecx, dword [ebp - 0x634]
add ecx, 0xfffffff0
call fcn.0040285d
mov ecx, dword [ebp - 0x62c]
add ecx, 0xfffffff0
call fcn.0040285d
mov ecx, dword [ebp - 0x654]
add ecx, 0xfffffff0
call fcn.0040285d
push 0x40
lea eax, [ebp - 0x6dc]
push esi
push eax
call fcn.0044de40
mov dword [ebp - 0x678], esi
xor eax, eax
lea edi, [ebp - 0x674]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
push dword [ebp - 0x650]
stosd dword es:[edi], eax
mov dword [ebp - 0x6e0], 0x44
call fcn.0044e885
pop ecx
mov edi, eax
lea eax, [ebp - 0x678]
push eax
lea eax, [ebp - 0x6e0]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push edi
push dword [ebp - 0x638]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push dword [ebp - 0x678]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x674]
call esi
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
call fcn.0044dba4
pop ecx
mov ecx, dword [ebp - 0x650]
add ecx, 0xfffffff0
call fcn.0040285d
mov ecx, dword [ebp - 0x638]
add ecx, 0xfffffff0
call fcn.0040285d
mov ecx, dword [ebp - 0x640]
add ecx, 0xfffffff0
call fcn.0040285d
mov ecx, dword [ebp - 0x644]
add ecx, 0xfffffff0
call fcn.0040285d
mov ecx, dword [ebp - 0x63c]
add ecx, 0xfffffff0
call fcn.0040285d
mov ecx, dword [ebp - 0x64c]
add ecx, 0xfffffff0
call fcn.0040285d
mov ecx, dword [ebp - 0x648]
add ecx, 0xfffffff0
call fcn.0040285d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x694]
call fcn.0042aef0
call fcn.0045187a
ret