Function at 0x180006100
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 [0x180149040]
xor rax, rsp
mov qword [rbp - 8], rax
xor esi, esi
lea rcx, [rbp - 0x80]
call fcn.1800056a0
mov rbx, rax
lea rcx, [rsp + 0x50]
call fcn.180005420
nop
lea r8d, [rsi + 1]
lea rdx, [0x1801152b4]
mov rcx, rax
call fcn.18002b7b0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x50], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
mov r9, rbx
lea r8, [rbp - 0x60]
lea rcx, [rbp - 0x28]
call fcn.180007e00
nop
lea rcx, [rbp - 0x60]
call fcn.18002d140
nop
lea rcx, [rsp + 0x50]
call fcn.18002d140
nop
lea rcx, [rbp - 0x80]
call fcn.18002d140
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x40], xmm1
mov qword [rbp - 0x30], rsi
movups xmm0, xmmword [0x18011a8c0]
movups xmmword [rsp + 0x20], xmm0
movups xmm1, xmmword [0x18011a8d0]
movups xmmword [rsp + 0x30], xmm1
movsd xmm0, qword [0x18011a8e0]
movsd qword [rsp + 0x40], xmm0
movzx eax, byte [0x18011a8e8]
mov byte [rsp + 0x48], al
mov r8d, esi
mov edi, dword [0x180149018]
cmp edi, 2
jl 0x180006327
movdqa xmm5, xmmword [0x18012ef60]
movdqa xmm4, xmmword [0x18012f100]
movdqa xmm6, xmmword [0x18012ef90]
movdqa xmm0, xmmword [0x18012f060]
movdqa xmmword [rbp - 0x80], xmm0
lea rcx, [rsp + 0x24]
mov edx, dword [rbp - 0x80]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18012f040]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18012f040]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x28
jl 0x180006222
cmp r8d, 0x29
jge 0x180006370
movsxd rax, r8d
lea r9, [rsp + 0x20]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4bda12f7
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
sub al, cl
add al, 0x34
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x29
jl 0x180006340
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x50], xmm1
lea rax, [rsp + 0x20]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop
inc r8
cmp byte [rax + r8], 0
jne 0x180006390
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x60]
call fcn.180016150
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, qword [rbp - 0x30]
je 0x1800063da
movups xmm0, xmmword [rbp - 0x60]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rbp - 0x50]
movups xmmword [rdx + 0x10], xmm1
movdqa xmm0, xmmword [0x18012eef0]
movdqu xmmword [rbp - 0x50], xmm0
mov byte [rbp - 0x60], 0
add qword [rbp - 0x38], 0x20
jmp 0x1800063e8
lea r8, [rbp - 0x60]
lea rcx, [rbp - 0x40]
call fcn.180009f70
nop
lea rcx, [rbp - 0x60]
call fcn.18002d3d0
movups xmm0, xmmword [str._aQPRX_t__tY_Zrvtzw_px_t]
movups xmmword [rsp + 0x20], xmm0
movups xmm1, xmmword [0x18011a8a0]
movups xmmword [rsp + 0x30], xmm1
movsd xmm0, qword [0x18011a8b0]
movsd qword [rsp + 0x40], xmm0
movzx eax, byte [0x18011a8b8]
mov byte [rsp + 0x48], al
mov ecx, esi
cmp edi, 2
jl 0x180006562
movdqa xmm5, xmmword [0x18012ef60]
movdqa xmm4, xmmword [0x18012f100]
movdqa xmm6, xmmword [0x18012ef90]
movdqa xmm0, xmmword [0x18012f060]
movdqa xmmword [rbp - 0x80], xmm0
lea rdx, [rsp + 0x24]
mov r8d, dword [rbp - 0x80]
nop dword [rax + rax]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18012f040]
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 xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18012f040]
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 0x180006460
cmp ecx, 0x29
jge 0x18000659c
movsxd rax, ecx
lea r8, [rsp + 0x20]
add r8, rax
nop dword [rax]
mov eax, 0x4bda12f7
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x36
movzx eax, cl
sub al, dl
add al, 0x34
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x29
jl 0x180006570
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x50], xmm1
lea rax, [rsp + 0x20]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1800065b0
mov r8, rbx
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x60]
call fcn.180016150
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, qword [rbp - 0x30]
je 0x1800065fc
movups xmm0, xmmword [rbp - 0x60]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rbp - 0x50]
movups xmmword [rdx + 0x10], xmm1
movdqa xmm0, xmmword [0x18012eef0]
movdqu xmmword [rbp - 0x50], xmm0
mov byte [rbp - 0x60], 0
add qword [rbp - 0x38], 0x20
jmp 0x18000660a
lea r8, [rbp - 0x60]
lea rcx, [rbp - 0x40]
call fcn.180009f70
nop
lea rcx, [rbp - 0x60]
call fcn.18002d3d0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x70], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rsi
mov rdi, qword [rbp - 0x38]
sub rdi, qword [rbp - 0x40]
sar rdi, 5
test rdi, rdi
je 0x1800066c3
movabs rax, 0x7ffffffffffffff
cmp rdi, rax
ja 0x180006722
mov rdx, rdi
call fcn.1800119a0
mov rbx, rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
shl rdi, 5
add rdi, rax
mov qword [rsp + 0x60], rdi
lea rax, [rsp + 0x50]
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 + 0x50]
mov qword [rbp - 0x50], rax
cmp rdi, rsi
je 0x1800066be
mov rdx, rdi
mov rcx, rbx
call fcn.18002d2b0
add rbx, 0x20
mov qword [rbp - 0x58], rbx
add rdi, 0x20
cmp rdi, rsi
jne 0x1800066a2
mov qword [rsp + 0x58], rbx
lea rdx, [rbp - 0x28]
lea rcx, [rsp + 0x20]
call fcn.18002d010
nop
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.180005dc0
movzx ebx, al
lea rcx, [rbp - 0x40]
call fcn.180012330
nop
lea rcx, [rbp - 0x28]
call fcn.18002d140
movzx eax, bl
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1800ed2f0
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.18000f1e0
nop
int3