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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4189b8
mov eax, dword fs:[0]
push eax
sub esp, 0x29c
mov eax, dword [0x423008]
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 byte [ebp - 0x291], cl
mov dword [ebp - 4], 0
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 8
cmovae eax, dword [ebp + 8]
push eax
push 0x3d
push str.RemoveAll
push str.__s__d__RemoveAll_path:_s
call fcn.004022a0
xor eax, eax
mov dword [ebp - 0x30], 0
add esp, 0x10
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 1
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 8
lea ecx, [ebp - 0x40]
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
push eax
call fcn.00401b80
push 0x41eb20
lea ecx, [ebp - 0x40]
call fcn.00401630
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x290]
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push ecx
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x298], eax
cmp eax, 0xffffffff
jne 0x401efa
xor bl, bl
jmp 0x4020b2
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpW]
mov esi, eax
push 0x41eb2c
lea eax, [ebp - 0x264]
push eax
call ebx
test eax, eax
je 0x402078
push 0x41eb30
lea eax, [ebp - 0x264]
push eax
call ebx
test eax, eax
je 0x402078
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
lea ecx, [ebp - 0x28]
push eax
call fcn.00401b80
mov edx, dword [ebp - 0x14]
mov eax, edx
mov ecx, dword [ebp - 0x18]
sub eax, ecx
cmp eax, 1
jb 0x401f7f
cmp edx, 8
lea esi, [ebp - 0x28]
push 2
cmovae esi, dword [ebp - 0x28]
lea edi, [ecx + 1]
push 0x41ebac
mov dword [ebp - 0x18], edi
lea eax, [esi + ecx*2]
push eax
call fcn.00409280
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x401f9d
push 1
push 0x41ebac
mov byte [ebp - 0x29c], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x29c]
push 1
call fcn.004014b0
lea eax, [ebp - 0x264]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x401fa6
mov ebx, dword [ebp - 0x14]
sub eax, edx
mov edx, dword [ebp - 0x18]
mov ecx, ebx
sar eax, 1
sub ecx, edx
cmp eax, ecx
ja 0x401ff1
lea edi, [edx + eax]
cmp ebx, 8
lea esi, [ebp - 0x28]
mov dword [ebp - 0x18], edi
cmovae esi, dword [ebp - 0x28]
add eax, eax
push eax
lea eax, [ebp - 0x264]
push eax
lea eax, [esi + edx*2]
push eax
call fcn.00409280
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x40200f
push eax
lea ecx, [ebp - 0x264]
mov byte [ebp - 0x2a0], 0
push ecx
push dword [ebp - 0x2a0]
lea ecx, [ebp - 0x28]
push eax
call fcn.004014b0
test byte [ebp - 0x290], 0x10
lea eax, [ebp - 0x28]
je 0x402032
sub esp, 0x18
mov ecx, esp
push eax
call fcn.004021b0
mov cl, 1
call fcn.00401e20
add esp, 0x18
jmp 0x40206c
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x40206c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
push ecx
push eax
push 0x5c
push str.RemoveAll
push str.__s__d__RemoveAll:DeleteFileW_error:_d__wstCurrentFile:_s
call fcn.004022a0
add esp, 0x14
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpW]
mov esi, dword [ebp - 0x298]
lea eax, [ebp - 0x290]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x401f02
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp byte [ebp - 0x291], 0
je 0x4020b0
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov bl, 1
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4020ec
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4020e2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40219e
push edx
push ecx
call fcn.00407e2f
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x402136
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40212c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4021a3
push edx
push ecx
call fcn.00407e2f
add esp, 8
mov edx, dword [ebp + 0x1c]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp edx, 8
jb 0x402180
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402176
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4021a8
push edx
push ecx
call fcn.00407e2f
add esp, 8
mov al, bl
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.00407dee
mov esp, ebp
pop ebp
ret
call fcn.0040b8ee
call fcn.0040b8ee
call fcn.0040b8ee
int3