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

Disassembly:
push 0x278
mov eax, 0x534185
call fcn.004f2332
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x264]
push eax
xor ebx, ebx
call fcn.0043c206
mov eax, dword [ebp - 0x264]
mov dword [ebp - 4], ebx
cmp dword [eax - 0xc], ebx
je 0x4d191c
push 0x55b1c4
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x280]
push eax
call fcn.0045922d
add esp, 0xc
lea ecx, [ebp - 0x260]
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, dword [ebp - 0x280]
mov edi, eax
add ecx, 0xfffffff0
mov dword [ebp - 0x27c], edi
call fcn.00436fdb
cmp edi, 0xffffffff
jne 0x4d1734
inc ebx
jmp 0x4d190a
test byte [ebp - 0x260], 0x10
lea eax, [ebp - 0x234]
je 0x4d17e7
push 0x55b368
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x4d18ea
push 0x55b36c
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x4d18ea
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x26c]
push eax
call fcn.0045922d
push 0x55af84
push eax
lea eax, [ebp - 0x284]
mov byte [ebp - 4], 1
push eax
call fcn.0045922d
push dword [ebp + 0x10]
mov byte [ebp - 4], 2
push dword [ebp + 0xc]
push dword [eax]
call fcn.004d16b7
mov ecx, dword [ebp - 0x284]
add esp, 0x24
add ecx, 0xfffffff0
mov esi, eax
call fcn.00436fdb
mov ecx, dword [ebp - 0x26c]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.00436fdb
test esi, esi
je 0x4d1903
jmp 0x4d18ea
push eax
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x278]
push eax
call fcn.0045922d
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.00436fdb
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x270]
push eax
call fcn.0045922d
add esp, 0xc
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0x270]
mov esi, eax
add ecx, 0xfffffff0
call fcn.00436fdb
test esi, esi
jne 0x4d18ea
call fcn.00437474
push eax
lea ecx, [ebp - 0x268]
call fcn.0043a4ef
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.0043ab29
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x274]
push eax
call fcn.0045922d
mov esi, dword [ebp - 0x268]
push esi
push dword [eax]
call fcn.004f6fa5
mov ecx, dword [ebp - 0x274]
add esp, 0x28
add ecx, 0xfffffff0
mov edi, eax
call fcn.00436fdb
test edi, edi
jne 0x4d18d9
push 4
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [esi - 0x10]
mov byte [ebp - 4], bl
call fcn.00436fdb
mov edi, dword [ebp - 0x27c]
lea eax, [ebp - 0x260]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4d1734
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.00436fdb
mov eax, ebx
call fcn.004f22e1
ret