Function at 0x4211a0
Capabilities:
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 0x4514e6
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x4650c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x270], ecx
mov ecx, section..data
call edx
lea esi, [eax + 0x10]
mov dword [ebp - 0x268], esi
mov dword [ebp - 4], 0
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [ebp - 0x26c], eax
mov byte [ebp - 4], 1
test edi, edi
jne 0x42121a
xor eax, eax
jmp 0x42122f
mov eax, edi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x421220
sub eax, edx
sar eax, 1
push edi
lea ecx, [ebp - 0x26c]
push ecx
mov ebx, eax
call fcn.00402080
push 4
push str..
lea ebx, [ebp - 0x26c]
call fcn.004019a0
mov ebx, dword [ebp - 0x26c]
lea edx, [ebp - 0x264]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x274], eax
cmp eax, 0xffffffff
jne 0x4212c0
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42128f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4212b2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x4214f7
mov ecx, 0x459e90
lea eax, [ebp - 0x238]
jmp 0x4212d0
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4212f6
test dx, dx
je 0x4212f2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4212f6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4212d0
xor eax, eax
jmp 0x4212fb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x421486
mov ecx, 0x459e94
lea eax, [ebp - 0x238]
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x421336
test dx, dx
je 0x421332
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x421336
add eax, 4
add ecx, 4
test dx, dx
jne 0x421310
xor eax, eax
jmp 0x42133b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x421486
cmp dword [ebp + 0xc], 0
jne 0x421365
lea ecx, [ebp - 0x238]
push str.desktop.ini
push ecx
call fcn.0043b548
add esp, 8
test eax, eax
je 0x421486
test edi, edi
jne 0x42136d
xor eax, eax
jmp 0x421381
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x421372
sub eax, edx
sar eax, 1
push edi
lea edx, [ebp - 0x268]
push edx
mov ebx, eax
call fcn.00402080
mov eax, dword [ebp - 0x268]
mov ebx, dword [eax - 0xc]
lea esi, [ebx + 1]
test esi, esi
js 0x421515
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, esi
or ecx, edx
jge 0x4213c8
mov eax, esi
lea ecx, [ebp - 0x268]
call fcn.00402000
mov eax, dword [ebp - 0x268]
mov ecx, 0x5c
mov word [eax + ebx*2], cx
cmp esi, dword [eax - 8]
jg 0x421515
xor edx, edx
mov dword [eax - 0xc], esi
mov word [eax + esi*2], dx
lea eax, [ebp - 0x238]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4213f0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x238]
push eax
lea ebx, [ebp - 0x268]
call fcn.004019a0
mov esi, dword [ebp - 0x268]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 1
je 0x42142e
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test byte [ebp - 0x264], 0x10
je 0x421454
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x270]
push edx
push esi
call fcn.004211a0
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x421486
cmp dword [ebp + 0x10], 0
je 0x42147f
lea eax, [ebp - 0x238]
push str.index.dat
push eax
call fcn.0043b548
add esp, 8
test eax, eax
jne 0x42147f
lea edx, [ebp - 0x238]
mov ecx, edi
call fcn.00421520
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, dword [ebp - 0x274]
lea ecx, [ebp - 0x264]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4212c0
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x26c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4214cf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4214f2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004397ee
mov esp, ebp
pop ebp
ret 0xc
push 0x80070057
call fcn.00402060
int3