Function at 0x180006530
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x18]
sub rsp, 0x110
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x180148040]
xor rax, rsp
mov qword [rbp - 8], rax
xor edi, edi
lea rcx, [rbp - 0x80]
call fcn.180005b10
mov rbx, rax
lea rcx, [rsp + 0x20]
call fcn.180005880
nop
mov r8d, 1
lea rdx, [0x1801142d4]
mov rcx, rax
call fcn.18002bab0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x50], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
mov r9, rbx
lea r8, [rbp - 0x60]
lea rcx, [rbp - 0x28]
call fcn.180008020
nop
lea rcx, [rbp - 0x60]
call fcn.18002d480
nop
lea rcx, [rsp + 0x20]
call fcn.18002d480
nop
lea rcx, [rbp - 0x80]
call fcn.18002d480
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x40], xmm1
mov qword [rbp - 0x30], rdi
movups xmm0, xmmword [0x1801198b0]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [0x1801198c0]
movups xmmword [rsp + 0x58], xmm1
movsd xmm0, qword [0x1801198d0]
movsd qword [rsp + 0x68], xmm0
movzx eax, byte [0x1801198d8]
mov byte [rsp + 0x70], al
mov ecx, edi
cmp dword [0x180148090], 2
jl 0x180006744
movdqa xmm4, xmmword [0x18012e100]
movdqa xmm3, xmmword [0x18012e5f0]
movdqa xmm5, xmmword [str.555566668888]
movdqa xmm0, xmmword [0x18012e230]
movdqa xmmword [rbp - 0x80], xmm0
lea rdx, [rsp + 0x4c]
movdqa xmm6, xmmword [0x18012e1e0]
mov r8d, dword [rbp - 0x80]
nop word [rax + rax]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x28
jl 0x180006660
cmp ecx, 0x29
jge 0x18000677c
movsxd rax, ecx
lea r8, [rsp + 0x48]
add r8, rax
nop
mov eax, 0x4d4873ed
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x35
movzx eax, cl
sub al, dl
add al, 0x30
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x29
jl 0x180006750
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x50], xmm1
lea rax, [rsp + 0x48]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1800067a0
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x60]
call fcn.180016750
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, qword [rbp - 0x30]
je 0x1800067ea
movups xmm0, xmmword [rbp - 0x60]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rbp - 0x50]
movups xmmword [rdx + 0x10], xmm1
movdqa xmm0, xmmword [0x18012e080]
movdqu xmmword [rbp - 0x50], xmm0
mov byte [rbp - 0x60], 0
add qword [rbp - 0x38], 0x20
jmp 0x1800067f8
lea r8, [rbp - 0x60]
lea rcx, [rbp - 0x40]
call fcn.18000a2f0
nop
lea rcx, [rbp - 0x60]
call fcn.18002d710
lea rax, [rsp + 0x20]
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rdi
mov rdi, qword [rbp - 0x38]
sub rdi, qword [rbp - 0x40]
sar rdi, 5
test rdi, rdi
je 0x1800068b1
movabs rax, 0x7ffffffffffffff
cmp rdi, rax
ja 0x180006910
mov rdx, rdi
call fcn.180011cb0
mov rbx, rax
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rax
shl rdi, 5
add rdi, rax
mov qword [rsp + 0x30], rdi
lea rax, [rsp + 0x20]
mov qword [rbp - 0x80], rax
mov rdi, qword [rbp - 0x40]
mov rsi, qword [rbp - 0x38]
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x58], rbx
lea rax, [rsp + 0x20]
mov qword [rbp - 0x50], rax
cmp rdi, rsi
je 0x1800068ac
mov rdx, rdi
mov rcx, rbx
call fcn.18002d5f0
add rbx, 0x20
mov qword [rbp - 0x58], rbx
add rdi, 0x20
cmp rdi, rsi
jne 0x180006890
mov qword [rsp + 0x28], rbx
lea rdx, [rbp - 0x28]
lea rcx, [rsp + 0x48]
call fcn.18002d350
nop
lea rdx, [rsp + 0x20]
mov rcx, rax
call fcn.1800061f0
movzx ebx, al
lea rcx, [rbp - 0x40]
call fcn.180012640
nop
lea rcx, [rbp - 0x28]
call fcn.18002d480
movzx eax, bl
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1800ec360
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret
call fcn.18000f4c0
nop
int3