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

Disassembly:
push 0x6cc
mov eax, 0x5560c6
call fcn.0052faf2
mov esi, ecx
push 0xa
lea ecx, [ebp - 0x694]
call fcn.0042c48a
lea eax, [ebp - 0x694]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.0040d42a
test eax, eax
je 0x40feaf
mov esi, dword [esi + 0xc]
call fcn.0042b589
push eax
lea ecx, [ebp - 0x644]
call fcn.0040217f
push esi
mov esi, 0x58837c
lea eax, [ebp - 0x644]
push esi
push eax
mov byte [ebp - 4], 1
call fcn.004034f1
add esp, 0xc
lea edi, [ebp - 0x634]
call fcn.00409aef
push dword [eax]
push ebx
push dword [ebp - 0x644]
push str.WatchFolder2
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 0x634]
add ecx, 0xfffffff0
mov edi, eax
call fcn.004021a7
cmp edi, ebx
je 0x40fea1
push 1
push 0x1a
lea eax, [ebp - 0x628]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
call fcn.0042b589
push eax
lea ecx, [ebp - 0x63c]
call fcn.0040217f
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x63c]
push str._sEpsonDocument_CaptureMonitorFolder2AppInfo1
push eax
mov byte [ebp - 4], 2
call fcn.004034f1
lea eax, [ebp - 0x648]
push edi
push eax
lea ecx, [ebp - 0x63c]
call fcn.0041aef6
add esp, 0x14
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 ebx
push 0x589fb4
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
call fcn.0042b589
push eax
lea ecx, [ebp - 0x638]
call fcn.0040217f
mov byte [ebp - 4], 4
push dword [ebp - 0x688]
lea eax, [ebp - 0x638]
push esi
push eax
call fcn.004034f1
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x589fbc
push 0x589fc0
push str.DCU_MonitorFolder
call edi
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x638]
mov ebx, str.FileList
push str.count
push ebx
call edi
call fcn.0042b589
push eax
lea ecx, [ebp - 0x640]
call fcn.0040217f
mov byte [ebp - 4], 5
mov esi, dword [ebp - 0x690]
and dword [ebp - 0x62c], 0
jmp 0x40fc4f
mov eax, esi
test esi, esi
je 0x40fec4
mov eax, dword [eax + 8]
mov esi, dword [esi]
sub eax, 0x10
push eax
call fcn.00401e83
add eax, 0x10
mov dword [ebp - 0x630], eax
mov byte [ebp - 4], 6
push dword [ebp - 0x62c]
lea eax, [ebp - 0x640]
push str.file_04d
push eax
call fcn.004034f1
add esp, 0x10
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x630]
push dword [ebp - 0x640]
push ebx
call edi
inc dword [ebp - 0x62c]
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x630]
add ecx, 0xfffffff0
call fcn.004021a7
test esi, esi
jne 0x40fbe2
lea ebx, [ebp - 0x634]
call fcn.0041833e
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x648]
xor ebx, ebx
cmp dword [eax - 0xc], ebx
jle 0x40fe5b
mov edi, 0x588acc
push edi
lea ecx, [ebp - 0x650]
call fcn.004070b3
push str.___FileList:
lea ecx, [ebp - 0x654]
mov byte [ebp - 4], 8
call fcn.004070b3
push edi
lea ecx, [ebp - 0x62c]
mov byte [ebp - 4], 9
call fcn.004070b3
push str.__MJ___PF:
lea ecx, [ebp - 0x630]
mov byte [ebp - 4], 0xa
call fcn.004070b3
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x664]
mov byte [ebp - 4], 0xb
call fcn.00401daf
mov esi, eax
lea eax, [ebp - 0x648]
push eax
lea eax, [ebp - 0x630]
push eax
lea eax, [ebp - 0x65c]
push eax
mov byte [ebp - 4], 0xc
call fcn.00401680
lea ecx, [ebp - 0x62c]
push ecx
push eax
lea eax, [ebp - 0x658]
push eax
mov byte [ebp - 4], 0xd
call fcn.00401680
lea ecx, [ebp - 0x654]
push ecx
push eax
lea eax, [ebp - 0x668]
push eax
mov byte [ebp - 4], 0xe
call fcn.00401680
push esi
push eax
lea eax, [ebp - 0x660]
push eax
mov byte [ebp - 4], 0xf
call fcn.00401680
lea ecx, [ebp - 0x650]
push ecx
push eax
lea eax, [ebp - 0x64c]
push eax
mov byte [ebp - 4], 0x10
call fcn.00401680
mov ecx, dword [ebp - 0x660]
add esp, 0x3c
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, dword [ebp - 0x668]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, dword [ebp - 0x658]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, dword [ebp - 0x65c]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, dword [ebp - 0x664]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, dword [ebp - 0x630]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, dword [ebp - 0x62c]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, dword [ebp - 0x654]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, dword [ebp - 0x650]
add ecx, 0xfffffff0
call fcn.004021a7
push 0x40
lea eax, [ebp - 0x6d4]
push ebx
push eax
call fcn.0052bfd0
push dword [ebp - 0x64c]
mov dword [ebp - 0x678], ebx
xor eax, eax
lea edi, [ebp - 0x674]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x6d8], 0x44
call fcn.0052cd58
add esp, 0x10
mov esi, eax
lea eax, [ebp - 0x678]
push eax
lea eax, [ebp - 0x6d8]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push esi
push dword [ebp - 0x634]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push dword [ebp - 0x678]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [ebp - 0x674]
call edi
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call fcn.0052b484
pop ecx
mov ecx, dword [ebp - 0x64c]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, dword [ebp - 0x634]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, dword [ebp - 0x640]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, dword [ebp - 0x638]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, dword [ebp - 0x648]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, dword [ebp - 0x63c]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, dword [ebp - 0x644]
add ecx, 0xfffffff0
call fcn.004021a7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x694]
call fcn.0042c5b8
call fcn.0052fb75
ret
call fcn.0042c2ad
int3