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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10048cdb
mov eax, dword fs:[0]
push eax
sub esp, 0x1f8
mov eax, dword [0x1005f904]
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.10017940
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 0x10019b9f
mov ecx, 1
imul edx, ecx, 0
movsx eax, byte [ebp + edx - 0x19c]
cmp eax, 0x2e
je 0x10019a91
push 0
lea ecx, [ebp - 0x28]
call fcn.1001ac10
lea ecx, [ebp - 0x19c]
push ecx
push 0x1004ba10
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x88]
push eax
call fcn.10017940
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.10017900
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 0x10019a02
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x100199f6
movzx ecx, byte [ebp + 0xc]
push ecx
lea edx, [ebp - 0x28]
push edx
call fcn.10019850
add esp, 8
mov dword [ebp - 0x1d4], eax
cmp dword [ebp - 0x1d4], 0
je 0x100199f4
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 0x10019bca
jmp 0x100199fd
mov byte [ebp - 0x1c9], 1
jmp 0x10019a91
push 0x80
lea ecx, [ebp - 0x28]
call fcn.10005270
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x10019a4c
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 0x10019bca
lea ecx, [ebp - 0x28]
call fcn.10005270
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x10019a91
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 0x10019bca
lea ecx, [ebp - 0x1c8]
push ecx
mov edx, dword [ebp - 0x1d0]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
cmp eax, 1
je 0x100198f8
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 0x10019b07
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 0x10019bca
movzx edx, byte [ebp - 0x1c9]
test edx, edx
jne 0x10019b9f
push 0x80
mov ecx, dword [ebp + 8]
call fcn.10005270
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x10019b5d
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 0x10019bca
mov ecx, dword [ebp + 8]
call fcn.10005270
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x10019b9f
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 0x10019bca
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.100290d5
mov esp, ebp
pop ebp
ret