Function at 0x414a28
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push 0x2b4
mov eax, 0x465b73
call fcn.0044584f
mov edi, ecx
push edi
push 0x4805b8
push 0
push 2
push str.misc.cpp
push 0x2f
call fcn.0042ab69
add esp, 0x18
lea ecx, [ebp - 0x40]
push edi
call fcn.00401720
and dword [ebp - 4], 0
mov esi, 0x4805f8
push esi
call fcn.004012f1
pop ecx
push eax
push esi
lea ecx, [ebp - 0x40]
call fcn.00402a5c
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x2c0]
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
test ebx, ebx
je 0x414c63
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp - 0x28]
call fcn.00401720
push 0x480600
mov byte [ebp - 4], 1
call fcn.004012f1
pop ecx
push eax
push 0x480600
push dword [ebp - 0x18]
xor esi, esi
lea ecx, [ebp - 0x28]
push esi
call fcn.00402823
test eax, eax
je 0x414bea
push 0x480604
call fcn.004012f1
pop ecx
push eax
push 0x480604
push dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
push esi
call fcn.00402823
test eax, eax
je 0x414bea
test byte [ebp - 0x2c0], 0x10
je 0x414b56
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x70]
push edi
push eax
call fcn.00414e3d
add esp, 0xc
push 0x47b858
push eax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 2
push eax
call fcn.00402989
add esp, 0xc
push esi
push 1
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 4
call fcn.00401833
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x58]
cmovae ecx, dword [ebp - 0x58]
call fcn.00414a28
push esi
push 1
lea ecx, [ebp - 0x58]
call fcn.00401833
jmp 0x414bea
push edi
call fcn.004012f1
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.00401a41
lea eax, [ebp - 0x294]
push eax
call fcn.004012f1
pop ecx
push eax
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp - 0x28]
call fcn.00402a5c
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x414bc7
cmp dword [ebp - 0x14], 8
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.DeleteFile___s__FAILED______d_
push 0
push 2
push str.misc.cpp
push 0x45
call fcn.0042ab69
add esp, 0x1c
jmp 0x414bea
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push str.DeleteFile___s__SUCCESS___
push esi
push 2
push str.misc.cpp
push 0x47
call fcn.0042ab69
add esp, 0x18
lea eax, [ebp - 0x2c0]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
push 0
push 1
test eax, eax
je 0x414c11
call fcn.00401833
jmp 0x414a98
call fcn.00401833
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x414c4a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push str.RemoveDirectory___s__FAILED______d_
push 0
push 2
push str.misc.cpp
push 0x4f
call fcn.0042ab69
add esp, 0x1c
jmp 0x414c63
push edi
push str.RemoveDirectory___s__SUCCESS___
push 0
push 2
push str.misc.cpp
push 0x51
call fcn.0042ab69
add esp, 0x18
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.00401833
call fcn.004457fe
ret