Function at 0x1800e5820
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x180
movaps xmmword [rsp + 0x170], xmm6
mov rax, qword [0x180148040]
xor rax, rsp
mov qword [rsp + 0x160], rax
lea rcx, [rsp + 0x80]
lea rax, [0x18012d810]
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
movups xmm0, xmmword [rax + 0x70]
movups xmmword [rcx + 0x70], xmm0
movups xmm1, xmmword [rax + 0x80]
movups xmmword [rcx + 0x80], xmm1
movups xmm0, xmmword [rax + 0x90]
movups xmmword [rcx + 0x90], xmm0
movups xmm1, xmmword [rax + 0xa0]
movups xmmword [rcx + 0xa0], xmm1
movzx eax, word [rax + 0xb0]
mov word [rcx + 0xb0], ax
xor ecx, ecx
cmp dword [0x180148090], 2
jl 0x1800e5a04
movdqa xmm4, xmmword [0x18012e100]
movdqa xmm3, xmmword [0x18012e640]
movdqa xmm5, xmmword [0x18012e180]
movdqa xmm0, xmmword [0x18012e230]
movdqa xmmword [rsp + 0x60], xmm0
lea rdx, [rsp + 0x84]
movdqa xmm6, xmmword [0x18012e1e0]
mov r8d, dword [rsp + 0x60]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
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 xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
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, 0xb0
jl 0x1800e5912
cmp ecx, 0xb2
jge 0x1800e5a43
movsxd rax, ecx
lea r8, [rsp + 0x80]
add r8, rax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x38
movzx eax, cl
sub al, dl
add al, 0x30
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0xb2
jl 0x1800e5a12
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
lea rax, [rsp + 0x80]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x1800e5a63
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x40]
call fcn.180016750
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x140], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x150], xmm1
xor r8d, r8d
lea rdx, [0x18011e4f0]
lea rcx, [rsp + 0x140]
call fcn.180016750
nop
cmp byte [0x180149e08], 0
jne 0x1800e5ad1
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.18002d5f0
mov rcx, rax
call fcn.180038bd0
jmp 0x1800e5adb
lea rcx, [rsp + 0x40]
call fcn.180036ea0
mov rbx, rax
lea rcx, [rsp + 0x140]
call fcn.18002d710
nop
lea rcx, [rsp + 0x40]
call fcn.18002d710
mov rax, rbx
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1800ec360
movaps xmm6, xmmword [rsp + 0x170]
add rsp, 0x180
pop rbx
ret