Function at 0x401000
Capabilities:
Copy file
Create directory
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
sub esp, 0xe58
mov eax, dword [0x40b044]
xor eax, esp
mov dword [esp + 0xe54], eax
push esi
mov esi, dword [esp + 0xe60]
push edi
mov edi, dword [esp + 0xe68]
push esi
lea eax, [esp + 0xa60]
push 0x200
push eax
call fcn.0040169a
push 0x409164
lea ecx, [esp + 0xa6c]
push 0x200
push ecx
call fcn.00401709
add esp, 0x18
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0xa60]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 8], eax
cmp eax, 0xffffffff
jne 0x401086
pop edi
or eax, eax
pop esi
mov ecx, dword [esp + 0xe54]
xor ecx, esp
call fcn.00401786
add esp, 0xe58
ret
push ebx
push ebp
push esi
lea ecx, [esp + 0x668]
push 0x200
push ecx
call fcn.0040169a
push 0x409160
lea edx, [esp + 0x674]
push 0x200
push edx
call fcn.00401709
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x680]
push 0x200
push ecx
call fcn.00401709
push edi
lea edx, [esp + 0x28c]
push 0x200
push edx
call fcn.0040169a
push 0x409160
lea eax, [esp + 0x298]
push 0x200
push eax
call fcn.00401709
lea ecx, [esp + 0x7c]
push ecx
lea edx, [esp + 0x2a4]
push 0x200
push edx
call fcn.00401709
mov ebx, dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ebp, dword [esp + 0xebc]
add esp, 0x48
cmp word [esp + 0x40], 0x2e
je 0x401173
test byte [esp + 0x14], 0x10
lea eax, [esp + 0x264]
je 0x401154
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push ebp
lea ecx, [esp + 0x268]
push ecx
lea edx, [esp + 0x66c]
push edx
call fcn.00401000
add esp, 0xc
jmp 0x401173
push ebp
push eax
lea ecx, [esp + 0x66c]
push ecx
call ebx
push 0x80
lea edx, [esp + 0x268]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x401286
jmp 0x401190
push esi
lea edx, [esp + 0x668]
push 0x200
push edx
call fcn.0040169a
push 0x409160
lea eax, [esp + 0x674]
push 0x200
push eax
call fcn.00401709
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x680]
push 0x200
push edx
call fcn.00401709
push edi
lea eax, [esp + 0x28c]
push 0x200
push eax
call fcn.0040169a
push 0x409160
lea ecx, [esp + 0x298]
push 0x200
push ecx
call fcn.00401709
lea edx, [esp + 0x7c]
push edx
lea eax, [esp + 0x2a4]
push 0x200
push eax
call fcn.00401709
add esp, 0x48
cmp word [esp + 0x40], 0x2e
je 0x40126e
test byte [esp + 0x14], 0x10
lea ecx, [esp + 0x264]
je 0x40124f
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push ebp
lea edx, [esp + 0x268]
push edx
lea eax, [esp + 0x66c]
push eax
call fcn.00401000
add esp, 0xc
jmp 0x40126e
push ebp
push ecx
lea edx, [esp + 0x66c]
push edx
call ebx
push 0x80
lea eax, [esp + 0x268]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x401190
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0xe64]
pop ebp
pop ebx
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.00401786
add esp, 0xe58
ret