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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x960
mov eax, dword [0x4713e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x960], 1
push 0x469384
call fcn.00425850
add esp, 4
mov dword [ebp - 0x95c], eax
lea eax, [ebp - 0x948]
push eax
lea ecx, [ebp - 0x404]
push ecx
push 0x400
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
mov dword [ebp - 0x94c], eax
cmp dword [ebp - 0x94c], 0
je 0x420b08
cmp dword [ebp - 0x94c], 0x400
jb 0x420b12
mov eax, 1
jmp 0x420d63
mov eax, dword [ebp - 0x948]
push eax
lea ecx, [ebp - 0x804]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [ebp - 0x948]
mov byte [edx], 0
lea eax, [ebp - 0x944]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x950], eax
cmp dword [ebp - 0x950], 0xffffffff
je 0x420d5e
lea edx, [ebp - 0x944]
push edx
call fcn.00420a20
add esp, 4
test eax, eax
je 0x420b9e
lea eax, [ebp - 0x944]
push eax
call fcn.00420a40
add esp, 4
push eax
mov ecx, dword [ebp - 0x948]
push ecx
call fcn.004392f0
add esp, 8
lea edx, [ebp - 0x404]
push edx
push str.Delete_Unusable__s_omitted_r_n
call fcn.004145f0
add esp, 8
jmp 0x420d35
lea eax, [ebp - 0x944]
push eax
call fcn.00420a70
add esp, 4
test eax, eax
jne 0x420c4c
lea ecx, [ebp - 0x944]
push ecx
call fcn.00420a40
add esp, 4
push eax
mov edx, dword [ebp - 0x948]
push edx
call fcn.004392f0
add esp, 8
cmp dword [ebp - 0x95c], 0
je 0x420bfa
mov eax, dword [ebp - 0x944]
and eax, 1
je 0x420bfa
push 0x80
lea ecx, [ebp - 0x404]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea edx, [ebp - 0x404]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 0x94c], eax
cmp dword [ebp - 0x94c], 0
je 0x420c22
mov dword [ebp - 0x958], 0x4693b4
jmp 0x420c2c
mov dword [ebp - 0x958], 0x4693c8
mov eax, dword [ebp - 0x958]
push eax
lea ecx, [ebp - 0x404]
push ecx
push str.Delete_File__s__s_r_n
call fcn.004145f0
add esp, 0xc
jmp 0x420d35
push 0x46942c
lea edx, [ebp - 0x944]
push edx
call fcn.00416ef0
add esp, 4
push eax
call fcn.0043b330
add esp, 8
test eax, eax
je 0x420d35
push 0x469430
lea eax, [ebp - 0x944]
push eax
call fcn.00416ef0
add esp, 4
push eax
call fcn.0043b330
add esp, 8
test eax, eax
je 0x420d35
lea ecx, [ebp - 0x944]
push ecx
call fcn.00420a40
add esp, 4
push eax
push str._s
mov edx, dword [ebp - 0x948]
push edx
call fcn.00439aa0
add esp, 0xc
lea eax, [ebp - 0x404]
push eax
call fcn.00420aa0
add esp, 4
lea ecx, [ebp - 0x944]
push ecx
call fcn.00416ef0
add esp, 4
push eax
mov edx, dword [ebp - 0x948]
push edx
call fcn.004392f0
add esp, 8
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov dword [ebp - 0x94c], eax
cmp dword [ebp - 0x94c], 0
je 0x420d10
mov dword [ebp - 0x954], 0x46943c
jmp 0x420d1a
mov dword [ebp - 0x954], 0x469444
mov ecx, dword [ebp - 0x954]
push ecx
lea edx, [ebp - 0x404]
push edx
push str.Delete_Directory__s__s_r_n
call fcn.004145f0
add esp, 0xc
lea eax, [ebp - 0x944]
push eax
mov ecx, dword [ebp - 0x950]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x420b53
mov edx, dword [ebp - 0x950]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00439b24
mov esp, ebp
pop ebp
ret