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

Disassembly:
sub esp, 0x468
mov eax, dword [0x1001f0e0]
xor eax, esp
mov dword [esp + 0x464], eax
push esi
mov esi, dword [esp + 0x470]
push edi
mov edi, dword [esp + 0x478]
push esi
lea eax, [esp + 0x358]
push 0x118
push eax
call fcn.1000b3fd
push str..
lea ecx, [esp + 0x364]
push 0x118
push ecx
call fcn.1000b945
add esp, 0x18
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x358]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [esp + 8], eax
cmp eax, 0xffffffff
jne 0x10002896
pop edi
or eax, eax
pop esi
mov ecx, dword [esp + 0x464]
xor ecx, esp
call fcn.1000bb04
add esp, 0x468
ret
push ebx
push ebp
push esi
lea ecx, [esp + 0x25c]
push 0x104
push ecx
call fcn.1000b3fd
push 0x10018208
lea edx, [esp + 0x268]
push 0x104
push edx
call fcn.1000b945
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x274]
push 0x104
push ecx
call fcn.1000b945
push edi
lea edx, [esp + 0x17c]
push 0x104
push edx
call fcn.1000b3fd
push 0x10018208
lea eax, [esp + 0x188]
push 0x104
push eax
call fcn.1000b945
lea ecx, [esp + 0x7c]
push ecx
lea edx, [esp + 0x194]
push 0x104
push edx
call fcn.1000b945
mov ebx, dword [sym.imp.KERNEL32.dll_CopyFileA]
mov ebp, dword [esp + 0x4cc]
add esp, 0x48
cmp byte [esp + 0x40], 0x2e
je 0x10002982
test byte [esp + 0x14], 0x10
lea eax, [esp + 0x154]
je 0x10002963
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push ebp
lea ecx, [esp + 0x158]
push ecx
lea edx, [esp + 0x260]
push edx
call fcn.10002810
add esp, 0xc
jmp 0x10002982
push ebp
push eax
lea ecx, [esp + 0x260]
push ecx
call ebx
push 0x80
lea edx, [esp + 0x158]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x10002a95
lea ebx, [ebx]
push esi
lea edx, [esp + 0x25c]
push 0x104
push edx
call fcn.1000b3fd
push 0x10018208
lea eax, [esp + 0x268]
push 0x104
push eax
call fcn.1000b945
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x274]
push 0x104
push edx
call fcn.1000b945
push edi
lea eax, [esp + 0x17c]
push 0x104
push eax
call fcn.1000b3fd
push 0x10018208
lea ecx, [esp + 0x188]
push 0x104
push ecx
call fcn.1000b945
lea edx, [esp + 0x7c]
push edx
lea eax, [esp + 0x194]
push 0x104
push eax
call fcn.1000b945
add esp, 0x48
cmp byte [esp + 0x40], 0x2e
je 0x10002a7d
test byte [esp + 0x14], 0x10
lea ecx, [esp + 0x154]
je 0x10002a5e
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push ebp
lea edx, [esp + 0x158]
push edx
lea eax, [esp + 0x260]
push eax
call fcn.10002810
add esp, 0xc
jmp 0x10002a7d
push ebp
push ecx
lea edx, [esp + 0x260]
push edx
call ebx
push 0x80
lea eax, [esp + 0x158]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x100029a0
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x474]
pop ebp
pop ebx
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.1000bb04
add esp, 0x468
ret