Function at 0x42d9a2
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Move file
Set file attributes

Disassembly:
push 0x278
mov eax, 0x4c8e9f
call fcn.0043c4f3
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x264]
push eax
xor ebx, ebx
call fcn.0042180b
mov eax, dword [ebp - 0x264]
mov dword [ebp - 4], ebx
cmp dword [eax - 0xc], ebx
je 0x42dc0d
push 0x4d34d0
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x26c]
push eax
call fcn.004242e9
add esp, 0xc
lea ecx, [ebp - 0x260]
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, dword [ebp - 0x26c]
mov edi, eax
mov dword [ebp - 0x284], edi
lea ecx, [ecx - 0x10]
call fcn.004136c2
cmp edi, 0xffffffff
jne 0x42da1f
inc ebx
jmp 0x42dbfb
test byte [ebp - 0x260], 0x10
lea eax, [ebp - 0x234]
je 0x42dad5
push 0x4d34d4
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x42dbdb
push 0x4d34d8
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x42dbdb
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x274]
push eax
call fcn.004242e9
push 0x4e8e64
push eax
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 1
push eax
call fcn.004242e9
push dword [ebp + 0x14]
mov byte [ebp - 4], 2
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [eax]
call fcn.0042d9a2
mov ecx, dword [ebp - 0x270]
add esp, 0x28
mov esi, eax
lea ecx, [ecx - 0x10]
call fcn.004136c2
mov ecx, dword [ebp - 0x274]
mov byte [ebp - 4], bl
lea ecx, [ecx - 0x10]
call fcn.004136c2
test esi, esi
je 0x42dbf4
jmp 0x42dbdb
push eax
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x278]
push eax
call fcn.004242e9
add esp, 0xc
push 0x80
push dword [eax]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, dword [ebp - 0x278]
lea ecx, [ecx - 0x10]
call fcn.004136c2
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x27c]
push eax
call fcn.004242e9
add esp, 0xc
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0x27c]
mov esi, eax
lea ecx, [ecx - 0x10]
call fcn.004136c2
test esi, esi
jne 0x42dbdb
cmp dword [ebp + 0x14], esi
je 0x42dbdb
lea ecx, [ebp - 0x268]
call fcn.00421870
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea eax, [ebp - 0x234]
push eax
push dword [ebp - 0x264]
lea eax, [ebp - 0x268]
push str._s_s_d__x
push eax
call fcn.00413459
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x280]
push eax
call fcn.004242e9
mov esi, dword [ebp - 0x268]
push esi
push dword [eax]
call fcn.00490d55
mov ecx, dword [ebp - 0x280]
add esp, 0x28
mov edi, eax
lea ecx, [ecx - 0x10]
call fcn.004136c2
test edi, edi
jne 0x42dbca
push 4
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [esi - 0x10]
mov byte [ebp - 4], bl
call fcn.004136c2
mov edi, dword [ebp - 0x284]
lea eax, [ebp - 0x260]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x42da1f
xor ebx, ebx
inc ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [ebp - 0x264]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov eax, dword [ebp - 0x264]
lea ecx, [eax - 0x10]
call fcn.004136c2
mov eax, ebx
call fcn.0043c4a2
ret