Function at 0x180008e8c
Capabilities:
Copy file
Delete file
Enumerate files on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x298]
sub rsp, 0x358
mov qword [rbp - 0x10], 0xfffffffffffffffe
mov rsi, r8
mov r12, rdx
mov rdi, rcx
xor r13d, r13d
mov dword [rsp + 0x40], r13d
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], r13
lea r14d, [r13 + 0xf]
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x58], r13
mov byte [rsp + 0x48], r13b
lea r8, [0x1800f3ee8]
lea rcx, [rbp - 0x30]
call fcn.18000b86c
nop
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rcx, qword [rbp - 0x30]
lea rdx, [rbp]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x68], rax
cmp rax, 0xffffffffffffffff
jne 0x180008f73
mov qword [rdi + 0x18], r14
mov qword [rdi + 0x10], r13
mov byte [rdi], r13b
lea rdx, [rsp + 0x48]
mov rcx, rdi
call fcn.180006ca4
lea ebx, [r13 + 1]
mov dword [rsp + 0x40], ebx
xor r8d, r8d
mov dl, bl
lea rcx, [rbp - 0x30]
call fcn.18000a738
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x180008f69
inc rdx
mov r8d, ebx
mov rcx, qword [rsp + 0x48]
call fcn.1800062ec
mov qword [rsp + 0x60], r14
jmp 0x180009248
mov ebx, 1
test byte [rbp], 0x10
jne 0x180009071
mov qword [rbp - 0x80], r13
mov qword [rbp - 0x78], r13
mov qword [rbp - 0x78], 7
mov qword [rbp - 0x80], r13
mov word [rsp + 0x70], r13w
cmp word [rbp + 0x2c], r13w
jne 0x180008fa8
mov r8, r13
jmp 0x180008fba
lea rax, [rbp + 0x2c]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], r13w
jne 0x180008fb0
lea rdx, [rbp + 0x2c]
lea rcx, [rsp + 0x70]
call fcn.18000a8a8
nop
lea r14, [rsp + 0x70]
mov r8, qword [rsp + 0x70]
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
cmovae r14, r8
lea rcx, [rsp + 0x70]
cmovae rcx, r8
mov rax, qword [rbp - 0x80]
lea rax, [rcx + rax*2]
lea r15, [rsp + 0x70]
cmovae r15, r8
mov rcx, rax
sub rcx, r15
add rcx, rbx
shr rcx, 1
cmp r15, rax
mov eax, 0
cmova rcx, rax
test rcx, rcx
je 0x18000903d
sub r15, r14
mov rdi, rcx
movzx ecx, word [r14 + r15]
call fcn.1800aad88
mov word [r14], ax
lea r14, [r14 + 2]
add r13, rbx
cmp r13, rdi
jne 0x18000901c
mov rdi, qword [rbp + 0x2a0]
mov r9d, 7
lea rdx, str.history
lea rcx, [rsp + 0x70]
call fcn.18000a7b8
cmp rax, 0xffffffffffffffff
jne 0x180009090
xor r8d, r8d
mov dl, bl
lea rcx, [rsp + 0x70]
call fcn.18000a738
mov rax, qword [rsp + 0x68]
xor r13d, r13d
lea rdx, [rbp]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x1800091ea
mov rax, qword [rsp + 0x68]
jmp 0x180008f78
lea r8, [0x1800f3ee4]
mov rdx, r12
lea rcx, [rbp - 0x50]
call fcn.18000b86c
nop
lea r8, [rbp + 0x2c]
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.18000b95c
nop
xor r8d, r8d
mov dl, bl
lea rcx, [rbp - 0x50]
call fcn.18000a738
cmp qword [rsi + 0x18], 8
jb 0x1800090cf
mov rdx, qword [rsi]
jmp 0x1800090d2
mov rdx, rsi
lea rcx, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
cmovae rcx, qword [rbp - 0x70]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
xor r13d, r13d
test eax, eax
je 0x1800091cc
mov dword [rbp + 0x2b8], r13d
lea rcx, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
cmovae rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x1800091b6
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, ebx
mov edx, 0x80000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
lea rdx, [rbp + 0x2b8]
mov rcx, rax
call fcn.180059a30
mov r14, rax
test rax, rax
je 0x1800091b6
mov r8d, dword [rbp + 0x2b8]
test r8d, r8d
je 0x1800091b6
mov rdx, rax
lea rcx, [rbp - 0x50]
call fcn.180006358
nop
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.1800096b4
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x18000918f
inc rdx
mov r8, rbx
mov rcx, qword [rbp - 0x50]
call fcn.1800062ec
mov qword [rbp - 0x38], 0xf
mov qword [rbp - 0x40], r13
mov byte [rbp - 0x50], r13b
mov rcx, qword [0x1801498a8]
test rcx, rcx
je 0x1800091b6
mov r8, r14
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
cmp qword [rsi + 0x18], 8
jb 0x1800091c2
mov rcx, qword [rsi]
jmp 0x1800091c5
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
xor r8d, r8d
mov dl, bl
lea rcx, [rbp - 0x70]
call fcn.18000a738
nop
xor r8d, r8d
mov dl, bl
lea rcx, [rsp + 0x70]
call fcn.18000a738
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov qword [rdi + 0x18], 0xf
mov qword [rdi + 0x10], r13
mov byte [rdi], r13b
lea rdx, [rsp + 0x48]
mov rcx, rdi
call fcn.180006ca4
mov dword [rsp + 0x40], ebx
xor r8d, r8d
mov dl, bl
lea rcx, [rbp - 0x30]
call fcn.18000a738
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x18000923f
inc rdx
mov r8, rbx
mov rcx, qword [rsp + 0x48]
call fcn.1800062ec
mov qword [rsp + 0x60], 0xf
mov byte [rsp + 0x48], r13b
mov qword [rsp + 0x58], r13
xor r8d, r8d
mov dl, bl
mov rcx, r12
call fcn.18000a738
nop
xor r8d, r8d
mov dl, bl
mov rcx, rsi
call fcn.18000a738
mov rax, rdi
add rsp, 0x358
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret