Function at 0x180097f40
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
push rbp
lea rbp, [r11 - 0x5f]
sub rsp, 0xb0
mov eax, dword [0x18012dd70]
mov qword [r11 - 0x10], rbx
cmp eax, 0xb
jge 0x180098125
movups xmm0, xmmword [0x18010b718]
movzx eax, word [0x18010b748]
xor ebx, ebx
cmp dword [0x18012c090], 2
movups xmm1, xmmword [0x18010b728]
mov word [rbp + 0x27], ax
movzx eax, byte [0x18010b74a]
movups xmmword [rbp - 9], xmm0
mov byte [rbp + 0x29], al
movups xmm0, xmmword [0x18010b738]
movups xmmword [rbp + 7], xmm1
movups xmmword [rbp + 0x17], xmm0
jl 0x1800980ce
movdqa xmm0, xmmword [0x1801149e0]
lea rcx, [rbp - 5]
movdqa xmm4, xmmword [0x1801148f0]
movdqa xmm3, xmmword [0x180114da0]
movdqa xmm5, xmmword [0x180114910]
movdqa xmmword [rbp - 0x29], xmm0
mov edx, dword [rbp - 0x29]
movaps xmmword [r11 - 0x28], xmm6
movdqa xmm6, xmmword [0x180114990]
movd xmm2, ebx
lea eax, [rbx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm4
add ebx, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movd dword [rcx - 0xc], xmm2
movd xmm2, eax
mov eax, ebx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x30
jl 0x180097fe0
movaps xmm6, xmmword [rsp + 0x90]
cmp eax, 0x33
jge 0x18009810d
movsxd rax, ebx
lea r8, [rbp - 9]
add r8, rax
nop dword [rax + rax]
mov eax, 0x5397829d
lea r8, [r8 + 1]
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, bl
inc ebx
sub al, cl
add al, 0x38
xor byte [r8 - 1], al
cmp ebx, 0x33
jl 0x1800980e0
xor r8d, r8d
lea rdx, [rbp - 9]
lea rcx, [rbp + 0x67]
call fcn.180026720
mov rcx, qword [rax]
jmp 0x1800981d5
mov qword [rsp + 0xa0], rdi
cmp eax, 0x17
jge 0x18009813b
lea rdx, [0x18012f5f8]
jmp 0x18009814e
lea rdx, [0x18012f618]
cmp eax, 0x1b
jl 0x18009814e
lea rdx, [0x18012f638]
lea rcx, [rbp - 9]
call fcn.18003e7d0
xor r9d, r9d
lea rcx, [rbp + 0x6f]
xor r8d, r8d
mov rdx, rax
call fcn.18009a290
xorps xmm0, xmm0
mov byte [rbp + 0x67], 0xe8
xor ebx, ebx
lea rcx, [rbp - 0x29]
mov edx, 1
mov qword [rbp - 0x19], rbx
movdqu xmmword [rbp - 0x29], xmm0
mov rdi, rax
call fcn.180039ff0
mov rax, qword [rbp - 0x29]
lea r8, [rbp - 0x29]
movzx ecx, byte [rbp + 0x67]
lea rdx, [rbp + 0x77]
xor r9d, r9d
mov dword [rsp + 0x20], ebx
mov byte [rax], cl
inc rax
mov rcx, rdi
mov qword [rbp - 0x21], rax
call fcn.18009adc0
mov rdx, rax
mov rcx, qword [rax]
test rcx, rcx
je 0x1800981cd
movsxd rax, dword [rcx + 1]
add rcx, 5
add rcx, rax
mov qword [rdx], rcx
mov rdi, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0xa8]
mov qword [0x18012e718], rcx
test rcx, rcx
jne 0x1800981f4
xor al, al
add rsp, 0xb0
pop rbp
ret
mov byte [0x18012c0b4], 0
mov al, 1
add rsp, 0xb0
pop rbp
ret