Function at 0x1800e6d30
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x120
movaps xmmword [r11 - 0x18], xmm6
mov rax, qword [0x180149040]
xor rax, rsp
mov qword [rsp + 0x100], rax
movups xmm0, xmmword [0x18012e730]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [0x18012e740]
movups xmmword [rsp + 0x80], xmm1
movups xmm0, xmmword [0x18012e750]
movups xmmword [rsp + 0x90], xmm0
movups xmm1, xmmword [0x18012e760]
movups xmmword [rsp + 0xa0], xmm1
movzx eax, word [0x18012e770]
mov word [r11 - 0x78], ax
movzx eax, byte [0x18012e772]
mov byte [r11 - 0x76], al
xor ecx, ecx
cmp dword [0x180149018], 2
jl 0x1800e6ee3
movdqa xmm5, xmmword [0x18012ef50]
movdqa xmm4, xmmword [0x18012f0e0]
movdqa xmm6, xmmword [0x18012ef90]
movdqa xmm0, xmmword [str.7777777777777777]
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x74]
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 [0x18012f030]
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 [0x18012f030]
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, 0x40
jl 0x1800e6de1
cmp ecx, 0x43
jge 0x1800e6f1c
movsxd rax, ecx
lea r8, [rsp + 0x70]
add r8, rax
nop
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, 0x37
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x43
jl 0x1800e6ef0
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
lea rax, [rsp + 0x70]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1800e6f40
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.180016150
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0xe0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0xf0], xmm1
xor r8d, r8d
lea rdx, [0x18011f470]
lea rcx, [rsp + 0xe0]
call fcn.180016150
nop
cmp byte [0x18014ade8], 0
jne 0x1800e6fae
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0xc0]
call fcn.18002d2b0
mov rcx, rax
call fcn.180038990
jmp 0x1800e6fb8
lea rcx, [rsp + 0x50]
call fcn.180036c30
mov rbx, rax
lea rcx, [rsp + 0xe0]
call fcn.18002d3d0
nop
lea rcx, [rsp + 0x50]
call fcn.18002d3d0
mov rax, rbx
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.1800ed380
movaps xmm6, xmmword [rsp + 0x110]
add rsp, 0x120
pop rbx
ret