Function at 0x18000b810
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 [0x18007f5e8]
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 [0x18007fc3c], r8d
jle 0x18000baa9
lea rcx, [0x18007fc3c]
call fcn.180061ac8
cmp dword [0x18007fc3c], 0xffffffff
jne 0x18000baa9
mov eax, dword [0x18006b198]
xor ecx, ecx
cmp dword [0x180079018], 2
movups xmm0, xmmword [0x18006b188]
mov dword [rbp - 0x40], eax
movzx eax, byte [0x18006b19c]
movups xmmword [rbp - 0x50], xmm0
mov byte [rbp - 0x3c], al
jl 0x18000ba02
movdqa xmm0, xmmword [0x18006d430]
lea rdx, [rbp - 0x4c]
movdqa xmm5, xmmword [0x18006d3c0]
mov eax, 4
movdqa xmm4, xmmword [0x18006d510]
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm7
movdqa xmm7, xmmword [0x18006d3e0]
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 word [rax + rax]
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
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, 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
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 [0x18006d410]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x10
jl 0x18000b8f0
movaps xmm8, xmmword [rsp + 0x50]
movaps xmm7, xmmword [rsp + 0x60]
movaps xmm6, xmmword [rsp + 0x70]
cmp ecx, 0x15
jge 0x18000ba3d
movsxd rax, ecx
lea r8, [rbp - 0x50]
add r8, rax
nop dword [rax]
mov eax, 0x4ec4ec4f
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x34
movzx eax, cl
inc ecx
sub al, dl
add al, 0x33
xor byte [r8 - 1], al
cmp ecx, 0x15
jl 0x18000ba10
movzx eax, word [0x18006aa98]
lea rdx, [rbp - 0x50]
movsd xmm0, qword [str.PXSYL]
lea rcx, [rbp - 0x60]
movsd qword [rbp - 0x60], xmm0
xor byte [rbp - 0x5f], 0x34
xor byte [rbp - 0x5e], 0x35
xor byte [rbp - 0x5d], 0x36
xor byte [rbp - 0x5c], 0x37
xor byte [rbp - 0x5b], 0x38
xor byte [rbp - 0x5a], 0x39
xor byte [rbp - 0x59], 0x3a
mov word [rbp - 0x58], ax
movzx eax, byte [0x18006aa9a]
xor byte [rbp - 0x58], 0x3b
xor al, 0x3d
xor byte [rbp - 0x57], 0x3c
mov byte [rbp - 0x56], al
mov byte [rbp - 0x60], 0x63
call fcn.180001230
lea rcx, [0x18007fc3c]
mov qword [0x18007fbe8], rax
call fcn.180061a5c
mov rax, qword [0x18007fbe8]
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