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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x454a89
mov eax, dword fs:[0]
push eax
sub esp, 0x2cc
mov eax, dword [0x472008]
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 esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x27c], 7
mov dword [ebp - 0x280], 0
mov word [ebp - 0x290], ax
cmp word [esi], ax
jne 0x409df7
xor ecx, ecx
jmp 0x409e0f
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409e00
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x290]
call fcn.00403e00
push 0x45ac78
lea eax, [ebp - 0x290]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x2c0]
push eax
call fcn.00404ed0
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x409e46
mov eax, dword [eax]
lea ecx, [ebp - 0x278]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, dword [ebp - 0x2ac]
mov edi, eax
cmp ecx, 8
jb 0x409e73
inc ecx
push 2
push ecx
push dword [ebp - 0x2c0]
call fcn.004035c0
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x2ac], 7
mov word [ebp - 0x2c0], ax
mov eax, dword [ebp - 0x27c]
mov dword [ebp - 0x2b0], 0
mov dword [ebp - 4], 0xffffffff
cmp eax, 8
jb 0x409eb4
inc eax
push 2
push eax
push dword [ebp - 0x290]
call fcn.004035c0
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x27c], 7
mov dword [ebp - 0x280], 0
mov word [ebp - 0x290], ax
cmp edi, 0xffffffff
je 0x40a0c0
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov ecx, 0x45ac80
lea eax, [ebp - 0x24c]
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x409f16
test dx, dx
je 0x409f12
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x409f16
add eax, 4
add ecx, 4
test dx, dx
jne 0x409ef0
xor eax, eax
jmp 0x409f1b
sbb eax, eax
or eax, 1
test eax, eax
je 0x40a0a7
mov ecx, 0x45ac84
lea eax, [ebp - 0x24c]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x409f56
test dx, dx
je 0x409f52
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x409f56
add eax, 4
add ecx, 4
test dx, dx
jne 0x409f30
xor eax, eax
jmp 0x409f5b
sbb eax, eax
or eax, 1
test eax, eax
je 0x40a0a7
xor eax, eax
mov dword [ebp - 0x294], 7
mov dword [ebp - 0x298], 0
mov word [ebp - 0x2a8], ax
cmp word [esi], ax
jne 0x409f89
xor ecx, ecx
jmp 0x409f9f
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409f90
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x2a8]
call fcn.00403e00
push 0x45a8d4
lea eax, [ebp - 0x2a8]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x2d8]
push eax
call fcn.00404ed0
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 2
push ecx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00404ed0
add esp, 0x18
mov eax, dword [ebp - 0x2c4]
cmp eax, 8
jb 0x40a000
inc eax
push 2
push eax
push dword [ebp - 0x2d8]
call fcn.004035c0
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x2c4], 7
mov dword [ebp - 0x2c8], 0
mov word [ebp - 0x2d8], ax
mov eax, dword [ebp - 0x294]
mov byte [ebp - 4], 5
cmp eax, 8
jb 0x40a03e
inc eax
push 2
push eax
push dword [ebp - 0x2a8]
call fcn.004035c0
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x294], 7
test byte [ebp - 0x278], 0x10
mov word [ebp - 0x2a8], ax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x298], 0
je 0x40a07a
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00409da0
add esp, 4
jmp 0x40a089
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp eax, 8
jb 0x40a0a7
push 2
inc eax
push eax
push dword [ebp - 0x28]
call fcn.004035c0
add esp, 0xc
lea eax, [ebp - 0x278]
push eax
push edi
call ebx
test eax, eax
jne 0x409ee0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
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.0040219c
mov esp, ebp
pop ebp
ret