Function at 0x180002ea0
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 [0x18007f698]
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 [0x18007fce4], r10d
jle 0x18000318b
lea rcx, [0x18007fce4]
call fcn.180061558
cmp dword [0x18007fce4], 0xffffffff
jne 0x18000318b
movups xmm0, xmmword [0x18006aab0]
movzx eax, word [0x18006aad8]
xor r8d, r8d
cmp dword [0x180079018], 2
movups xmm1, xmmword [str.i_bl]
mov word [rbp + 7], ax
movzx eax, byte [0x18006aada]
movups xmmword [rbp - 0x21], xmm0
mov byte [rbp + 9], al
movsd xmm0, qword [0x18006aad0]
movsd qword [rbp - 1], xmm0
movups xmmword [rbp - 0x11], xmm1
jl 0x1800030d6
movdqa xmm0, xmmword [0x18006d320]
lea rcx, [rbp - 0x1d]
movdqa xmm5, xmmword [0x18006d2b0]
mov eax, 5
movdqa xmm4, xmmword [0x18006d440]
movaps xmmword [rsp + 0xa0], xmm6
movaps xmmword [rsp + 0x90], xmm7
movdqa xmm7, xmmword [0x18006d2f0]
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
paddd xmm1, xmm2
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 [0x18006d300]
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
paddd xmm1, xmm3
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 [0x18006d300]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x28
jl 0x180002fb0
movaps xmm8, xmmword [rsp + 0x80]
movaps xmm7, xmmword [rsp + 0x90]
movaps xmm6, xmmword [rsp + 0xa0]
cmp r8d, 0x2b
jge 0x180003114
movsxd rax, r8d
lea r9, [rbp - 0x21]
add r9, rax
mov eax, 0x92492493
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x38
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x39
xor byte [r9 - 1], al
cmp r8d, 0x2b
jl 0x1800030e0
movzx eax, word [0x18006aa48]
lea rdx, [rbp - 0x21]
movsd xmm0, qword [str.ZVRYSJ]
lea rcx, [rbp - 0x31]
movsd qword [rbp - 0x31], xmm0
xor byte [rbp - 0x30], 0x3a
xor byte [rbp - 0x2f], 0x3b
xor byte [rbp - 0x2e], 0x3c
xor byte [rbp - 0x2d], 0x3d
xor byte [rbp - 0x2c], 0x3e
xor byte [rbp - 0x2b], 0x3f
xor byte [rbp - 0x2a], 0x40
mov word [rbp - 0x29], ax
movzx eax, byte [0x18006aa4a]
xor byte [rbp - 0x29], 0x41
xor al, 0x43
xor byte [rbp - 0x28], 0x42
mov byte [rbp - 0x27], al
mov byte [rbp - 0x31], 0x63
call fcn.180001130
lea rcx, [0x18007fce4]
movsxd rdx, dword [rax + 1]
add rax, 5
add rax, rdx
mov qword [0x18007fd00], rax
call fcn.1800614ec
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 [0x18007fd00]