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

Disassembly:
push 0xffffffffffffffff
push 0x100183be
mov eax, dword fs:[0]
push eax
sub esp, 0x208
mov eax, dword [0x1001f220]
xor eax, esp
mov dword [esp + 0x204], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1001f220]
xor eax, esp
push eax
lea eax, [esp + 0x21c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x264]
mov ecx, dword [esp + 0x268]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x224], 1
call fcn.10008b30
push 0x10019ce8
lea edx, [esp + 0x230]
push edx
lea eax, [esp + 0xc4]
xor ebx, ebx
push eax
mov byte [esp + 0x230], 2
mov dword [esp + 0x30], ebx
call fcn.100023e0
add esp, 0xc
mov eax, dword [esp + 0xc0]
mov ebp, 0x10
cmp dword [esp + 0xd4], ebp
mov byte [esp + 0x224], 3
jae 0x10009b94
lea eax, [esp + 0xc0]
lea ecx, [esp + 0xd8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x18], eax
jne 0x10009c62
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.FindFirstFile_generated_an_unexpected_error
mov esi, eax
push 0x7e2
lea edx, [esp + 0x1c]
push esi
push edx
call fcn.10008d90
add esp, 0x10
cmp dword [esp + 0xd4], ebp
jb 0x10009be9
mov eax, dword [esp + 0xc0]
push eax
call fcn.1000cb22
add esp, 4
mov edi, 0xf
lea ecx, [esp + 0x14]
mov dword [esp + 0xd4], edi
mov dword [esp + 0xd0], ebx
mov byte [esp + 0xc0], bl
mov byte [esp + 0x224], 1
call fcn.10008b50
cmp dword [esp + 0x244], ebp
jb 0x10009c2d
mov ecx, dword [esp + 0x230]
push ecx
call fcn.1000cb22
add esp, 4
cmp dword [esp + 0x260], ebp
mov dword [esp + 0x244], edi
mov dword [esp + 0x240], ebx
mov byte [esp + 0x230], bl
jb 0x10009c5b
mov edx, dword [esp + 0x24c]
push edx
call fcn.1000cb22
add esp, 4
mov eax, esi
jmp 0x1000a2a1
mov edi, 0xf
jmp 0x10009c70
mov dword [esp + 0x9c], edi
mov dword [esp + 0x98], ebx
mov byte [esp + 0x88], bl
mov dword [esp + 0xb8], edi
mov dword [esp + 0xb4], ebx
mov byte [esp + 0xa4], bl
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x234]
push eax
lea ecx, [esp + 0x90]
mov byte [esp + 0x230], 5
call fcn.10001ab0
push 1
push 0x10019cb8
lea ecx, [esp + 0x8c]
call fcn.10001c90
lea eax, [esp + 0x104]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x10009cd6
sub eax, edx
push eax
lea ecx, [esp + 0x108]
push ecx
lea ecx, [esp + 0x8c]
call fcn.10001c90
lea edx, [esp + 0x104]
push 0x10019c74
push edx
call fcn.1000e1b1
add esp, 8
test eax, eax
je 0x1000a16d
lea eax, [esp + 0x104]
push 0x10019cb4
push eax
call fcn.1000e1b1
add esp, 8
test eax, eax
je 0x1000a16d
test byte [esp + 0xd8], 0x10
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
je 0x10009ead
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push ecx
push edx
push 1
push 0x10019cb8
lea ecx, [esp + 0x3c]
call fcn.10001d80
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x254]
push ecx
lea edx, [esp + 0x58]
push edx
mov byte [esp + 0x238], 6
call fcn.100024a0
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x88], esp
lea edx, [esp + 0x128]
push edx
push eax
push ecx
mov byte [esp + 0x254], 7
call fcn.100023e0
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x68], esp
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0xcc]
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push eax
mov byte [esp + 0x270], 8
mov byte [ecx + 4], bl
call fcn.10001ab0
mov byte [esp + 0x264], 7
call fcn.10009ae0
add esp, 0x40
cmp dword [esp + 0x60], ebp
mov esi, eax
jb 0x10009df5
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.1000cb22
add esp, 4
cmp dword [esp + 0x44], ebp
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
mov byte [esp + 0x224], 5
jb 0x10009e1c
mov edx, dword [esp + 0x30]
push edx
call fcn.1000cb22
add esp, 4
cmp esi, ebx
je 0x1000a16d
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [esp + 0xb8], ebp
jb 0x10009e48
mov ecx, dword [esp + 0xa4]
push ecx
call fcn.1000cb22
add esp, 4
cmp dword [esp + 0x9c], ebp
mov dword [esp + 0xb8], edi
mov dword [esp + 0xb4], ebx
mov byte [esp + 0xa4], bl
jb 0x10009e76
mov edx, dword [esp + 0x88]
push edx
call fcn.1000cb22
add esp, 4
cmp dword [esp + 0xd4], ebp
mov dword [esp + 0x9c], edi
mov dword [esp + 0x98], ebx
mov byte [esp + 0x88], bl
jb 0x10009bee
mov eax, dword [esp + 0xc0]
push eax
call fcn.1000cb22
add esp, 4
jmp 0x10009bee
push 1
push 0x10019cb8
lea ecx, [esp + 0x34]
call fcn.10001d80
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x24c]
push ecx
lea edx, [esp + 0x70]
push edx
mov byte [esp + 0x230], 9
call fcn.100024a0
lea ecx, [esp + 0x110]
push ecx
push eax
lea edx, [esp + 0x5c]
push edx
mov byte [esp + 0x23c], 0xa
call fcn.100023e0
add esp, 0x18
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xac]
mov byte [esp + 0x230], 0xb
call fcn.10001ab0
cmp dword [esp + 0x60], ebp
jb 0x10009f25
mov eax, dword [esp + 0x4c]
push eax
call fcn.1000cb22
add esp, 4
cmp dword [esp + 0x80], ebp
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
jb 0x10009f47
mov ecx, dword [esp + 0x6c]
push ecx
call fcn.1000cb22
add esp, 4
cmp dword [esp + 0x44], ebp
mov dword [esp + 0x80], edi
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x6c], bl
mov byte [esp + 0x224], 5
jb 0x10009f71
mov edx, dword [esp + 0x30]
push edx
call fcn.1000cb22
add esp, 4
cmp dword [esp + 0xb8], ebp
mov eax, dword [esp + 0xa4]
jae 0x10009f88
lea eax, [esp + 0xa4]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x84]
push eax
call fcn.100034b0
lea ecx, [esp + 0xa0]
push ecx
mov ecx, dword [esp + 0x24]
call fcn.100034b0
sub esp, 0x1c
mov ecx, esp
lea eax, [esp + 0x120]
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
mov dword [esp + 0x44], esp
mov byte [ecx + 4], bl
lea esi, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x10009fe0
sub eax, esi
push eax
lea edx, [esp + 0x124]
push edx
call fcn.10001d80
push 0xbb8
call fcn.10007580
mov eax, dword [esp + 0xa8]
mov ebp, 0x10
add esp, 0x20
cmp dword [esp + 0x9c], ebp
jae 0x1000a022
lea eax, [esp + 0x88]
push eax
lea eax, [esp + 0x18]
push str.Copy_File_Source___s
push eax
call fcn.10008c90
mov eax, dword [esp + 0xb0]
add esp, 0xc
cmp dword [esp + 0xb8], ebp
jae 0x1000a04c
lea eax, [esp + 0xa4]
push eax
lea ecx, [esp + 0x18]
push str.Copy_File_Destination___s
push ecx
call fcn.10008c90
add esp, 0xc
xor edi, edi
jmp 0x1000a070
cmp dword [esp + 0xb8], ebp
mov ecx, dword [esp + 0xa4]
jae 0x1000a087
lea ecx, [esp + 0xa4]
cmp dword [esp + 0x9c], ebp
mov eax, dword [esp + 0x88]
jae 0x1000a09e
lea eax, [esp + 0x88]
push ebx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, ebx
je 0x1000a168
cmp esi, 3
je 0x1000a0f4
cmp dword [esp + 0x9c], ebp
mov eax, dword [esp + 0x88]
jae 0x1000a0d3
lea eax, [esp + 0x88]
push eax
push esi
lea edx, [esp + 0x1c]
push str.Copy_file_error___d__on_source___s._Trying_again.
push edx
call fcn.10008c90
add esp, 0x10
push 0xfa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1000a114
cmp dword [esp + 0x260], ebp
mov eax, dword [esp + 0x24c]
jae 0x1000a10b
lea eax, [esp + 0x24c]
push ebx
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExA]
add edi, 1
cmp edi, 4
jl 0x1000a070
cmp dword [esp + 0xb8], ebp
mov ecx, dword [esp + 0xa4]
jae 0x1000a137
lea ecx, [esp + 0xa4]
cmp dword [esp + 0x9c], ebp
mov eax, dword [esp + 0x88]
jae 0x1000a14e
lea eax, [esp + 0x88]
push ecx
push eax
push str.CopyFile_generated_an_unexpected_error_on_file.__n_tsrc_s_n_tdest_s
push 0x7e2
lea eax, [esp + 0x24]
push esi
push eax
call fcn.10008d90
add esp, 0x18
mov edi, 0xf
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0xd8]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1000a1b3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, ebx
mov dword [esp + 0x24], esi
je 0x1000a1b7
cmp esi, 0x12
je 0x1000a1b7
push str.FindNextFile_returned_an_unexpected_error._Ignoring_error
push 0x7e2
lea eax, [esp + 0x1c]
push esi
push eax
call fcn.10008d90
add esp, 0x10
jmp 0x1000a1b7
mov esi, dword [esp + 0x24]
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [esp + 0xb8], ebp
jb 0x1000a1d7
mov ecx, dword [esp + 0xa4]
push ecx
call fcn.1000cb22
add esp, 4
cmp dword [esp + 0x9c], ebp
mov dword [esp + 0xb8], edi
mov dword [esp + 0xb4], ebx
mov byte [esp + 0xa4], bl
jb 0x1000a205
mov edx, dword [esp + 0x88]
push edx
call fcn.1000cb22
add esp, 4
cmp esi, 0x12
jne 0x10009c70
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [esp + 0xd4], ebp
jb 0x1000a232
mov ecx, dword [esp + 0xc0]
push ecx
call fcn.1000cb22
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0xd4], edi
mov dword [esp + 0xd0], ebx
mov byte [esp + 0xc0], bl
mov byte [esp + 0x224], 1
call fcn.10008b50
cmp dword [esp + 0x244], ebp
jb 0x1000a271
mov edx, dword [esp + 0x230]
push edx
call fcn.1000cb22
add esp, 4
cmp dword [esp + 0x260], ebp
mov dword [esp + 0x244], edi
mov dword [esp + 0x240], ebx
mov byte [esp + 0x230], bl
jb 0x1000a29f
mov eax, dword [esp + 0x24c]
push eax
call fcn.1000cb22
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x21c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x204]
xor ecx, esp
call fcn.1000d030
add esp, 0x214
ret