Function at 0x18004fe80
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
movups xmm0, xmmword [str.ecymex_Q_l__]
mov r14d, dword [0x18010c090]
xor ebx, ebx
movdqa xmm5, xmmword [0x1800f9020]
mov r8d, ebx
movaps xmmword [rax - 0x28], xmm6
movdqa xmm6, xmmword [0x1800f8b30]
movaps xmmword [rax - 0x38], xmm7
mov eax, dword [0x1800e98a8]
movdqa xmm7, xmmword [0x1800f8bf0]
mov dword [rbp + 0x1f], eax
movzx eax, word [0x1800e98ac]
mov word [rbp + 0x23], ax
movups xmm1, xmmword [0x1800e9898]
movups xmmword [rbp - 1], xmm0
movups xmmword [rbp + 0xf], xmm1
cmp r14d, 2
jl 0x180050009
movdqa xmm4, xmmword [0x1800f8cb0]
lea rcx, [rbp - 1]
nop word [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 0x10]
paddd xmm2, xmm6
add r8d, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm5
pmuldq xmm1, xmm5
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
movq xmm2, xmm4
pshuflw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
xorps xmm3, xmm0
movq qword [rcx - 0x10], xmm3
paddd xmm2, xmm6
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm5
pmuldq xmm1, xmm5
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
movq xmm2, xmm4
pshuflw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
xorps xmm3, xmm0
movq qword [rcx - 8], xmm3
cmp r8d, 0x10
jl 0x18004ff10
cmp r8d, 0x13
jge 0x180050058
movsxd rax, r8d
lea r9, [rbp - 1]
lea r9, [r9 + rax*2]
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x8fb823ef
lea r9, [r9 + 2]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x39
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x36
xor word [r9 - 2], ax
cmp r8d, 0x13
jl 0x180050020
cmp byte [0x1800e925d], bl
mov eax, dword [0x1800e9258]
movsd xmm0, qword [0x1800e9250]
mov dword [rbp - 0x21], eax
movzx eax, word [0x1800e925c]
mov word [rbp - 0x1d], ax
movsd qword [rbp - 0x29], xmm0
je 0x1800501a4
mov r8d, ebx
cmp r14d, 2
jl 0x180050165
movdqa xmm2, xmmword [0x1800f8b50]
movdqa xmm1, xmm6
punpckldq xmm1, xmm6
movdqa xmm0, xmm6
punpckhdq xmm0, xmm6
mov r8d, 8
pmuldq xmm0, xmm5
pmuldq xmm1, xmm5
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm6
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm2
pmulld xmm0, xmm7
psubd xmm6, xmm0
punpckldq xmm1, xmm2
andps xmm6, xmmword [0x1800f8c60]
movd xmm0, dword [0x1800e9250]
packuswb xmm6, xmm6
pmuldq xmm1, xmm5
packuswb xmm6, xmm6
paddb xmm6, xmmword [0x1800f8ce0]
xorps xmm6, xmm0
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
movd dword [rbp - 0x29], xmm6
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
movd xmm0, dword [rbp - 0x25]
andps xmm2, xmmword [0x1800f8c60]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1800f8ce0]
xorps xmm2, xmm0
movd dword [rbp - 0x25], xmm2
movsxd rax, r8d
lea r9, [rbp - 0x29]
add r9, rax
nop
mov eax, 0x8fb823ef
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x39
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x36
xor byte [r9 - 1], al
cmp r8d, 0xe
jl 0x180050170
xorps xmm0, xmm0
mov qword [rbp - 9], rbx
lea rax, [rbp - 0x29]
mov ecx, 8
movdqu xmmword [rbp - 0x19], xmm0
mov qword [rbp + 0x67], rax
lea rsi, [rbp + 0x67]
call fcn.1800b0e80
mov r8d, 8
mov qword [rbp - 0x19], rax
mov rdx, rsi
mov qword [rbp - 0x11], rax
mov rdi, rax
lea rcx, [rax + 8]
mov qword [rbp - 9], rcx
mov rcx, rax
call fcn.1800d79b0
movsd xmm0, qword [0x1800e9b20]
lea rax, [rdi + 8]
mov qword [rbp - 0x11], rax
mov eax, dword [0x1800e9b28]
mov dword [rbp - 0x31], eax
movzx eax, byte [0x1800e9b2c]
mov byte [rbp - 0x2d], al
movsd qword [rbp - 0x39], xmm0
cmp r14d, 2
jl 0x18005030c
movdqa xmm3, xmmword [0x1800f8b30]
mov ebx, 8
movdqa xmm2, xmmword [0x1800f8b50]
movdqa xmm1, xmm3
movdqa xmm5, xmmword [0x1800f9020]
movdqa xmm0, xmm3
mov eax, dword [0x1800f8ce0]
punpckhdq xmm0, xmm3
punpckldq xmm1, xmm3
pmuldq xmm0, xmm5
pmuldq xmm1, xmm5
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm2
pmulld xmm0, xmmword [0x1800f8bf0]
psubd xmm3, xmm0
punpckldq xmm1, xmm2
andps xmm3, xmmword [0x1800f8c60]
pmuldq xmm1, xmm5
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd xmm0, eax
paddb xmm3, xmm0
movd xmm0, dword [0x1800e9b20]
xorps xmm3, xmm0
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
movd dword [rbp - 0x39], xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, dword [rbp - 0x35]
pmulld xmm0, xmmword [0x1800f8bf0]
psubd xmm2, xmm0
movd xmm0, eax
andps xmm2, xmmword [0x1800f8c60]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rbp - 0x35], xmm2
movsxd rax, ebx
lea r8, [rbp - 0x39]
add r8, rax
nop word [rax + rax]
mov eax, 0x8fb823ef
lea r8, [r8 + 1]
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x39
movzx eax, bl
inc ebx
sub al, cl
add al, 0x36
xor byte [r8 - 1], al
cmp ebx, 0xd
jl 0x180050320
lea r8, [rbp - 1]
lea rdx, [rbp - 0x19]
lea rcx, [rbp - 0x39]
call fcn.18004c280
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret