Function at 0x1800bf7a0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x30]
sub rsp, 0x130
movaps xmmword [rsp + 0x120], xmm6
mov rax, qword [0x180126040]
xor rax, rsp
mov qword [rbp + 0x10], rax
movups xmm0, xmmword [0x18010dc50]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [0x18010dc60]
movups xmmword [rbp - 0x60], xmm1
movups xmm0, xmmword [0x18010dc70]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [0x18010dc80]
movups xmmword [rbp - 0x40], xmm1
movups xmm0, xmmword [0x18010dc90]
movups xmmword [rbp - 0x30], xmm0
mov eax, dword [0x18010dca0]
mov dword [rbp - 0x20], eax
movzx eax, byte [0x18010dca4]
mov byte [rbp - 0x1c], al
xor ecx, ecx
cmp dword [0x180126018], 2
jl 0x1800bf952
movdqa xmm5, xmmword [0x18010fc40]
movdqa xmm4, xmmword [0x18010fde0]
movdqa xmm6, xmmword [0x18010fc70]
movdqa xmm0, xmmword [0x18010fd40]
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rbp - 0x6c]
mov r8d, dword [rsp + 0x40]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18010fd20]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18010fd20]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x50
jl 0x1800bf850
cmp ecx, 0x55
jge 0x1800bf98c
movsxd rax, ecx
lea r8, [rbp - 0x70]
add r8, rax
nop dword [rax]
mov eax, 0x4bda12f7
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x36
movzx eax, cl
sub al, dl
add al, 0x32
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x55
jl 0x1800bf960
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
lea rax, [rbp - 0x70]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1800bf9b0
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x70]
call fcn.180020040
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp], 0
mov qword [rbp + 8], 0xf
mov byte [rbp - 0x10], 0
cmp byte [0x180127dc8], 0
jne 0x1800bfa06
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.1800217d0
mov rcx, rax
call fcn.1800040e0
jmp 0x1800bfa10
lea rcx, [rsp + 0x70]
call fcn.180010a00
mov rbx, rax
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x1800bfa52
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800bfa4d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800bfa4d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d2cf0
mov rax, rbx
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.1800d2960
mov rbx, qword [rsp + 0x140]
movaps xmm6, xmmword [rsp + 0x120]
add rsp, 0x130
pop rbp
ret