Function at 0x140098640
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov dword [rcx + 0x3c0], 0x10
mov rdi, rdx
mov dword [rcx + 0x3c4], 0x10
mov rbx, rcx
movups xmm0, xmmword [r8]
movups xmmword [rcx + 0x3cc], xmm0
movups xmm0, xmmword [r8]
movups xmmword [rcx + 0x3ec], xmm0
mov eax, dword [rcx + 0x3c0]
cmp eax, 0x10
je 0x1400986b2
cmp eax, 0x18
mov eax, 0xe
jne 0x1400986d4
cmp dword [rbx + 0x3c4], 0x20
mov ecx, 0xc
cmovne eax, ecx
jmp 0x1400986d4
mov edx, dword [rcx + 0x3c4]
cmp edx, 0x10
jne 0x1400986c4
mov eax, 0xa
jmp 0x1400986d4
cmp edx, 0x18
mov eax, 0xe
mov ecx, 0xc
cmove eax, ecx
mov dword [rbx + 0x3c8], eax
mov rbp, rbx
mov eax, dword [rbx + 0x3c4]
cdq
and edx, 3
add eax, edx
sar eax, 2
movsxd r15, eax
xor esi, esi
mov r14, r15
test r15d, r15d
jle 0x14009870a
mov r8, r15
xor edx, edx
shl r8, 2
mov rcx, rbp
call fcn.1400dfed9
mov eax, dword [rbx + 0x3c8]
inc esi
add rbp, 0x20
cmp esi, eax
jle 0x1400986f4
xor esi, esi
test eax, eax
js 0x14009874d
lea rbp, [rbx + 0x1e0]
test r15d, r15d
jle 0x14009873d
mov r8, r15
xor edx, edx
shl r8, 2
mov rcx, rbp
call fcn.1400dfed9
mov eax, dword [rbx + 0x3c8]
inc esi
add rbp, 0x20
cmp esi, eax
jle 0x140098727
lea ebp, [rax + 1]
mov eax, dword [rbx + 0x3c0]
cdq
imul ebp, r15d
and edx, 3
lea rsi, [rbx + 0x40c]
add eax, edx
sar eax, 2
movsxd r12, eax
test eax, eax
jle 0x1400987bf
mov edx, r12d
nop dword [rax]
nop dword [rax + rax]
movzx ecx, byte [rdi]
lea rsi, [rsi + 4]
shl ecx, 0x18
lea rdi, [rdi + 4]
mov dword [rsi - 4], ecx
movzx eax, byte [rdi - 3]
shl eax, 0x10
or eax, ecx
mov dword [rsi - 4], eax
movzx ecx, byte [rdi - 2]
shl ecx, 8
or ecx, eax
mov dword [rsi - 4], ecx
movzx eax, byte [rdi - 1]
or ecx, eax
mov dword [rsi - 4], ecx
sub rdx, 1
jne 0x140098780
lea rsi, [rbx + 0x40c]
xor r11d, r11d
lea r13, [0x140000000]
test r12d, r12d
jle 0x14009881e
xor r9d, r9d
cmp r11d, ebp
jge 0x140098a07
mov eax, r11d
inc r9
cdq
inc r11d
idiv r15d
movsxd rcx, eax
movsxd r8, edx
lea rdx, [r8 + rcx*8]
mov ecx, dword [rsi]
mov dword [rbx + rdx*4], ecx
mov ecx, dword [rbx + 0x3c8]
sub ecx, eax
movsxd rax, ecx
lea rcx, [r8 + rax*8]
mov eax, dword [rsi]
add rsi, 4
mov dword [rbx + rcx*4 + 0x1e0], eax
cmp r9, r12
jl 0x1400987d1
lea rsi, [rbx + 0x40c]
cmp r11d, ebp
jge 0x140098a07
lea r13, [0x140186920]
lea r14, [0x140000000]
nop word [rax + rax]
mov r10d, dword [rbx + r12*4 + 0x408]
movzx edx, byte [r13]
lea r13, [r13 + 1]
movsxd r8, r10d
mov rax, r8
sar rax, 0x10
movzx ecx, al
mov rax, r8
sar rax, 8
movsx r9d, byte [rcx + r14 + 0x187da0]
xor r9d, edx
movzx ecx, al
shl r9d, 8
movzx eax, byte [rcx + r14 + 0x187da0]
xor r9d, eax
movzx eax, r8b
shl r9d, 8
movzx eax, byte [rax + r14 + 0x187da0]
xor r9d, eax
mov eax, r10d
shr rax, 0x18
shl r9d, 8
movzx eax, byte [rax + r14 + 0x187da0]
xor r9d, eax
xor dword [rsi], r9d
cmp r12d, 8
je 0x1400988e7
cmp r12, 1
jle 0x1400989a4
lea rcx, [rbx + 0x410]
lea rdx, [r12 - 1]
nop
mov eax, dword [rcx - 4]
xor dword [rcx], eax
lea rcx, [rcx + 4]
sub rdx, 1
jne 0x1400988d0
xor r9d, r9d
jmp 0x1400989ac
lea rcx, [rbx + 0x410]
mov edx, 3
nop dword [rax]
nop word [rax + rax]
mov eax, dword [rcx - 4]
xor dword [rcx], eax
lea rcx, [rcx + 4]
sub rdx, 1
jne 0x140098900
mov eax, dword [rbx + 0x418]
mov ecx, eax
movsxd rdx, eax
shr rcx, 0x18
mov rax, rdx
sar rax, 0x10
movsx r8d, byte [rcx + r14 + 0x187da0]
movzx ecx, al
shl r8d, 8
movzx eax, byte [rcx + r14 + 0x187da0]
xor r8d, eax
mov rax, rdx
sar rax, 8
shl r8d, 8
movzx ecx, al
movzx eax, byte [rcx + r14 + 0x187da0]
xor r8d, eax
movzx eax, dl
shl r8d, 8
movzx eax, byte [rax + r14 + 0x187da0]
xor r8d, eax
xor dword [rbx + 0x41c], r8d
cmp r12, 5
jle 0x1400989a4
lea rax, [rbx + 0x420]
lea rdx, [r12 - 5]
nop word [rax + rax]
mov ecx, dword [rax - 4]
xor dword [rax], ecx
lea rax, [rax + 4]
sub rdx, 1
jne 0x140098990
xor r9d, r9d
jmp 0x1400989ac
xor r9d, r9d
test r12d, r12d
jle 0x1400989f4
mov r10, rsi
nop
cmp r11d, ebp
jge 0x1400989fd
mov eax, r11d
inc r9
cdq
inc r11d
idiv r15d
movsxd rcx, eax
movsxd r8, edx
lea rdx, [r8 + rcx*8]
mov ecx, dword [r10]
mov dword [rbx + rdx*4], ecx
mov ecx, dword [rbx + 0x3c8]
sub ecx, eax
movsxd rax, ecx
lea rcx, [r8 + rax*8]
mov eax, dword [r10]
add r10, 4
mov dword [rbx + rcx*4 + 0x1e0], eax
cmp r9, r12
jl 0x1400989b0
cmp r11d, ebp
jl 0x140098840
mov r14, r15
lea r13, [0x140000000]
mov edi, 1
cmp dword [rbx + 0x3c8], edi
jle 0x140098a90
lea rsi, [rbx + 0x200]
nop dword [rax + rax]
test r14, r14
jle 0x140098a82
mov r10, rsi
mov r11, r14
nop dword [rax + rax]
mov eax, dword [r10]
lea r10, [r10 + 4]
mov edx, eax
movsxd r9, eax
shr rdx, 0x18
mov rax, r9
sar rax, 0x10
movzx ecx, al
mov rax, r9
sar rax, 8
mov r8d, dword [r13 + rdx*4 + 0x188aa0]
xor r8d, dword [r13 + rcx*4 + 0x186520]
movzx ecx, al
movzx eax, r9b
xor r8d, dword [r13 + rcx*4 + 0x187ea0]
xor r8d, dword [r13 + rax*4 + 0x186940]
mov dword [r10 - 4], r8d
sub r11, 1
jne 0x140098a30
inc edi
add rsi, 0x20
cmp edi, dword [rbx + 0x3c8]
jl 0x140098a20
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret