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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x160c
call fcn.004480b0
mov eax, dword [0x6610e4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push esi
push edi
push 0x208
push 0
push eax
mov dword [ebp - 0x160c], ebx
call fcn.004a2e40
push ebx
lea eax, [ebp - 0x20c]
push 0x64a88c
push eax
call fcn.00421690
lea eax, [ebp - 0x20c]
push eax
call fcn.004a6baf
add esp, 0x1c
lea ecx, [eax - 1]
test ecx, ecx
jle 0x47ec26
push 0x5c
pop ecx
cmp word [ebp + eax*2 - 0x20e], cx
je 0x47ec26
mov word [ebp + eax*2 - 0x20c], cx
call fcn.00486535
test al, al
je 0x47ec45
push edx
pop ebp
push edi
pop ebx
pop edx
pop esp
push ebx
push eax
push ebx
push edi
pop edi
push esp
pop ecx
pop eax
pop ebp
push esp
push ecx
push ebp
push ebx
pop ebx
push edi
pop esi
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0xbe4]
push str._s.
push eax
call fcn.00421690
add esp, 0xc
lea eax, [ebp - 0x1604]
push eax
lea eax, [ebp - 0xbe4]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x1608], eax
call fcn.004864ab
test al, al
je 0x47eca2
push esp
push edi
pop ebx
pop ecx
pop esp
pop ebx
pop ebx
push ecx
pop ebp
pop eax
pop ebp
push ebx
pop ebx
pop edx
push ebp
push ebx
pop edi
pop eax
push ebx
push edx
pop edx
pop eax
pop edi
push ebp
pop edx
push ebp
push ebx
pop ebp
push ebx
pop edx
pop esi
call fcn.00485f47
test al, al
je 0x47ecc4
pop edx
push ecx
push ebp
pop edx
push esp
push esp
push edx
push esi
pop eax
push esi
pop ebx
pop ecx
pop esi
pop ebx
push edi
pop edi
push ecx
push esi
pop edi
pop edi
push ecx
push esp
pop ebp
push ebp
push edi
call fcn.004861f9
test al, al
je 0x47ece9
pop edx
push ecx
pop ebp
pop ebx
pop ebp
pop eax
pop ebx
push edi
push edx
push esi
pop edi
push eax
push edx
push edi
push esi
push esp
pop ebp
push ecx
push edx
pop eax
pop ebp
pop esi
push ecx
pop ecx
push ebx
pop edi
push edi
pop ebp
mov esi, dword [ebp - 0x1608]
cmp esi, 0xffffffff
je 0x47edbd
push 0x2e
pop edi
lea eax, [ebp - 0x1604]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x47edbd
cmp word [ebp - 0x15d8], di
je 0x47ecfb
cmp word [ebp - 0x15d6], 0
je 0x47ecfb
cmp word [ebp - 0x15d6], di
jne 0x47ed37
cmp word [ebp - 0x15d4], 0
je 0x47ecfb
test byte [ebp - 0x1604], 0x10
je 0x47ed81
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.004a2e40
lea eax, [ebp - 0x15d8]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push 0x5e2820
push eax
call fcn.00421690
lea eax, [ebp - 0x414]
push eax
call fcn.0047ebb3
add esp, 0x20
lea eax, [ebp - 0x15d8]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x13b4]
push 0x5e46d0
push eax
call fcn.00421690
push ecx
push ecx
lea eax, [ebp - 0x13b4]
mov ecx, esp
push eax
call fcn.00401d40
call fcn.0047fb8a
add esp, 0x18
jmp 0x47ecfb
call fcn.0048605b
test al, al
je 0x47ede5
push esi
pop ebx
pop ecx
push ebp
pop ecx
push ecx
push esi
pop eax
pop ebp
pop eax
push edi
push edx
push esi
push edi
push edi
pop edx
pop ebx
push eax
push edi
push ebp
push edx
pop ebp
pop ebp
push ebx
pop eax
push edx
push ebp
push ebp
push edx
push esp
push edi
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [ebp - 0x160c]
push 0x20
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00447f5d
mov esp, ebp
pop ebp
ret