Function at 0x18005e8e0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xe0
movups xmm3, xmmword [str.ecymex_Q_l__]
mov esi, dword [0x18011f090]
xor ebx, ebx
movdqa xmm5, xmmword [0x18010ac40]
mov r8d, ebx
movaps xmmword [rax - 0x28], xmm6
movdqa xmm6, xmmword [0x18010ac30]
movaps xmmword [rax - 0x38], xmm7
movdqa xmm7, xmmword [0x18010ac10]
movaps xmmword [rax - 0x48], xmm8
movdqa xmm8, xmmword [0x18010b0e0]
movaps xmmword [rax - 0x58], xmm9
movaps xmmword [rax - 0x68], xmm10
mov eax, dword [0x1800fb800]
movdqa xmm10, xmmword [0x18010acd0]
mov dword [rbp - 0x11], eax
movzx eax, word [0x1800fb804]
mov word [rbp - 0xd], ax
movups xmm0, xmmword [0x1800fb7f0]
movups xmmword [rbp - 0x31], xmm3
movups xmmword [rbp - 0x21], xmm0
cmp esi, 2
jl 0x18005eb0f
movdqa xmm4, xmmword [0x18010ade0]
movdqa xmm2, xmm7
punpckldq xmm2, xmm7
movdqa xmm0, xmm7
punpckhdq xmm0, xmm7
pmuldq xmm0, xmm8
pmuldq xmm2, xmm8
shufps xmm2, xmm0, 0xdd
movdqa xmm0, xmm7
psrad xmm2, 4
movdqa xmm1, xmm2
psrld xmm1, 0x1f
paddd xmm1, xmm2
pmulld xmm1, xmm10
psubd xmm0, xmm1
pshufhw xmm0, xmm0, 0xd8
pshuflw xmm1, xmm0, 0xd8
movdqa xmm0, xmm6
punpckhdq xmm0, xmm6
pmuldq xmm0, xmm8
pshufd xmm2, xmm1, 0xd8
movq xmm1, xmm3
movdqa xmm3, xmmword [0x18010ac50]
paddw xmm2, xmm4
xorps xmm2, xmm1
movq qword [rbp - 0x31], xmm2
movdqa xmm2, xmm6
punpckldq xmm2, xmm6
pmuldq xmm2, xmm8
shufps xmm2, xmm0, 0xdd
movdqa xmm0, xmm6
psrad xmm2, 4
movdqa xmm1, xmm2
psrld xmm1, 0x1f
paddd xmm1, xmm2
pmulld xmm1, xmm10
psubd xmm0, xmm1
pshufhw xmm0, xmm0, 0xd8
pshuflw xmm1, xmm0, 0xd8
movq xmm0, qword [rbp - 0x29]
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmm4
xorps xmm2, xmm0
movdqa xmm0, xmm5
punpckhdq xmm0, xmm5
pmuldq xmm0, xmm8
movq qword [rbp - 0x29], xmm2
movdqa xmm2, xmm5
punpckldq xmm2, xmm5
pmuldq xmm2, xmm8
shufps xmm2, xmm0, 0xdd
movdqa xmm0, xmm5
psrad xmm2, 4
movdqa xmm1, xmm2
psrld xmm1, 0x1f
paddd xmm1, xmm2
pmulld xmm1, xmm10
psubd xmm0, xmm1
pshufhw xmm0, xmm0, 0xd8
pshuflw xmm1, xmm0, 0xd8
movq xmm0, qword [rbp - 0x21]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
paddw xmm2, xmm4
xorps xmm2, xmm0
pmuldq xmm1, xmm8
movdqa xmm0, xmm3
movq qword [rbp - 0x21], xmm2
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm8
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm10
psubd xmm3, xmm0
pshufhw xmm0, xmm3, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movq xmm0, qword [rbp - 0x19]
paddw xmm2, xmm4
xorps xmm2, xmm0
mov r8d, 0x10
movq qword [rbp - 0x19], xmm2
mov eax, r8d
lea r9, [rbp - 0x31]
lea r9, [r9 + rax*2]
nop word [rax + rax]
mov eax, 0x4d4873ed
lea r9, [r9 + 2]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x35
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x36
xor word [r9 - 2], ax
cmp r8d, 0x13
jl 0x18005eb20
cmp byte [0x1800fb7cd], bl
movsd xmm0, qword [0x1800fb7c0]
movzx eax, word [0x1800fb7cc]
mov ecx, dword [0x1800fb7c8]
movdqa xmm9, xmmword [0x18010ad90]
movsd qword [rbp - 0x59], xmm0
mov word [rbp - 0x4d], ax
mov dword [rbp - 0x51], ecx
je 0x18005ecf1
mov r8d, ebx
cmp esi, 2
jl 0x18005ecb2
movdqa xmm2, xmmword [0x18010ae10]
movdqa xmm1, xmm7
punpckldq xmm1, xmm7
movdqa xmm0, xmm7
punpckhdq xmm0, xmm7
mov r8d, 0xc
pmuldq xmm0, xmm8
pmuldq xmm1, xmm8
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm6
pmulld xmm0, xmm10
psubd xmm7, xmm0
punpckldq xmm1, xmm6
movd xmm0, dword [0x1800fb7c0]
andps xmm7, xmm9
pmuldq xmm1, xmm8
packuswb xmm7, xmm7
packuswb xmm7, xmm7
paddb xmm7, xmm2
xorps xmm7, xmm0
movdqa xmm0, xmm6
punpckhdq xmm0, xmm6
pmuldq xmm0, xmm8
movd dword [rbp - 0x59], xmm7
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm5
pmulld xmm0, xmm10
psubd xmm6, xmm0
punpckldq xmm1, xmm5
movd xmm0, dword [rbp - 0x55]
andps xmm6, xmm9
packuswb xmm6, xmm6
packuswb xmm6, xmm6
pmuldq xmm1, xmm8
paddb xmm6, xmm2
xorps xmm6, xmm0
movdqa xmm0, xmm5
punpckhdq xmm0, xmm5
pmuldq xmm0, xmm8
movd dword [rbp - 0x55], xmm6
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm10
psubd xmm5, xmm0
movd xmm0, ecx
andps xmm5, xmm9
packuswb xmm5, xmm5
packuswb xmm5, xmm5
paddb xmm5, xmm2
xorps xmm5, xmm0
movd dword [rbp - 0x51], xmm5
mov eax, r8d
lea r9, [rbp - 0x59]
add r9, rax
nop dword [rax]
mov eax, 0x4d4873ed
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x36
xor byte [r9 - 1], al
cmp r8d, 0xe
jl 0x18005ecc0
mov ecx, 8
mov qword [rbp - 0x39], rbx
xorps xmm0, xmm0
lea rax, [rbp - 0x59]
mov r15d, ecx
mov qword [rbp + 0x67], rax
movdqu xmmword [rbp - 0x49], xmm0
lea r14, [rbp + 0x67]
call fcn.1800c3c30
mov r8d, r15d
mov qword [rbp - 0x49], rax
mov rdx, r14
mov qword [rbp - 0x41], rax
mov rdi, rax
lea rcx, [rax + 8]
mov qword [rbp - 0x39], rcx
mov rcx, rax
call fcn.1800e9b00
movsd xmm0, qword [str.qRLoSKMQV.5B]
lea rax, [rdi + 8]
mov ecx, dword [0x1800fb4a8]
mov qword [rbp - 0x41], rax
movzx eax, byte [0x1800fb4ac]
mov byte [rbp - 0x5d], al
movsd qword [rbp - 0x69], xmm0
mov dword [rbp - 0x61], ecx
cmp esi, 2
jl 0x18005eeab
movdqa xmm4, xmmword [0x18010b0e0]
mov ebx, 0xc
movdqa xmm3, xmmword [0x18010ac10]
movdqa xmm2, xmmword [0x18010ac30]
movdqa xmm1, xmm3
movdqa xmm5, xmmword [0x18010acd0]
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
mov eax, dword [0x18010ae10]
punpckldq xmm1, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm2
pmulld xmm0, xmm5
psubd xmm3, xmm0
punpckldq xmm1, xmm2
andps xmm3, xmm9
pmuldq xmm1, xmm4
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd xmm0, eax
paddb xmm3, xmm0
movd xmm0, dword [str.qRLoSKMQV.5B]
xorps xmm3, xmm0
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
movd dword [rbp - 0x69], xmm3
movdqa xmm3, xmmword [0x18010ac40]
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, dword [rbp - 0x65]
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, eax
andps xmm2, xmm9
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
xorps xmm2, xmm1
movdqa xmm1, xmm3
pmuldq xmm0, xmm4
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd dword [rbp - 0x65], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, ecx
pmulld xmm0, xmm5
psubd xmm3, xmm0
movd xmm0, eax
andps xmm3, xmm9
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm0
xorps xmm3, xmm1
movd dword [rbp - 0x61], xmm3
mov eax, ebx
lea r8, [rbp - 0x69]
add r8, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x4d4873ed
lea r8, [r8 + 1]
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, bl
inc ebx
sub al, cl
add al, 0x36
xor byte [r8 - 1], al
cmp ebx, 0xd
jl 0x18005eec0
lea r8, [rbp - 0x31]
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x69]
call fcn.18005a940
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
mov rsp, r11
pop r15
pop r14
pop rbp
ret