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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c06ad
mov eax, dword fs:[0]
push eax
sub esp, 0x28c
mov eax, dword [0x4f4970]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x271], 0
lea ecx, [ebp - 0x14]
call fcn.00409dd0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00409dd0
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
call fcn.00409f50
push 0x4d90a4
lea ecx, [ebp - 0x10]
call fcn.00409f90
lea ecx, [ebp - 0x26c]
push ecx
lea ecx, [ebp - 0x10]
call fcn.0040e660
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x270], eax
cmp dword [ebp - 0x270], 0xffffffff
je 0x4b7f2e
movzx edx, word [ebp - 0x240]
cmp edx, 0x2e
je 0x4b7e2e
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
call fcn.00409f50
push 0x4d90b0
lea ecx, [ebp - 0x14]
call fcn.00409f90
lea ecx, [ebp - 0x240]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00409f90
mov edx, dword [ebp - 0x26c]
and edx, 0x10
je 0x4b7d9f
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x4b7d93
movzx ecx, byte [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x14]
call fcn.0040e660
push eax
call fcn.004b7c60
add esp, 8
mov dword [ebp - 0x27c], eax
cmp dword [ebp - 0x27c], 0
je 0x4b7d91
mov edx, dword [ebp - 0x27c]
mov dword [ebp - 0x280], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00409f10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00409f10
mov eax, dword [ebp - 0x280]
jmp 0x4b7f59
jmp 0x4b7d9a
mov byte [ebp - 0x271], 1
jmp 0x4b7e2e
push 0x80
lea ecx, [ebp - 0x14]
call fcn.0040e660
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x4b7de9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x284], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00409f10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00409f10
mov eax, dword [ebp - 0x284]
jmp 0x4b7f59
lea ecx, [ebp - 0x14]
call fcn.0040e660
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4b7e2e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x288], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00409f10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00409f10
mov eax, dword [ebp - 0x288]
jmp 0x4b7f59
lea eax, [ebp - 0x26c]
push eax
mov ecx, dword [ebp - 0x270]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp eax, 1
je 0x4b7cef
mov edx, dword [ebp - 0x270]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x278], eax
cmp dword [ebp - 0x278], 0x12
je 0x4b7ea4
mov eax, dword [ebp - 0x278]
mov dword [ebp - 0x28c], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00409f10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00409f10
mov eax, dword [ebp - 0x28c]
jmp 0x4b7f59
movzx ecx, byte [ebp - 0x271]
test ecx, ecx
jne 0x4b7f2e
push 0x80
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x4b7ef1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x290], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00409f10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00409f10
mov eax, dword [ebp - 0x290]
jmp 0x4b7f59
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x4b7f2e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x294], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00409f10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00409f10
mov eax, dword [ebp - 0x294]
jmp 0x4b7f59
mov dword [ebp - 0x298], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00409f10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00409f10
mov eax, dword [ebp - 0x298]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0046da8a
mov esp, ebp
pop ebp
ret