Function at 0x14004ba70
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 0x14004bad0
mov byte [0], 0
shr r14, 4
xor edx, edx
test r14, r14
je 0x14004bd11
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 0x14004bb1f
mov ebp, 0x20
mov r8, rcx
mov ecx, dword [rsp + 0x2d0]
mov qword [rsp + 0x48], rdx
mov r15d, ebp
lea rdx, [rsp + 0x40]
lea rdi, [rsp + 0x50]
sub r15d, r12d
lea rbx, [rsp + 0x40]
mov qword [rsp + 0x40], rax
mov r13d, r15d
call fcn.1400152f0
xor r11d, r11d
test ebp, ebp
je 0x14004bbbe
movabs r8, 0x8000000000000000
cmp r11d, r12d
jb 0x14004bb7e
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 0x14004bb82
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 0x14004bbac
or qword [rbx + 8], 1
add rax, rax
inc r11d
mov qword [rbx], rax
xor byte [rsp + 0x40], dl
cmp r11d, ebp
jb 0x14004bb61
mov rdi, rsi
lea rdx, [rsp + 0x50]
cmp r13d, 2
jb 0x14004bc16
lea rcx, [rsp + 0x60]
mov rax, r13
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 r13d, 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 0x14004bbe0
test r13d, r13d
je 0x14004bc2b
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, r15d
mov rdx, rdi
mov ebx, r15d
call fcn.1400153b0
mov rsi, rdi
lea r8, [rsp + 0x50]
cmp r15d, 2
jb 0x14004bca9
lea rdx, [rsp + 0x50]
mov eax, ebx
lea rcx, [rdi + 0x10]
sub rdx, rdi
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 ebx, 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 0x14004bc70
test ebx, ebx
je 0x14004bcc3
movdqu xmm0, xmmword [rsi]
movdqu xmm1, xmmword [r8]
add rsi, 0x10
pxor xmm1, xmm0
movdqu xmmword [rsi - 0x10], xmm1
mov rcx, qword [rsp + 0x28]
mov eax, r15d
xor edx, edx
sub r14, rax
mov rax, qword [rsp + 0x20]
mov r12d, edx
inc rax
mov qword [rsp + 0x20], rax
test r14, r14
jne 0x14004bb10
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 + 0x40]
mov ecx, 2
mov qword [rax], rdx
add rax, 8
dec ecx
jne 0x14004bd33
lea rax, [rsp + 0x50]
mov ecx, 0x40
nop dword [rax + rax]
mov qword [rax], rdx
add rax, 8
dec ecx
jne 0x14004bd50
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1400a4e70
add rsp, 0x298
ret