Function at 0x14004bf70
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
sub rsp, 0x298
mov rax, qword [0x14014dcf0]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rax, qword [rsp + 0x2c0]
mov qword [r11 - 0x10], rsi
mov qword [r11 - 0x20], r12
mov rsi, rcx
mov rcx, qword [rsp + 0x2c8]
mov qword [rsp + 0x30], rax
mov rax, qword [r8]
mov qword [r11 - 0x30], r14
mov r12d, r9d
mov r14, rdx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
test dl, 0xf
je 0x14004bfd0
mov byte [0], 0
shr r14, 4
xor edx, edx
test r14, r14
je 0x14004c20d
mov qword [rsp + 0x2b0], rbx
mov qword [rsp + 0x290], rbp
mov qword [rsp + 0x280], rdi
mov qword [rsp + 0x270], r13
mov qword [rsp + 0x260], r15
nop word [rax + rax]
lea ebp, [r14 + r12]
cmp r14, 0x20
jb 0x14004c01f
mov ebp, 0x20
mov r8, rcx
mov ecx, dword [rsp + 0x2d0]
mov qword [rsp + 0x40], rdx
mov r13d, ebp
lea rdx, [rsp + 0x38]
lea rdi, [rsp + 0x50]
sub r13d, r12d
lea rbx, [rsp + 0x38]
mov qword [rsp + 0x38], rax
mov r15d, r13d
call fcn.1400152f0
xor r11d, r11d
test ebp, ebp
je 0x14004c0be
movabs r8, 0x8000000000000000
cmp r11d, r12d
jb 0x14004c07e
mov rax, qword [rbx]
add rbx, 8
add rdi, 0x10
mov qword [rdi - 0x10], rax
mov rax, qword [rbx]
mov qword [rdi - 8], rax
jmp 0x14004c082
add rbx, 8
mov rcx, qword [rbx]
mov rax, rcx
and rax, r8
neg rax
lea rax, [rcx + rcx]
sbb dl, dl
mov qword [rbx], rax
mov rax, qword [rbx - 8]
sub rbx, 8
and dl, 0x87
test r8, rax
je 0x14004c0ac
or qword [rbx + 8], 1
add rax, rax
inc r11d
mov qword [rbx], rax
xor byte [rsp + 0x38], dl
cmp r11d, ebp
jb 0x14004c061
mov rbx, rsi
lea rdx, [rsp + 0x50]
cmp r15d, 2
jb 0x14004c116
lea rcx, [rsp + 0x60]
mov rax, r15
sub rcx, rsi
shr rax, 1
nop word [rax + rax]
movdqu xmm0, xmmword [rsi]
movdqu xmm2, xmmword [rsi + 0x10]
movdqu xmm1, xmmword [rdx]
add rsi, 0x20
add rdx, 0x20
add r15d, 0xfffffffe
dec rax
pxor xmm1, xmm0
movdqu xmm0, xmmword [rcx + rsi - 0x20]
movdqu xmmword [rsi - 0x20], xmm1
pxor xmm0, xmm2
movdqu xmmword [rsi - 0x10], xmm0
jne 0x14004c0e0
test r15d, r15d
je 0x14004c12b
movdqu xmm0, xmmword [rsi]
movdqu xmm1, xmmword [rdx]
pxor xmm1, xmm0
movdqu xmmword [rsi], xmm1
mov r8, qword [rsp + 0x30]
mov ecx, dword [rsp + 0x2d0]
mov r9d, r13d
mov rdx, rbx
mov edi, r13d
call fcn.1400155a0
mov rsi, rbx
lea r8, [rsp + 0x50]
cmp r13d, 2
jb 0x14004c1aa
lea rdx, [rsp + 0x50]
mov eax, r13d
lea rcx, [rbx + 0x10]
sub rdx, rbx
shr rax, 1
nop word [rax + rax]
movdqu xmm0, xmmword [rsi]
movdqu xmm2, xmmword [rcx]
movdqu xmm1, xmmword [r8]
add rcx, 0x20
add r8, 0x20
add rsi, 0x20
add r13d, 0xfffffffe
dec rax
pxor xmm1, xmm0
movdqu xmm0, xmmword [rdx + rcx - 0x20]
movdqu xmmword [rsi - 0x20], xmm1
pxor xmm0, xmm2
movdqu xmmword [rcx - 0x20], xmm0
jne 0x14004c170
test r13d, r13d
je 0x14004c1c5
movdqu xmm0, xmmword [rsi]
movdqu xmm1, xmmword [r8]
add rsi, 0x10
pxor xmm1, xmm0
movdqu xmmword [rsi - 0x10], xmm1
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
xor edx, edx
inc rax
sub r14, rdi
mov r12d, edx
mov qword [rsp + 0x20], rax
jne 0x14004c010
mov r15, qword [rsp + 0x260]
mov r13, qword [rsp + 0x270]
mov rdi, qword [rsp + 0x280]
mov rbp, qword [rsp + 0x290]
mov rbx, qword [rsp + 0x2b0]
mov r14, qword [rsp + 0x268]
mov r12, qword [rsp + 0x278]
mov rsi, qword [rsp + 0x288]
lea rax, [rsp + 0x38]
mov ecx, 2
nop
mov qword [rax], rdx
add rax, 8
dec ecx
jne 0x14004c230
lea rax, [rsp + 0x50]
mov ecx, 0x40
mov qword [rax], rdx
add rax, 8
dec ecx
jne 0x14004c245
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1400a4e70
add rsp, 0x298
ret