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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x668
mov eax, dword [0x4cc5a8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea edx, [ebp - 0x414]
push edi
mov dword [ebp - 0x668], ebx
mov ecx, ebx
sub edx, ebx
nop dword [eax + eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x408e30
lea ecx, [ebp - 0x414]
add ecx, 0xfffffffe
nop dword [eax]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x408e50
mov eax, dword [0x47002c]
lea edx, [ebp - 0x20c]
mov dword [ecx], eax
sub edx, ebx
mov ax, word [0x470030]
mov word [ecx + 4], ax
mov ecx, ebx
nop word [eax + eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x408e80
lea edi, [ebp - 0x20c]
add edi, 0xfffffffe
nop dword [eax]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x408ea0
mov eax, dword [0x46f1e8]
mov dword [edi], eax
lea eax, [ebp - 0x664]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x408ee0
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004465ed
mov esp, ebp
pop ebp
ret
xor ecx, ecx
movzx eax, word [ebp + ecx - 0x20c]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x416], ax
test ax, ax
jne 0x408ee2
push esi
mov esi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea eax, [ebp - 0x664]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x40904d
mov ecx, 0x470020
lea eax, [ebp - 0x638]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x408f48
test dx, dx
je 0x408f44
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x408f48
add eax, 4
add ecx, 4
test dx, dx
jne 0x408f22
xor eax, eax
jmp 0x408f4d
sbb eax, eax
or eax, 1
test eax, eax
je 0x408f01
mov ecx, 0x470024
lea eax, [ebp - 0x638]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x408f86
test dx, dx
je 0x408f82
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x408f86
add eax, 4
add ecx, 4
test dx, dx
jne 0x408f60
xor eax, eax
jmp 0x408f8b
sbb eax, eax
or eax, 1
test eax, eax
je 0x408f01
lea edx, [ebp - 0x638]
mov esi, edx
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x408fa0
lea edi, [ebp - 0x20c]
sub edx, esi
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x408fb6
mov ecx, edx
lea eax, [ebp - 0x20c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
test byte [ebp - 0x664], 0x10
rep movsb byte es:[edi], byte [esi]
push eax
je 0x40901e
call fcn.00408e00
add esp, 4
test eax, eax
je 0x409078
mov esi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea eax, [ebp - 0x20c]
push eax
call esi
xor ecx, ecx
movzx eax, word [ebp + ecx - 0x414]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x20e], ax
test ax, ax
jne 0x409001
jmp 0x408f01
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x409078
xor eax, eax
nop word [eax + eax]
movzx ecx, word [ebp + eax - 0x414]
lea eax, [eax + 2]
mov word [ebp + eax - 0x20e], cx
test cx, cx
jne 0x409030
jmp 0x408efb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x409078
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [ebp - 0x668]
call esi
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004465ed
mov esp, ebp
pop ebp
ret
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
pop edi
xor ecx, ebp
pop ebx
call fcn.004465ed
mov esp, ebp
pop ebp
ret