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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x557086
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x5adf10]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
call fcn.0043c63a
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x420f3b
push 0x80004005
call fcn.004063a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x158], esi
mov dword [ebp - 4], 0
call fcn.0043c63a
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x420f6e
push 0x80004005
call fcn.004063a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x15c], eax
mov byte [ebp - 4], 1
test ebx, ebx
jne 0x420f8c
xor eax, eax
jmp 0x420f9a
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x420f91
sub eax, edx
push eax
push ebx
lea ecx, [ebp - 0x15c]
call fcn.00406280
push 4
push str..
lea ecx, [ebp - 0x15c]
call fcn.00405be0
mov edi, dword [ebp - 0x15c]
lea ecx, [ebp - 0x154]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x160], eax
cmp eax, 0xffffffff
jne 0x421022
lea eax, [edi - 0x10]
mov byte [ebp - 4], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x420ff8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42101b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x4211fe
lea ecx, [ebp - 0x128]
push 0x588c64
push ecx
call fcn.0052df3b
add esp, 8
test eax, eax
je 0x42118d
lea edx, [ebp - 0x128]
push 0x588ed4
push edx
call fcn.0052df3b
add esp, 8
test eax, eax
je 0x42118d
cmp dword [ebp + 0xc], 0
jne 0x42107c
lea eax, [ebp - 0x128]
push str.desktop.ini
push eax
call fcn.00530d7a
add esp, 8
test eax, eax
je 0x42118d
test ebx, ebx
jne 0x421084
xor eax, eax
jmp 0x421099
mov eax, ebx
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x421090
sub eax, edx
push eax
push ebx
lea ecx, [ebp - 0x158]
call fcn.00406280
mov eax, dword [ebp - 0x158]
mov edi, dword [eax - 0xc]
lea esi, [edi + 1]
test esi, esi
js 0x42121a
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, esi
or ecx, edx
jge 0x4210dd
push esi
lea ecx, [ebp - 0x158]
call fcn.004061b0
mov eax, dword [ebp - 0x158]
mov byte [edi + eax], 0x5c
cmp esi, dword [eax - 8]
jg 0x42121a
mov dword [eax - 0xc], esi
mov byte [esi + eax], 0
lea eax, [ebp - 0x128]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x421100
sub eax, edx
push eax
lea ecx, [ebp - 0x128]
push ecx
lea ecx, [ebp - 0x158]
call fcn.00405be0
mov esi, dword [ebp - 0x158]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 1
je 0x421138
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test byte [ebp - 0x154], 0x10
je 0x42115b
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push edx
push eax
push esi
call fcn.00420ef0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
jmp 0x42118d
cmp dword [ebp + 0x10], 0
je 0x421186
lea ecx, [ebp - 0x128]
push str.index.dat
push ecx
call fcn.00530d7a
add esp, 8
test eax, eax
jne 0x421186
lea edx, [ebp - 0x128]
mov ecx, ebx
call fcn.00421230
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edi, dword [ebp - 0x160]
lea edx, [ebp - 0x154]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x421022
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x15c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4211d6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4211f9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0052d75c
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.004063a0
int3