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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42e727
mov eax, dword fs:[0]
push eax
sub esp, 0x284
mov eax, dword [0x43c3f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x43d174]
mov esi, dword [ebp + 8]
mov edx, dword [eax + 0xc]
mov ecx, 0x43d174
mov dword [ebp - 0x278], esi
call edx
add eax, 0x10
mov dword [ebp - 0x264], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [0x43d174]
mov edx, dword [eax + 0xc]
mov ecx, 0x43d174
call edx
lea edi, [eax + 0x10]
mov dword [ebp - 0x26c], edi
mov dword [ebp - 0x290], ebx
mov dword [ebp - 0x28c], ebx
mov dword [ebp - 0x288], ebx
mov dword [ebp - 0x284], ebx
mov dword [ebp - 0x280], ebx
mov dword [ebp - 0x27c], 0xa
mov byte [ebp - 4], 2
cmp esi, ebx
je 0x416fe2
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x416fd1
sub eax, edx
sar eax, 1
mov ebx, eax
push esi
lea eax, [ebp - 0x264]
push eax
call fcn.0040d810
mov ebx, dword [ebp - 0x264]
cmp dword [ebx - 0xc], 0
jg 0x417035
lea esi, [ebp - 0x290]
call fcn.00419010
lea eax, [edi - 0x10]
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417026
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
lea eax, [ebx - 0x10]
jmp 0x4172c8
push 1
push 0x4347dc
lea ebx, [ebp - 0x264]
call fcn.00415200
mov ecx, ebx
push ecx
lea edx, [ebp - 0x270]
push edx
mov ebx, 0x436c64
call fcn.0040d580
mov eax, dword [eax]
add esp, 8
lea ecx, [ebp - 0x260]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
mov eax, dword [ebp - 0x270]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x417092
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp edi, 0xffffffff
je 0x4171ba
mov ecx, 0x436c68
lea eax, [ebp - 0x234]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4170cc
test dx, dx
je 0x4170c8
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4170cc
add eax, 4
add ecx, 4
test dx, dx
jne 0x4170a6
xor eax, eax
jmp 0x4170d1
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x41719d
mov ecx, 0x436c6c
lea eax, [ebp - 0x234]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41710a
test dx, dx
je 0x417106
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41710a
add eax, 4
add ecx, 4
test dx, dx
jne 0x4170e4
xor eax, eax
jmp 0x41710f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x41719d
test byte [ebp - 0x260], 0x10
lea ecx, [ebp - 0x264]
lea ebx, [ebp - 0x234]
push ecx
je 0x417156
lea edx, [ebp - 0x274]
push edx
call fcn.0040d580
mov byte [ebp - 4], 3
mov eax, dword [eax]
push 0
push eax
call fcn.00416f30
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x274]
add esp, 0x10
jmp 0x417181
lea edx, [ebp - 0x268]
push edx
call fcn.0040d580
add esp, 8
mov byte [ebp - 4], 4
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x290]
call fcn.00418f80
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x268]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41719d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x260]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x41709b
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edi, dword [ebp - 0x290]
test edi, edi
je 0x417280
xor eax, eax
test edi, edi
setne al
test eax, eax
je 0x4172fd
mov esi, dword [edi + 8]
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
mov edi, dword [edi]
call eax
cmp dword [esi - 4], 0
lea ecx, [esi - 4]
jl 0x417202
cmp eax, dword [esi - 0x10]
jne 0x417202
lea ebx, [esi - 0x10]
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x41723a
mov ecx, dword [esi - 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
je 0x417307
mov eax, dword [esi - 0xc]
mov dword [ebx + 4], eax
mov eax, dword [esi - 0xc]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [ebx + 0x10]
push eax
call fcn.0041a904
add esp, 0x10
lea esi, [ebx + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
add esi, 0xfffffff0
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417272
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
test edi, edi
jne 0x4171c8
mov esi, dword [ebp - 0x278]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea esi, [ebp - 0x290]
call fcn.00419010
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x26c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4172b8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x264]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4172e1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00419bd7
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0040cd60
call fcn.0040d800
int3