Function at 0x1400797bc
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x7d8]
sub rsp, 0x8d8
mov rax, qword [0x140181c48]
xor rax, rsp
mov qword [rbp + 0x7c0], rax
mov r15d, dword [rbp + 0x850]
mov rax, rcx
mov r13, qword [rbp + 0x840]
mov r14, r8
mov r12, qword [rbp + 0x858]
mov rsi, qword [rbp + 0x860]
mov qword [rsp + 0x48], rcx
mov rcx, qword [rbp + 0x848]
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x50], r9
mov byte [rsp + 0x40], dl
cmp r15d, 0x18
ja 0x140079a0e
xor edi, edi
lea rbx, [rax + 0x148]
mov rdx, r14
mov rcx, rbx
call fcn.1400a7c88
test al, al
je 0x140079865
cmp dword [rbx + 0x50], r15d
jne 0x140079865
mov rax, qword [rbx + 0x20]
cmp rax, qword [r13]
jne 0x140079865
mov rax, qword [rbx + 0x28]
cmp rax, qword [r13 + 8]
je 0x140079a31
inc edi
add rbx, 0x98
cmp edi, 4
jb 0x140079838
mov rcx, qword [rsp + 0x50]
lea rdx, [rbp - 0x40]
mov ebx, 0x800
mov r8d, ebx
call fcn.1400ad87c
mov ecx, r15d
mov eax, 1
shl eax, cl
lea rcx, [rbp - 0x40]
or rdx, 0xffffffffffffffff
inc rdx
cmp byte [rcx + rdx], 0
jne 0x14007989b
mov dword [rsp + 0x38], eax
lea rcx, [rbp - 0x40]
lea rax, [rbp - 0x60]
mov r9d, 0x10
mov qword [rsp + 0x30], rax
mov r8, r13
lea rax, [rbp - 0x80]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
call fcn.140079f6c
mov rdx, rbx
lea rcx, [rbp - 0x40]
call fcn.1400a801c
mov rdx, qword [rsp + 0x48]
mov ecx, dword [rdx + 0x3a8]
lea rbx, [rdx + 0x148]
mov eax, ecx
and eax, 3
imul rax, rax, 0x98
add rbx, rax
lea eax, [rcx + 1]
mov dword [rdx + 0x3a8], eax
mov dword [rbx + 0x50], r15d
cmp rbx, r14
je 0x140079929
mov r9b, byte [rsp + 0x40]
mov rcx, rbx
mov r8, qword [r14 + 8]
mov rdx, qword [r14]
call fcn.140004e5c
mov al, byte [r14 + 0x18]
lea rcx, [rbx + 0x30]
mov byte [rbx + 0x18], al
xor r9d, r9d
movups xmm0, xmmword [r13]
mov r8b, 1
movdqu xmmword [rbx + 0x20], xmm0
lea edi, [r9 + 0x20]
movups xmm0, xmmword [rsp + 0x60]
mov edx, edi
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rsp + 0x70]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rbp - 0x60]
movups xmmword [rbx + 0x54], xmm0
movups xmm1, xmmword [rbp - 0x50]
movups xmmword [rbx + 0x64], xmm1
movups xmm0, xmmword [rbp - 0x80]
movups xmmword [rbx + 0x74], xmm0
movups xmm1, xmmword [rbp - 0x70]
movups xmmword [rbx + 0x84], xmm1
call fcn.1400a7e70
movups xmm1, xmmword [rbp - 0x70]
movups xmm0, xmmword [rbp - 0x80]
test r12, r12
je 0x14007999b
movups xmmword [r12], xmm0
movups xmmword [r12 + 0x10], xmm1
test rsi, rsi
je 0x1400799d2
xor eax, eax
lea rdx, [rbp - 0x60]
mov qword [rsi], rax
xor r8d, r8d
mov r9, rdi
mov al, byte [rdx]
mov rcx, r8
and ecx, 7
inc r8
inc rdx
xor byte [rcx + rsi], al
sub r9, 1
jne 0x1400799af
mov rdx, rdi
lea rcx, [rbp - 0x60]
call fcn.1400a801c
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x140079a01
mov rcx, qword [rsp + 0x48]
lea r8, [rsp + 0x60]
mov dl, byte [rsp + 0x40]
add rcx, 0x3b0
mov r9d, 0x100
mov qword [rsp + 0x20], rax
call fcn.1400a4c98
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.1400a801c
mov rcx, qword [rbp + 0x7c0]
xor rcx, rsp
call fcn.140117fa0
add rsp, 0x8d8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
movups xmm0, xmmword [rbx + 0x30]
xor r9d, r9d
xor r8d, r8d
movups xmm1, xmmword [rbx + 0x40]
lea rcx, [rsp + 0x60]
movups xmmword [rsp + 0x60], xmm0
lea edi, [r9 + 0x20]
mov edx, edi
movups xmmword [rsp + 0x70], xmm1
call fcn.1400a7e70
movups xmm0, xmmword [rbx + 0x54]
movups xmm1, xmmword [rbx + 0x64]
movups xmmword [rbp - 0x60], xmm0
movups xmm0, xmmword [rbx + 0x74]
movups xmmword [rbp - 0x50], xmm1
movups xmm1, xmmword [rbx + 0x84]
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm1
jmp 0x14007998b