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

Disassembly:
push 0x284
mov eax, 0x101c49e
call fcn.01019f16
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x27c], ecx
push eax
lea ecx, [ebp - 0x264]
call sub.MFC42u.dll_CString::CString_2
push dword [0x1024374]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x26c]
call sub.MFC42u.dll_CString::CString_1
mov esi, eax
push 1
lea eax, [ebp - 0x268]
push eax
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 1
call sub.MFC42u.dll_CString::Right
push dword [esi]
mov ecx, eax
call fcn.01008914
mov ebx, eax
neg ebx
sbb bl, bl
lea ecx, [ebp - 0x268]
inc bl
call fcn.010194b4
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 0
call fcn.010194b4
test bl, bl
je 0x1013553
mov eax, dword [ebp - 0x264]
mov eax, dword [eax - 8]
dec eax
push eax
lea eax, [ebp - 0x26c]
push eax
lea ecx, [ebp - 0x264]
call sub.MFC42u.dll_CString::Left
push eax
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 2
call fcn.01019490
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 0
call fcn.010194b4
push 0x10071e8
lea ecx, [ebp - 0x26c]
call sub.MFC42u.dll_CString::CString_1
push eax
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x284]
push eax
mov byte [ebp - 4], 3
call sub.MFC42u.dll_operator
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 5
call fcn.010194b4
lea ecx, [ebp - 0x270]
call sub.MFC42u.dll_CString::CString
mov esi, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x284]
xor ebx, ebx
mov byte [ebp - 4], 6
inc ebx
call esi
mov edi, eax
cmp edi, 0xffffffff
je 0x1013696
test ebx, ebx
je 0x1013696
test byte [ebp - 0x260], 0x10
jne 0x1013681
push dword [0x1024374]
lea ecx, [ebp - 0x278]
call sub.MFC42u.dll_CString::CString_1
push eax
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x274]
push eax
mov byte [ebp - 4], 7
call sub.MFC42u.dll_operator
lea ecx, [ebp - 0x234]
push ecx
push eax
lea eax, [ebp - 0x268]
push eax
mov byte [ebp - 4], 8
call sub.MFC42u.dll_operator_1
push eax
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 9
call fcn.01019490
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 8
call fcn.010194b4
lea ecx, [ebp - 0x274]
mov byte [ebp - 4], 7
call fcn.010194b4
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 6
call fcn.010194b4
push dword [ebp - 0x270]
mov ecx, dword [ebp - 0x27c]
call fcn.010092d7
test eax, eax
je 0x1013681
push 0x80
push dword [ebp - 0x270]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push dword [ebp - 0x270]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x260]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov ebx, eax
jmp 0x10135bc
mov ebx, dword [sym.imp.KERNEL32.dll_FindClose]
push edi
call ebx
push 0x10071e0
lea ecx, [ebp - 0x27c]
call sub.MFC42u.dll_CString::CString_1
push eax
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x280]
push eax
mov byte [ebp - 4], 0xa
call sub.MFC42u.dll_operator
lea ecx, [ebp - 0x27c]
mov byte [ebp - 4], 0xc
call fcn.010194b4
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x280]
call esi
mov dword [ebp - 0x268], eax
cmp eax, 0xffffffff
je 0x101385f
test byte [ebp - 0x260], 0x10
je 0x101383c
mov ecx, 0x1002588
lea eax, [ebp - 0x234]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1013732
test dx, dx
je 0x101372e
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1013732
add eax, 4
add ecx, 4
test dx, dx
jne 0x101370c
xor eax, eax
jmp 0x1013737
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x101383c
mov ecx, 0x10071d8
lea eax, [ebp - 0x234]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1013770
test dx, dx
je 0x101376c
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1013770
add eax, 4
add ecx, 4
test dx, dx
jne 0x101374a
xor eax, eax
jmp 0x1013775
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x101383c
push 0x1002e05
lea ecx, [ebp - 0x28c]
call sub.MFC42u.dll_CString::CString_3
mov esi, eax
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 0xd
call sub.MFC42u.dll_CString::CString_1
mov edi, eax
push dword [0x1024374]
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 0xe
call sub.MFC42u.dll_CString::CString_1
push eax
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x274]
push eax
mov byte [ebp - 4], 0xf
call sub.MFC42u.dll_operator
push edi
push eax
lea eax, [ebp - 0x278]
push eax
mov byte [ebp - 4], 0x10
call sub.MFC42u.dll_operator
push esi
push eax
mov byte [ebp - 4], 0x11
call fcn.01013492
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 0x10
call fcn.010194b4
lea ecx, [ebp - 0x274]
mov byte [ebp - 4], 0xf
call fcn.010194b4
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 0xe
call fcn.010194b4
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 0xd
call fcn.010194b4
lea ecx, [ebp - 0x28c]
mov byte [ebp - 4], 0xc
call fcn.010194b4
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x268]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10136f4
push dword [ebp - 0x268]
call ebx
push dword [ebp - 0x264]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 6
call fcn.010194b4
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 5
call fcn.010194b4
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 0
call fcn.010194b4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x264]
call fcn.010194b4
call fcn.01019fa8
ret 8