Function at 0x140123e70
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x1402d4040]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov r12, r9
mov rbp, rdx
mov ebx, 0xffffffff
mov eax, ebx
lea r9, [0x14027dadb]
lea r8, str.RTClosestHitShaderReferenceOptional
lea r13, [0x14028bec0]
nop word [rax + rax]
movsx edx, byte [r8]
mov ecx, eax
xor rdx, rcx
movzx ecx, dl
shr eax, 8
xor eax, dword [r13 + rcx*4]
inc r8
cmp r8, r9
jne 0x140123ec0
not eax
mov esi, dword [rsp + 0xd0]
mov ecx, esi
shl ecx, 6
mov edx, esi
shr edx, 2
add eax, ecx
add edx, 0x9e3779b9
add eax, edx
xor esi, eax
mov byte [rsp + 0x60], 0
mov qword [rsp + 0x28], r12
mov r9, rbp
lea r8, [rsp + 0x60]
call fcn.1401187b0
test eax, eax
je 0x140124181
test rbp, rbp
je 0x140123fa3
cmp byte [rbp], 0
je 0x140123fa3
mov rcx, rbp
call fcn.1400946b0
mov rcx, qword [0x1402dc618]
mov rax, qword [rcx + 0x4148]
mov byte [rax + 0xf5], 1
mov rax, qword [rcx + 0x4148]
movss xmm0, dword [rcx + 0x3a6c]
addss xmm0, dword [rax + 0x184]
movss dword [rax + 0x184], xmm0
addss xmm0, dword [rax + 0x58]
addss xmm0, dword [rax + 0x188]
movss dword [rax + 0x140], xmm0
mov rcx, rbp
call fcn.140022100
mov ecx, 0x400
call fcn.1400163c0
test al, al
je 0x140123fa3
lea rdx, str.Optional_version
lea rcx, [0x1402641f4]
call fcn.140026740
mov eax, ebx
lea r9, [0x14027c500]
lea r8, str.name
nop dword [rax]
nop word [rax + rax]
movsx edx, byte [r8]
mov ecx, eax
xor rdx, rcx
movzx ecx, dl
shr eax, 8
xor eax, dword [r13 + rcx*4]
inc r8
cmp r8, r9
jne 0x140123fc0
not eax
mov r15d, esi
shl r15d, 6
mov ecx, esi
shr ecx, 2
add r15d, ecx
lea edi, [r15 - 0x61c88647]
add edi, eax
xor edi, esi
lea rdx, str.name
lea rcx, [rsp + 0x40]
call fcn.1401137d0
nop
cmp qword [rax + 0x18], 0xf
jbe 0x140124014
mov rax, qword [rax]
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x28], r12
lea rcx, str.The_name_of_the_shader
mov qword [rsp + 0x20], rcx
mov r9, rax
lea r8, [rsp + 0x60]
xor edx, edx
lea rcx, [0x1402dc670]
call fcn.14011aca0
mov r14d, eax
cmp byte [rsp + 0x60], 0
je 0x14012405f
cmp edi, 0x9bca5295
jne 0x14012405f
call fcn.140143df0
nop
lea rcx, [rsp + 0x40]
call fcn.1400050e0
cmp r14d, 1
jne 0x1401240e9
lea r8, str.name
lea r9, [0x14027c500]
nop dword [rax]
movsx ecx, byte [r8]
mov eax, ebx
xor rcx, rax
movzx eax, cl
shr ebx, 8
xor ebx, dword [r13 + rax*4]
inc r8
cmp r8, r9
jne 0x140124080
not ebx
add ebx, 0x9e3779b9
add ebx, r15d
xor ebx, esi
lea rdx, str.name
lea rcx, [rsp + 0x40]
call fcn.1401137d0
nop
cmp qword [rax + 0x18], 0xf
jbe 0x1401240c5
mov rax, qword [rax]
mov dword [rsp + 0x20], ebx
mov r9, r12
lea r8, str.The_name_of_the_shader
mov rdx, rax
call fcn.140116c00
or byte [rsp + 0x60], al
lea rcx, [rsp + 0x40]
call fcn.1400050e0
lea rdx, str.shaderIndex
lea rcx, [rsp + 0x40]
call fcn.1401137d0
nop
lea rcx, [rsp + 0x40]
call fcn.1400050e0
lea rdx, str.shader
lea rcx, [rsp + 0x40]
call fcn.1401137d0
lea rcx, [rsp + 0x40]
call fcn.1400050e0
test rbp, rbp
je 0x140124181
cmp byte [rbp], 0
je 0x140124181
mov rcx, qword [0x1402dc618]
mov rax, qword [rcx + 0x4148]
dec dword [rax + 0x130]
mov rax, qword [rcx + 0x4148]
mov byte [rax + 0xf5], 1
mov rax, qword [rcx + 0x4148]
movss xmm0, dword [rax + 0x184]
subss xmm0, dword [rcx + 0x3a6c]
movss dword [rax + 0x184], xmm0
addss xmm0, dword [rax + 0x58]
addss xmm0, dword [rax + 0x188]
movss dword [rax + 0x140], xmm0
movzx eax, byte [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140244f00
mov rbx, qword [rsp + 0xb0]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret