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

Disassembly:
push 0x284
mov eax, 0x47c218
call fcn.0045e1e7
mov eax, dword [ebp + 8]
xor ebx, ebx
push eax
lea ecx, [ebp - 0x264]
mov dword [ebp - 0x270], ebx
call fcn.00418091
push 0x47f5e0
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x290]
push eax
mov dword [ebp - 4], ebx
call fcn.00417e93
mov eax, dword [eax]
add esp, 0xc
lea ecx, [ebp - 0x260]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, dword [ebp - 0x290]
add ecx, 0xfffffff0
mov dword [ebp - 0x26c], eax
call fcn.0041788d
cmp dword [ebp - 0x26c], 0xffffffff
jne 0x42d93a
mov dword [ebp - 0x270], 1
jmp 0x42dbfa
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test byte [ebp - 0x260], 0x10
je 0x42d9f2
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
push 0x47f590
lea eax, [ebp - 0x234]
push eax
call esi
test eax, eax
je 0x42dbc9
push 0x47eacc
lea eax, [ebp - 0x234]
push eax
call esi
test eax, eax
je 0x42dbc9
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x28c]
push eax
call fcn.00417e93
push 0x47f594
push eax
lea eax, [ebp - 0x278]
push eax
mov byte [ebp - 4], 1
call fcn.00417e93
push dword [ebp + 0x10]
mov eax, dword [eax]
push dword [ebp + 0xc]
mov byte [ebp - 4], 2
push eax
call fcn.0042d8ba
mov ecx, dword [ebp - 0x278]
add esp, 0x24
add ecx, 0xfffffff0
mov esi, eax
call fcn.0041788d
mov ecx, dword [ebp - 0x28c]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.0041788d
cmp esi, ebx
je 0x42dbee
jmp 0x42dbc9
cmp dword [ebp + 0xc], ebx
je 0x42da85
lea eax, [ebp - 0x234]
push eax
call fcn.0045e6b2
pop ecx
cmp eax, 4
jle 0x42da85
lea eax, [ebp + eax*2 - 0x23c]
push str..sys
push eax
call fcn.0045e627
pop ecx
pop ecx
test eax, eax
jne 0x42da85
lea eax, [ebp - 0x274]
push eax
call fcn.0042d5d2
lea eax, [ebp - 0x234]
push eax
mov byte [ebp - 4], 3
call fcn.0045e6b2
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x274]
call fcn.00417da6
mov esi, dword [ebp - 0x274]
push ebx
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, ebx
jne 0x42da7a
cmp dword [ebp + 0x10], ebx
je 0x42da7a
push 4
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [esi - 0x10]
mov byte [ebp - 4], bl
call fcn.0041788d
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x284]
push eax
call fcn.00417e93
mov eax, dword [eax]
add esp, 0xc
push ebx
push eax
call edi
mov ecx, dword [ebp - 0x284]
add ecx, 0xfffffff0
call fcn.0041788d
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x27c]
push eax
call fcn.00417e93
add esp, 0xc
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0x27c]
add ecx, 0xfffffff0
mov esi, eax
call fcn.0041788d
cmp esi, ebx
jne 0x42dbc9
push 0x49cc5c
lea ecx, [ebp - 0x268]
call fcn.00422d95
mov byte [ebp - 4], 4
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.00418e04
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x280]
push eax
call fcn.00417e93
mov eax, dword [eax]
push dword [ebp - 0x268]
push eax
call fcn.0045efa2
mov ecx, dword [ebp - 0x280]
add esp, 0x28
add ecx, 0xfffffff0
mov esi, eax
call fcn.0041788d
cmp esi, ebx
jne 0x42db7c
push 4
push ebx
push dword [ebp - 0x268]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x42dbb8
cmp dword [ebp + 0x10], ebx
je 0x42dbb8
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x288]
push eax
call fcn.00417e93
mov eax, dword [eax]
add esp, 0xc
push 4
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [ebp - 0x288]
add ecx, 0xfffffff0
call fcn.0041788d
mov ecx, dword [ebp - 0x268]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.0041788d
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x26c]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x42d940
mov dword [ebp - 0x270], 1
push dword [ebp - 0x26c]
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [ebp - 0x264]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ecx, dword [ebp - 0x264]
add ecx, 0xfffffff0
call fcn.0041788d
mov eax, dword [ebp - 0x270]
call fcn.0045e26a
ret