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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44e016
mov eax, dword fs:[0]
push eax
sub esp, 0x284
mov eax, dword [0x46ab5c]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x288], 0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x10]
call fcn.004068d0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004068d0
mov byte [ebp - 4], 1
mov dword [ebp - 0x270], 0xffffffff
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
call fcn.004010a0
lea ecx, [ebp - 0x10]
push ecx
call fcn.00409a40
add esp, 4
mov edx, dword [ebp - 0x10]
push edx
push 0x4552bc
lea eax, [ebp - 0x14]
push eax
call fcn.0040a500
add esp, 0xc
lea ecx, [ebp - 0x26c]
push ecx
lea ecx, [ebp - 0x14]
call fcn.0040f280
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x270], eax
cmp dword [ebp - 0x270], 0xffffffff
jne 0x409f58
jmp 0x40a10b
push 0x4552b8
lea edx, [ebp - 0x240]
push edx
call dword [sym.imp.MSVCR80.dll_wcscmp]
add esp, 8
test eax, eax
je 0x409f8a
push 0x4552b0
lea eax, [ebp - 0x240]
push eax
call dword [sym.imp.MSVCR80.dll_wcscmp]
add esp, 8
test eax, eax
jne 0x409f8f
jmp 0x40a0e8
mov ecx, dword [ebp - 0x26c]
and ecx, 0x10
je 0x40a012
lea ecx, [ebp - 0x274]
call fcn.004068d0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x240]
push edx
mov eax, dword [ebp + 8]
push eax
push 0x4552a4
lea ecx, [ebp - 0x274]
push ecx
call fcn.0040a500
add esp, 0x10
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x274]
call fcn.0040f280
push eax
call fcn.00409ea0
add esp, 8
test eax, eax
jne 0x409ffe
cmp dword [ebp + 0xc], 0
jne 0x409ffe
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x274]
call fcn.00401080
jmp 0x40a10b
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x274]
call fcn.00401080
jmp 0x40a0e8
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebp - 0x278]
call fcn.00401000
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x278]
call fcn.004033c0
lea ecx, [ebp - 0x278]
push ecx
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x280]
push eax
call fcn.0040a290
add esp, 0xc
mov dword [ebp - 0x28c], eax
mov ecx, dword [ebp - 0x288]
or ecx, 1
mov dword [ebp - 0x288], ecx
mov ecx, dword [ebp - 0x28c]
call fcn.0040f280
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x40a08a
cmp dword [ebp + 0xc], 0
jne 0x40a08a
mov dword [ebp - 0x290], 1
jmp 0x40a094
mov dword [ebp - 0x290], 0
mov dl, byte [ebp - 0x290]
mov byte [ebp - 0x279], dl
mov eax, dword [ebp - 0x288]
and eax, 1
je 0x40a0bd
and dword [ebp - 0x288], 0xfffffffe
lea ecx, [ebp - 0x280]
call fcn.00401080
movzx ecx, byte [ebp - 0x279]
test ecx, ecx
je 0x40a0d9
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x278]
call fcn.00401080
jmp 0x40a10b
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x278]
call fcn.00401080
lea edx, [ebp - 0x26c]
push edx
mov eax, dword [ebp - 0x270]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x409f58
mov dword [ebp - 0x18], 1
cmp dword [ebp - 0x270], 0xffffffff
je 0x40a121
mov ecx, dword [ebp - 0x270]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea edx, [ebp - 0x10]
push edx
call fcn.00409b10
add esp, 4
lea ecx, [ebp - 0x10]
call fcn.0040f280
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x284], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00401080
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00401080
mov eax, dword [ebp - 0x284]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0044be2c
mov esp, ebp
pop ebp
ret