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

Disassembly:
push 0x284
mov eax, 0x101c56e
call fcn.01019fd8
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.01008944
mov ebx, eax
neg ebx
sbb bl, bl
lea ecx, [ebp - 0x268]
inc bl
call fcn.01019576
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 0
call fcn.01019576
test bl, bl
je 0x1013615
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.01019552
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 0
call fcn.01019576
push 0x1007220
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.01019576
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 0x1013758
test ebx, ebx
je 0x1013758
test byte [ebp - 0x260], 0x10
jne 0x1013743
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.01019552
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 8
call fcn.01019576
lea ecx, [ebp - 0x274]
mov byte [ebp - 4], 7
call fcn.01019576
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 6
call fcn.01019576
push dword [ebp - 0x270]
mov ecx, dword [ebp - 0x27c]
call fcn.010092e4
test eax, eax
je 0x1013743
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 0x101367e
mov ebx, dword [sym.imp.KERNEL32.dll_FindClose]
push edi
call ebx
push 0x1007218
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.01019576
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x280]
call esi
mov dword [ebp - 0x268], eax
cmp eax, 0xffffffff
je 0x1013921
test byte [ebp - 0x260], 0x10
je 0x10138fe
mov ecx, 0x1002588
lea eax, [ebp - 0x234]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10137f4
test dx, dx
je 0x10137f0
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10137f4
add eax, 4
add ecx, 4
test dx, dx
jne 0x10137ce
xor eax, eax
jmp 0x10137f9
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x10138fe
mov ecx, 0x1007210
lea eax, [ebp - 0x234]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1013832
test dx, dx
je 0x101382e
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1013832
add eax, 4
add ecx, 4
test dx, dx
jne 0x101380c
xor eax, eax
jmp 0x1013837
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x10138fe
push 0x1002e3d
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.01013554
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 0x10
call fcn.01019576
lea ecx, [ebp - 0x274]
mov byte [ebp - 4], 0xf
call fcn.01019576
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 0xe
call fcn.01019576
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 0xd
call fcn.01019576
lea ecx, [ebp - 0x28c]
mov byte [ebp - 4], 0xc
call fcn.01019576
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x268]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10137b6
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.01019576
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 5
call fcn.01019576
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 0
call fcn.01019576
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x264]
call fcn.01019576
call fcn.0101a06a
ret 8