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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51aa6e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x310
mov ecx, 0x55be7a
call fcn.0051a674
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x9c]
call fcn.00405310
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 4], 0
push 0x544020
mov edx, dword [ebp - 0x38]
push edx
lea eax, [ebp - 0x84]
push eax
call fcn.00412060
add esp, 0xc
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0x31c]
push ecx
mov ecx, dword [ebp - 0x3c]
call fcn.00405220
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x84]
call fcn.00405270
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9c]
call fcn.00405270
cmp dword [ebp - 0x28], 0xffffffff
jne 0x409013
jmp 0x4091cf
mov dword [ebp - 0x14], 0x544028
lea edx, [ebp - 0x2f0]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
mov cx, word [eax]
mov word [ebp - 0x1e], cx
mov edx, dword [ebp - 0x14]
cmp cx, word [edx]
jne 0x409068
cmp word [ebp - 0x1e], 0
je 0x40905f
mov eax, dword [ebp - 0x10]
mov cx, word [eax + 2]
mov word [ebp - 0x20], cx
mov edx, dword [ebp - 0x14]
cmp cx, word [edx + 2]
jne 0x409068
add dword [ebp - 0x10], 4
add dword [ebp - 0x14], 4
cmp word [ebp - 0x20], 0
jne 0x409023
mov dword [ebp - 0x2c], 0
jmp 0x409070
sbb eax, eax
or eax, 1
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x40], ecx
cmp dword [ebp - 0x40], 0
je 0x4091a2
mov dword [ebp - 0x1c], 0x54402c
lea edx, [ebp - 0x2f0]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
mov cx, word [eax]
mov word [ebp - 0x22], cx
mov edx, dword [ebp - 0x1c]
cmp cx, word [edx]
jne 0x4090d5
cmp word [ebp - 0x22], 0
je 0x4090cc
mov eax, dword [ebp - 0x18]
mov cx, word [eax + 2]
mov word [ebp - 0x24], cx
mov edx, dword [ebp - 0x1c]
cmp cx, word [edx + 2]
jne 0x4090d5
add dword [ebp - 0x18], 4
add dword [ebp - 0x1c], 4
cmp word [ebp - 0x24], 0
jne 0x409090
mov dword [ebp - 0x30], 0
jmp 0x4090dd
sbb eax, eax
or eax, 1
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x44], ecx
cmp dword [ebp - 0x44], 0
je 0x4091a2
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0xcc]
call fcn.00405310
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 4], 1
push 0x544034
mov ecx, dword [ebp - 0x4c]
push ecx
lea edx, [ebp - 0xb4]
push edx
call fcn.00412060
add esp, 0xc
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2f0]
push ecx
mov edx, dword [ebp - 0x54]
push edx
lea eax, [ebp - 0x6c]
push eax
call fcn.00412060
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xb4]
call fcn.00405270
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xcc]
call fcn.00405270
mov ecx, dword [ebp - 0x31c]
and ecx, 0x10
je 0x409184
lea ecx, [ebp - 0x6c]
call fcn.00405220
push eax
call fcn.00408f70
add esp, 4
jmp 0x409193
lea ecx, [ebp - 0x6c]
call fcn.00405220
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.00405270
lea edx, [ebp - 0x31c]
push edx
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x409013
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret