Function at 0x180064190
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rsi
push rbp
push rdi
push r12
push r13
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
movaps xmmword [rax - 0x38], xmm6
mov r13, rdx
movaps xmmword [rax - 0x48], xmm7
movaps xmm6, xmm3
movaps xmm7, xmm2
mov r12, rcx
call fcn.1800616c0
xor edi, edi
mov r15, qword [rax + 0x1a8]
test r15, r15
jne 0x1800643cb
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 0x18006433c
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
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 0x180064250
cmp edi, 0x3a
jge 0x180064380
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 0x180064350
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 0x1800643a0
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 0x1800647b9
mov qword [rsp + 0x100], rbx
mov rsi, 0xffffffffffffffff
mov qword [rsp + 0x108], r14
mov rdx, rsi
mov r14d, edi
nop dword [rax + rax]
inc rdx
cmp byte [r12 + rdx], dil
jne 0x1800643f0
mov ecx, edi
cmp rdx, 8
jb 0x18006447f
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 0x180064420
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 0x1800644a5
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 0x180064490
call fcn.1800616c0
mov rdx, qword [rax + 0x190]
mov r8, qword [rax + 0x198]
cmp rdx, r8
je 0x180064505
nop dword [rax]
mov rcx, qword [rdx]
cmp rcx, r15
jne 0x1800644fc
mov rax, qword [rcx + 0xb8]
mov rcx, qword [rcx + 0xc0]
cmp rax, rcx
je 0x1800644fc
nop dword [rax + rax]
mov rbx, qword [rax]
cmp dword [rbx + 0xc], r14d
jne 0x1800644f3
cmp dword [rbx + 8], 2
je 0x18006476b
add rax, 8
cmp rax, rcx
jne 0x1800644e0
add rdx, 8
cmp rdx, r8
jne 0x1800644c0
mov r8, r15
mov ecx, r14d
call fcn.180065670
mov rbx, rax
mov r8, rsi
mov dword [rax + 0xc], r14d
nop word [rax + rax]
inc r8
cmp byte [r12 + r8], dil
jne 0x180064520
lea rcx, [rax + 0x10]
mov rdx, r12
call fcn.180010400
movss dword [rbx + 0x120], xmm7
movss dword [rbx + 0x124], xmm6
mov dword [rbx + 8], 2
mov qword [rbx + 0x118], r13
cmp dword [rbx + 8], 2
mov r14, qword [rsp + 0x108]
mov byte [rbx + 0x49], 1
je 0x1800647ad
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 0x1800646ec
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
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 0x180064600
cmp edi, 0x65
jge 0x180064730
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 0x180064700
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 0x180064743
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 0x1800647b1
test rbx, rbx
je 0x180064505
mov rdx, qword [r15 + 0xa8]
lea rcx, [r15 + 0xa0]
mov qword [rbp - 0x79], rbx
cmp rdx, qword [r15 + 0xb0]
je 0x18006479f
mov qword [rdx], rbx
add qword [r15 + 0xa8], 8
jmp 0x180064553
lea r8, [rbp - 0x79]
call fcn.18000ec50
jmp 0x180064553
movzx eax, byte [rbx + 0x48]
mov rbx, qword [rsp + 0x100]
lea r11, [rsp + 0xd0]
mov rsi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r13
pop r12
pop rdi
pop rbp
ret