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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e9c10
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x2a8
mov eax, dword [0x521104]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [edi + 0x10]
test ecx, ecx
jne 0x486c31
xor al, al
jmp 0x486ed6
mov eax, 0x7ffffffe
sub eax, ecx
cmp eax, 2
jb 0x486ef4
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x486c4b
mov eax, dword [edi]
push 2
push 0x50a774
push ecx
push eax
push ecx
push dword [ebp - 0x18]
lea ecx, [ebp - 0x2a0]
call fcn.00409de0
cmp dword [ebp - 0x28c], 8
lea ecx, [ebp - 0x288]
lea eax, [ebp - 0x2a0]
cmovae eax, dword [ebp - 0x2a0]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0x34], esi
lea ecx, [ebp - 0x2a0]
mov dword [ebp - 4], 0
call fcn.0040a450
cmp esi, 0xffffffff
je 0x486e41
nop word [eax + eax]
mov ecx, 0x501bac
lea eax, [ebp - 0x25c]
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x486ce6
test dx, dx
je 0x486ce2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x486ce6
add eax, 4
add ecx, 4
test dx, dx
jne 0x486cc0
xor eax, eax
jmp 0x486ceb
sbb eax, eax
or eax, 1
test eax, eax
je 0x486e24
mov eax, 0x50a720
lea ecx, [ebp - 0x25c]
nop
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x486d26
test dx, dx
je 0x486d22
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x486d26
add ecx, 4
add eax, 4
test dx, dx
jne 0x486d00
xor eax, eax
jmp 0x486d2b
sbb eax, eax
or eax, 1
test eax, eax
je 0x486e24
mov ecx, dword [edi + 0x10]
mov eax, 0x5c
mov word [ebp - 0x18], ax
cmp ecx, 0x7ffffffe
je 0x486ef4
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x486d55
mov eax, dword [edi]
push 1
lea edx, [ebp - 0x18]
push edx
push ecx
push eax
push ecx
push dword [ebp - 0x18]
lea ecx, [ebp - 0x2b8]
call fcn.00409de0
lea ecx, [ebp - 0x25c]
mov byte [ebp - 4], 1
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x486d80
sub ecx, edx
lea eax, [ebp - 0x25c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2b8]
call fcn.00409fd0
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x1c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x30], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x20], xmm0
mov byte [ebp - 4], 3
xor ecx, ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0x2b8]
call fcn.0040a450
mov eax, dword [ebp - 0x288]
test al, 0x10
je 0x486e0e
test eax, 0x400
jne 0x486e18
push 1
push 0
mov dl, 1
lea ecx, [ebp - 0x30]
call fcn.00486be0
add esp, 8
jmp 0x486e18
mov dl, 1
lea ecx, [ebp - 0x30]
call fcn.00487c00
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call fcn.0040a450
lea eax, [ebp - 0x288]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x486cb0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x486e4b
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x486eb8
test al, 0x10
je 0x486eb8
xor esi, esi
nop dword [eax]
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x486e6a
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x486e95
and eax, 0x3126
mov ecx, 0x80
cmove eax, ecx
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x486e8d
mov ecx, dword [edi]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x486e9f
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x486eb8
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 1
jl 0x486e60
cmp dword [edi + 0x14], 8
jb 0x486ec0
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x486ed4
test al, 0x10
jne 0x486c2a
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a389b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0040a1f0
int3