Function at 0x4025c9
Capabilities:
Delete file
Enumerate files on windows
Get file attributes
Set file attributes

Disassembly:
push 0x470
mov eax, 0x4bbc07
call fcn.004180a8
mov ecx, dword [ebp + 8]
xor ebx, ebx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x470], eax
lea eax, [ebp - 0x218]
push ecx
push eax
mov dword [ebp - 0x478], ecx
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy]
mov edi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
mov esi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat]
pop ecx
pop ecx
cmp word [ebp - 0x218], bx
je 0x40264f
lea eax, [ebp - 0x218]
push eax
call edi
pop ecx
push 0x5c
pop ecx
cmp word [ebp + eax*2 - 0x21a], cx
je 0x40264f
lea eax, [ebp - 0x218]
push eax
call edi
pop ecx
push 0x2f
pop ecx
cmp word [ebp + eax*2 - 0x21a], cx
je 0x40264f
lea eax, [ebp - 0x218]
push 0x4d3d70
push eax
call esi
pop ecx
pop ecx
push dword [ebp - 0x470]
lea eax, [ebp - 0x218]
push eax
call esi
pop ecx
pop ecx
lea eax, [ebp - 0x468]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x474], eax
cmp eax, 0xffffffff
jne 0x402686
xor eax, eax
jmp 0x4027eb
push dword [ebp - 0x478]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy]
cmp word [ebp - 0x218], 0
pop ecx
pop ecx
je 0x4026e3
lea eax, [ebp - 0x218]
push eax
call edi
pop ecx
push 0x5c
pop ecx
cmp word [ebp + eax*2 - 0x21a], cx
je 0x4026e3
lea eax, [ebp - 0x218]
push eax
call edi
pop ecx
push 0x2f
pop ecx
cmp word [ebp + eax*2 - 0x21a], cx
je 0x4026e3
lea eax, [ebp - 0x218]
push 0x4d3d70
push eax
call esi
pop ecx
pop ecx
push 0x5c
pop eax
push eax
push dword [ebp - 0x470]
call sub.VCRUNTIME140.dll_wcschr
pop ecx
pop ecx
test eax, eax
je 0x402771
push dword [ebp - 0x470]
lea ecx, [ebp - 0x46c]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__28]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x46c]
push 0x5c
pop eax
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__8]
inc eax
lea ecx, [ebp - 0x46c]
push eax
lea eax, [ebp - 0x47c]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t_]
push eax
lea ecx, [ebp - 0x46c]
mov byte [ebp - 4], 1
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__26]
lea ecx, [ebp - 0x47c]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push dword [ebp - 0x46c]
lea eax, [ebp - 0x218]
push eax
call esi
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
lea ecx, [ebp - 0x46c]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x218]
push eax
call esi
pop ecx
pop ecx
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and eax, 0xfffffffc
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x4027b5
inc ebx
jmp 0x4027c2
lea eax, [ebp - 0x218]
push eax
call fcn.004024f9
pop ecx
lea eax, [ebp - 0x468]
push eax
push dword [ebp - 0x474]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x402686
push dword [ebp - 0x474]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, ebx
call fcn.00418057
ret