Function at 0x180007940
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0xfd0]
mov eax, 0x10d0
call fcn.180062640
sub rsp, rax
mov rax, qword [0x180079010]
xor rax, rsp
mov qword [rbp + 0xf90], rax
mov rdi, qword [0x18007f950]
lea rcx, [rbp - 0x70]
mov qword [rsp + 0x10e0], rbx
xor edx, edx
mov r8d, 0x1000
mov qword [rsp + 0x10e8], rsi
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rdi]
lea r8, str.materials_dev_primary_white.vmat
lea rdx, [rsp + 0x78]
mov rcx, rdi
call qword [rax + 0x70]
mov rax, qword [rdi]
lea r8, [rbp + 0x210]
lea rdx, [rsp + 0x78]
mov rcx, rdi
call qword [rax + 0x128]
lea rax, str.shader
mov qword [rsp + 0x50], 0x162c1777
mov r9d, 0x18
mov qword [rsp + 0x58], rax
lea r8, str.csgo_unlitgeneric.vfx
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x210]
call qword [0x18007f868]
mov rbx, qword [0x18007f878]
lea rsi, str.F_BLEND_MODE
mov rcx, rsi
mov edx, 0x12
mov r8d, 0x31415926
call qword [0x18007f870]
mov r9d, 0x12
mov qword [rsp + 0x58], rsi
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x50], rax
lea rcx, [rbp + 0x210]
lea r8d, [r9 - 0x11]
call rbx
mov rbx, qword [0x18007f878]
lea rsi, str.F_TRANSLUCENT
mov rcx, rsi
mov edx, 0x12
mov r8d, 0x31415926
call qword [0x18007f870]
mov r9d, 0x12
mov qword [rsp + 0x58], rsi
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x50], rax
lea rcx, [rbp + 0x210]
lea r8d, [r9 - 0x11]
call rbx
movups xmm0, xmmword [str.OSHU_RZ]
movzx eax, byte [0x18006ab50]
xor r9d, r9d
cmp dword [0x180079018], 2
mov ecx, r9d
mov rsi, qword [rsp + 0x10e8]
mov rbx, qword [rsp + 0x10e0]
movups xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x70], al
jl 0x180007c43
movdqa xmm0, xmmword [0x18006d320]
lea rdx, [rsp + 0x64]
movdqa xmm5, xmmword [0x18006d2b0]
mov eax, 5
movdqa xmm4, xmmword [0x18006d440]
movaps xmmword [rsp + 0x10c0], xmm6
movaps xmmword [rsp + 0x10b0], xmm7
movdqa xmm7, xmmword [0x18006d2f0]
movd xmm6, eax
mov eax, 0x1f
movaps xmmword [rsp + 0x10a0], xmm8
movdqa xmmword [rsp + 0x50], xmm0
mov r8d, dword [rsp + 0x50]
movd xmm8, eax
nop dword [rax]
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
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 0x180007b20
movaps xmm8, xmmword [rsp + 0x10a0]
movaps xmm7, xmmword [rsp + 0x10b0]
movaps xmm6, xmmword [rsp + 0x10c0]
cmp ecx, 0x11
jge 0x180007c7f
movsxd rax, ecx
lea r8, [rsp + 0x60]
add r8, rax
nop
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, 0x11
jl 0x180007c50
mov rax, qword [rdi]
lea r8, [rsp + 0x60]
mov dword [rsp + 0x48], 1
lea rdx, [rbp - 0x80]
mov dword [rsp + 0x40], r9d
mov rcx, rdi
mov dword [rsp + 0x38], r9d
mov dword [rsp + 0x30], r9d
mov dword [rsp + 0x28], r9d
mov dword [rsp + 0x20], r9d
lea r9, [rbp + 0x210]
call qword [rax + 0xe8]
mov rax, qword [rbp - 0x80]
mov rax, qword [rax]
mov rcx, qword [rbp + 0xf90]
xor rcx, rsp
call fcn.180061490
mov rdi, qword [rsp + 0x10f0]
add rsp, 0x10d0
pop rbp
ret