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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10046f7b
mov eax, dword fs:[0]
push eax
sub esp, 0x1f8
mov eax, dword [0x1005d904]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x1c9], 0
lea ecx, [ebp - 0x28]
call fcn.10002e70
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.10002e70
mov byte [ebp - 4], 1
push str..
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x58]
push ecx
call fcn.10015d60
add esp, 0xc
mov dword [ebp - 0x1dc], eax
mov edx, dword [ebp - 0x1dc]
push edx
lea ecx, [ebp - 0x40]
call fcn.10008390
lea ecx, [ebp - 0x58]
call fcn.100030b0
lea eax, [ebp - 0x1c8]
push eax
lea ecx, [ebp - 0x40]
call fcn.10005270
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x1d0], eax
cmp dword [ebp - 0x1d0], 0xffffffff
je 0x10017fbf
mov ecx, 1
imul edx, ecx, 0
movsx eax, byte [ebp + edx - 0x19c]
cmp eax, 0x2e
je 0x10017eb1
push 0
lea ecx, [ebp - 0x28]
call fcn.10019040
lea ecx, [ebp - 0x19c]
push ecx
push 0x100499e4
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x88]
push eax
call fcn.10015d60
add esp, 0xc
mov dword [ebp - 0x1e0], eax
mov ecx, dword [ebp - 0x1e0]
mov dword [ebp - 0x1e4], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x1e4]
push edx
lea eax, [ebp - 0x70]
push eax
call fcn.10015d20
add esp, 0xc
mov dword [ebp - 0x1e8], eax
mov ecx, dword [ebp - 0x1e8]
push ecx
lea ecx, [ebp - 0x28]
call fcn.10008390
lea ecx, [ebp - 0x70]
call fcn.100030b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x88]
call fcn.100030b0
mov edx, dword [ebp - 0x1c8]
and edx, 0x10
je 0x10017e22
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10017e16
movzx ecx, byte [ebp + 0xc]
push ecx
lea edx, [ebp - 0x28]
push edx
call fcn.10017c70
add esp, 8
mov dword [ebp - 0x1d4], eax
cmp dword [ebp - 0x1d4], 0
je 0x10017e14
mov eax, dword [ebp - 0x1d4]
mov dword [ebp - 0x1ec], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.100030b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.100030b0
mov eax, dword [ebp - 0x1ec]
jmp 0x10017fea
jmp 0x10017e1d
mov byte [ebp - 0x1c9], 1
jmp 0x10017eb1
push 0x80
lea ecx, [ebp - 0x28]
call fcn.10005270
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x10017e6c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1f0], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.100030b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.100030b0
mov eax, dword [ebp - 0x1f0]
jmp 0x10017fea
lea ecx, [ebp - 0x28]
call fcn.10005270
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x10017eb1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1f4], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.100030b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.100030b0
mov eax, dword [ebp - 0x1f4]
jmp 0x10017fea
lea ecx, [ebp - 0x1c8]
push ecx
mov edx, dword [ebp - 0x1d0]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
cmp eax, 1
je 0x10017d18
mov eax, dword [ebp - 0x1d0]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1d8], eax
cmp dword [ebp - 0x1d8], 0x12
je 0x10017f27
mov ecx, dword [ebp - 0x1d8]
mov dword [ebp - 0x1f8], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.100030b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.100030b0
mov eax, dword [ebp - 0x1f8]
jmp 0x10017fea
movzx edx, byte [ebp - 0x1c9]
test edx, edx
jne 0x10017fbf
push 0x80
mov ecx, dword [ebp + 8]
call fcn.10005270
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x10017f7d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1fc], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.100030b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.100030b0
mov eax, dword [ebp - 0x1fc]
jmp 0x10017fea
mov ecx, dword [ebp + 8]
call fcn.10005270
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x10017fbf
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x200], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.100030b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.100030b0
mov eax, dword [ebp - 0x200]
jmp 0x10017fea
mov dword [ebp - 0x204], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.100030b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.100030b0
mov eax, dword [ebp - 0x204]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100274ff
mov esp, ebp
pop ebp
ret