Function at 0x440fc0
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Get file attributes
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4a99a6
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x4cdbb4]
xor eax, esp
mov dword [esp + 0x25c], eax
push ebp
push esi
push edi
mov eax, dword [0x4cdbb4]
xor eax, esp
push eax
lea eax, [esp + 0x270]
mov dword fs:[0], eax
mov eax, dword [0x4cf698]
mov edx, dword [eax + 0xc]
mov ebp, dword [esp + 0x280]
mov ecx, 0x4cf698
call edx
lea esi, [eax + 0x10]
mov dword [esp + 0x10], esi
mov eax, dword [0x4cf698]
mov edx, dword [eax + 0xc]
mov ecx, 0x4cf698
mov dword [esp + 0x278], 0
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x278], 1
test ebp, ebp
jne 0x441048
xor eax, eax
jmp 0x44105f
mov eax, ebp
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x441050
sub eax, edx
sar eax, 1
push eax
push ebp
lea ecx, [esp + 0x1c]
call fcn.00403e20
push 4
push 0x4af9c4
lea ecx, [esp + 0x1c]
call fcn.00436640
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x1c]
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov dword [esp + 0x18], eax
cmp eax, 0xffffffff
jne 0x4410f0
lea eax, [edi - 0x10]
mov byte [esp + 0x278], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4410b7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [esp + 0x278], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4410de
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x4412ba
mov ecx, 0x4af9c0
lea eax, [esp + 0x48]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x441126
test dx, dx
je 0x441122
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x441126
add eax, 4
add ecx, 4
test dx, dx
jne 0x441100
xor eax, eax
jmp 0x44112b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x441247
mov ecx, 0x4af9b8
lea eax, [esp + 0x48]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x441166
test dx, dx
je 0x441162
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x441166
add eax, 4
add ecx, 4
test dx, dx
jne 0x441140
xor eax, eax
jmp 0x44116b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x441247
test ebp, ebp
jne 0x44117b
xor eax, eax
jmp 0x44118f
mov eax, ebp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x441180
sub eax, edx
sar eax, 1
push eax
push ebp
lea ecx, [esp + 0x18]
call fcn.00403e20
mov ecx, dword [esp + 0x10]
mov edi, dword [ecx - 0xc]
mov eax, dword [ecx - 8]
mov edx, 1
sub edx, dword [ecx - 4]
lea esi, [edi + 1]
sub eax, esi
or eax, edx
jge 0x4411c3
push esi
lea ecx, [esp + 0x14]
call fcn.00403ee0
mov ecx, dword [esp + 0x10]
mov edx, 0x5c
mov word [ecx + edi*2], dx
test esi, esi
jl 0x4412e1
cmp esi, dword [ecx - 8]
jg 0x4412e1
xor eax, eax
mov dword [ecx - 0xc], esi
mov word [ecx + esi*2], ax
lea eax, [esp + 0x48]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4411f0
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x18]
call fcn.00436640
mov esi, dword [esp + 0x10]
push esi
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
test al, 1
je 0x441228
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
test byte [esp + 0x1c], 0x10
push esi
je 0x441241
call fcn.00440fc0
add esp, 4
push esi
call dword [sym.imp.KERNEL32.DLL_RemoveDirectoryW]
jmp 0x441247
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
mov edi, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push edx
push edi
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x4410f0
push edi
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x278], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44128e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [esp + 0x278], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4412b5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x270]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x25c]
xor ecx, esp
call fcn.004874cc
add esp, 0x26c
ret
push 0x80070057
call fcn.004033e0
int3