Function at 0x14000a100
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2d8
mov rax, qword [0x140045948]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
mov r12d, dword [rsp + 0x350]
mov rax, qword [rsp + 0x340]
mov r15, qword [rsp + 0x348]
mov r13, qword [rsp + 0x358]
mov rbp, qword [rsp + 0x360]
mov qword [rsp + 0x58], r9
mov qword [rsp + 0x48], r8
mov byte [rsp + 0x40], dl
mov r14, rcx
mov qword [rsp + 0x50], rax
cmp r12d, 0x18
ja 0x14000a393
xor esi, esi
lea rbx, [rcx + 0x4b4]
cmp dword [rbx + 0x134], r12d
jne 0x14000a1c3
mov rdx, r8
mov rcx, rbx
call fcn.14001c838
test al, al
je 0x14000a1be
mov rax, qword [rsp + 0x50]
mov rcx, qword [rbx + 0x102]
cmp rcx, qword [rax]
jne 0x14000a1b1
mov rcx, qword [rbx + 0x10a]
cmp rcx, qword [rax + 8]
jne 0x14000a1b1
xor eax, eax
jmp 0x14000a1b6
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x14000a3b7
mov r8, qword [rsp + 0x48]
inc esi
add rbx, 0x178
cmp esi, 4
jb 0x14000a177
mov rcx, qword [rsp + 0x58]
mov ebx, 0x200
lea rdx, [rsp + 0xc0]
mov r8, rbx
call fcn.1400207d0
xor eax, eax
mov ecx, r12d
mov r8d, 1
lea rdi, [rsp + 0xc0]
mov r9d, 0x10
shl r8d, cl
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
mov rdi, qword [rsp + 0x50]
mov dword [rsp + 0x38], r8d
not rcx
lea rax, [rsp + 0x80]
mov r8, rdi
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0xa0]
lea rdx, [rcx - 1]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
lea rcx, [rsp + 0xc0]
mov qword [rsp + 0x20], rax
call fcn.140009f34
lea rcx, [rsp + 0xc0]
mov rdx, rbx
call fcn.14001c710
mov ecx, dword [r14 + 0xa94]
mov rdx, qword [rsp + 0x48]
mov rax, rcx
mov r8d, 0x102
and eax, 3
imul rax, rax, 0x178
lea rbx, [rax + r14 + 0x4b4]
lea eax, [rcx + 1]
mov dword [r14 + 0xa94], eax
mov rcx, rbx
mov dword [rbx + 0x134], r12d
call fcn.14002ca30
mov esi, 0x20
lea rcx, [rbx + 0x112]
movdqu xmm5, xmmword [rdi]
lea rdx, [rsp + 0x60]
mov r8, rsi
movdqu xmmword [rbx + 0x102], xmm5
call fcn.14002ca30
lea rcx, [rbx + 0x138]
lea rdx, [rsp + 0x80]
mov r8, rsi
call fcn.14002ca30
lea rcx, [rbx + 0x158]
lea rdx, [rsp + 0xa0]
mov r8, rsi
call fcn.14002ca30
lea rcx, [rbx + 0x112]
xor r9d, r9d
mov r8b, 1
mov rdx, rsi
call fcn.14001c5bc
test r13, r13
je 0x14000a322
lea rdx, [rsp + 0xa0]
mov rcx, r13
mov r8, rsi
call fcn.14002ca30
test rbp, rbp
je 0x14000a361
xor eax, eax
lea rdi, [rsp + 0x80]
mov r8, rsi
mov qword [rbp], rax
xor edx, edx
mov al, byte [rdi]
mov rcx, rdx
inc rdx
and ecx, 7
inc rdi
xor byte [rcx + rbp], al
sub r8, 1
jne 0x14000a33a
lea rcx, [rsp + 0x80]
mov rdx, rsi
call fcn.14001c710
test r15, r15
je 0x14000a386
mov dl, byte [rsp + 0x40]
lea rcx, [r14 + 0xa9c]
lea r8, [rsp + 0x60]
mov r9d, 0x100
mov qword [rsp + 0x20], r15
call fcn.14001a48c
lea rcx, [rsp + 0x60]
mov rdx, rsi
call fcn.14001c710
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.14002c700
add rsp, 0x2d8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
xor r9d, r9d
lea rcx, [rbx + 0x112]
xor r8d, r8d
lea esi, [r9 + 0x20]
mov rdx, rsi
call fcn.14001c5bc
lea rcx, [rsp + 0x60]
lea rdx, [rbx + 0x112]
mov r8, rsi
call fcn.14002ca30
lea rcx, [rbx + 0x112]
xor r9d, r9d
mov r8b, 1
mov rdx, rsi
call fcn.14001c5bc
lea rcx, [rsp + 0x80]
lea rdx, [rbx + 0x138]
mov r8, rsi
call fcn.14002ca30
lea rcx, [rsp + 0xa0]
lea rdx, [rbx + 0x158]
mov r8, rsi
call fcn.14002ca30
jmp 0x14000a30a