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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa88
push ebx
xor ebx, ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
cmp esi, ebx
je 0x4137c5
cmp word [esi], bx
je 0x4137c5
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x4137c5
cmp word [eax], bx
je 0x4137c5
push edi
mov edi, 0x104
push edi
push eax
lea eax, [ebp - 0x214]
push eax
call sub.MSVCRT.dll_wcsncpy
xor eax, eax
mov word [ebp - 0xc], ax
lea eax, [ebp - 0x214]
push eax
call sub.MSVCRT.dll_wcslen
lea eax, [ebp + eax*2 - 0x216]
add esp, 0x10
cmp word [eax], 0x5c
jne 0x413581
xor ecx, ecx
mov word [eax], cx
push edi
lea eax, [ebp - 0x670]
push esi
push eax
call sub.MSVCRT.dll_wcsncpy
xor eax, eax
mov word [ebp - 0x468], ax
lea eax, [ebp - 0x670]
push eax
call sub.MSVCRT.dll_wcslen
add esp, 0x10
cmp eax, ebx
je 0x4135c9
cmp word [ebp + eax*2 - 0x672], 0x5c
je 0x4135c9
lea eax, [ebp - 0x670]
push 0x41711c
push eax
call sub.MSVCRT.dll_wcscat
pop ecx
pop ecx
lea eax, [ebp - 0x670]
push eax
lea eax, [ebp - 0xa88]
push eax
call sub.MSVCRT.dll_wcscpy
pop ecx
pop ecx
mov ecx, dword [ebp + 0x10]
mov eax, 0x417120
cmp ecx, ebx
je 0x4135ef
cmp word [ecx], bx
jne 0x4135f2
mov dword [ebp + 0x10], eax
push eax
lea eax, [ebp - 0x670]
push eax
call sub.MSVCRT.dll_wcscat
mov esi, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
pop ecx
pop ecx
lea eax, [ebp - 0x464]
push eax
lea eax, [ebp - 0x214]
push eax
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_FindClose]
cmp eax, 0xffffffff
je 0x413635
test byte [ebp - 0x464], 0x10
je 0x413632
mov dword [ebp - 8], 1
push eax
call ebx
lea eax, [ebp - 0x464]
push eax
lea eax, [ebp - 0x670]
push eax
call esi
mov esi, eax
cmp esi, 0xffffffff
je 0x4137c4
cmp dword [ebp - 8], 0
jne 0x413681
lea eax, [ebp - 0x214]
push eax
call sub.MSVCRT.dll_wcslen
cmp word [ebp + eax*2 - 0x216], 0x3a
pop ecx
je 0x413681
push 0
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x4137c1
mov dword [ebp - 4], 1
lea eax, [ebp - 0xa88]
push eax
lea eax, [ebp - 0x87c]
push eax
call sub.MSVCRT.dll_wcscpy
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x87c]
push eax
call sub.MSVCRT.dll_wcscat
push edi
push dword [ebp + 0xc]
lea eax, [ebp - 0x214]
push eax
call sub.MSVCRT.dll_wcsncpy
xor eax, eax
mov word [ebp - 0xc], ax
lea eax, [ebp - 0x214]
push eax
call sub.MSVCRT.dll_wcslen
add esp, 0x20
test eax, eax
je 0x4136f5
cmp word [ebp + eax*2 - 0x216], 0x5c
je 0x4136f5
lea eax, [ebp - 0x214]
push 0x41711c
push eax
call sub.MSVCRT.dll_wcscat
pop ecx
pop ecx
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x214]
push eax
call sub.MSVCRT.dll_wcscat
test byte [ebp - 0x464], 0x10
pop ecx
pop ecx
je 0x413766
test byte [ebp + 0x14], 1
je 0x4137ab
lea eax, [ebp - 0x438]
push 0x41712c
push eax
call sub.MSVCRT.dll_wcscmp
pop ecx
pop ecx
test eax, eax
je 0x4137ab
lea eax, [ebp - 0x438]
push 0x417128
push eax
call sub.MSVCRT.dll_wcscmp
pop ecx
pop ecx
test eax, eax
je 0x4137ab
push dword [ebp + 0x14]
lea eax, [ebp - 0x214]
push dword [ebp + 0x10]
push eax
lea eax, [ebp - 0x87c]
push eax
call fcn.0041350b
jmp 0x4137a8
push dword [ebp + 0x10]
lea eax, [ebp - 0x438]
push eax
call dword [sym.imp.SHLWAPI.DLL_PathMatchSpecW]
test eax, eax
je 0x4137ab
test byte [ebp + 0x14], 2
je 0x413792
push pe_nt_image_headers32
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x87c]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
and dword [ebp - 4], eax
lea eax, [ebp - 0x464]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x413688
push esi
call ebx
pop edi
mov eax, dword [ebp - 4]
pop esi
pop ebx
leave
ret 0x10