Function at 0x5c35d0
Capabilities:
Check if file exists
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6916c0
mov eax, dword fs:[0]
push eax
sub esp, 0x2ac
mov eax, dword [0x74e694]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x10], 0
jne 0x5c360d
mov al, 1
jmp 0x5c3b88
push eax
lea ecx, [ebp - 0x28]
call fcn.005a7d30
mov edi, dword [ebp - 0x18]
xor ecx, ecx
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x28]
mov dword [ebp - 4], 0
test edi, edi
je 0x5c365a
nop dword [eax]
cmp edx, 0x10
lea eax, [ebp - 0x28]
cmovae eax, esi
cmp byte [eax + ecx], 0x2f
jne 0x5c3655
cmp edx, 0x10
lea eax, [ebp - 0x28]
cmovae eax, esi
mov byte [eax + ecx], 0x5c
mov edx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x28]
inc ecx
cmp ecx, edi
jb 0x5c3630
xor edi, edi
mov dword [ebp - 0x2b4], 0
mov dword [ebp - 0x2b0], edi
push edi
push edi
cmp edx, 0x10
mov byte [ebp - 4], 1
push 0xffffffffffffffff
lea eax, [ebp - 0x28]
cmovae eax, esi
push eax
push edi
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x5c36ad
mov edi, eax
add eax, eax
push eax
push 0
mov dword [ebp - 0x2b0], edi
call fcn.0066a672
mov esi, eax
add esp, 8
mov dword [ebp - 0x2b4], esi
jmp 0x5c36b3
mov esi, dword [ebp - 0x2b4]
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
push edi
cmovae ecx, dword [ebp - 0x28]
push esi
push 0xffffffffffffffff
push ecx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x5c36f1
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne byte [ebp - 0x2a9]
jmp 0x5c3b45
test al, 0x10
je 0x5c3b26
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
mov byte [ebp - 0x2a9], 1
mov byte [ebp - 0x2aa], 0
cmp byte [eax + ecx - 1], 0x5c
je 0x5c372b
push 1
push 0x716504
lea ecx, [ebp - 0x28]
call fcn.004485a0
lea eax, [ebp - 0x2b4]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.005c34c0
mov eax, dword [ebp - 0x2b0]
inc eax
mov dword [ebp - 0x2b0], eax
add eax, eax
push eax
push dword [ebp - 0x2b4]
call fcn.0066a672
mov esi, eax
add esp, 0x10
mov dword [ebp - 0x2b4], esi
lea edi, [esi - 2]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x5c3764
mov eax, dword [0x734310]
mov dword [edi], eax
lea eax, [ebp - 0x2a8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
mov dword [ebp - 0x2b8], edi
cmp edi, 0xffffffff
je 0x5c3ac9
mov edi, dword [ebp - 0x2b0]
nop dword [eax]
mov ecx, 0x6a4578
lea eax, [ebp - 0x27c]
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x5c37d6
test dx, dx
je 0x5c37d2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x5c37d6
add eax, 4
add ecx, 4
test dx, dx
jne 0x5c37b0
xor eax, eax
jmp 0x5c37db
sbb eax, eax
or eax, 1
test eax, eax
je 0x5c3aa8
mov ecx, 0x6a457c
lea eax, [ebp - 0x27c]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x5c3816
test dx, dx
je 0x5c3812
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x5c3816
add eax, 4
add ecx, 4
test dx, dx
jne 0x5c37f0
xor eax, eax
jmp 0x5c381b
sbb eax, eax
or eax, 1
test eax, eax
je 0x5c3aa8
test byte [ebp - 0x2a8], 0x10
je 0x5c393a
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.005c3530
add esp, 8
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
push ecx
push 0
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.005a5ba0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x30], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push dword [ebp + 0xc]
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 3
push eax
call fcn.005c35d0
and byte [ebp - 0x2a9], al
add esp, 8
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 2
cmp edx, 0x10
jb 0x5c38e7
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5c38dd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c3ba3
push edx
push ecx
call fcn.00663ac7
add esp, 8
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x5c3aa8
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5c392b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c3ba3
push edx
push ecx
call fcn.00663ac7
add esp, 8
jmp 0x5c3aa8
cmp byte [ebp + 0xc], 0
je 0x5c3aa1
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.005c3530
add esp, 8
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
push ecx
push 0
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.005a5ba0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
movups xmm0, xmmword [eax]
mov byte [ebp - 4], 1
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x30], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x5c39e2
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5c39d8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c3ba3
push edx
push ecx
call fcn.00663ac7
add esp, 8
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push 0
cmovae eax, dword [ebp - 0x40]
push 0
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, edi
jbe 0x5c3a25
mov dword [ebp - 0x2b0], eax
add eax, eax
push eax
push esi
call fcn.0066a672
mov edi, dword [ebp - 0x2b0]
mov esi, eax
add esp, 8
mov dword [ebp - 0x2b4], esi
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push edi
cmovae eax, dword [ebp - 0x40]
push esi
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test byte [ebp - 0x2a8], 1
je 0x5c3a57
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test byte [ebp - 0x2a9], al
mov edx, dword [ebp - 0x2c]
setne byte [ebp - 0x2a9]
cmp edx, 0x10
jb 0x5c3aa8
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5c3a95
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c3ba3
push edx
push ecx
call fcn.00663ac7
add esp, 8
jmp 0x5c3aa8
mov byte [ebp - 0x2aa], 1
lea eax, [ebp - 0x2a8]
push eax
push dword [ebp - 0x2b8]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x5c37a0
mov edi, dword [ebp - 0x2b8]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x5c3add
mov byte [ebp - 0x2a9], 0
jmp 0x5c3b45
cmp edi, 0xffffffff
je 0x5c3ae9
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp byte [ebp - 0x2a9], 0
je 0x5c3ad4
cmp byte [ebp - 0x2aa], 0
jne 0x5c3ad4
lea eax, [ebp - 0x2b4]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.005c34c0
mov esi, dword [ebp - 0x2b4]
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
setne byte [ebp - 0x2a9]
jmp 0x5c3b45
cmp byte [ebp + 0xc], 0
je 0x5c3b3e
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne byte [ebp - 0x2a9]
jmp 0x5c3b45
mov byte [ebp - 0x2a9], 1
test esi, esi
je 0x5c3b52
push esi
call fcn.0066a657
add esp, 4
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x5c3b82
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5c3b78
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c3ba3
push edx
push ecx
call fcn.00663ac7
add esp, 8
mov al, byte [ebp - 0x2a9]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00663ada
mov esp, ebp
pop ebp
ret
call fcn.0066a5fb
int3