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

Disassembly:
push 0x2b0
mov eax, 0x4ede38
call fcn.004a1c1d
mov eax, dword [ebp + 8]
xor esi, esi
xor ecx, ecx
mov dword [ebp - 0x2b8], eax
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], esi
mov word [ebp - 0x48], cx
push eax
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], esi
call fcn.00412620
cmp dword [ebp - 0x38], esi
jne 0x463faf
mov bl, 1
lea ecx, [ebp - 0x48]
call fcn.004cc710
mov al, bl
call fcn.004a1ca0
ret
lea eax, [ebp - 0x2bc]
push eax
lea ecx, [ebp - 0x48]
call fcn.0042b770
mov eax, dword [eax]
cmp word [eax - 2], 0x5c
je 0x463fd4
push 0x5186c0
lea ecx, [ebp - 0x48]
call fcn.00413780
xor ecx, ecx
cmp dword [ebp - 0x38], esi
jbe 0x464007
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
jae 0x463fe7
lea eax, [ebp - 0x48]
cmp word [eax + ecx*2], 0x2f
jne 0x464001
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
jae 0x463ffa
lea eax, [ebp - 0x48]
push 0x5c
pop edx
mov word [eax + ecx*2], dx
inc ecx
cmp ecx, dword [ebp - 0x38]
jb 0x463fdb
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x64]
call fcn.004169e0
push 0x521e34
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 1
call fcn.00413780
push 0x250
lea eax, [ebp - 0x2b4]
push esi
push eax
call fcn.0049e880
mov eax, dword [ebp - 0x64]
add esp, 0xc
cmp dword [ebp - 0x50], 8
jae 0x464045
lea eax, [ebp - 0x64]
lea ecx, [ebp - 0x2b4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2bc], eax
cmp eax, 0xffffffff
jne 0x46406d
lea ecx, [ebp - 0x64]
call fcn.004cc710
xor bl, bl
jmp 0x463f9f
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004169e0
lea eax, [ebp - 0x288]
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.00413780
test byte [ebp - 0x2b4], 0x10
je 0x4640ee
lea eax, [ebp - 0x288]
push 0x521e3c
push eax
call fcn.004a0daa
pop ecx
pop ecx
test eax, eax
je 0x464149
lea eax, [ebp - 0x288]
push 0x521e40
push eax
call fcn.004a0daa
pop ecx
pop ecx
test eax, eax
je 0x464149
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x4640e5
lea eax, [ebp - 0x2c]
push eax
call fcn.00463f62
pop ecx
jmp 0x464149
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x4640fa
lea eax, [ebp - 0x2c]
push eax
call esi
test eax, eax
jne 0x464149
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x464149
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x464118
lea eax, [ebp - 0x2c]
push eax
call edi
cmp dword [ebp - 0x18], 8
mov ecx, dword [ebp - 0x2c]
jae 0x464127
lea ecx, [ebp - 0x2c]
and eax, 0xfffffffe
push eax
push ecx
call ebx
test eax, eax
je 0x4641c7
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x464142
lea eax, [ebp - 0x2c]
push eax
call esi
test eax, eax
je 0x4641c7
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.004cc710
lea eax, [ebp - 0x2b4]
push eax
push dword [ebp - 0x2bc]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x46407f
push dword [ebp - 0x2bc]
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [ebp - 0x2b8]
mov esi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
call esi
test eax, eax
jne 0x4641ba
push dword [ebp - 0x2b8]
call edi
and eax, 0xfffffffe
push eax
push dword [ebp - 0x2b8]
call ebx
test eax, eax
je 0x46405e
push dword [ebp - 0x2b8]
call esi
test eax, eax
je 0x46405e
lea ecx, [ebp - 0x64]
call fcn.004cc710
jmp 0x463f9d
lea ecx, [ebp - 0x2c]
call fcn.004cc710
jmp 0x46405e