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

Disassembly:
push 0xffffffffffffffff
push 0x6399cd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x290
push ebx
push ebp
push esi
xor esi, esi
xor eax, eax
push edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], esi
mov word [esp + 0x20], si
mov ebx, dword [esp + 0x2b0]
mov ecx, 0x6cbf74
test ecx, ecx
mov dword [esp + 0x2a8], esi
je 0x420000
cmp ebx, esi
je 0x420000
push ebx
lea ecx, [esp + 0x2c]
call fcn.00401ee0
mov bl, 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2a8], bl
call fcn.00401070
mov dword [esp + 0x10], esi
mov dword [esp + 0x18], esi
mov word [esp + 0x14], si
push esi
push 0x6cbf74
lea ecx, [esp + 0x18]
mov byte [esp + 0x2b0], 2
call fcn.004027e0
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x28]
call fcn.00401f10
push eax
call fcn.00609a4e
lea esi, [eax + esi + 2]
lea ebp, [esi + esi]
push ebp
call fcn.00622acb
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x1c], edi
je 0x41ffd2
mov ecx, ebp
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [esp + 0x28]
call fcn.00401f10
push eax
lea ecx, [esp + 0x14]
call fcn.00401f10
push eax
mov eax, dword [esp + 0x24]
push esi
push eax
call fcn.006099de
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.00609a4e
add esp, 0x14
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2a8], bl
call fcn.00401070
lea ecx, [esp + 0x28]
mov byte [esp + 0x2a8], 0
call fcn.00401070
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x2b0]
xor esi, esi
cmp eax, esi
jne 0x420008
lea eax, [esp + 0x20]
lea edx, [esp + 0x50]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
mov dword [esp + 0x34], edi
jne 0x420036
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2a8], eax
call fcn.00401070
or eax, edi
jmp 0x420255
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea eax, [esp + 0x50]
push eax
push edi
call ebp
lea ecx, [esp + 0x50]
push ecx
push edi
call ebp
test eax, eax
je 0x42021a
xor eax, eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], eax
mov word [esp + 0x14], si
mov edx, 0x6c900c
mov byte [esp + 0x2a8], 3
test edx, edx
je 0x4201af
cmp ebx, esi
je 0x4201af
lea ecx, [esp + 0x7c]
test ecx, ecx
je 0x4201af
lea ecx, [esp + 0x28]
call fcn.004027c0
push esi
push 0x6c900c
lea ecx, [esp + 0x30]
mov byte [esp + 0x2b0], 4
call fcn.004027e0
push ebx
lea ecx, [esp + 0x48]
call fcn.00401ee0
lea edx, [esp + 0x7c]
lea ecx, [esp + 0x38]
push edx
mov byte [esp + 0x2ac], 5
call fcn.00401ee0
lea ecx, [esp + 0x10]
mov byte [esp + 0x2a8], 6
call fcn.00401070
mov esi, dword [esp + 0x30]
lea ecx, [esp + 0x38]
call fcn.00401f10
push eax
call fcn.00609a4e
add esp, 4
lea ecx, [esp + 0x44]
mov edi, eax
call fcn.00401f10
push eax
call fcn.00609a4e
add esi, edi
lea esi, [eax + esi + 3]
lea ebp, [esi + esi]
push ebp
call fcn.00622acb
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x10], edi
je 0x42016c
mov ecx, ebp
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [esp + 0x38]
call fcn.00401f10
push eax
lea ecx, [esp + 0x48]
call fcn.00401f10
push eax
lea ecx, [esp + 0x30]
call fcn.00401f10
push eax
mov eax, dword [esp + 0x1c]
push esi
push eax
call fcn.006099de
mov ecx, dword [esp + 0x24]
push ecx
call fcn.00609a4e
add esp, 0x18
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x2a8], 5
call fcn.00401070
lea ecx, [esp + 0x44]
mov byte [esp + 0x2a8], 4
call fcn.00401070
lea ecx, [esp + 0x28]
mov byte [esp + 0x2a8], 3
call fcn.00401070
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x34]
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileW]
xor esi, esi
mov edx, dword [esp + 0x50]
and edx, 0x10
cmp dl, 0x10
je 0x4201cc
cmp eax, esi
jne 0x4201c3
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x4201f9
cmp eax, esi
jne 0x4201d4
lea eax, [esp + 0x14]
push esi
push eax
push 0x6cbf70
lea ecx, [esp + 0x1c]
call fcn.0041da80
mov eax, dword [esp + 0x10]
cmp eax, esi
jne 0x4201f0
lea eax, [esp + 0x14]
push eax
call fcn.0041fed0
add esp, 4
lea ecx, [esp + 0x10]
mov byte [esp + 0x2a8], 0
call fcn.00401070
lea eax, [esp + 0x50]
push eax
push edi
call ebp
test eax, eax
jne 0x420054
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [0x6fca48]
cmp eax, esi
jne 0x42022f
mov eax, 0x6fca4c
push eax
call fcn.0060b2c8
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2a8], 0xffffffff
call fcn.00401070
xor eax, eax
mov ecx, dword [esp + 0x2a0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x29c
ret