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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010f29e
mov eax, dword fs:[0]
push eax
sub esp, 0x2c4
mov eax, dword [0x102ac760]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x271], 0
lea ecx, [ebp - 0x14]
call fcn.10002e50
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.10002e50
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
call fcn.10002fd0
push 0x10288e1c
lea ecx, [ebp - 0x10]
call fcn.100089a0
lea ecx, [ebp - 0x26c]
push ecx
lea ecx, [ebp - 0x10]
call fcn.10008dd0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x270], eax
cmp dword [ebp - 0x270], 0xffffffff
je 0x100fef3e
movzx edx, word [ebp - 0x240]
cmp edx, 0x2e
je 0x100fee3e
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
call fcn.10002fd0
push 0x10288e28
lea ecx, [ebp - 0x14]
call fcn.100089a0
lea ecx, [ebp - 0x240]
push ecx
lea ecx, [ebp - 0x14]
call fcn.100089a0
mov edx, dword [ebp - 0x26c]
and edx, 0x10
je 0x100fedaf
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x100feda3
movzx ecx, byte [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x14]
call fcn.10008dd0
push eax
call fcn.100fec70
add esp, 8
mov dword [ebp - 0x27c], eax
cmp dword [ebp - 0x27c], 0
je 0x100feda1
mov edx, dword [ebp - 0x27c]
mov dword [ebp - 0x280], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.10003610
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10003610
mov eax, dword [ebp - 0x280]
jmp 0x100fef69
jmp 0x100fedaa
mov byte [ebp - 0x271], 1
jmp 0x100fee3e
push 0x80
lea ecx, [ebp - 0x14]
call fcn.10008dd0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x100fedf9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x284], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.10003610
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10003610
mov eax, dword [ebp - 0x284]
jmp 0x100fef69
lea ecx, [ebp - 0x14]
call fcn.10008dd0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x100fee3e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x288], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.10003610
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10003610
mov eax, dword [ebp - 0x288]
jmp 0x100fef69
lea eax, [ebp - 0x26c]
push eax
mov ecx, dword [ebp - 0x270]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp eax, 1
je 0x100fecff
mov edx, dword [ebp - 0x270]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x278], eax
cmp dword [ebp - 0x278], 0x12
je 0x100feeb4
mov eax, dword [ebp - 0x278]
mov dword [ebp - 0x28c], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.10003610
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10003610
mov eax, dword [ebp - 0x28c]
jmp 0x100fef69
movzx ecx, byte [ebp - 0x271]
test ecx, ecx
jne 0x100fef3e
push 0x80
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x100fef01
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x290], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.10003610
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10003610
mov eax, dword [ebp - 0x290]
jmp 0x100fef69
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x100fef3e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x294], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.10003610
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10003610
mov eax, dword [ebp - 0x294]
jmp 0x100fef69
mov dword [ebp - 0x298], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.10003610
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10003610
mov eax, dword [ebp - 0x298]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.100b2738
mov esp, ebp
pop ebp
ret