Function at 0x14006fb00
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
xchg r15, r15
xchg rbp, r15
mov qword [rsp + 0x10], r15
xchg rbp, r15
mov qword [rsp + 0x18], rsi
mov dword [rsp - 0x20], 0x34c0d439
mov qword [rsp + 0x20], rdi
nop
mov qword [rsp - 8], r12
sub rsp, 8
nop
mov qword [rsp - 8], r14
sub rsp, 8
nop
mov qword [rsp - 8], r15
sub rsp, 8
add rsp, 0xfffffffffffffed0
mov rdi, rdi
xchg r14, r8
mov r8, qword [rsp + 0x170]
xchg r14, r8
lea rax, [rdx + 8]
mov dword [rsp - 0x44], 0x1f448650
mov qword [rdx], rax
xorps xmm0, xmm0
xchg r10, rax
movups xmmword [r10], xmm0
xchg r10, rax
xchg rdx, rsi
mov rdx, rsi
xchg rdx, rsi
mov r12, rcx
xchg r13, r13
xchg r12, rax
movups xmmword [r12 + 0x10], xmm0
xchg r12, rax
mov rcx, rsi
xchg rsp, rsp
mov ebp, r9d
xchg r11, rax
movups xmmword [r11 + 0x20], xmm0
xchg r11, rax
mov rdx, qword [r14 + 0x38]
mov r15d, r8d
xchg rdx, r10
mov qword [rsi + 0x38], r10
xchg rdx, r10
call fcn.140018ab0
xor ebx, ebx
mov edi, ebx
mov dword [rsp - 0x34], 0x6fcac8f0
cmp qword [rsi + 0x38], rbx
jbe 0x14006fbf8
nop dword [rax]
nop dword [rax + rax]
mov dword [rsp - 0x10], ecx
mov rcx, qword [r14]
movzx edx, word [rcx + rdi*2]
mov word [rax + rdi*2], dx
mov dword [rsp - 0x30], edx
inc rdi
cmp rdi, qword [rsi + 0x38]
jb 0x14006fbdc
mov r8d, ebp
mov rsi, rsi
mov edx, r15d
xchg r12, rsi
mov rcx, rsi
xchg r12, rsi
call fcn.1400702b0
xchg r13, rbp
mov r13, rax
xchg rbp, r13
test rax, rax
je 0x14006fd95
cmp byte [rax + 4], 4
mov dword [rsp - 0x30], ecx
jne 0x14006fd95
cmp qword [rax + 8], rbx
je 0x14006fd95
mov dword [rsp - 0x30], esp
movzx ecx, word [rax + 5]
mov eax, 0x3cefb612
add eax, 0x3fcf2e88
xor eax, 0x14cd8fff
sub eax, 0x6872eb66
inc ecx
mov dword [rsp - 0x20], 0x2b7c9ae1
cmp ecx, eax
cmova ecx, eax
mov r15d, ecx
call fcn.1400bbf80
xchg rsi, rsi
xchg r14, rax
mov rax, r14
xchg r14, rax
mov byte [rax + r15 - 1], bl
xchg rdi, rdi
lea rax, [r15 - 1]
test rax, rax
je 0x14006fccd
xchg r10, r10
xchg rbx, r8
mov rdi, r8
xchg rbx, r8
nop
xchg rdi, rcx
mov rdi, qword [rbp + 8]
xchg rdi, rcx
inc bx
movzx edx, byte [rcx + rdi]
xor dl, 0x37
mov dword [rsp - 0x10], 0x93d41a5
mov byte [rdi + r14], dl
movzx edi, bx
cmp rdi, rax
jb 0x14006fc99
mov dword [rsp - 0xc], 0x5a706104
lea rax, [rsp + 0x28]
xor edx, edx
mov r8d, 0xd40fdd3
add r8d, 0x705657a8
sub r8d, 0x4d615d50
xor r8d, 0x6502740b
sub r8d, 0x55378b20
mov qword [rsp + 0x20], rax
mov dword [rsp - 0x2c], esi
lea rcx, [rsp + 0x28]
call fcn.1400bc6c0
xchg r14, r8
mov r14, r15
xchg r14, r8
lea rcx, [rsp + 0x20]
mov rdi, rdi
mov rdx, r14
call fcn.1400a16c0
mov rdx, qword [rsp + 0x20]
xchg rcx, rdi
mov rdi, rsi
xchg rdi, rcx
call fcn.14006c5d0
mov dword [rsp - 0x38], 0x4928f2d5
xchg r8, rcx
mov r8, qword [rsp + 0x20]
xchg r8, rcx
lea rax, [rsp + 0x28]
cmp rcx, rax
xchg r10, r10
jne 0x14006fd7e
lea rdi, [rsp + 0x28]
xor eax, eax
mov ecx, 0x2d568234
add ecx, 0x2200d34c
xor ecx, 0x542531d
xor ecx, 0x4a15079d
rep stosb byte [rdi], al
jmp 0x14006fd83
call fcn.1400bc0d0
xchg r9, rcx
mov r9, r14
xchg rcx, r9
call fcn.1400bbf90
mov dword [rsp - 0x44], edx
lea r11, [rsp + 0x130]
xchg rsi, rax
mov rsi, rax
xchg rsi, rax
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov dword [rsp - 0x30], 0x247f918
mov rdi, qword [r11 + 0x38]
mov rsp, r11
nop
mov r15, qword [rsp]
add rsp, 8
nop
mov r14, qword [rsp]
add rsp, 8
nop
add rsp, 8
mov r12, qword [rsp - 8]
ret