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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d4380
mov eax, dword fs:[0]
push eax
sub esp, 0x2b4
mov eax, dword [0x508164]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edx, esi
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea ecx, [edx + 2]
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x442540
sub edx, ecx
lea ecx, [ebp - 0x28]
sar edx, 1
push edx
push esi
call fcn.0040beb0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x18], 3
jbe 0x44271e
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44271e
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
cmp word [ecx + eax*2 - 2], 0x5c
je 0x44259e
push 1
push 0x4e9980
lea ecx, [ebp - 0x28]
call fcn.004086c0
push 0x4ee6b8
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x58]
call fcn.00408890
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x4425b9
mov eax, dword [eax]
lea ecx, [ebp - 0x2c0]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea ecx, [ebp - 0x58]
mov edi, eax
call fcn.0040c2c0
mov eax, 1
cmp edi, 0xffffffff
je 0x4426d4
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x4426d4
lea eax, [ebp - 0x294]
push 0x4ee6c0
push eax
call fcn.004b8cc0
add esp, 8
test eax, eax
je 0x4426b9
lea eax, [ebp - 0x294]
push 0x4ee6c4
push eax
call fcn.004b8cc0
add esp, 8
test eax, eax
je 0x4426b9
test byte [ebp - 0x2c0], 0x10
lea eax, [ebp - 0x294]
lea edx, [ebp - 0x28]
push eax
je 0x44267d
lea ecx, [ebp - 0x70]
call fcn.00408890
push 0x4e9980
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.00409a40
add esp, 8
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 8
jb 0x442662
mov eax, dword [eax]
push 1
xor dl, dl
mov ecx, eax
call fcn.004424f0
add esp, 4
lea ecx, [ebp - 0x40]
call fcn.0040c2c0
lea ecx, [ebp - 0x70]
jmp 0x4426b0
lea ecx, [ebp - 0x40]
call fcn.00408890
add esp, 4
cmp dword [ebp - 0x2c], 8
lea esi, [ebp - 0x40]
cmovae esi, dword [ebp - 0x40]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4426ad
push 0x80
push esi
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.0040c2c0
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x2c0]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
jmp 0x4425e5
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
cmp edx, 8
mov esi, dword [ebp - 0x28]
cmovae ecx, esi
lea edi, [eax + eax]
cmp word [ecx + edi - 2], 0x5c
jne 0x44270e
cmp edx, 8
lea eax, [ebp - 0x28]
cmovae eax, esi
xor ecx, ecx
mov word [eax + edi - 2], cx
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x28]
cmp edx, 8
lea eax, [ebp - 0x28]
cmovae eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [ebp - 0x28]
call fcn.0040c2c0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048d8b2
mov esp, ebp
pop ebp
ret