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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x684
mov eax, dword [0x448044]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x18]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
push ebx
mov dword [ebp - 0x674], edi
mov dword [ebp - 0x670], ebx
mov dword [ebp - 0x66c], eax
mov dword [ebp - 0x680], ecx
call fcn.00421466
add esp, 4
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x416]
push eax
mov word [ebp - 0x418], dx
call fcn.004279d0
add esp, 0xc
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x20e]
push edx
mov word [ebp - 0x210], cx
call fcn.004279d0
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push edi
lea eax, [ebp - 0x418]
push str._s.
push eax
call esi
add esp, 0xc
lea ecx, [ebp - 0x668]
push ecx
lea edx, [ebp - 0x418]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x67c], eax
cmp eax, 0xffffffff
je 0x4065d1
jmp 0x4062a2
mov edi, dword [ebp - 0x674]
mov ebx, dword [ebp - 0x670]
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x63c]
push eax
push edi
lea ecx, [ebp - 0x418]
push 0x43ab00
push ecx
call esi
lea edx, [ebp - 0x63c]
push edx
push ebx
lea eax, [ebp - 0x210]
push 0x43ab00
push eax
call esi
add esp, 0x20
mov ecx, 0x435944
lea eax, [ebp - 0x63c]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x406306
test dx, dx
je 0x406302
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x406306
add eax, 4
add ecx, 4
test dx, dx
jne 0x4062e0
xor esi, esi
jmp 0x40630b
sbb esi, esi
sbb esi, 0xffffffff
test esi, esi
je 0x4065ad
mov ecx, 0x43aaf8
lea eax, [ebp - 0x63c]
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x406346
test dx, dx
je 0x406342
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x406346
add eax, 4
add ecx, 4
test dx, dx
jne 0x406320
xor eax, eax
jmp 0x40634b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x406527
test byte [ebp - 0x668], 0x10
jne 0x406527
mov esi, 1
xor edi, edi
cmp dword [0x48548c], esi
jne 0x406389
lea ecx, [ebp - 0x63c]
push 0x43649c
push ecx
call fcn.0041fcb7
add esp, 8
test eax, eax
jne 0x406389
mov edi, esi
cmp dword [0x485490], esi
jne 0x4063ab
lea edx, [ebp - 0x63c]
push 0x436478
push edx
call fcn.0041fcb7
add esp, 8
test eax, eax
jne 0x4063ab
mov edi, esi
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0x80
lea eax, [ebp - 0x210]
push eax
call ebx
push edi
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 0x418]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov dword [ebp - 0x678], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push 0x80
lea eax, [ebp - 0x210]
push eax
call ebx
cmp edi, 1
jne 0x4063fe
cmp esi, 0x50
je 0x4064c6
cmp dword [ebp - 0x678], 0
jne 0x4064bd
push esi
lea ecx, [ebp - 0x63c]
push ecx
push 0x43ab10
push 0x4821b8
call dword [sym.imp.USER32.dll_wsprintfW]
push 0x4821b8
call fcn.004042f0
lea edx, [ebp - 0x63c]
add esp, 0x14
push edx
call fcn.004187a0
add esp, 4
push 0x5dc
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x418]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x80
lea edx, [ebp - 0x210]
push edx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp edi, 1
jne 0x406485
cmp esi, 0x50
je 0x4064c6
test ebx, ebx
jne 0x4064bd
mov eax, dword [0x4829b8]
inc eax
push eax
mov dword [0x4829b8], eax
push esi
lea eax, [ebp - 0x63c]
push eax
push str.___s
push 0x4821b8
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
push 0x4821b8
call fcn.004042f0
add esp, 4
cmp edi, 1
jne 0x4065ad
lea ecx, [ebp - 0x63c]
push 0x43649c
push ecx
call fcn.0041fcb7
add esp, 8
test eax, eax
jne 0x4064f0
cmp esi, 0x50
jne 0x4064f0
push 0x43abb8
call fcn.004042f0
add esp, 4
lea edx, [ebp - 0x63c]
push 0x436478
push edx
call fcn.0041fcb7
add esp, 8
test eax, eax
jne 0x4065ad
cmp esi, 0x50
jne 0x4065ad
push 0x43ac08
call fcn.004042f0
add esp, 4
jmp 0x4065ad
test esi, esi
je 0x4065ad
mov ecx, 0x43aaf8
lea eax, [ebp - 0x63c]
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x406566
test dx, dx
je 0x406562
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x406566
add eax, 4
add ecx, 4
test dx, dx
jne 0x406540
xor eax, eax
jmp 0x40656b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4065ad
push 0x80
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp - 0x680]
mov eax, dword [ebp + 0x14]
push ecx
mov ecx, dword [ebp - 0x66c]
push edx
push eax
push ecx
lea edx, [ebp - 0x210]
push edx
lea eax, [ebp - 0x418]
push eax
call fcn.004061d0
add esp, 0x18
mov esi, dword [ebp - 0x67c]
lea ecx, [ebp - 0x668]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp eax, 1
je 0x406290
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
mov eax, dword [0x4829b8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041fb1e
mov esp, ebp
pop ebp
ret