Function at 0x140009f30
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 [0x1400470b0]
xor rax, rsp
mov qword [rsp + 0xac0], rax
mov byte [rsp + 0x20], 1
mov qword [rsp + 0x28], 0xffffffffffffffff
lea r8, [0x140034354]
mov rdx, qword [rsp + 0xae8]
lea rcx, [rsp + 0x6a0]
call qword [sym.imp.SHLWAPI.dll_PathCombineW]
lea r8, [0x140034364]
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 0x140009fc5
mov byte [rsp + 0x20], 0
jmp 0x14000a231
mov rcx, qword [rsp + 0xae0]
call fcn.140008670
mov r8, qword [rsp + 0xae8]
mov edx, 0x104
lea rcx, [rsp + 0x490]
call fcn.14001a614
mov r8, qword [rsp + 0xae0]
mov edx, 0x104
lea rcx, [rsp + 0x280]
call fcn.14001a614
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 fcn.14001a614
lea r8, [rsp + 0x280]
mov edx, 0x104
lea rcx, [rsp + 0x8b0]
call fcn.14001a614
mov byte [rsp + 0x21], 1
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x14000a21e
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x14000a1ec
mov eax, 2
imul rax, rax, 0
movzx eax, word [rsp + rax + 0x5c]
cmp eax, 0x2e
jne 0x14000a0cc
mov eax, 2
imul rax, rax, 1
movzx eax, word [rsp + rax + 0x5c]
test eax, eax
je 0x14000a0ca
mov eax, 2
imul rax, rax, 1
movzx eax, word [rsp + rax + 0x5c]
cmp eax, 0x2e
jne 0x14000a0cc
mov eax, 2
imul rax, rax, 2
movzx eax, word [rsp + rax + 0x5c]
test eax, eax
jne 0x14000a0cc
jmp 0x14000a05b
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 0x14000a17c
lea rdx, [rsp + 0x490]
lea rcx, [rsp + 0x280]
call fcn.140009f30
movzx eax, al
test eax, eax
jne 0x14000a139
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov qword [rsp + 0x28], 0xffffffffffffffff
mov byte [rsp + 0x20], 0
jmp 0x14000a21e
lea rcx, [rsp + 0x280]
call fcn.140008670
lea r8, [rsp + 0x6a0]
mov edx, 0x104
lea rcx, [rsp + 0x490]
call fcn.14001a614
lea r8, [rsp + 0x8b0]
mov edx, 0x104
lea rcx, [rsp + 0x280]
call fcn.14001a614
jmp 0x14000a1ea
xor r8d, r8d
lea rdx, [rsp + 0x280]
lea rcx, [rsp + 0x490]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x14000a1b6
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov qword [rsp + 0x28], 0xffffffffffffffff
mov byte [rsp + 0x20], 0
jmp 0x14000a21e
lea r8, [rsp + 0x6a0]
mov edx, 0x104
lea rcx, [rsp + 0x490]
call fcn.14001a614
lea r8, [rsp + 0x8b0]
mov edx, 0x104
lea rcx, [rsp + 0x280]
call fcn.14001a614
jmp 0x14000a219
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x14000a1fe
mov byte [rsp + 0x21], 0
jmp 0x14000a219
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov qword [rsp + 0x28], 0xffffffffffffffff
mov byte [rsp + 0x20], 0
jmp 0x14000a21e
jmp 0x14000a05b
cmp qword [rsp + 0x28], 0xffffffffffffffff
je 0x14000a231
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.140019e10
add rsp, 0xad8
ret