Function at 0x140006d10
Capabilities:
Encode data using xor
Terminate process
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
call fcn.140003260
mov rcx, rax
call fcn.1400035b0
call fcn.140003260
xor ebx, ebx
cmp qword [rax + 0x20], 0xffffffffffffffff
jne 0x140007065
movdqa xmm0, xmmword [0x1400b6b40]
xor eax, eax
movdqu xmmword [rbp - 0x29], xmm0
mov byte [rbp - 0x15], al
mov edx, ebx
mov dword [rbp - 0x19], 0xc0c3c28e
nop
movsxd rax, edx
lea rcx, [rbp - 0x29]
add rcx, rax
lea eax, [rdx - 0x25]
inc edx
xor byte [rcx], al
cmp edx, 0x14
jb 0x140006d70
lea rdx, [rbp - 0x29]
mov byte [rbp - 0x15], bl
lea rcx, [0x140605260]
call fcn.14000c9b0
mov rcx, rax
call fcn.14000cc70
xor eax, eax
mov dword [rbp - 0x29], 0x8faf8ff5
mov word [rbp - 0x21], ax
mov edx, ebx
mov dword [rbp - 0x25], 0x8fad8fa4
mov r8d, 0x7025
nop dword [rax]
movsxd rax, edx
lea rcx, [rbp - 0x29]
lea rcx, [rcx + rax*2]
movzx eax, dx
sub ax, r8w
inc edx
xor word [rcx], ax
cmp edx, 4
jb 0x140006dc0
movdqa xmm0, xmmword [0x1400b6a20]
lea rax, [rbp - 0x29]
movdqu xmmword [rbp + 0x27], xmm0
mov word [rbp - 0x21], bx
mov r8, 0xffffffffffffffff
mov qword [rbp + 0x17], rbx
nop dword [rax]
inc r8
cmp word [rax + r8*2], bx
jne 0x140006e00
lea rdx, [rbp - 0x29]
lea rcx, [rbp + 0x17]
call fcn.14000acf0
lea rdx, [rbp + 0x17]
lea rcx, [rbp - 9]
call fcn.140002920
mov r12, qword [rbp + 0xf]
lea r14, [rbp - 9]
mov rsi, qword [rbp - 9]
lea rcx, [rbp - 0x29]
mov r15, qword [rbp + 7]
cmp r12, 8
xorps xmm0, xmm0
mov qword [rbp - 0x29], rbx
cmovae r14, rsi
mov dword [rbp + 0x67], ebx
movabs r13, 0x7ffffffffffffffe
movdqu xmmword [rbp - 0x19], xmm0
cmp r15, 8
jae 0x140006e71
movups xmm0, xmmword [r14]
mov qword [rbp - 0x11], 7
movups xmmword [rbp - 0x29], xmm0
jmp 0x140006eb0
mov rdi, r15
or rdi, 7
cmp rdi, r13
cmova rdi, r13
lea rdx, [rdi + 1]
call fcn.14000c530
lea r8, [r15*2 + 2]
mov qword [rbp - 0x29], rax
mov rdx, r14
mov rcx, rax
call fcn.1400688f0
cmp rdi, 8
mov qword [rbp - 0x11], rdi
lea rcx, [rbp - 0x29]
cmovae rcx, qword [rbp - 0x29]
mov qword [rsp + 0x30], rbx
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
mov edx, 0x10000000
mov dword [rsp + 0x20], 1
mov qword [rbp - 0x19], r15
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r14, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
jne 0x140006f5f
mov rdx, qword [rbp - 0x11]
cmp rdx, 8
jb 0x140006f28
mov rcx, qword [rbp - 0x29]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006f23
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007165
call fcn.140066814
cmp r12, 8
mov qword [rbp - 0x29], rbx
lea r14, [rbp - 9]
xorps xmm0, xmm0
cmovae r14, rsi
movdqu xmmword [rbp - 0x19], xmm0
cmp r15, 8
jae 0x140006fdc
movups xmm0, xmmword [r14]
mov qword [rbp - 0x11], 7
movups xmmword [rbp - 0x29], xmm0
jmp 0x140007012
cmp r14, 0xffffffffffffffff
je 0x140006ee8
lea r9, [rbp + 0x67]
mov qword [rsp + 0x20], rbx
mov r8d, 0x32f8
lea rdx, [0x1400c3cb0]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, r14
mov edi, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbp - 0x11]
test dil, dil
je 0x140006eec
cmp rdx, 8
jb 0x140006f28
mov rcx, qword [rbp - 0x29]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006f23
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007165
jmp 0x140006f23
mov rdi, r15
lea rcx, [rbp - 0x29]
or rdi, 7
cmp rdi, r13
cmova rdi, r13
lea rdx, [rdi + 1]
call fcn.14000c530
lea r8, [r15*2 + 2]
mov qword [rbp - 0x29], rax
mov rdx, r14
mov rcx, rax
call fcn.1400688f0
mov qword [rbp - 0x11], rdi
lea rcx, [rbp - 0x29]
mov qword [rbp - 0x19], r15
call fcn.140002b00
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp r12, 8
jb 0x140007065
lea rdx, [r12*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14000705d
mov rsi, qword [rsi - 8]
add rdx, 0x27
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000715f
mov rcx, rsi
call fcn.140066814
call fcn.140003260
mov rcx, rax
call fcn.1400035b0
call fcn.140003260
movdqa xmm0, xmmword [0x1400b6b40]
movdqu xmmword [rbp - 0x29], xmm0
cmp qword [rax + 0x20], 0xffffffffffffffff
je 0x1400070d4
mov dword [rbp - 0x19], 0xcc888e
nop dword [rax]
nop word [rax + rax]
movsxd rax, ebx
lea rdx, [rbp - 0x29]
add rdx, rax
lea eax, [rbx - 0x25]
inc ebx
xor byte [rdx], al
cmp ebx, 0x13
jb 0x1400070a0
lea rdx, [rbp - 0x29]
mov byte [rbp - 0x16], 0
lea rcx, [0x140605260]
call fcn.14000c9b0
mov rcx, rax
call fcn.14000cc70
jmp 0x14000713e
xor eax, eax
mov dword [rbp - 0x19], 0x9c88cc8e
mov byte [rbp - 0xf], al
mov dword [rbp - 0x15], 0xd2839f9d
mov word [rbp - 0x11], 0xc8ce
nop dword [rax]
movsxd rax, ebx
lea rcx, [rbp - 0x29]
add rcx, rax
lea eax, [rbx - 0x25]
inc ebx
xor byte [rcx], al
cmp ebx, 0x1a
jb 0x1400070f0
lea rdx, [rbp - 0x29]
mov byte [rbp - 0xf], 0
lea rcx, [0x140605260]
call fcn.14000c9b0
mov rcx, rax
call fcn.14000cc70
mov ecx, 0x9c4
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14007301c
int3
call fcn.14007301c
int3