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

Disassembly:
push 0xffffffffffffffff
push 0x4a4526
mov eax, dword fs:[0]
push eax
sub esp, 0x154
mov eax, dword [0x4d8b40]
xor eax, esp
mov dword [esp + 0x14c], eax
push ebp
push esi
push edi
mov eax, dword [0x4d8b40]
xor eax, esp
push eax
lea eax, [esp + 0x164]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x174]
call fcn.0044dc0d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42e31b
push 0x80004005
call fcn.00402ae0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x10], esi
mov dword [esp + 0x16c], 0
call fcn.0044dc0d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42e350
push 0x80004005
call fcn.00402ae0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x16c], 1
test ebp, ebp
jne 0x42e370
xor eax, eax
jmp 0x42e37e
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42e375
sub eax, edx
push eax
push ebp
lea ecx, [esp + 0x1c]
call fcn.00402900
push 4
push str..
lea ecx, [esp + 0x1c]
call fcn.00407720
mov edi, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [esp + 0x18], eax
cmp eax, 0xffffffff
jne 0x42e404
lea eax, [edi - 0x10]
mov byte [esp + 0x16c], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42e3d6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [esp + 0x16c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42e3fd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x42e5d0
lea ecx, [esp + 0x48]
push 0x4c59c0
push ecx
call fcn.0045ff67
add esp, 8
test eax, eax
je 0x42e55d
lea edx, [esp + 0x48]
push 0x4c5c2c
push edx
call fcn.0045ff67
add esp, 8
test eax, eax
je 0x42e55d
cmp dword [esp + 0x178], 0
jne 0x42e45c
lea eax, [esp + 0x48]
push str.desktop.ini
push eax
call fcn.0046403d
add esp, 8
test eax, eax
je 0x42e55d
test ebp, ebp
jne 0x42e464
xor eax, eax
jmp 0x42e479
mov eax, ebp
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42e470
sub eax, edx
push eax
push ebp
lea ecx, [esp + 0x18]
call fcn.00402900
mov ecx, dword [esp + 0x10]
mov edi, dword [ecx - 0xc]
mov eax, dword [ecx - 8]
mov edx, 1
sub edx, dword [ecx - 4]
lea esi, [edi + 1]
sub eax, esi
or eax, edx
jge 0x42e4ad
push esi
lea ecx, [esp + 0x14]
call fcn.00402850
mov ecx, dword [esp + 0x10]
mov byte [edi + ecx], 0x5c
test esi, esi
jl 0x42e5f7
cmp esi, dword [ecx - 8]
jg 0x42e5f7
lea eax, [esp + 0x48]
mov dword [ecx - 0xc], esi
mov byte [esi + ecx], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42e4d0
sub eax, edx
push eax
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x18]
call fcn.00407720
mov esi, dword [esp + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 1
je 0x42e502
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test byte [esp + 0x1c], 0x10
je 0x42e52b
mov edx, dword [esp + 0x17c]
mov eax, dword [esp + 0x178]
push edx
push eax
push esi
call fcn.0042e2c0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
jmp 0x42e55d
cmp dword [esp + 0x17c], 0
je 0x42e556
lea ecx, [esp + 0x48]
push str.index.dat
push ecx
call fcn.0046403d
add esp, 8
test eax, eax
jne 0x42e556
lea edx, [esp + 0x48]
mov ecx, ebp
call fcn.0042e610
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edi, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x42e404
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [esp + 0x16c], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42e5a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [esp + 0x16c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42e5cb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x164]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x14c]
xor ecx, esp
call fcn.0045f97b
add esp, 0x160
ret
push 0x80070057
call fcn.00402ae0
int3