Function at 0x42c542
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 0x42c7fc
cmp word [esi], bx
je 0x42c7fc
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x42c7fc
cmp word [eax], bx
je 0x42c7fc
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 0x42c5b8
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 0x42c600
cmp word [ebp + eax*2 - 0x672], 0x5c
je 0x42c600
lea eax, [ebp - 0x670]
push 0x43331c
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, 0x4335b8
cmp ecx, ebx
je 0x42c626
cmp word [ecx], bx
jne 0x42c629
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 0x42c66c
test byte [ebp - 0x464], 0x10
je 0x42c669
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 0x42c7fb
cmp dword [ebp - 8], 0
jne 0x42c6b8
lea eax, [ebp - 0x214]
push eax
call sub.MSVCRT.dll_wcslen
cmp word [ebp + eax*2 - 0x216], 0x3a
pop ecx
je 0x42c6b8
push 0
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x42c7f8
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 0x42c72c
cmp word [ebp + eax*2 - 0x216], 0x5c
je 0x42c72c
lea eax, [ebp - 0x214]
push 0x43331c
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 0x42c79d
test byte [ebp + 0x14], 1
je 0x42c7e2
lea eax, [ebp - 0x438]
push 0x43359c
push eax
call sub.MSVCRT.dll_wcscmp
pop ecx
pop ecx
test eax, eax
je 0x42c7e2
lea eax, [ebp - 0x438]
push 0x4335b4
push eax
call sub.MSVCRT.dll_wcscmp
pop ecx
pop ecx
test eax, eax
je 0x42c7e2
push dword [ebp + 0x14]
lea eax, [ebp - 0x214]
push dword [ebp + 0x10]
push eax
lea eax, [ebp - 0x87c]
push eax
call fcn.0042c542
jmp 0x42c7df
push dword [ebp + 0x10]
lea eax, [ebp - 0x438]
push eax
call dword [sym.imp.SHLWAPI.DLL_PathMatchSpecW]
test eax, eax
je 0x42c7e2
test byte [ebp + 0x14], 2
je 0x42c7c9
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 0x42c6bf
push esi
call ebx
pop edi
mov eax, dword [ebp - 4]
pop esi
pop ebx
leave
ret 0x10