Function at 0x404980
Capabilities:
Copy file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
sub esp, 0x764
push ebx
push ebp
push esi
push edi
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x14]
push 0x41422c
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov ecx, dword [esp + 0x778]
push ecx
call fcn.0040a3f3
mov ebx, dword [sym.imp.KERNEL32.dll_CopyFileA]
mov ebp, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
add esp, 4
xor esi, esi
mov dword [esp + 0x10], esi
lea edx, [esp + 0x56c]
push esi
push edx
call fcn.004043d0
add esp, 8
test eax, eax
jne 0x404aaa
push eax
lea eax, [esp + 0x368]
push eax
lea ecx, [esp + 0x574]
push 0
push ecx
call fcn.00404130
mov edi, str..ZMX
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x364]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x364]
and ecx, 3
push 1
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x570]
push eax
push ecx
call ebx
test eax, eax
je 0x404a53
lea edx, [esp + 0x364]
push 6
push edx
call ebp
push 0x43f644
push 0x43f438
push 0x43f540
lea eax, [esp + 0x370]
push 0x421fac
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
lea ecx, [esp + 0x56c]
lea edx, [esp + 0x364]
push 0
push ecx
push edx
call ebx
lea eax, [esp + 0x56c]
push 0x80
push eax
call ebp
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, dword [esp + 0x10]
inc esi
cmp esi, 0x56
mov dword [esp + 0x10], esi
jb 0x4049ca
mov ecx, dword [esp + 0x778]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpynA]
push 0x103
lea edx, [esp + 0x18]
push ecx
push edx
call edi
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [esp + 0x14]
push eax
call esi
cmp byte [esp + eax + 0x13], 0x5c
jne 0x404b08
lea ecx, [esp + 0x14]
push ecx
call esi
mov edx, 0x104
sub edx, eax
lea eax, [esp + 0x14]
push edx
push 0x41410c
push eax
call esi
lea ecx, [esp + eax + 0x1c]
push ecx
jmp 0x404b28
lea edx, [esp + 0x14]
push edx
call esi
mov ecx, 0x104
lea edx, [esp + 0x14]
sub ecx, eax
push ecx
push 0x414108
push edx
call esi
lea eax, [esp + eax + 0x1c]
push eax
call edi
lea ecx, [esp + 0x224]
lea edx, [esp + 0x14]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x404c35
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcmpA]
lea eax, [esp + 0x250]
push 0x4140ac
push eax
call ebp
test eax, eax
je 0x404c17
lea ecx, [esp + 0x250]
push 0x414104
push ecx
call ebp
test eax, eax
je 0x404c17
test byte [esp + 0x224], 0x10
je 0x404c17
mov edx, dword [esp + 0x778]
push 0x103
lea eax, [esp + 0x120]
push edx
push eax
call edi
lea ecx, [esp + 0x11c]
push ecx
call esi
cmp byte [esp + eax + 0x11b], 0x5c
jne 0x404bc6
lea edx, [esp + 0x11c]
push edx
call esi
mov ecx, 0x103
jmp 0x404be8
lea edx, [esp + 0x11c]
push 0x414100
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x11c]
push eax
call esi
mov ecx, 0x104
sub ecx, eax
lea edx, [esp + 0x250]
push ecx
lea eax, [esp + 0x120]
push edx
push eax
call esi
lea ecx, [esp + eax + 0x124]
push ecx
call edi
lea edx, [esp + 0x11c]
push edx
call fcn.00404980
add esp, 4
lea eax, [esp + 0x224]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x404b4e
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x764
ret