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

Disassembly:
push 0xffffffffffffffff
push 0x4a0106
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xab4
push ebx
xor ebx, ebx
push ebp
push esi
mov dword [esp + 0x14], ecx
mov word [esp + 0x474], 0x5c
mov dword [esp + 0x478], ebx
mov dword [esp + 0x47c], ebx
mov ebp, dword [esp + 0xad0]
lea eax, [esp + 0x480]
push ebp
push str._s.
push eax
mov dword [esp + 0xad4], ebx
call dword [sym.imp.MSVCRT.dll_swprintf]
mov eax, dword [esp + 0x484]
add esp, 0xc
cmp eax, ebx
lea esi, [esp + 0x480]
mov dword [esp + 0x47c], ebx
je 0x40297d
cmp eax, 0xffffffff
je 0x40297d
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [esp + 0x478], ebx
lea ecx, [esp + 0x480]
test ecx, ecx
jne 0x40298f
mov esi, 0x4b7190
jmp 0x4029a8
lea edx, [esp + 0x480]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x104
jge 0x402c0b
push esi
lea eax, [esp + 0x4c]
push 0x104
push eax
call fcn.004057e0
add esp, 0xc
lea ecx, [esp + 0x1c]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [esp + 0x478], eax
je 0x402c0b
lea edx, [esp + 0x26c]
push ebx
push edx
push 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
setne al
test al, al
jne 0x402a0b
lea ecx, [esp + 0x1c]
call fcn.00406ff0
push 0x7b
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x402c0b
push edi
mov edi, dword [sym.imp.MSVCRT.dll_wcsrchr]
lea eax, [esp + 0x270]
push 0x5c
push eax
call edi
lea ecx, [esp + 0x278]
push 0x2f
push ecx
mov esi, eax
call edi
add esp, 0x10
cmp eax, ebx
jne 0x402a3e
cmp esi, ebx
je 0x402a55
lea eax, [esp + 0x270]
cmp esi, ebx
jne 0x402a49
lea esi, [esp + 0x270]
cmp eax, esi
jb 0x402a52
mov word [eax], bx
jmp 0x402a55
mov word [esi], bx
mov eax, 1
mov dword [esp + 0x480], eax
mov ecx, dword [esp + 0x47c]
cmp ecx, ebx
jne 0x402a72
mov dword [esp + 0x10], ebx
jmp 0x402a93
cmp eax, ebx
jne 0x402a7c
mov dword [esp + 0x10], ebx
jmp 0x402ace
lea edx, [esp + 0x20]
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [esp + 0x480], eax
mov dword [esp + 0x10], eax
cmp eax, ebx
je 0x402ace
mov ecx, dword [esp + 0x20]
shr ecx, 4
and ecx, 1
mov dword [esp + 0x1c], ecx
je 0x402ace
cmp word [esp + 0x4c], 0x2e
jne 0x402ace
mov cx, word [esp + 0x4e]
cmp cx, bx
je 0x402c00
cmp cx, 0x2e
jne 0x402ace
cmp word [esp + 0x50], bx
je 0x402c00
lea edx, [esp + 0x14]
lea ecx, [esp + 0x20]
push edx
mov ebx, 0xc8
call fcn.00407020
mov esi, eax
mov eax, dword [esi]
mov byte [esp + 0xacc], 1
mov ecx, dword [eax - 0xc]
lea edi, [eax - 0xc]
cmp ecx, 1
jg 0x402afd
cmp dword [eax - 4], ebx
jge 0x402b4c
mov ebp, dword [eax - 8]
cmp ebp, 0xc8
jle 0x402b0a
mov ebx, ebp
push ebx
mov ecx, esi
call fcn.00406c50
test eax, eax
jne 0x402b21
mov ebp, dword [esp + 0xad4]
xor esi, esi
jmp 0x402b4e
lea eax, [ebp + ebp + 2]
lea ecx, [edi + 0xc]
push eax
mov eax, dword [esi]
lea edx, [ebx + ebx + 2]
push ecx
push edx
push eax
call fcn.00405800
mov ecx, dword [esi]
add esp, 0x10
push edi
mov dword [ecx - 8], ebp
call fcn.00406f90
mov ebp, dword [esp + 0xad4]
mov esi, dword [esi]
lea edx, [esp + 0x614]
push esi
push edx
call dword [sym.imp.MSVCRT.dll_wcscpy]
mov eax, dword [esp + 0x1c]
mov edx, dword [0x4b7084]
add esp, 8
mov byte [esp + 0xacc], 0
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x402b97
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x402b97
mov edx, dword [esp + 0x14]
lea eax, [edx - 0xc]
push eax
call fcn.00437568
add esp, 4
push 0x10
lea ecx, [esp + 0x24]
call fcn.00407190
test eax, eax
lea eax, [esp + 0x614]
push eax
push ebp
push str._s_s
je 0x402bd8
lea ecx, [esp + 0x940]
push ecx
call dword [sym.imp.MSVCRT.dll_swprintf]
mov ecx, dword [esp + 0x28]
add esp, 0x10
lea edx, [esp + 0x934]
push edx
call fcn.004028f0
jmp 0x402bf7
lea ecx, [esp + 0x7b0]
push ecx
call dword [sym.imp.MSVCRT.dll_swprintf]
add esp, 0x10
lea edx, [esp + 0x7a4]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0x480]
xor ebx, ebx
cmp dword [esp + 0x10], ebx
jne 0x402a61
pop edi
lea ecx, [esp + 0x1c]
call fcn.00406ff0
push ebp
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [esp + 0x1c]
mov dword [esp + 0xac8], 0xffffffff
call fcn.00406ff0
mov ecx, dword [esp + 0xac0]
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0xac0
ret 4