Function at 0x1400099f0
Capabilities:
Copy file
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xad8
mov rax, qword [0x14003b250]
xor rax, rsp
mov qword [rsp + 0xac0], rax
mov byte [rsp + 0x20], 1
mov qword [rsp + 0x28], 0xffffffffffffffff
lea r8, [0x14002b18c]
mov rdx, qword [rsp + 0xae8]
lea rcx, [rsp + 0x6a0]
call qword [sym.imp.SHLWAPI.dll_PathCombineW]
lea r8, [0x14002b190]
mov rdx, qword [rsp + 0xae0]
lea rcx, [rsp + 0x8b0]
call qword [sym.imp.SHLWAPI.dll_PathCombineW]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x6a0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0xffffffffffffffff
jne 0x140009a85
mov byte [rsp + 0x20], 0
jmp 0x140009cfd
mov rcx, qword [rsp + 0xae0]
call fcn.1400086f0
mov r8, qword [rsp + 0xae8]
mov edx, 0x104
lea rcx, [rsp + 0x490]
call qword [sym.imp.MSVCR120.dll_wcscpy_s]
mov r8, qword [rsp + 0xae0]
mov edx, 0x104
lea rcx, [rsp + 0x280]
call qword [sym.imp.MSVCR120.dll_wcscpy_s]
lea rcx, [rsp + 0x490]
call qword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea rcx, [rsp + 0x280]
call qword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea r8, [rsp + 0x490]
mov edx, 0x104
lea rcx, [rsp + 0x6a0]
call qword [sym.imp.MSVCR120.dll_wcscpy_s]
lea r8, [rsp + 0x280]
mov edx, 0x104
lea rcx, [rsp + 0x8b0]
call qword [sym.imp.MSVCR120.dll_wcscpy_s]
mov byte [rsp + 0x21], 1
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x140009cea
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x140009cb8
mov eax, 2
imul rax, rax, 0
movzx eax, word [rsp + rax + 0x5c]
cmp eax, 0x2e
jne 0x140009b90
mov eax, 2
imul rax, rax, 1
movzx eax, word [rsp + rax + 0x5c]
test eax, eax
je 0x140009b8e
mov eax, 2
imul rax, rax, 1
movzx eax, word [rsp + rax + 0x5c]
cmp eax, 0x2e
jne 0x140009b90
mov eax, 2
imul rax, rax, 2
movzx eax, word [rsp + rax + 0x5c]
test eax, eax
jne 0x140009b90
jmp 0x140009b1f
lea rdx, [rsp + 0x5c]
lea rcx, [rsp + 0x490]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rdx, [rsp + 0x5c]
lea rcx, [rsp + 0x280]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
mov eax, dword [rsp + 0x30]
and eax, 0x10
test eax, eax
je 0x140009c46
lea rdx, [rsp + 0x490]
lea rcx, [rsp + 0x280]
call fcn.1400099f0
movzx eax, al
test eax, eax
jne 0x140009c01
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov qword [rsp + 0x28], 0xffffffffffffffff
mov byte [rsp + 0x20], 0
jmp 0x140009cea
lea rcx, [rsp + 0x280]
call fcn.1400086f0
lea r8, [rsp + 0x6a0]
mov edx, 0x104
lea rcx, [rsp + 0x490]
call qword [sym.imp.MSVCR120.dll_wcscpy_s]
lea r8, [rsp + 0x8b0]
mov edx, 0x104
lea rcx, [rsp + 0x280]
call qword [sym.imp.MSVCR120.dll_wcscpy_s]
jmp 0x140009cb6
xor r8d, r8d
lea rdx, [rsp + 0x280]
lea rcx, [rsp + 0x490]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x140009c80
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov qword [rsp + 0x28], 0xffffffffffffffff
mov byte [rsp + 0x20], 0
jmp 0x140009cea
lea r8, [rsp + 0x6a0]
mov edx, 0x104
lea rcx, [rsp + 0x490]
call qword [sym.imp.MSVCR120.dll_wcscpy_s]
lea r8, [rsp + 0x8b0]
mov edx, 0x104
lea rcx, [rsp + 0x280]
call qword [sym.imp.MSVCR120.dll_wcscpy_s]
jmp 0x140009ce5
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x140009cca
mov byte [rsp + 0x21], 0
jmp 0x140009ce5
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov qword [rsp + 0x28], 0xffffffffffffffff
mov byte [rsp + 0x20], 0
jmp 0x140009cea
jmp 0x140009b1f
cmp qword [rsp + 0x28], 0xffffffffffffffff
je 0x140009cfd
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindClose]
movzx eax, byte [rsp + 0x20]
mov rcx, qword [rsp + 0xac0]
xor rcx, rsp
call fcn.140021890
add rsp, 0xad8
ret