Function at 0x1800647e0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov dword [rax + 0x18], r8d
mov qword [rax + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xc8
movaps xmmword [rax - 0x48], xmm6
mov r13d, r9d
mov r12, rcx
call fcn.1800616c0
xor edi, edi
mov r15, qword [rax + 0x1a8]
test r15, r15
jne 0x180064a1b
cmp dword [0x1800ab090], 2
movups xmm0, xmmword [str.pFGQXFC__]
movzx eax, word [0x18009fe28]
movups xmm1, xmmword [0x18009fe00]
mov word [rbp - 0x21], ax
movups xmmword [rbp - 0x59], xmm0
movups xmm0, xmmword [0x18009fe10]
movups xmmword [rbp - 0x49], xmm1
movups xmmword [rbp - 0x39], xmm0
movsd xmm0, qword [0x18009fe20]
movsd qword [rbp - 0x29], xmm0
jl 0x18006498c
movdqa xmm0, xmmword [0x1800a02c0]
lea rcx, [rbp - 0x55]
movdqa xmm4, xmmword [0x1800a0170]
movdqa xmm3, xmmword [0x1800a03a0]
movdqa xmm5, xmmword [0x1800a01c0]
movdqa xmm6, xmmword [0x1800a0280]
movdqa xmmword [rbp - 0x79], xmm0
mov edx, dword [rbp - 0x79]
nop word [rax + rax]
movd xmm2, edi
lea eax, [rdi + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm4
add edi, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movd dword [rcx - 0xc], xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp edi, 0x38
jl 0x1800648a0
cmp edi, 0x3a
jge 0x1800649d0
movsxd rax, edi
lea r8, [rbp - 0x59]
add r8, rax
nop word [rax + rax]
mov eax, 0xa0a0a0a1
lea r8, [r8 + 1]
imul edi
add edx, edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x33
movzx eax, dil
inc edi
sub al, cl
add al, 0x31
xor byte [r8 - 1], al
cmp edi, 0x3a
jl 0x1800649a0
xorps xmm0, xmm0
lea rax, [rbp - 0x59]
xorps xmm1, xmm1
mov rsi, 0xffffffffffffffff
movups xmmword [rbp - 0x79], xmm0
movdqu xmmword [rbp - 0x69], xmm1
nop word [rax + rax]
inc rsi
cmp byte [rax + rsi], 0
jne 0x1800649f0
mov r8, rsi
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x79]
call fcn.180012cd0
xor edx, edx
lea rcx, [rbp - 0x79]
call fcn.180025530
xor al, al
jmp 0x180064e19
mov qword [rsp + 0x100], rbx
mov rsi, 0xffffffffffffffff
mov qword [rsp + 0xc0], r14
mov rdx, rsi
mov r14d, edi
nop dword [rax + rax]
inc rdx
cmp byte [r12 + rdx], dil
jne 0x180064a40
mov ecx, edi
cmp rdx, 8
jb 0x180064acf
mov r9, rdx
xorps xmm2, xmm2
and r9, 0xfffffffffffffff8
xorps xmm1, xmm1
mov r8, r12
nop dword [rax]
nop word [rax + rax]
movd xmm0, dword [r8]
lea r8, [r8 + 8]
punpcklbw xmm0, xmm0
add ecx, 8
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
paddd xmm2, xmm0
movsxd rax, ecx
movd xmm0, dword [r8 - 4]
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
paddd xmm1, xmm0
cmp rax, r9
jb 0x180064a70
paddd xmm1, xmm2
movdqa xmm0, xmm1
psrldq xmm0, 8
paddd xmm1, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 4
paddd xmm1, xmm0
movd r14d, xmm1
movsxd rax, ecx
cmp rax, rdx
jae 0x180064af5
lea r8, [rax + r12]
nop dword [rax + rax]
movsx eax, byte [r8]
lea r8, [r8 + 1]
inc ecx
add r14d, eax
movsxd rax, ecx
cmp rax, rdx
jb 0x180064ae0
call fcn.1800616c0
mov rdx, qword [rax + 0x190]
mov r8, qword [rax + 0x198]
cmp rdx, r8
je 0x180064b55
nop dword [rax]
mov rcx, qword [rdx]
cmp rcx, r15
jne 0x180064b4c
mov rax, qword [rcx + 0xb8]
mov rcx, qword [rcx + 0xc0]
cmp rax, rcx
je 0x180064b4c
nop dword [rax + rax]
mov rbx, qword [rax]
cmp dword [rbx + 0xc], r14d
jne 0x180064b43
cmp dword [rbx + 8], 2
je 0x180064dcb
add rax, 8
cmp rax, rcx
jne 0x180064b30
add rdx, 8
cmp rdx, r8
jne 0x180064b10
mov r8, r15
mov ecx, r14d
call fcn.180065f50
mov rbx, rax
mov r8, rsi
mov dword [rax + 0xc], r14d
nop word [rax + rax]
inc r8
cmp byte [r12 + r8], dil
jne 0x180064b70
lea rcx, [rax + 0x10]
mov rdx, r12
call fcn.180010400
mov rax, qword [rbp + 0x6f]
mov qword [rbx + 0x118], rax
mov eax, dword [rbp + 0x77]
mov dword [rbx + 0x120], eax
mov dword [rbx + 8], 2
mov dword [rbx + 0x124], r13d
cmp dword [rbx + 8], 2
mov r14, qword [rsp + 0xc0]
mov byte [rbx + 0x49], 1
je 0x180064e0d
cmp dword [0x1800ab090], 2
movups xmm0, xmmword [str.w_FZQ]
movups xmm1, xmmword [0x18009fec0]
mov eax, dword [0x18009ff10]
movups xmmword [rbp - 0x59], xmm0
mov dword [rbp + 7], eax
movups xmm0, xmmword [0x18009fed0]
movzx eax, byte [0x18009ff14]
movups xmmword [rbp - 0x49], xmm1
mov byte [rbp + 0xb], al
movups xmm1, xmmword [0x18009fee0]
movups xmmword [rbp - 0x39], xmm0
movups xmm0, xmmword [0x18009fef0]
movups xmmword [rbp - 0x29], xmm1
movups xmm1, xmmword [0x18009ff00]
movups xmmword [rbp - 0x19], xmm0
movups xmmword [rbp - 9], xmm1
jl 0x180064d4c
movdqa xmm0, xmmword [0x1800a02c0]
lea rcx, [rbp - 0x55]
movdqa xmm4, xmmword [0x1800a0170]
movdqa xmm3, xmmword [0x1800a03a0]
movdqa xmm5, xmmword [0x1800a01c0]
movdqa xmm6, xmmword [0x1800a0280]
movdqa xmmword [rbp - 0x79], xmm0
mov edx, dword [rbp - 0x79]
nop dword [rax]
nop word [rax + rax]
movd xmm2, edi
lea eax, [rdi + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm4
add edi, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movd dword [rcx - 0xc], xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp edi, 0x60
jl 0x180064c60
cmp edi, 0x65
jge 0x180064d90
movsxd rax, edi
lea r8, [rbp - 0x59]
add r8, rax
nop word [rax + rax]
mov eax, 0xa0a0a0a1
lea r8, [r8 + 1]
imul edi
add edx, edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x33
movzx eax, dil
inc edi
sub al, cl
add al, 0x31
xor byte [r8 - 1], al
cmp edi, 0x65
jl 0x180064d60
xorps xmm0, xmm0
lea rax, [rbp - 0x59]
xorps xmm1, xmm1
movups xmmword [rbp - 0x79], xmm0
movdqu xmmword [rbp - 0x69], xmm1
inc rsi
cmp byte [rax + rsi], 0
jne 0x180064da3
mov r8, rsi
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x79]
call fcn.180012cd0
xor edx, edx
lea rcx, [rbp - 0x79]
call fcn.180025530
xor al, al
jmp 0x180064e11
test rbx, rbx
je 0x180064b55
mov rdx, qword [r15 + 0xa8]
lea rcx, [r15 + 0xa0]
mov qword [rbp - 0x79], rbx
cmp rdx, qword [r15 + 0xb0]
je 0x180064dff
mov qword [rdx], rbx
add qword [r15 + 0xa8], 8
jmp 0x180064ba7
lea r8, [rbp - 0x79]
call fcn.18000ec50
jmp 0x180064ba7
movzx eax, byte [rbx + 0x48]
mov rbx, qword [rsp + 0x100]
movaps xmm6, xmmword [rsp + 0xb0]
add rsp, 0xc8
pop r15
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret