Function at 0x14001b63c
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
mov eax, 0x11230
call fcn.140090020
sub rsp, rax
xor ebp, ebp
mov rdi, rcx
lea rcx, [rsp + 0x4f0]
mov r12, r8
mov rsi, rdx
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x68], rbp
mov dword [rsp + 0x70], ebp
mov dword [rsp + 0x74], ebp
mov dword [rsp + 0x78], ebp
mov dword [rsp + 0x7c], ebp
mov dword [rsp + 0x80], ebp
mov qword [rsp + 0x88], rbp
mov qword [rsp + 0x90], rbp
mov word [rsp + 0x98], bp
mov word [rsp + 0x2a2], bp
mov qword [rsp + 0x4d0], rbp
call fcn.14001b144
mov edx, dword [rdi + 8]
mov rcx, qword [rdi]
lea r13d, [rbp + 1]
mov ebx, r13d
xor r8d, r8d
mov dword [rsp + 0x44], ebx
call fcn.14007759c
lea rdx, [0x1400985a0]
mov rcx, rsi
call fcn.140076450
xor r9d, r9d
lea r8, [rsp + 0x1020]
mov rdx, rsi
mov rcx, rdi
cmp eax, ebp
jne 0x14001b7cf
call fcn.14001bd70
cmp eax, ebp
je 0x14001b713
mov eax, 6
jmp 0x14001bb14
lea rax, [rsp + 0x7e0]
lea r9, [rsp + 0xe10]
lea r8, [rsp + 0xc00]
lea rdx, [rsp + 0x48]
mov rcx, r12
mov qword [rsp + 0x20], rax
call fcn.140076efc
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x9f0]
call fcn.140075b0c
lea rdx, [rsp + 0xc00]
lea rcx, [rsp + 0x9f0]
call fcn.140075ae0
lea r11, [rsp + 0x7e0]
lea r9, [rsp + 0xe10]
lea r8, [rsp + 0xc00]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x1020]
mov qword [rsp + 0x20], r11
call fcn.140076efc
lea rdx, [rsp + 0xe10]
lea rcx, [rsp + 0x9f0]
call fcn.140075ae0
lea rdx, [rsp + 0x7e0]
lea rcx, [rsp + 0x9f0]
call fcn.140075ae0
lea r12, [rsp + 0x9f0]
mov qword [rsp + 0x11280], r12
jmp 0x14001b7dc
call fcn.14001bd70
cmp eax, ebp
jne 0x14001b709
mov r9, qword [rdi]
lea rcx, [rsp + 0x11270]
mov r8, r13
mov rdx, r13
call fcn.140077d08
mov r9, qword [rdi]
mov esi, 4
lea rcx, [rsp + 0x40]
mov rdx, rsi
mov r8, r13
call fcn.140077d08
mov r14d, dword [rsp + 0x40]
mov r9, qword [rdi]
lea rcx, [rsp + 0x40]
mov r8, r13
mov rdx, rsi
xor r14d, 0x87bc
call fcn.140077d08
mov r9, qword [rdi]
lea rcx, [rsp + 0x40]
mov r8, r13
mov rdx, rsi
call fcn.140077d08
mov eax, dword [rsp + 0x40]
mov r9, qword [rdi]
xor eax, 0xa685
lea rcx, [rsp + 0x54]
mov r8, r13
mov rdx, rsi
mov dword [rsp + 0x48], eax
call fcn.140077d08
mov r9, qword [rdi]
lea rcx, [rsp + 0x50]
mov r8, r13
mov rdx, rsi
call fcn.140077d08
mov r9, qword [rdi]
lea rcx, [rsp + 0x5c]
mov r8, r13
mov rdx, rsi
call fcn.140077d08
mov r9, qword [rdi]
lea rcx, [rsp + 0x58]
mov r8, r13
mov rdx, rsi
call fcn.140077d08
lea rdx, [rsp + 0x7e0]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea r9, [rsp + 0x5d0]
lea rdx, [0x140098598]
lea rcx, [rsp + 0x7e0]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea rdx, [0x1400985a4]
lea rcx, [rsp + 0x5d0]
call fcn.1400774dc
mov r15, rax
cmp rax, rbp
jne 0x14001b8ec
lea eax, [rsi + 5]
jmp 0x14001bb14
mov edx, dword [rdi + 0xc]
lea rcx, [rsp + 0x4f0]
add edx, 0x2477
call fcn.14001b294
cmp r14d, ebp
mov esi, ebp
jle 0x14001b9db
xor r12d, r12d
lea eax, [rsi + 0x10000]
cmp eax, r14d
jle 0x14001b922
mov ebx, r14d
sub ebx, esi
jmp 0x14001b927
mov ebx, 0x10000
mov r9, qword [rdi]
movsxd r13, ebx
lea rcx, [rsp + 0x1230]
mov r8, r13
mov edx, 1
add esi, ebx
call fcn.140077d08
cmp r13, r12
mov rbp, r12
jle 0x14001b98e
lea rcx, [rsp + 0x4f0]
call fcn.14001b1a0
lea rcx, [rsp + 0x4f0]
call fcn.14001b1a0
mov ecx, 0xff
mulsd xmm0, qword [0x14009da80]
cvttsd2si eax, xmm0
cmp eax, 0x100
cmovge eax, ecx
inc rbp
xor byte [rsp + rbp + 0x122f], al
cmp rbp, r13
jl 0x14001b94c
cmp ebx, r12d
je 0x14001b9a8
lea rdx, [rsp + 0x1230]
lea rcx, [rsp + 0x44]
mov r8d, ebx
call fcn.140019ffc
mov r8, r13
mov r13d, 1
lea rcx, [rsp + 0x1230]
mov rdx, r13
mov r9, r15
call fcn.140077844
cmp esi, r14d
jl 0x14001b910
mov ebx, dword [rsp + 0x44]
mov r12, qword [rsp + 0x11280]
xor ebp, ebp
mov rcx, r15
call fcn.140077974
cmp dword [rsp + 0x48], ebx
je 0x14001b9f3
mov ebx, 0xa
jmp 0x14001baa1
cmp byte [rsp + 0x11270], r13b
jne 0x14001ba84
lea rdx, [rsp + 0x5d0]
lea rcx, [rsp + 0x98]
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x68], rbp
mov dword [rsp + 0x70], ebp
mov dword [rsp + 0x74], ebp
mov dword [rsp + 0x78], ebp
mov qword [rsp + 0x88], rbp
mov qword [rsp + 0x90], rbp
mov word [rsp + 0x98], bp
mov word [rsp + 0x2a2], bp
mov qword [rsp + 0x4d0], rbp
mov dword [rsp + 0x7c], ebp
mov dword [rsp + 0x80], ebp
call fcn.140075b0c
lea rcx, [rsp + 0x2a2]
mov rdx, r12
call fcn.140075b0c
lea rcx, [rsp + 0x60]
call fcn.14001a064
cmp eax, ebp
je 0x14001bab3
mov ebx, reloc.WSOCK32.dll_inet_ntoa
jmp 0x14001baa1
lea rcx, [rsp + 0x5d0]
xor r8d, r8d
mov rdx, r12
call qword [sym.imp.KERNEL32.dll_CopyFileW]
cmp eax, ebp
jne 0x14001bab3
mov ebx, 7
lea rcx, [rsp + 0x5d0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, ebx
jmp 0x14001bb14
lea rcx, [rsp + 0x5d0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov qword [rsp + 0x30], rbp
xor r9d, r9d
mov r8d, r13d
mov edx, 0x40000000
mov rcx, r12
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14001bb12
lea r9, [rsp + 0x58]
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 + 0x11278]
add rsp, 0x11230
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret