Function at 0x14001b794
Capabilities:
Copy file
Delete file
Encode data using xor
Get common file path
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x11140]
mov eax, 0x11240
call fcn.14007edb0
sub rsp, rax
xor r12d, r12d
mov rdi, rcx
lea rcx, [rbp + 0x400]
mov r13, r8
mov rsi, rdx
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], r12
mov dword [rbp - 0x70], r12d
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x60], r12
mov word [rbp - 0x58], r12w
mov word [rbp + 0x1b2], r12w
mov qword [rbp + 0x3e0], r12
call fcn.14001b298
mov edx, dword [rdi + 8]
mov rcx, qword [rdi]
lea r14d, [r12 + 1]
xor r8d, r8d
mov ebx, r14d
mov dword [rsp + 0x40], ebx
call fcn.1400724d0
lea rdx, [0x14008e220]
mov rcx, rsi
call fcn.140070060
lea r8, [rbp + 0xf30]
mov rdx, rsi
mov rcx, rdi
test eax, eax
jne 0x14001b905
call fcn.14001bea0
test eax, eax
je 0x14001b859
mov eax, 6
jmp 0x14001bc45
lea rax, [rbp + 0x6f0]
lea r9, [rbp + 0xd20]
lea r8, [rbp + 0xb10]
lea rdx, [rsp + 0x48]
mov rcx, r13
mov qword [rsp + 0x20], rax
call fcn.140070abc
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0x900]
call fcn.14006f74c
lea rdx, [rbp + 0xb10]
lea rcx, [rbp + 0x900]
call fcn.14006f720
lea r11, [rbp + 0x6f0]
lea r9, [rbp + 0xd20]
lea r8, [rbp + 0xb10]
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0xf30]
mov qword [rsp + 0x20], r11
call fcn.140070abc
lea rdx, [rbp + 0xd20]
lea rcx, [rbp + 0x900]
call fcn.14006f720
lea rdx, [rbp + 0x6f0]
lea rcx, [rbp + 0x900]
call fcn.14006f720
lea r13, [rbp + 0x900]
mov qword [rbp + 0x11190], r13
jmp 0x14001b912
call fcn.14001bea0
test eax, eax
jne 0x14001b84f
mov r9, qword [rdi]
lea rcx, [rbp + 0x11180]
mov r8, r14
mov rdx, r14
call fcn.140072074
mov r9, qword [rdi]
mov esi, 4
lea rcx, [rbp + 0x11198]
mov edx, esi
mov r8, r14
call fcn.140072074
mov r15d, dword [rbp + 0x11198]
mov r9, qword [rdi]
lea rcx, [rbp + 0x11198]
mov r8, r14
mov edx, esi
xor r15d, 0x87bc
call fcn.140072074
mov r9, qword [rdi]
lea rcx, [rbp + 0x11198]
mov r8, r14
mov edx, esi
call fcn.140072074
mov eax, dword [rbp + 0x11198]
mov r9, qword [rdi]
xor eax, 0xa685
lea rcx, [rsp + 0x54]
mov r8, r14
mov edx, esi
mov dword [rsp + 0x48], eax
call fcn.140072074
mov r9, qword [rdi]
lea rcx, [rsp + 0x50]
mov r8, r14
mov edx, esi
call fcn.140072074
mov r9, qword [rdi]
lea rcx, [rsp + 0x64]
mov r8, r14
mov edx, esi
call fcn.140072074
mov r9, qword [rdi]
lea rcx, [rsp + 0x60]
mov r8, r14
mov edx, esi
call fcn.140072074
lea rdx, [rbp + 0x6f0]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea r9, [rbp + 0x4e0]
lea rdx, [0x14008e218]
lea rcx, [rbp + 0x6f0]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea rdx, [0x14008e224]
lea rcx, [rbp + 0x4e0]
call fcn.140071ca4
mov qword [rsp + 0x58], rax
test rax, rax
jne 0x14001ba22
lea eax, [rsi + 5]
jmp 0x14001bc45
mov edx, dword [rdi + 0xc]
lea rcx, [rbp + 0x400]
add edx, 0x2477
call fcn.14001b3e4
mov esi, r12d
test r15d, r15d
jle 0x14001bb0a
mov r13, qword [rsp + 0x58]
lea eax, [rsi + 0x10000]
cmp eax, r15d
jle 0x14001ba5a
mov ebx, r15d
sub ebx, esi
jmp 0x14001ba5f
mov ebx, 0x10000
mov r9, qword [rdi]
movsxd r14, ebx
lea rcx, [rbp + 0x1140]
mov r8, r14
mov edx, 1
add esi, ebx
call fcn.140072074
test ebx, ebx
jle 0x14001bac0
lea rcx, [rbp + 0x400]
call fcn.14001b2f4
lea rcx, [rbp + 0x400]
call fcn.14001b2f4
mov ecx, 0xff
mulsd xmm0, qword [0x140093670]
cvttsd2si eax, xmm0
cmp eax, 0x100
cmovge eax, ecx
inc r12
xor byte [rbp + r12 + 0x113f], al
cmp r12, r14
jl 0x14001ba7f
xor r12d, r12d
test ebx, ebx
je 0x14001badb
lea rdx, [rbp + 0x1140]
lea rcx, [rsp + 0x40]
mov r8d, ebx
call fcn.14001a17c
mov r8, r14
mov r14d, 1
lea rcx, [rbp + 0x1140]
mov edx, r14d
mov r9, r13
call fcn.140071494
cmp esi, r15d
jl 0x14001ba48
mov ebx, dword [rsp + 0x40]
mov r13, qword [rbp + 0x11190]
mov rcx, qword [rsp + 0x58]
call fcn.140071d2c
cmp dword [rsp + 0x48], ebx
je 0x14001bb24
mov ebx, 0xa
jmp 0x14001bbd4
cmp byte [rbp + 0x11180], r14b
jne 0x14001bbba
mov ebx, 0x104
lea rdx, [rbp + 0x4e0]
lea rcx, [rbp - 0x58]
mov r8d, ebx
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x80], 0
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x60], r12
mov word [rbp - 0x58], r12w
mov word [rbp + 0x1b2], r12w
mov qword [rbp + 0x3e0], r12
mov qword [rbp - 0x78], 0
mov dword [rbp - 0x70], r12d
call fcn.14006fedc
lea rcx, [rbp + 0x1b2]
mov r8d, ebx
mov rdx, r13
mov word [rbp + 0x1b0], r12w
call fcn.14006fedc
lea rcx, [rsp + 0x70]
mov word [rbp + 0x3ba], r12w
call fcn.14001a1e4
test eax, eax
je 0x14001bbe5
mov ebx, reloc.WSOCK32.dll_inet_ntoa
jmp 0x14001bbd4
lea rcx, [rbp + 0x4e0]
xor r8d, r8d
mov rdx, r13
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x14001bbe5
lea ebx, [rax + 7]
lea rcx, [rbp + 0x4e0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, ebx
jmp 0x14001bc45
lea rcx, [rbp + 0x4e0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov qword [rsp + 0x30], r12
xor r9d, r9d
mov r8d, r14d
mov edx, 0x40000000
mov rcx, r13
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14001bc43
lea r9, [rsp + 0x60]
lea rdx, [rsp + 0x50]
xor r8d, r8d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFileTime]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rbx, qword [rsp + 0x11288]
add rsp, 0x11240
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret