Function at 0x48bd70
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dfb09
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x520404]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
push ebx
mov dword [ebp - 4], 0
call dword [sym.imp.SHLWAPI.dll_PathIsRootW]
test eax, eax
je 0x48bdba
xor ebx, ebx
jmp 0x48bfa8
xor edi, edi
push 0x208
mov byte [ebp - 4], 2
call fcn.004b54a8
mov esi, eax
add esp, 4
mov dword [ebp - 0x268], esi
test esi, esi
je 0x48bf97
push 0x208
call fcn.004b54a8
mov edi, eax
add esp, 4
mov dword [ebp - 0x270], edi
test edi, edi
je 0x48bf97
push 0x4e6ca4
push ebx
push esi
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x260]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x26c], eax
cmp eax, 0xffffffff
je 0x48bf97
push esi
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov ebx, 1
cmp word [ebp - 0x234], 0x2e
je 0x48bf54
lea eax, [ebp - 0x234]
push eax
push esi
push edi
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test byte [ebp - 0x260], 0x10
je 0x48bf47
call fcn.004782d0
mov ecx, eax
test ecx, ecx
je 0x48bfe4
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x264], eax
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x264]
call fcn.00477ee0
test al, al
jne 0x48bec2
lea eax, [ebp - 0x234]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x48bea0
sub eax, edx
lea ecx, [ebp - 0x264]
sar eax, 1
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.00478540
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 4
call fcn.0048b800
mov edx, dword [ebp - 0x264]
cmp eax, esi
mov byte [ebp - 4], 2
sete bl
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48beff
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
je 0x48bf40
sub esp, 8
mov esi, esp
mov dword [ebp - 0x264], esi
push 0x14
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004a7d07
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
push edi
mov dword [esi], eax
call fcn.0048bd70
add esp, 0xc
jmp 0x48bf4e
mov ebx, 1
jmp 0x48bf54
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, eax
test ebx, ebx
je 0x48bf76
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x26c]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x48bf76
mov esi, dword [ebp - 0x268]
jmp 0x48be30
push dword [ebp - 0x26c]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [ebp - 0x268]
test ebx, ebx
je 0x48bf97
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ebx, eax
jmp 0x48bf99
xor ebx, ebx
push edi
call fcn.004b548d
push esi
call fcn.004b548d
add esp, 8
mov eax, dword [ebp + 0xc]
push dword [eax + 4]
lea eax, [ebp + 0xc]
push eax
mov ecx, eax
call fcn.00477990
push 0x14
push dword [ebp + 0xc]
call fcn.004a7d37
add esp, 8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a7f4e
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00477ec0
int3