Function at 0x401d10
Capabilities:
Delete file
Enumerate files on windows
Get common file path
Read .ini file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x403591
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x1184
call fcn.00403200
push edi
mov dword [ebp - 0x1190], ecx
push 0x3e9
mov ecx, dword [ebp - 0x1190]
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call fcn.00402e50
mov dword [ebp - 0x14], eax
mov ecx, 0x41
xor eax, eax
lea edi, [ebp - 0x224]
rep stosd dword es:[edi], eax
mov ecx, 0x41
xor eax, eax
lea edi, [ebp - 0x32c]
rep stosd dword es:[edi], eax
mov ecx, 0x41
xor eax, eax
lea edi, [ebp - 0x11c]
rep stosd dword es:[edi], eax
mov ecx, 0x41
xor eax, eax
lea edi, [ebp - 0x43c]
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x440]
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString_1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x334]
call sub.MFC42.DLL_CString::CString_1
mov byte [ebp - 4], 2
mov dword [ebp - 0x330], 1
mov eax, dword [ebp - 0x1190]
add eax, 0x1e8
push eax
push str._s_setup.ini
lea ecx, [ebp - 0x32c]
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
push str.JDVR
lea ecx, [ebp - 0x440]
call sub.MFC42.DLL_CString::operator_1
mov edx, 1
test edx, edx
je 0x401f2f
push str.FileCount
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::operator_1
lea eax, [ebp - 0x32c]
push eax
push 0x104
lea ecx, [ebp - 0x224]
push ecx
push 0
lea ecx, [ebp - 0x10]
call fcn.00402cd0
push eax
lea ecx, [ebp - 0x440]
call fcn.00402cd0
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0x224]
push edx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov dword [ebp - 0x444], eax
mov eax, dword [ebp - 0x330]
push eax
push str.File_d
lea ecx, [ebp - 0x10]
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea edx, [ebp - 0x32c]
push edx
push 0x104
lea eax, [ebp - 0x224]
push eax
push 0
lea ecx, [ebp - 0x10]
call fcn.00402cd0
push eax
lea ecx, [ebp - 0x440]
call fcn.00402cd0
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x224]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x401eb2
jmp 0x401f2f
lea edx, [ebp - 0x224]
push edx
mov eax, dword [ebp - 0x1190]
add eax, 0x1e8
push eax
push str._s_s
lea ecx, [ebp - 0x11c]
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
push 0x80
lea edx, [ebp - 0x11c]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp - 0x330]
imul eax, eax, 0x64
cdq
idiv dword [ebp - 0x444]
push eax
mov ecx, dword [ebp - 0x1190]
add ecx, 0xa0
call fcn.00402ef0
mov ecx, dword [ebp - 0x330]
add ecx, 1
mov dword [ebp - 0x330], ecx
jmp 0x401df7
push 0
push 0
lea edx, [ebp - 0x43c]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov eax, dword [ebp - 0x1190]
add eax, 0x2ec
push eax
lea ecx, [ebp - 0x43c]
push ecx
push str._s_s.lnk
lea edx, [ebp - 0x11c]
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
push 0x80
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0x11c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
push 0
lea edx, [ebp - 0x43c]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov eax, dword [ebp - 0x1190]
add eax, 0xe4
push eax
lea ecx, [ebp - 0x43c]
push ecx
push str._s_s
lea edx, [ebp - 0x11c]
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
push 0x80
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0x11c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
push 0x17
lea edx, [ebp - 0x43c]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov eax, dword [ebp - 0x1190]
add eax, 0x2ec
push eax
lea ecx, [ebp - 0x43c]
push ecx
push str._s_s
lea edx, [ebp - 0x11c]
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
lea eax, [ebp - 0x11c]
push eax
mov ecx, dword [ebp - 0x1190]
call fcn.004025e0
cmp dword [ebp - 0x14], 0
je 0x4024ad
mov ecx, dword [ebp - 0x1190]
add ecx, 0x1e8
push ecx
push str._sGroup.cfg
lea edx, [ebp - 0x98c]
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
mov dword [ebp - 0x448], 0xffffffff
lea eax, [ebp - 0x58c]
push eax
lea ecx, [ebp - 0x98c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x448], eax
cmp dword [ebp - 0x448], 0xffffffff
je 0x40211e
lea edx, [ebp - 0x560]
push edx
mov eax, dword [ebp - 0x1190]
add eax, 0x1e8
push eax
push str._s_s
lea ecx, [ebp - 0xd8c]
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
lea edx, [ebp - 0xd8c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x58c]
push eax
mov ecx, dword [ebp - 0x448]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x402111
lea edx, [ebp - 0x560]
push edx
mov eax, dword [ebp - 0x1190]
add eax, 0x1e8
push eax
push str._s_s
lea ecx, [ebp - 0xd8c]
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
lea edx, [ebp - 0xd8c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x4020c2
mov eax, dword [ebp - 0x448]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x1190]
add ecx, 0x1e8
push ecx
push str._sDecoder.cfg
lea edx, [ebp - 0x98c]
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea eax, [ebp - 0x58c]
push eax
lea ecx, [ebp - 0x98c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x448], eax
cmp dword [ebp - 0x448], 0xffffffff
je 0x4021f8
lea edx, [ebp - 0x560]
push edx
mov eax, dword [ebp - 0x1190]
add eax, 0x1e8
push eax
push str._s_s
lea ecx, [ebp - 0x118c]
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
lea edx, [ebp - 0x118c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x58c]
push eax
mov ecx, dword [ebp - 0x448]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x4021eb
lea edx, [ebp - 0x560]
push edx
mov eax, dword [ebp - 0x1190]
add eax, 0x1e8
push eax
push str._s_s
lea ecx, [ebp - 0x118c]
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
lea edx, [ebp - 0x118c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x40219c
mov eax, dword [ebp - 0x448]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x1190]
add ecx, 0x1e8
push ecx
push str._syst_fast.dat
lea edx, [ebp - 0x11c]
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 0x1190]
add ecx, 0x1e8
push ecx
push str._syst_home.dat
lea edx, [ebp - 0x11c]
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 0x1190]
add ecx, 0x1e8
push ecx
push str._sInit.ini
lea edx, [ebp - 0x11c]
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 0x1190]
add ecx, 0x1e8
push ecx
push str._s_realtime.ini
lea edx, [ebp - 0x11c]
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 0x1190]
add ecx, 0x1e8
push ecx
push str._sJdvrCfg.ini
lea edx, [ebp - 0x11c]
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 0x1190]
add ecx, 0x1e8
push ecx
push str._sJdvrUser.dat
lea edx, [ebp - 0x11c]
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 0x1190]
add ecx, 0x1e8
push ecx
push str._supdate.set
lea edx, [ebp - 0x11c]
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 0x1190]
add ecx, 0x1e8
push ecx
push str._syst.dat
lea edx, [ebp - 0x11c]
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 0x1190]
add ecx, 0x1e8
push ecx
push str._sDriverjvm
lea edx, [ebp - 0x11c]
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea eax, [ebp - 0x11c]
push eax
mov ecx, dword [ebp - 0x1190]
call fcn.004025e0
mov ecx, dword [ebp - 0x1190]
add ecx, 0x1e8
push ecx
push str._sSysLogs
lea edx, [ebp - 0x11c]
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea eax, [ebp - 0x11c]
push eax
mov ecx, dword [ebp - 0x1190]
call fcn.004025e0
mov ecx, dword [ebp - 0x1190]
add ecx, 0x1e8
push ecx
push str._sDriver
lea edx, [ebp - 0x11c]
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea eax, [ebp - 0x11c]
push eax
mov ecx, dword [ebp - 0x1190]
call fcn.004025e0
mov ecx, dword [ebp - 0x1190]
add ecx, 0x1e8
push ecx
push str._sEmap
lea edx, [ebp - 0x11c]
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea eax, [ebp - 0x11c]
push eax
mov ecx, dword [ebp - 0x1190]
call fcn.004025e0
mov ecx, dword [ebp - 0x1190]
add ecx, 0x1e8
push ecx
push str._spic
lea edx, [ebp - 0x11c]
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea eax, [ebp - 0x11c]
push eax
mov ecx, dword [ebp - 0x1190]
call fcn.004025e0
mov ecx, dword [ebp - 0x1190]
add ecx, 0x1e8
push ecx
push str._s_Temp
lea edx, [ebp - 0x11c]
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea eax, [ebp - 0x11c]
push eax
mov ecx, dword [ebp - 0x1190]
call fcn.004025e0
jmp 0x40257d
mov ecx, dword [ebp - 0x1190]
add ecx, 0x1e8
push ecx
push str._sDriver
lea edx, [ebp - 0x11c]
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea eax, [ebp - 0x11c]
push eax
mov ecx, dword [ebp - 0x1190]
call fcn.004025e0
mov ecx, dword [ebp - 0x1190]
add ecx, 0x1e8
push ecx
push str._sEmap
lea edx, [ebp - 0x11c]
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea eax, [ebp - 0x11c]
push eax
mov ecx, dword [ebp - 0x1190]
call fcn.004025e0
mov ecx, dword [ebp - 0x1190]
add ecx, 0x1e8
push ecx
push str._spic
lea edx, [ebp - 0x11c]
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea eax, [ebp - 0x11c]
push eax
mov ecx, dword [ebp - 0x1190]
call fcn.004025e0
mov ecx, dword [ebp - 0x1190]
add ecx, 0x1e8
push ecx
push str._s_Temp
lea edx, [ebp - 0x11c]
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea eax, [ebp - 0x11c]
push eax
mov ecx, dword [ebp - 0x1190]
call fcn.004025e0
push 0x64
mov ecx, dword [ebp - 0x1190]
add ecx, 0xa0
call fcn.00402ef0
push 0
push 0x40
push 0x4050b8
call sub.MFC42.DLL_AfxMessageBox
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x334]
call fcn.004030f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004030f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x440]
call fcn.004030f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret