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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov dword [rax + 0x20], r9d
mov qword [rax + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1188]
mov eax, 0x1250
call fcn.1400396b0
sub rsp, rax
xor edi, edi
xorps xmm0, xmm0
mov rsi, rcx
mov ecx, 0x10000
mov r15, r8
mov r14, rdx
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x68], rdi
mov dword [rbp - 0x60], edi
movdqa xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x58], rdi
mov qword [rbp - 0x50], rdi
mov word [rbp - 0x48], di
mov word [rbp + 0x1c0], di
mov qword [rbp + 0x3e8], rdi
call fcn.140026f9c
lea rcx, [rsp + 0x48]
mov rdx, rax
call fcn.14001bc10
lea rcx, [rbp + 0x620]
call fcn.14007a17c
mov r8d, dword [rsi + 8]
mov rdx, qword [rsi]
lea r13d, [rdi + 1]
xor r9d, r9d
mov rcx, rsi
mov ebx, r13d
mov dword [rsp + 0x30], ebx
call fcn.14001b7c4
lea rdx, [0x1400cfff4]
mov rcx, r14
call fcn.140028304
lea r8, [rbp + 0xd30]
mov rdx, r14
mov rcx, rsi
test eax, eax
jne 0x14007a6c2
call fcn.14007ab1c
test eax, eax
jne 0x14007a6cf
lea rax, [rbp + 0x700]
lea r9, [rbp + 0xf40]
lea r8, [rbp + 0xb20]
lea rdx, [rsp + 0x38]
mov rcx, r15
mov qword [rsp + 0x20], rax
call fcn.140028f28
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0x910]
call fcn.140027898
lea rdx, [rbp + 0xb20]
lea rcx, [rbp + 0x910]
call fcn.14002786c
lea rax, [rbp + 0x700]
lea r9, [rbp + 0xf40]
lea r8, [rbp + 0xb20]
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0xd30]
mov qword [rsp + 0x20], rax
call fcn.140028f28
lea rdx, [rbp + 0xf40]
lea rcx, [rbp + 0x910]
call fcn.14002786c
lea rdx, [rbp + 0x700]
lea rcx, [rbp + 0x910]
call fcn.14002786c
lea r15, [rbp + 0x910]
mov qword [rbp + 0x11a0], r15
mov rax, qword [rsi]
lea rdx, [rbp + 0x11a8]
mov r9, r13
mov r8, r13
mov rcx, rsi
mov qword [rsp + 0x20], rax
call fcn.14001b7ec
mov rax, qword [rsi]
mov r14d, 4
lea rdx, [rbp + 0x1190]
mov r9, r13
mov r8d, r14d
mov rcx, rsi
mov qword [rsp + 0x20], rax
call fcn.14001b7ec
mov r12d, dword [rbp + 0x1190]
mov rax, qword [rsi]
lea rdx, [rbp + 0x1190]
xor r12d, 0x87bc
mov r9, r13
mov r8d, r14d
mov rcx, rsi
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x40], r12d
call fcn.14001b7ec
mov rax, qword [rsi]
lea rdx, [rbp + 0x1190]
mov r9, r13
mov r8d, r14d
mov rcx, rsi
mov qword [rsp + 0x20], rax
call fcn.14001b7ec
mov eax, dword [rbp + 0x1190]
lea rdx, [rsp + 0x5c]
xor eax, 0xa685
mov r9, r13
mov r8d, r14d
mov dword [rsp + 0x38], eax
mov rax, qword [rsi]
mov rcx, rsi
mov qword [rsp + 0x20], rax
call fcn.14001b7ec
mov rax, qword [rsi]
lea rdx, [rsp + 0x58]
mov r9, r13
mov r8d, r14d
mov rcx, rsi
mov qword [rsp + 0x20], rax
call fcn.14001b7ec
mov rax, qword [rsi]
lea rdx, [rsp + 0x64]
mov r9, r13
mov r8d, r14d
mov rcx, rsi
mov qword [rsp + 0x20], rax
call fcn.14001b7ec
mov rax, qword [rsi]
lea rdx, [rsp + 0x60]
mov r9, r13
mov r8d, r14d
mov rcx, rsi
mov qword [rsp + 0x20], rax
call fcn.14001b7ec
lea rdx, [rbp + 0x700]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea r9, [rbp + 0x410]
lea rdx, [0x1400d0740]
lea rcx, [rbp + 0x700]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea rdx, [0x1400d0748]
lea rcx, [rbp + 0x410]
call fcn.14002b6a4
mov qword [rsp + 0x68], rax
test rax, rax
jne 0x14007a6d9
lea edi, [rax + 9]
jmp 0x14007a8a8
call fcn.14007ab1c
test eax, eax
je 0x14007a565
mov edi, 6
jmp 0x14007a8a8
mov edx, dword [rsi + 0xc]
lea rcx, [rbp + 0x620]
add edx, 0x2477
call fcn.14007a1d8
mov r14d, edi
test r12d, r12d
jle 0x14007a7a4
mov r15, qword [rsp + 0x68]
lea eax, [r14 + 0x10000]
cmp eax, r12d
jle 0x14007a713
mov ebx, r12d
sub ebx, r14d
jmp 0x14007a718
mov ebx, 0x10000
mov rax, qword [rsi]
mov rdx, qword [rsp + 0x48]
movsxd r13, ebx
mov r9, r13
mov r8d, 1
mov rcx, rsi
mov qword [rsp + 0x20], rax
add r14d, ebx
call fcn.14001b7ec
test ebx, ebx
jle 0x14007a765
mov r12, qword [rsp + 0x48]
lea rcx, [rbp + 0x620]
call fcn.14007a34c
xor byte [r12], al
inc r12
dec r13
jne 0x14007a745
mov r12d, dword [rsp + 0x40]
movsxd r13, ebx
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x30]
mov r8d, ebx
call fcn.140079a68
mov rcx, qword [rsp + 0x48]
mov r8, r13
mov r13d, 1
mov r9, r15
mov edx, r13d
call fcn.140029820
cmp r14d, r12d
jl 0x14007a6ff
mov ebx, dword [rsp + 0x30]
mov r15, qword [rbp + 0x11a0]
mov rcx, qword [rsp + 0x68]
call fcn.14002b80c
cmp dword [rsp + 0x38], ebx
je 0x14007a7cb
lea rcx, [rbp + 0x410]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, 0xa
jmp 0x14007a8a8
cmp byte [rbp + 0x11a8], r13b
jne 0x14007a85e
xorps xmm0, xmm0
mov ebx, 0x104
lea rdx, [rbp + 0x410]
lea rcx, [rbp - 0x48]
mov r8d, ebx
mov qword [rbp - 0x70], rdi
movdqa xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x68], rdi
mov qword [rbp - 0x58], rdi
mov qword [rbp - 0x50], rdi
mov word [rbp - 0x48], di
mov word [rbp + 0x1c0], di
mov qword [rbp + 0x3e8], rdi
mov dword [rbp - 0x60], edi
call fcn.140028ee0
lea rcx, [rbp + 0x1c0]
mov r8d, ebx
mov rdx, r15
mov word [rbp + 0x1c0], di
call fcn.140028ee0
lea rcx, [rbp - 0x80]
mov word [rbp + 0x3c8], di
call fcn.140079cb8
test eax, eax
je 0x14007a889
lea rcx, [rbp + 0x410]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, reloc.WSOCK32.dll_inet_ntoa
jmp 0x14007a8a8
lea rcx, [rbp + 0x410]
xor r8d, r8d
mov rdx, r15
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x14007a889
lea rcx, [rbp + 0x410]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, 7
jmp 0x14007a8a8
lea rcx, [rbp + 0x410]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x58]
mov rdx, r15
call fcn.14007ad40
lea rcx, [rsp + 0x48]
call fcn.14001bbe4
mov rbx, qword [rsp + 0x1298]
mov eax, edi
add rsp, 0x1250
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret