Function at 0x10003aa0
Capabilities:
Check if file exists
Copy file
Create directory
Enumerate files on windows
Enumerate files recursively
Get file attributes
Set file attributes

Disassembly:
sub esp, 0x674
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x18], edx
push edi
mov dword [esp + 0x20], edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10003d43
test al, 0x10
je 0x10003d43
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebp, dword [esp + 0x69c]
mov esi, eax
mov dword [esp + 0x14], esi
test ebp, ebp
je 0x10003b35
test edi, edi
je 0x10003b35
lea ecx, [esi - 1]
test ecx, ecx
jle 0x10003b35
lea eax, [edi + ecx*2]
cmp word [eax], 0x5c
je 0x10003b02
dec ecx
sub eax, 2
test ecx, ecx
jg 0x10003af2
jmp 0x10003b35
lea ebx, [eax + 2]
test ebx, ebx
je 0x10003b35
xor esi, esi
cmp dword [ebp], esi
jbe 0x10003b31
lea edi, [ebp + 4]
push dword [edi]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x10003d43
inc esi
add edi, 4
cmp esi, dword [ebp]
jb 0x10003b13
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
lea eax, [esi + esi]
push eax
lea eax, [esp + 0x274]
push edi
push eax
call section..text
mov ebx, dword [esp + 0x24]
lea eax, [esp + 0x27e]
lea eax, [eax + esi*2]
add esp, 0xc
mov ecx, 0x2a
mov dword [esp + 0x14], eax
mov word [eax], cx
mov edi, 0x5c
xor eax, eax
mov word [esp + esi*2 + 0x270], di
push ebx
mov word [esp + esi*2 + 0x278], ax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
lea eax, [esp + 0x478]
lea ecx, [esi + esi]
push ecx
push ebx
push eax
call section..text
lea eax, [esp + 0x486]
mov word [esp + esi*2 + 0x484], di
mov edi, dword [esp + 0x69c]
lea eax, [eax + esi*2]
xor ecx, ecx
mov dword [esp + 0x24], eax
add esp, 0xc
mov word [eax], cx
cmp dword [esp + 0x688], ecx
jne 0x10003bd2
test edi, edi
je 0x10003bd2
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
or dword [edi], eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x274]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x10003d43
mov ebx, dword [esp + 0x694]
mov esi, dword [esp + 0x68c]
mov eax, dword [sym.imp.KERNEL32.dll_lstrcatW]
test byte [esp + 0x20], 0x10
je 0x10003c79
cmp word [esp + 0x4c], 0x2e
je 0x10003d1d
mov ecx, dword [esp + 0x14]
xor edx, edx
mov word [ecx], dx
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x274]
push ecx
call eax
mov eax, dword [esp + 0x18]
xor ecx, ecx
mov word [eax], cx
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x47c]
push eax
mov eax, dword [sym.imp.KERNEL32.dll_lstrcatW]
call eax
push ebp
push dword [esp + 0x69c]
lea edx, [esp + 0x480]
push ebx
push edi
push esi
push dword [esp + 0x69c]
lea ecx, [esp + 0x288]
call fcn.10003aa0
add esp, 0x18
jmp 0x10003d1d
test esi, esi
je 0x10003c91
mov ecx, dword [esp + 0x3c]
xor eax, eax
or eax, dword [esp + 0x40]
add dword [esi], eax
mov eax, dword [sym.imp.KERNEL32.dll_lstrcatW]
adc dword [esi + 4], ecx
cmp dword [esp + 0x688], 0
jne 0x10003d0c
mov ecx, dword [esp + 0x14]
xor edx, edx
mov word [ecx], dx
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x274]
push ecx
call eax
mov eax, dword [esp + 0x18]
xor ecx, ecx
mov word [eax], cx
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x47c]
push eax
mov eax, dword [sym.imp.KERNEL32.dll_lstrcatW]
call eax
push 0
lea eax, [esp + 0x47c]
push eax
lea eax, [esp + 0x278]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test edi, edi
je 0x10003cee
or dword [edi], eax
test eax, eax
je 0x10003d0c
test byte [esp + 0x20], 7
je 0x10003d0c
push 0x80
lea eax, [esp + 0x47c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test ebx, ebx
je 0x10003d1d
push esi
push dword [esp + 0x69c]
call ebx
add esp, 8
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
mov eax, dword [sym.imp.KERNEL32.dll_lstrcatW]
jne 0x10003c04
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x674
ret