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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x5a4
mov eax, dword [0x1099a38]
push esi
push edi
push 0x53
pop ecx
mov dword [ebp - 4], eax
push 0x40
xor eax, eax
lea esi, [ebp + 8]
lea edi, [ebp - 0x45c]
rep movsd dword es:[edi], dword [esi]
pop ecx
mov byte [ebp - 0x20c], 0
lea edi, [ebp - 0x20b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x40
xor eax, eax
pop ecx
mov byte [ebp - 0x108], 0
lea edi, [ebp - 0x107]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x40
and dword [ebp - 0x5a0], 0
pop ecx
xor eax, eax
mov byte [ebp - 0x310], 0
lea edi, [ebp - 0x30f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x32c]
push eax
lea eax, [ebp - 0x45c]
push eax
push 0x102ce2c
mov esi, 0x103
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.01037486
add esp, 0x14
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x1092082
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x1092082
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x102e848
push 1
call fcn.0108e8f0
add esp, 0x10
xor eax, eax
jmp 0x10923b7
push ebx
lea eax, [ebp - 0x32c]
push eax
lea eax, [ebp - 0x45c]
push eax
push 0x102e838
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.01037486
mov edi, dword [sym.imp.KERNEL32.dll_FindFirstFileA]
add esp, 0x14
lea eax, [ebp - 0x59c]
push eax
lea eax, [ebp - 0x20c]
push eax
call edi
cmp eax, 0xffffffff
mov dword [ebp - 0x5a4], eax
mov ebx, 0x102e814
je 0x10921a5
lea eax, [ebp - 0x570]
push eax
lea eax, [ebp - 0x32c]
push eax
lea eax, [ebp - 0x45c]
push eax
push 0x102d2e8
lea eax, [ebp - 0x310]
push esi
push eax
call fcn.01037486
lea eax, [ebp - 0x570]
push eax
lea eax, [ebp - 0x32c]
push eax
lea eax, [ebp - 0x45c]
push eax
push ebx
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.01037486
lea eax, [ebp - 0x108]
push 0x2e
push eax
call dword [sym.imp.msvcrt.dll_strrchr]
add esp, 0x38
push 0x102e80c
push esi
push eax
call fcn.0108c975
push 0
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.SETUPAPI.dll_SetupDecompressOrCopyFileA]
test eax, eax
je 0x1092178
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x102e7c8
push 1
call fcn.0108e8f0
add esp, 0x14
jmp 0x109217e
inc dword [ebp - 0x5a0]
lea eax, [ebp - 0x59c]
push eax
push dword [ebp - 0x5a4]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x10920d0
push dword [ebp - 0x5a4]
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [ebp - 0x32c]
push eax
lea eax, [ebp - 0x45c]
push eax
push 0x102e7b8
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.01037486
add esp, 0x14
lea eax, [ebp - 0x59c]
push eax
lea eax, [ebp - 0x20c]
push eax
call edi
cmp eax, 0xffffffff
mov dword [ebp - 0x5a4], eax
je 0x10922a1
lea eax, [ebp - 0x570]
push eax
lea eax, [ebp - 0x32c]
push eax
lea eax, [ebp - 0x45c]
push eax
push 0x102d2e8
lea eax, [ebp - 0x310]
push esi
push eax
call fcn.01037486
lea eax, [ebp - 0x570]
push eax
lea eax, [ebp - 0x32c]
push eax
lea eax, [ebp - 0x45c]
push eax
push ebx
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.01037486
add esp, 0x30
push 0
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x1092274
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x102e7c8
push 1
call fcn.0108e8f0
add esp, 0x14
jmp 0x109227a
inc dword [ebp - 0x5a0]
lea eax, [ebp - 0x59c]
push eax
push dword [ebp - 0x5a4]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x10921e7
push dword [ebp - 0x5a4]
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [ebp - 0x32c]
push eax
lea eax, [ebp - 0x45c]
push eax
push 0x102e7a4
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.01037486
add esp, 0x14
lea eax, [ebp - 0x59c]
push eax
lea eax, [ebp - 0x20c]
push eax
call edi
mov edi, eax
cmp edi, 0xffffffff
je 0x10923aa
lea eax, [ebp - 0x570]
push eax
lea eax, [ebp - 0x32c]
push eax
lea eax, [ebp - 0x45c]
push eax
push 0x102da60
lea eax, [ebp - 0x310]
push esi
push eax
call fcn.01037486
lea eax, [ebp - 0x570]
push eax
lea eax, [ebp - 0x32c]
push eax
lea eax, [ebp - 0x45c]
push eax
push ebx
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.01037486
lea eax, [ebp - 0x108]
push 0x2e
push eax
call dword [sym.imp.msvcrt.dll_strrchr]
add esp, 0x38
push 0x102e80c
push esi
push eax
call fcn.0108c975
push 0
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.SETUPAPI.dll_SetupDecompressOrCopyFileA]
test eax, eax
je 0x1092387
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x102e7c8
push 1
call fcn.0108e8f0
add esp, 0x14
jmp 0x109238d
inc dword [ebp - 0x5a0]
lea eax, [ebp - 0x59c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x10922df
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
cmp eax, dword [ebp - 0x5a0]
pop ebx
sbb eax, eax
neg eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
call fcn.0106bc50
leave
ret 0x14c