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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x449dd6
push eax
mov dword fs:[0], esp
sub esp, 0xab0
push ebx
mov ebx, dword [esp + 0xac4]
push ebp
xor ebp, ebp
cmp ebx, ebp
je 0x406279
push ebx
call fcn.00437625
add esp, 4
test eax, eax
je 0x406279
push esi
push edi
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
push ebx
push str._s.
lea eax, [esp + 0x488]
push 0x190
push eax
mov dword [esp + 0xad8], ebp
call fcn.004062a0
mov eax, dword [esp + 0x488]
add esp, 0x10
cmp eax, ebp
lea esi, [esp + 0x480]
mov dword [esp + 0x47c], ebp
je 0x405f81
cmp eax, 0xffffffff
je 0x405f81
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [esp + 0x478], ebp
lea ecx, [esp + 0x480]
test ecx, ecx
jne 0x405f93
mov esi, 0x455824
jmp 0x405fac
lea edx, [esp + 0x480]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x104
jge 0x406237
push esi
lea eax, [esp + 0x4c]
push 0x104
push eax
call fcn.00406da0
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 0x406237
lea edx, [esp + 0x26c]
push ebp
push edx
push 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
setne al
test al, al
jne 0x40600f
lea ecx, [esp + 0x1c]
call fcn.004076c0
push 0x7b
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x406237
lea eax, [esp + 0x26c]
push 0x5c
push eax
call fcn.00437890
lea ecx, [esp + 0x274]
push 0x2f
push ecx
mov esi, eax
call fcn.00437890
add esp, 0x10
cmp eax, ebp
jne 0x406041
cmp esi, ebp
je 0x406058
lea eax, [esp + 0x26c]
cmp esi, ebp
jne 0x40604c
lea esi, [esp + 0x26c]
cmp eax, esi
jb 0x406055
mov word [eax], bp
jmp 0x406058
mov word [esi], bp
mov eax, 1
mov dword [esp + 0x47c], eax
mov ecx, dword [esp + 0x478]
cmp ecx, ebp
jne 0x406075
mov dword [esp + 0x10], ebp
jmp 0x406096
cmp eax, ebp
jne 0x40607f
mov dword [esp + 0x10], ebp
jmp 0x4060d1
lea edx, [esp + 0x1c]
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [esp + 0x47c], eax
mov dword [esp + 0x10], eax
cmp eax, ebp
je 0x4060d1
mov ecx, dword [esp + 0x1c]
shr ecx, 4
and ecx, 1
mov dword [esp + 0x18], ecx
je 0x4060d1
cmp word [esp + 0x48], 0x2e
jne 0x4060d1
mov cx, word [esp + 0x4a]
cmp cx, bp
je 0x406226
cmp cx, 0x2e
jne 0x4060d1
cmp word [esp + 0x4c], bp
je 0x406226
lea edx, [esp + 0x14]
lea ecx, [esp + 0x1c]
push edx
mov ebx, 0xc8
call fcn.00407530
mov esi, eax
mov eax, dword [esi]
mov byte [esp + 0xac8], 1
mov ecx, dword [eax - 0xc]
lea edi, [eax - 0xc]
cmp ecx, 1
jg 0x406100
cmp dword [eax - 4], ebx
jge 0x406145
mov ebp, dword [eax - 8]
cmp ebp, 0xc8
jle 0x40610d
mov ebx, ebp
push ebx
mov ecx, esi
call fcn.00401820
test eax, eax
jne 0x40611f
xor esi, esi
xor ebp, ebp
jmp 0x406147
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.004017c0
mov ecx, dword [esi]
add esp, 0x10
push edi
mov dword [ecx - 8], ebp
call fcn.004018c0
xor ebp, ebp
mov esi, dword [esi]
push esi
lea edx, [esp + 0x934]
push 0x190
push edx
call fcn.00406310
lea ecx, [esp + 0x14]
mov byte [esp + 0xac8], 0
call fcn.004017f0
push 0x10
lea ecx, [esp + 0x20]
call fcn.004076a0
test eax, eax
je 0x4061cd
mov ecx, 0x63
xor eax, eax
lea edi, [esp + 0x612]
mov word [esp + 0x610], bp
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0xad0]
lea edx, [esp + 0x610]
stosw word es:[edi], ax
lea eax, [esp + 0x930]
push eax
push ecx
push str._s_s
push 0x190
push edx
call fcn.004062a0
lea eax, [esp + 0x624]
push eax
call fcn.00405ec0
add esp, 0x18
jmp 0x40621f
mov edx, dword [esp + 0xad0]
mov ecx, 0x63
xor eax, eax
lea edi, [esp + 0x7a2]
mov word [esp + 0x7a0], bp
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x930]
push ecx
push edx
stosw word es:[edi], ax
push str._s_s
lea eax, [esp + 0x7ac]
push 0x190
push eax
call fcn.004062a0
add esp, 0x14
lea ecx, [esp + 0x7a0]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0x47c]
cmp dword [esp + 0x10], ebp
jne 0x406064
mov ebx, dword [esp + 0xad0]
lea ecx, [esp + 0x1c]
call fcn.004076c0
push ebx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [esp + 0x1c]
mov dword [esp + 0xac8], 0xffffffff
call fcn.004076c0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0xab0]
mov dword fs:[0], ecx
add esp, 0xabc
ret
mov ecx, dword [esp + 0xab8]
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0xabc
ret