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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x358
mov eax, dword [0x4db434]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x358], esi
mov dword [ebp - 0x350], 1
test esi, esi
je 0x44550d
cmp byte [esi], 0
je 0x44550d
push esi
call fcn.004449b0
add esp, 4
test eax, eax
jne 0x445339
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004584f8
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x20c]
mov ecx, esi
sub edx, esi
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x445343
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.004447a0
lea edi, [ebp - 0x20c]
add esp, 4
dec edi
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x445367
mov eax, dword [0x4a2eac]
mov dword [edi], eax
lea eax, [ebp - 0x34c]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
mov dword [ebp - 0x354], edi
cmp edi, 0xffffffff
je 0x4454f0
push ebx
lea ebx, [ebp - 0x108]
sub ebx, esi
mov eax, esi
nop dword [eax + eax]
mov cl, byte [eax]
lea eax, [eax + 1]
mov byte [ebx + eax - 1], cl
test cl, cl
jne 0x4453b0
lea eax, [ebp - 0x108]
push eax
call fcn.004447a0
lea edx, [ebp - 0x320]
add esp, 4
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x4453d4
lea edi, [ebp - 0x108]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4453e4
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
test byte [ebp - 0x34c], 0x10
rep movsb byte es:[edi], byte [esi]
je 0x44547e
mov ecx, 0x4c43d0
lea eax, [ebp - 0x320]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x445430
test dl, dl
je 0x44542c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x445430
add eax, 2
add ecx, 2
test dl, dl
jne 0x445410
xor eax, eax
jmp 0x445435
sbb eax, eax
or eax, 1
test eax, eax
je 0x4454a3
mov ecx, 0x4a2eb0
lea eax, [ebp - 0x320]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x445464
test dl, dl
je 0x445460
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x445464
add eax, 2
add ecx, 2
test dl, dl
jne 0x445444
xor eax, eax
jmp 0x445469
sbb eax, eax
or eax, 1
test eax, eax
je 0x4454a3
lea eax, [ebp - 0x108]
push eax
call fcn.004452e0
add esp, 4
jmp 0x44549d
push 0x80
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 0x350], eax
push 0x140
lea eax, [ebp - 0x34c]
push 0
push eax
call fcn.0045aa80
mov edi, dword [ebp - 0x354]
add esp, 0xc
cmp dword [ebp - 0x350], 0
je 0x4454d8
lea eax, [ebp - 0x34c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
jmp 0x4454da
xor eax, eax
mov esi, dword [ebp - 0x358]
test eax, eax
jne 0x4453a6
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov eax, dword [ebp - 0x350]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004584f8
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.004584f8
mov esp, ebp
pop ebp
ret