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

Disassembly:
push 0xffffffffffffffff
push 0x4afcc6
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 0x40282d
cmp eax, 0xffffffff
je 0x40282d
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [esp + 0x478], ebx
lea ecx, [esp + 0x480]
test ecx, ecx
jne 0x40283f
mov esi, 0x4c8160
jmp 0x402858
lea edx, [esp + 0x480]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x104
jge 0x402abb
push esi
lea eax, [esp + 0x4c]
push 0x104
push eax
call fcn.00404510
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 0x402abb
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 0x4028bb
lea ecx, [esp + 0x1c]
call fcn.00406070
push 0x7b
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x402abb
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 0x4028ee
cmp esi, ebx
je 0x402905
lea eax, [esp + 0x270]
cmp esi, ebx
jne 0x4028f9
lea esi, [esp + 0x270]
cmp eax, esi
jb 0x402902
mov word [eax], bx
jmp 0x402905
mov word [esi], bx
mov eax, 1
mov dword [esp + 0x480], eax
mov ecx, dword [esp + 0x47c]
cmp ecx, ebx
jne 0x402922
mov dword [esp + 0x10], ebx
jmp 0x402943
cmp eax, ebx
jne 0x40292c
mov dword [esp + 0x10], ebx
jmp 0x40297e
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 0x40297e
mov ecx, dword [esp + 0x20]
shr ecx, 4
and ecx, 1
mov dword [esp + 0x1c], ecx
je 0x40297e
cmp word [esp + 0x4c], 0x2e
jne 0x40297e
mov cx, word [esp + 0x4e]
cmp cx, bx
je 0x402ab0
cmp cx, 0x2e
jne 0x40297e
cmp word [esp + 0x50], bx
je 0x402ab0
lea edx, [esp + 0x14]
lea ecx, [esp + 0x20]
push edx
mov ebx, 0xc8
call fcn.00405ee0
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 0x4029ad
cmp dword [eax - 4], ebx
jge 0x4029fc
mov ebp, dword [eax - 8]
cmp ebp, 0xc8
jle 0x4029ba
mov ebx, ebp
push ebx
mov ecx, esi
call fcn.00405a70
test eax, eax
jne 0x4029d1
mov ebp, dword [esp + 0xad4]
xor esi, esi
jmp 0x4029fe
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.00404530
mov ecx, dword [esi]
add esp, 0x10
push edi
mov dword [ecx - 8], ebp
call fcn.00405e50
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 [0x4c8084]
add esp, 8
mov byte [esp + 0xacc], 0
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x402a47
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x402a47
mov edx, dword [esp + 0x14]
lea eax, [edx - 0xc]
push eax
call fcn.0043b3d0
add esp, 4
push 0x10
lea ecx, [esp + 0x24]
call fcn.00406050
test eax, eax
lea eax, [esp + 0x614]
push eax
push ebp
push str._s_s
je 0x402a88
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.004027a0
jmp 0x402aa7
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 0x402911
pop edi
lea ecx, [esp + 0x1c]
call fcn.00406070
push ebp
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [esp + 0x1c]
mov dword [esp + 0xac8], 0xffffffff
call fcn.00406070
mov ecx, dword [esp + 0xac0]
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0xac0
ret 4