Function at 0x40ff10
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Move file
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x444d97
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x4571dc]
xor eax, esp
mov dword [esp + 0x264], eax
push ebx
push esi
push edi
mov eax, dword [0x4571dc]
xor eax, esp
push eax
lea eax, [esp + 0x278]
mov dword fs:[0], eax
mov eax, dword [esp + 0x288]
mov edi, ecx
push eax
lea ecx, [esp + 0x14]
xor esi, esi
call fcn.004018a0
push 0x44760c
lea ecx, [esp + 0x1c]
mov dword [esp + 0x284], esi
call fcn.004018a0
push 0x44760c
lea ecx, [esp + 0x18]
mov byte [esp + 0x284], 1
call fcn.004018a0
push 0x44760c
lea ecx, [esp + 0x20]
mov byte [esp + 0x284], 2
call fcn.004018a0
push 0x24c
lea eax, [esp + 0x2c]
push esi
mov bl, 3
push eax
mov byte [esp + 0x28c], bl
mov dword [esp + 0x30], esi
call fcn.00428a10
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push 0x447b1c
push ecx
mov ecx, edi
call fcn.0040fcd0
test eax, eax
je 0x410025
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 0xc]
dec eax
push eax
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x18]
call fcn.00402470
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x284], 4
call fcn.00401770
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x280], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410025
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, edi
call fcn.00408bf0
test eax, eax
jne 0x4100e3
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x280], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x410061
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x280], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410089
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x280], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4100b1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x280], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4100dc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x41034a
mov ecx, dword [esp + 0x10]
push 0x80
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x41026c
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
call fcn.00401770
push 0x447f7c
lea ecx, [esp + 0x1c]
call fcn.00402c90
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x24]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x41025f
lea ecx, [ecx]
push str.._
lea eax, [esp + 0x54]
push eax
mov ecx, edi
mov esi, 1
call fcn.0040fcd0
test eax, eax
jne 0x410244
push str..._
lea ecx, [esp + 0x54]
push ecx
mov ecx, edi
call fcn.0040fcd0
test eax, eax
jne 0x410244
push eax
push 0x44760c
lea ecx, [esp + 0x1c]
call fcn.00401610
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.004024f0
push esi
push 0x44764c
lea ecx, [esp + 0x1c]
call fcn.004024f0
lea eax, [esp + 0x50]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4101b0
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x54]
push edx
lea ecx, [esp + 0x1c]
call fcn.004024f0
mov eax, dword [esp + 0x24]
and eax, 0x10
cmp al, 0x10
jne 0x4101ed
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, edi
call fcn.0040ff10
mov esi, eax
test esi, esi
je 0x410258
jmp 0x410244
mov edx, dword [esp + 0x14]
push 0x80
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00405d10
add esp, 8
test al, al
je 0x410244
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x410244
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 2
je 0x410244
mov eax, dword [esp + 0x10]
push 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov esi, eax
neg esi
sbb esi, esi
neg esi
lea ecx, [esp + 0x24]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x410140
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x410277
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4102a5
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 2
je 0x4102a0
mov eax, dword [esp + 0x10]
push 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
xor ecx, ecx
test eax, eax
setne cl
mov esi, ecx
jmp 0x4102a5
mov esi, 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x280], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4102cd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x280], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4102f5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x280], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41031d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x280], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410348
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x278]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x264]
xor ecx, esp
call fcn.00428852
add esp, 0x274
ret 4