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

Disassembly:
push 0xffffffffffffffff
push 0x4bafe6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x260
mov eax, dword [0x4ce114]
push esi
mov dword [esp + 4], eax
mov dword [esp + 0x26c], 0
mov dword [esp + 8], eax
mov esi, dword [esp + 0x274]
mov byte [esp + 0x26c], 1
test esi, esi
jne 0x42be0b
xor eax, eax
jmp 0x42be12
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push eax
lea ecx, [esp + 0x10]
call fcn.00406440
mov eax, 0x4ce948
test eax, eax
je 0x42be31
push 0x4ce948
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x4ce948
push eax
lea ecx, [esp + 0x10]
call fcn.00411a40
mov edx, dword [esp + 8]
lea ecx, [esp + 0x14]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x42becd
mov eax, dword [esp + 8]
mov edx, dword [0x4ce0a0]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x42be8a
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x42be8a
mov edx, dword [esp + 8]
add edx, 0xfffffff4
push edx
call fcn.004b7a35
add esp, 4
mov eax, dword [esp + 4]
mov edx, dword [0x4ce0a0]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x42beb5
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x42beb5
mov edx, dword [esp + 4]
add edx, 0xfffffff4
push edx
call fcn.004b7a35
add esp, 4
xor eax, eax
pop esi
mov ecx, dword [esp + 0x260]
mov dword fs:[0], ecx
add esp, 0x26c
ret
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll_wcscmp]
push ebp
mov ebp, dword [esp + 0x280]
push edi
mov edi, dword [esp + 0x288]
lea eax, [esp + 0x4c]
push 0x4d0498
push eax
call ebx
add esp, 8
test eax, eax
je 0x42bffd
lea ecx, [esp + 0x4c]
push 0x4d0490
push ecx
call ebx
add esp, 8
test eax, eax
je 0x42bffd
test ebp, ebp
jne 0x42bf31
lea edx, [esp + 0x4c]
push str.desktop.ini
push edx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x42bffd
test esi, esi
jne 0x42bf39
xor eax, eax
jmp 0x42bf40
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push eax
lea ecx, [esp + 0x18]
call fcn.00406440
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x10]
push eax
push 1
mov dword [esp + 0x24], 0x5c
call fcn.00411a40
lea ecx, [esp + 0x4c]
test ecx, ecx
jne 0x42bf6f
xor eax, eax
jmp 0x42bf7a
lea edx, [esp + 0x4c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [esp + 0x4c]
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.00411a40
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 1
je 0x42bfa6
and al, 0xfe
push eax
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test byte [esp + 0x20], 0x10
je 0x42bfc9
mov ecx, dword [esp + 0x10]
push edi
push ebp
push ecx
call fcn.0042bdc0
mov edx, dword [esp + 0x1c]
add esp, 0xc
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x42bffd
test edi, edi
je 0x42bff2
lea eax, [esp + 0x4c]
push str.index.dat
push eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x42bff2
lea ecx, [esp + 0x4c]
push ecx
push esi
call fcn.0042c0a0
add esp, 8
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x20]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x42bee4
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x14]
mov edx, dword [0x4ce0a0]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
pop edi
lea ecx, [eax - 0xc]
pop ebp
cmp ecx, edx
pop ebx
je 0x42c054
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x42c054
mov edx, dword [esp + 8]
add edx, 0xfffffff4
push edx
call fcn.004b7a35
add esp, 4
mov eax, dword [esp + 4]
mov edx, dword [0x4ce0a0]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x42c07f
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x42c07f
mov edx, dword [esp + 4]
add edx, 0xfffffff4
push edx
call fcn.004b7a35
add esp, 4
mov ecx, dword [esp + 0x264]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x26c
ret