Function at 0x18000b390
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x80
mov r8d, dword [0x18007f698]
mov rdi, rcx
mov rax, qword gs:[0x58]
mov ebx, edx
mov ecx, 4
mov rax, qword [rax + r8*8]
mov r8d, dword [rcx + rax]
cmp dword [0x18007fc38], r8d
jle 0x18000b63b
lea rcx, [0x18007fc38]
call fcn.180061558
cmp dword [0x18007fc38], 0xffffffff
jne 0x18000b63b
cmp byte [0x18006b0c9], 0
movups xmm0, xmmword [0x18006b0b8]
movzx eax, word [0x18006b0c8]
mov word [rbp - 0x40], ax
movups xmmword [rbp - 0x50], xmm0
je 0x18000b5cf
xor ecx, ecx
cmp dword [0x180079018], 2
jl 0x18000b58a
movdqa xmm0, xmmword [0x18006d320]
lea rdx, [rbp - 0x4c]
movdqa xmm5, xmmword [0x18006d2b0]
mov eax, 5
movdqa xmm4, xmmword [0x18006d440]
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm7
movdqa xmm7, xmmword [0x18006d2f0]
movd xmm6, eax
mov eax, 0x1f
movaps xmmword [rsp + 0x50], xmm8
movdqa xmmword [rbp - 0x60], xmm0
mov r8d, dword [rbp - 0x60]
movd xmm8, eax
nop
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 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 ecx, 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, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 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, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18006d300]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x10
jl 0x18000b470
movaps xmm8, xmmword [rsp + 0x50]
movaps xmm7, xmmword [rsp + 0x60]
movaps xmm6, xmmword [rsp + 0x70]
cmp ecx, 0x12
jge 0x18000b5cf
movsxd rax, ecx
lea r8, [rbp - 0x50]
add r8, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x92492493
lea r8, [r8 + 1]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x38
movzx eax, cl
inc ecx
sub al, dl
add al, 0x39
xor byte [r8 - 1], al
cmp ecx, 0x12
jl 0x18000b5a0
movzx eax, word [0x18006aa48]
lea rdx, [rbp - 0x50]
movsd xmm0, qword [str.ZVRYSJ]
lea rcx, [rbp - 0x60]
movsd qword [rbp - 0x60], xmm0
xor byte [rbp - 0x5f], 0x3a
xor byte [rbp - 0x5e], 0x3b
xor byte [rbp - 0x5d], 0x3c
xor byte [rbp - 0x5c], 0x3d
xor byte [rbp - 0x5b], 0x3e
xor byte [rbp - 0x5a], 0x3f
xor byte [rbp - 0x59], 0x40
mov word [rbp - 0x58], ax
movzx eax, byte [0x18006aa4a]
xor byte [rbp - 0x58], 0x41
xor al, 0x43
xor byte [rbp - 0x57], 0x42
mov byte [rbp - 0x56], al
mov byte [rbp - 0x60], 0x63
call fcn.180001130
lea rcx, [0x18007fc38]
mov qword [0x18007fc10], rax
call fcn.1800614ec
mov rax, qword [0x18007fc10]
mov edx, ebx
mov rcx, rdi
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
jmp rax