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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a6e5d
mov eax, dword fs:[0]
push eax
sub esp, 0x2b4
mov eax, dword [0x4d1480]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2b8], edx
mov edi, ecx
mov dword [ebp - 0x2bc], edi
mov ecx, dword [edi + 0x10]
cmp ecx, 4
jae 0x413daa
xor eax, eax
jmp 0x4141f5
mov eax, SysReAllocString
mov dword [ebp - 0x2ac], 0
sub eax, ecx
cmp eax, 3
jb 0x414210
cmp dword [edi + 0x14], 7
mov eax, edi
jbe 0x413dce
mov eax, dword [edi]
push 3
push 0x4c0d04
push ecx
push eax
push ecx
push dword [ebp - 0x2b4]
lea ecx, [ebp - 0x58]
call fcn.0040e310
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2a8]
cmp dword [ebp - 0x44], 7
lea eax, [ebp - 0x58]
push ecx
cmova eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0x2b4], esi
cmp esi, 0xffffffff
je 0x414183
nop word [eax + eax]
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x27c]
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x40], xmm0
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x413e40
sub ecx, edx
lea eax, [ebp - 0x27c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.004082b0
mov byte [ebp - 4], 1
mov eax, SysReAllocString
mov edx, dword [edi + 0x10]
sub eax, edx
mov esi, dword [ebp - 0x30]
cmp eax, esi
jb 0x414210
cmp dword [edi + 0x14], 7
mov ecx, edi
jbe 0x413e82
mov ecx, dword [edi]
cmp dword [ebp - 0x2c], 7
lea eax, [ebp - 0x40]
push esi
cmova eax, dword [ebp - 0x40]
push eax
push edx
push ecx
push ecx
push dword [ebp - 0x2b4]
lea ecx, [ebp - 0x28]
call fcn.0040e310
mov byte [ebp - 4], 2
test byte [ebp - 0x2a8], 0x10
je 0x413ebc
push 1
push 0x4c0224
lea ecx, [ebp - 0x28]
call fcn.0040d1f0
mov eax, dword [ebp - 0x2b8]
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x2b0], esi
mov ecx, dword [eax]
mov eax, dword [ecx]
cmp eax, ecx
je 0x413fe5
nop word [eax + eax]
cmp dword [ebp - 0x14], 7
lea edx, [ebp - 0x28]
cmova edx, esi
cmp dword [eax + 0x1c], 7
lea esi, [eax + 8]
jbe 0x413ef6
mov esi, dword [eax + 8]
mov edi, dword [eax + 0x18]
cmp edi, dword [ebp - 0x18]
jne 0x413f29
test edi, edi
je 0x413f37
sub esi, edx
mov dword [ebp - 0x2c0], esi
nop word [eax + eax]
mov si, word [esi + edx]
cmp si, word [edx]
jne 0x413f29
add edx, 2
sub edi, 1
je 0x413f37
mov esi, dword [ebp - 0x2c0]
jmp 0x413f10
mov edx, dword [eax]
mov eax, edx
mov esi, dword [ebp - 0x2b0]
cmp edx, ecx
jne 0x413ee0
mov esi, dword [ebp - 0x2b0]
cmp eax, ecx
je 0x413fe5
mov byte [ebp - 4], 1
mov edi, 1
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2ac], edi
cmp eax, 7
jbe 0x413f8b
lea ecx, [eax*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x413f81
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414215
push ecx
push esi
call fcn.004804a9
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], al
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp ecx, 7
jbe 0x41414f
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x413fd6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414215
push ecx
push edx
call fcn.004804a9
add esp, 8
jmp 0x41414f
cmp dword [ebp - 0x2c], 7
lea esi, [ebp - 0x40]
mov edi, dword [ebp - 0x40]
mov eax, dword [ebp - 0x30]
cmova esi, edi
cmp eax, 1
jne 0x414019
mov ecx, 0x4c0d0c
mov edx, eax
sub esi, ecx
mov ax, word [esi + ecx]
cmp ax, word [ecx]
jne 0x414016
add ecx, 2
sub edx, 1
jne 0x414003
jmp 0x414042
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x2c], 7
lea esi, [ebp - 0x40]
cmova esi, edi
cmp eax, 2
jne 0x414061
mov ecx, 0x4c0d10
mov edx, eax
sub esi, ecx
mov ax, word [esi + ecx]
cmp ax, word [ecx]
jne 0x414061
add ecx, 2
sub edx, 1
jne 0x414031
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
cmp eax, 7
jbe 0x4140fb
mov edx, dword [ebp - 0x2b0]
lea ecx, [eax*2 + 2]
jmp 0x4140d3
test byte [ebp - 0x2a8], 0x10
je 0x41407a
mov edx, dword [ebp - 0x2b8]
lea ecx, [ebp - 0x28]
call fcn.00413d60
jmp 0x41408f
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x2b0]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4140bd
cmp dword [ebp - 0x14], 7
lea esi, [ebp - 0x28]
cmova esi, dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.RemoveFile_fileName___s_error___d
push 0x86
push str.RemoveDirExcept
call fcn.00426450
add esp, 0x14
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x4140fb
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4140f1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414215
push ecx
push edx
call fcn.004804a9
add esp, 8
xor eax, eax
mov byte [ebp - 4], al
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
cmp eax, 7
jbe 0x414149
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x41413f
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414215
push ecx
push edi
call fcn.004804a9
add esp, 8
mov edi, dword [ebp - 0x2ac]
mov esi, dword [ebp - 0x2b4]
lea eax, [ebp - 0x2a8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x414172
mov edi, dword [ebp - 0x2bc]
jmp 0x413e20
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
test edi, edi
jne 0x4141b8
mov edi, dword [ebp - 0x2bc]
cmp dword [edi + 0x14], 7
jbe 0x41418b
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x4141b8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.RemoveDirectory_error___d
push 0x90
push str.RemoveDirExcept
call fcn.00426450
add esp, 0x10
xor esi, esi
jmp 0x4141bd
mov esi, 1
mov ecx, dword [ebp - 0x44]
cmp ecx, 7
jbe 0x4141f3
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4141e9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414215
push ecx
push edx
call fcn.004804a9
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048049b
mov esp, ebp
pop ebp
ret
call fcn.00408bc0
call fcn.00485a5d
int3