Function at 0x180002df0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x3f]
sub rsp, 0xb0
mov r10d, dword [0x18007f5e8]
mov r14, rcx
mov rax, qword gs:[0x58]
mov rbx, r9
mov ecx, 4
mov rdi, r8
mov rsi, rdx
mov rax, qword [rax + r10*8]
mov r10d, dword [rcx + rax]
cmp dword [0x18007fd14], r10d
jle 0x1800030d8
lea rcx, [0x18007fd14]
call fcn.180061ac8
cmp dword [0x18007fd14], 0xffffffff
jne 0x1800030d8
movups xmm0, xmmword [0x18006acb0]
movzx eax, word [0x18006acd8]
xor r8d, r8d
cmp dword [0x180079018], 2
movups xmm1, xmmword [0x18006acc0]
mov word [rbp + 7], ax
movzx eax, byte [0x18006acda]
movups xmmword [rbp - 0x21], xmm0
mov byte [rbp + 9], al
movsd xmm0, qword [0x18006acd0]
movsd qword [rbp - 1], xmm0
movups xmmword [rbp - 0x11], xmm1
jl 0x18000301e
movdqa xmm0, xmmword [0x18006d430]
lea rcx, [rbp - 0x1d]
movdqa xmm5, xmmword [0x18006d3c0]
mov eax, 4
movdqa xmm4, xmmword [0x18006d510]
movaps xmmword [rsp + 0xa0], xmm6
movaps xmmword [rsp + 0x90], xmm7
movdqa xmm7, xmmword [0x18006d3e0]
movd xmm6, eax
mov eax, 0x1f
movaps xmmword [rsp + 0x80], xmm8
movdqa xmmword [rbp - 0x31], xmm0
mov edx, dword [rbp - 0x31]
movd xmm8, eax
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x18006d410]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18006d410]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x28
jl 0x180002f00
movaps xmm8, xmmword [rsp + 0x80]
movaps xmm7, xmmword [rsp + 0x90]
movaps xmm6, xmmword [rsp + 0xa0]
cmp r8d, 0x2b
jge 0x180003061
movsxd rax, r8d
lea r9, [rbp - 0x21]
add r9, rax
nop dword [rax + rax]
mov eax, 0x4ec4ec4f
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x33
xor byte [r9 - 1], al
cmp r8d, 0x2b
jl 0x180003030
movzx eax, word [0x18006aa98]
lea rdx, [rbp - 0x21]
movsd xmm0, qword [str.PXSYL]
lea rcx, [rbp - 0x31]
movsd qword [rbp - 0x31], xmm0
xor byte [rbp - 0x30], 0x34
xor byte [rbp - 0x2f], 0x35
xor byte [rbp - 0x2e], 0x36
xor byte [rbp - 0x2d], 0x37
xor byte [rbp - 0x2c], 0x38
xor byte [rbp - 0x2b], 0x39
xor byte [rbp - 0x2a], 0x3a
mov word [rbp - 0x29], ax
movzx eax, byte [0x18006aa9a]
xor byte [rbp - 0x29], 0x3b
xor al, 0x3d
xor byte [rbp - 0x28], 0x3c
mov byte [rbp - 0x27], al
mov byte [rbp - 0x31], 0x63
call fcn.180001230
lea rcx, [0x18007fd14]
movsxd rdx, dword [rax + 1]
add rax, 5
add rax, rdx
mov qword [0x18007fd28], rax
call fcn.180061a5c
mov r9, rbx
mov r8, rdi
mov rdx, rsi
mov rcx, r14
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
jmp qword [0x18007fd28]