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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005e1b0
mov eax, dword fs:[0]
push eax
sub esp, 0x1f8
mov eax, dword [0x10432764]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x181], 0
lea ecx, [ebp - 0x28]
call fcn.10005290
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.10005290
mov byte [ebp - 4], 1
push 0x10060d74
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x1d4]
push ecx
call fcn.100254b0
add esp, 0xc
mov dword [ebp - 0x194], eax
mov edx, dword [ebp - 0x194]
push edx
lea ecx, [ebp - 0x40]
call fcn.1000b170
lea ecx, [ebp - 0x1d4]
call fcn.100056a0
lea eax, [ebp - 0x180]
push eax
lea ecx, [ebp - 0x40]
call fcn.10007fc0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x188], eax
cmp dword [ebp - 0x188], 0xffffffff
je 0x1002c87b
mov ecx, 1
imul edx, ecx, 0
movsx eax, byte [ebp + edx - 0x154]
cmp eax, 0x2e
je 0x1002c76d
push 0
lea ecx, [ebp - 0x28]
call fcn.1002e050
lea ecx, [ebp - 0x154]
push ecx
push 0x10060d7c
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x204]
push eax
call fcn.100254b0
add esp, 0xc
mov dword [ebp - 0x198], eax
mov ecx, dword [ebp - 0x198]
mov dword [ebp - 0x19c], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x19c]
push edx
lea eax, [ebp - 0x1ec]
push eax
call fcn.1002a7b0
add esp, 0xc
mov dword [ebp - 0x1a0], eax
mov ecx, dword [ebp - 0x1a0]
push ecx
lea ecx, [ebp - 0x28]
call fcn.1000b170
lea ecx, [ebp - 0x1ec]
call fcn.100056a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x204]
call fcn.100056a0
mov edx, dword [ebp - 0x180]
and edx, 0x10
je 0x1002c6de
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1002c6d2
movzx ecx, byte [ebp + 0xc]
push ecx
lea edx, [ebp - 0x28]
push edx
call fcn.1002c520
add esp, 8
mov dword [ebp - 0x18c], eax
cmp dword [ebp - 0x18c], 0
je 0x1002c6d0
mov eax, dword [ebp - 0x18c]
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.100056a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.100056a0
mov eax, dword [ebp - 0x1a4]
jmp 0x1002c8a6
jmp 0x1002c6d9
mov byte [ebp - 0x181], 1
jmp 0x1002c76d
push 0x80
lea ecx, [ebp - 0x28]
call fcn.10007fc0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x1002c728
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1a8], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.100056a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.100056a0
mov eax, dword [ebp - 0x1a8]
jmp 0x1002c8a6
lea ecx, [ebp - 0x28]
call fcn.10007fc0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x1002c76d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1ac], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.100056a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.100056a0
mov eax, dword [ebp - 0x1ac]
jmp 0x1002c8a6
lea ecx, [ebp - 0x180]
push ecx
mov edx, dword [ebp - 0x188]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
cmp eax, 1
je 0x1002c5ce
mov eax, dword [ebp - 0x188]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x190], eax
cmp dword [ebp - 0x190], 0x12
je 0x1002c7e3
mov ecx, dword [ebp - 0x190]
mov dword [ebp - 0x1b0], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.100056a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.100056a0
mov eax, dword [ebp - 0x1b0]
jmp 0x1002c8a6
movzx edx, byte [ebp - 0x181]
test edx, edx
jne 0x1002c87b
push 0x80
mov ecx, dword [ebp + 8]
call fcn.10007fc0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x1002c839
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1b4], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.100056a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.100056a0
mov eax, dword [ebp - 0x1b4]
jmp 0x1002c8a6
mov ecx, dword [ebp + 8]
call fcn.10007fc0
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x1002c87b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1b8], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.100056a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.100056a0
mov eax, dword [ebp - 0x1b8]
jmp 0x1002c8a6
mov dword [ebp - 0x1bc], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.100056a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.100056a0
mov eax, dword [ebp - 0x1bc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003a016
mov esp, ebp
pop ebp
ret