Function at 0x140015074
Capabilities:
Copy file
Create directory
Enumerate files on windows
Enumerate files recursively

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x2e8]
sub rsp, 0x3e8
mov rax, qword [0x14004a490]
xor rax, rsp
mov qword [rbp + 0x2d0], rax
mov rax, qword [rbp + 0x330]
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x40], r8
mov rdx, rcx
mov rbx, rcx
mov qword [rsp + 0x48], rcx
mov esi, r9d
lea r8, [0x14003edf0]
lea rcx, [rbp + 0x28]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], esi
call fcn.140009230
lea rcx, [rbp + 0x28]
call fcn.140004f30
lea rdx, [rbp + 0x80]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
mov qword [rsp + 0x58], rax
cmp rax, 0xffffffffffffffff
je 0x140015330
test byte [rbp + 0x80], 0x10
je 0x140015274
lea rdx, [rbp + 0xac]
lea rcx, [rsp + 0x60]
call fcn.140004ecc
lea rdx, [0x14003ec0c]
lea rcx, [rsp + 0x60]
call fcn.1400154c4
test al, al
je 0x14001526a
lea rdx, [0x14003ed0c]
lea rcx, [rsp + 0x60]
call fcn.1400154c4
test al, al
je 0x14001526a
test esi, esi
jle 0x14001526a
mov rbx, qword [rsp + 0x40]
mov edi, dword [rsp + 0x30]
lea rcx, [rsp + 0x60]
mov rdx, rbx
call fcn.1400154d8
test al, al
je 0x140015254
mov rdx, qword [rsp + 0x48]
lea r8, [0x14003ec1c]
lea rcx, [rbp]
call fcn.140009230
lea r8, [rsp + 0x60]
lea rcx, [rbp - 0x28]
mov rdx, rax
call fcn.140015490
lea rcx, [rbp]
call fcn.140004f24
mov rdx, qword [rsp + 0x50]
lea r8, [0x14003ec3c]
lea rcx, [rbp - 0x50]
call fcn.140009230
lea r8, [rsp + 0x60]
lea rcx, [rbp + 0x50]
mov rdx, rax
call fcn.140015490
lea r8, [0x14003ec2c]
lea rcx, [rbp]
mov rdx, rax
call fcn.14000a370
mov r8, qword [rsp + 0x38]
lea rcx, [rbp - 0x78]
mov rdx, rax
call fcn.140015490
lea rcx, [rbp]
call fcn.140004f24
lea rcx, [rbp + 0x50]
call fcn.140004f24
lea rcx, [rbp - 0x50]
call fcn.140004f24
lea rcx, [rbp - 0x78]
call fcn.140004f30
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov rdx, qword [rsp + 0x38]
lea rcx, [rbp - 0x50]
call fcn.1400105d4
mov r8, qword [rsp + 0x40]
lea rdx, [rbp - 0x78]
lea rcx, [rbp - 0x28]
mov r9d, edi
mov qword [rsp + 0x20], rax
call fcn.140015074
lea rcx, [rbp - 0x78]
call fcn.140004f24
lea rcx, [rbp - 0x28]
call fcn.140004f24
add rbx, 0x28
dec rsi
jne 0x14001515d
mov rdi, qword [rsp + 0x58]
mov esi, dword [rsp + 0x30]
lea rcx, [rsp + 0x60]
jmp 0x140015305
lea r8, [0x14003ec4c]
lea rcx, [rbp - 0x50]
mov rdx, rbx
call fcn.140009230
lea r8, [rbp + 0xac]
lea rcx, [rbp - 0x78]
mov rdx, rax
call fcn.14000a370
lea rcx, [rbp - 0x50]
call fcn.140004f24
mov rdx, qword [rsp + 0x50]
lea r8, [0x14003ec5c]
lea rcx, [rbp - 0x50]
call fcn.140009230
lea r8, [rbp + 0xac]
lea rcx, [rbp - 0x28]
mov rdx, rax
call fcn.14000a370
lea rcx, [rbp - 0x50]
call fcn.140004f24
lea rcx, [rbp - 0x28]
call fcn.140004f30
lea rcx, [rbp - 0x78]
mov rbx, rax
call fcn.140004f30
xor r8d, r8d
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_CopyFileW]
lea rcx, [rbp - 0x28]
call fcn.140004f24
lea rcx, [rbp - 0x78]
call fcn.140004f24
lea rdx, [rbp + 0x80]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
mov rbx, qword [rsp + 0x48]
test eax, eax
jne 0x1400150fc
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
lea rcx, [rbp + 0x28]
call fcn.140004f24
mov rcx, qword [rsp + 0x38]
call fcn.140004f24
mov rcx, qword [rbp + 0x2d0]
xor rcx, rsp
call fcn.14001cb70
add rsp, 0x3e8
pop rdi
pop rsi
pop rbx
pop rbp
ret