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

Disassembly:
push 0xffffffffffffffff
push 0x4a91b6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xab4
push ebp
xor ebp, ebp
push esi
push edi
mov dword [esp + 0x10], ecx
mov word [esp + 0x474], 0x5c
mov dword [esp + 0x478], ebp
mov dword [esp + 0x47c], ebp
mov ecx, 0x63
xor eax, eax
lea edi, [esp + 0x482]
mov word [esp + 0x480], bp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esp + 0xad0]
lea ecx, [esp + 0x480]
push eax
push str._s.
push 0x190
push ecx
mov dword [esp + 0xad8], ebp
call fcn.00402a60
mov eax, dword [esp + 0x488]
add esp, 0x10
cmp eax, ebp
lea esi, [esp + 0x480]
mov dword [esp + 0x47c], ebp
je 0x402b8b
cmp eax, 0xffffffff
je 0x402b8b
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [esp + 0x478], ebp
lea edx, [esp + 0x480]
test edx, edx
jne 0x402b9d
mov esi, 0x4c2178
jmp 0x402bb6
lea eax, [esp + 0x480]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x104
jge 0x402e40
push esi
lea ecx, [esp + 0x4c]
push 0x104
push ecx
call fcn.00404a20
add esp, 0xc
lea edx, [esp + 0x1c]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [esp + 0x478], eax
je 0x402e40
lea eax, [esp + 0x26c]
push ebp
push eax
push 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
setne al
test al, al
jne 0x402c19
lea ecx, [esp + 0x1c]
call fcn.00405cc0
push 0x7b
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x402e40
mov edi, dword [sym.imp.MSVCRT.dll_wcsrchr]
lea ecx, [esp + 0x26c]
push 0x5c
push ecx
call edi
lea edx, [esp + 0x274]
push 0x2f
push edx
mov esi, eax
call edi
add esp, 0x10
cmp eax, ebp
jne 0x402c4b
cmp esi, ebp
je 0x402c62
lea eax, [esp + 0x26c]
cmp esi, ebp
jne 0x402c56
lea esi, [esp + 0x26c]
cmp eax, esi
jb 0x402c5f
mov word [eax], bp
jmp 0x402c62
mov word [esi], bp
mov eax, 1
push ebx
mov dword [esp + 0x480], eax
mov ecx, dword [esp + 0x47c]
cmp ecx, ebp
jne 0x402c80
mov dword [esp + 0x10], ebp
jmp 0x402ca1
cmp eax, ebp
jne 0x402c8a
mov dword [esp + 0x10], ebp
jmp 0x402cdc
lea eax, [esp + 0x20]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [esp + 0x480], eax
mov dword [esp + 0x10], eax
cmp eax, ebp
je 0x402cdc
mov ecx, dword [esp + 0x20]
shr ecx, 4
and ecx, 1
mov dword [esp + 0x1c], ecx
je 0x402cdc
cmp word [esp + 0x4c], 0x2e
jne 0x402cdc
mov cx, word [esp + 0x4e]
cmp cx, bp
je 0x402e35
cmp cx, 0x2e
jne 0x402cdc
cmp word [esp + 0x50], bp
je 0x402e35
lea edx, [esp + 0x18]
lea ecx, [esp + 0x20]
push edx
mov ebx, 0xc8
call fcn.00405b30
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 0x402d0b
cmp dword [eax - 4], ebx
jge 0x402d50
mov ebp, dword [eax - 8]
cmp ebp, 0xc8
jle 0x402d18
mov ebx, ebp
push ebx
mov ecx, esi
call fcn.004056f0
test eax, eax
jne 0x402d2a
xor esi, esi
xor ebp, ebp
jmp 0x402d52
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.00404a40
mov ecx, dword [esi]
add esp, 0x10
push edi
mov dword [ecx - 8], ebp
call fcn.00405ad0
xor ebp, ebp
mov esi, dword [esi]
push esi
lea edx, [esp + 0x938]
push 0x190
push edx
call fcn.00402e90
lea ecx, [esp + 0x18]
mov byte [esp + 0xacc], 0
call fcn.004056c0
push 0x10
lea ecx, [esp + 0x24]
call fcn.00405ca0
test eax, eax
je 0x402ddc
mov ecx, 0x63
xor eax, eax
lea edi, [esp + 0x616]
mov word [esp + 0x614], bp
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0xad4]
lea edx, [esp + 0x614]
stosw word es:[edi], ax
lea eax, [esp + 0x934]
push eax
push ecx
push str._s_s
push 0x190
push edx
call fcn.00402a60
mov ecx, dword [esp + 0x28]
add esp, 0x14
lea eax, [esp + 0x614]
push eax
call fcn.00402ae0
jmp 0x402e2e
mov edx, dword [esp + 0xad4]
mov ecx, 0x63
xor eax, eax
lea edi, [esp + 0x7a6]
mov word [esp + 0x7a4], bp
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x934]
push ecx
push edx
stosw word es:[edi], ax
push str._s_s
lea eax, [esp + 0x7b0]
push 0x190
push eax
call fcn.00402a60
add esp, 0x14
lea ecx, [esp + 0x7a4]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0x480]
cmp dword [esp + 0x10], ebp
jne 0x402c6f
pop ebx
lea ecx, [esp + 0x1c]
call fcn.00405cc0
mov edx, dword [esp + 0xad0]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [esp + 0x1c]
mov dword [esp + 0xac8], 0xffffffff
call fcn.00405cc0
mov ecx, dword [esp + 0xac0]
pop edi
pop esi
mov eax, 1
pop ebp
mov dword fs:[0], ecx
add esp, 0xac0
ret 4