Function at 0x180030d10
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x80
movaps xmmword [rsp + 0x70], xmm6
mov rax, qword [0x180112020]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbx, rdx
mov qword [rsp + 0x20], rdx
xor edi, edi
test rcx, rcx
je 0x180030e3b
cmp qword [0x180211bf0], rdi
je 0x180030e3b
mov rax, qword [0x180211be0]
test rax, rax
jne 0x180030d7b
mov rax, qword gs:[0x60]
mov rdx, qword [rax + 0x10]
mov rax, qword [0x180211bf0]
add rax, rdx
mov qword [0x180211be0], 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 0x180030e1e
lea rcx, [rsp + 0x40]
call fcn.180026de0
nop
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rdx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x50]
lea r8, [rdx + rax*2]
lea rdx, [rsp + 0x40]
cmovae rdx, qword [rsp + 0x40]
mov rcx, rbx
call fcn.180027330
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x180030fe6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180030e14
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18003100c
call fcn.1800b7ba8
jmp 0x180030fe6
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
xor r8d, r8d
lea rdx, [0x1800ed0f1]
jmp 0x180030fde
mov rax, qword [str.rT____e_yEDQW_eS_XL_51ydOF]
mov qword [rsp + 0x20], rax
cmp byte [0x1800ed55f], dil
je 0x180030fae
cmp dword [0x180112028], 2
jl 0x180030f71
movdqa xmm4, xmmword [0x1800ff280]
mov eax, 5
movd xmm6, eax
mov eax, 0x1f
movd xmm5, eax
movdqa xmm2, xmmword [0x1800feda0]
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, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1800fee40]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1800fef10]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1800fef30]
movd xmm0, dword [rsp + 0x20]
pxor xmm2, xmm0
movd dword [rsp + 0x20], xmm2
movdqa xmm3, xmmword [0x1800fedc0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1800fee40]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1800fef10]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1800fef30]
movd xmm0, dword [rsp + 0x24]
pxor xmm2, xmm0
movd dword [rsp + 0x24], xmm2
jmp 0x180030fae
lea r8, [rsp + 0x20]
mov ecx, edi
nop dword [rax + 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, 0x34
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 8
jl 0x180030f80
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 dword [rax + rax]
inc r8
cmp byte [rax + r8], dil
jne 0x180030fd0
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.180013d70
mov rax, rbx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1800b7800
mov rbx, qword [rsp + 0xa0]
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x80
pop rdi
ret
call fcn.1800be590
int3