Function at 0x18002ed10
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x18010b040]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbx, rdx
mov qword [rsp + 0x20], rdx
xor edi, edi
test rcx, rcx
je 0x18002ee33
cmp qword [0x18020abf8], rdi
je 0x18002ee33
mov rax, qword [0x18020abf0]
test rax, rax
jne 0x18002ed73
mov rax, qword gs:[0x60]
mov rdx, qword [rax + 0x10]
mov rax, qword [0x18020abf8]
add rax, rdx
mov qword [0x18020abf0], rax
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rdi
lea rdx, [rsp + 0x30]
call rax
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x18002ee16
lea rcx, [rsp + 0x40]
call fcn.1800254d0
nop
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova rdx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x50]
lea r8, [rdx + rax*2]
lea rdx, [rsp + 0x40]
cmova rdx, qword [rsp + 0x40]
mov rcx, rbx
call fcn.180025a20
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x18002efb6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002ee0c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002efd4
call fcn.1800b0d08
jmp 0x18002efb6
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
xor r8d, r8d
lea rdx, [0x1800e5fed]
jmp 0x18002efae
mov rax, qword [0x1800e6450]
mov qword [rsp + 0x20], rax
cmp byte [str.:9yEDQW_eZHP4___7], dil
je 0x18002ef80
cmp dword [0x18010b090], 2
jl 0x18002ef41
movdqa xmm4, xmmword [0x1800f7f40]
movdqa xmm2, xmmword [0x1800f7a90]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1800f7b00]
psubd xmm2, xmm0
andps xmm2, xmmword [0x1800f7bb0]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1800f7c00]
movd xmm0, dword [rsp + 0x20]
xorps xmm2, xmm0
movd dword [rsp + 0x20], xmm2
movdqa xmm2, xmmword [0x1800f7ab0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1800f7b00]
psubd xmm2, xmm0
andps xmm2, xmmword [0x1800f7bb0]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1800f7c00]
movd xmm0, dword [rsp + 0x24]
xorps xmm2, xmm0
movd dword [rsp + 0x24], xmm2
jmp 0x18002ef80
lea r8, [rsp + 0x20]
mov ecx, edi
nop dword [rax + rax]
mov eax, 0xa0a0a0a1
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul edx, eax, 0x33
add dl, cl
xor byte [r8], dl
inc ecx
lea r8, [r8 + 1]
cmp ecx, 8
jl 0x18002ef50
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
lea rax, [rsp + 0x20]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], dil
jne 0x18002efa0
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.180013210
mov rax, rbx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1800b0970
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
ret
call fcn.1800b6bb4
int3