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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x17]
sub rsp, 0xc8
mov rax, qword [0x1402d4040]
xor rax, rsp
mov qword [rbp + 7], rax
mov r13, r9
mov rdi, rdx
mov qword [rbp - 0x29], rdx
mov r14, rcx
mov qword [rbp - 0x31], rcx
mov ebx, 0xffffffff
mov eax, ebx
lea r9, [0x14027bd76]
lea r10, str.Shader
lea r15, [0x14028bec0]
nop dword [rax]
nop dword [rax + rax]
movsx edx, byte [r10]
mov ecx, eax
xor rdx, rcx
movzx ecx, dl
shr eax, 8
xor eax, dword [r15 + rcx*4]
inc r10
cmp r10, r9
jne 0x140127840
not eax
mov esi, dword [rbp + 0x7f]
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 [rbp - 1], 0
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x30], esi
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r8
mov r9, rdi
lea r8, [rbp - 1]
xor edx, edx
mov rcx, r14
call fcn.140140640
test eax, eax
je 0x140128428
test rdi, rdi
je 0x14012792d
cmp byte [rdi], 0
je 0x14012792d
mov rcx, rdi
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, rdi
call fcn.140022100
mov ecx, 0x400
call fcn.1400163c0
test al, al
je 0x14012792d
lea rdx, str.A_declaration_of_a_shader
lea rcx, [0x1402641f4]
call fcn.140026740
mov eax, ebx
lea r9, [0x14027c500]
lea r8, str.name
nop dword [rax]
movsx edx, byte [r8]
mov ecx, eax
xor rdx, rcx
movzx ecx, dl
shr eax, 8
xor eax, dword [r15 + rcx*4]
inc r8
cmp r8, r9
jne 0x140127940
not eax
mov r12d, esi
shl r12d, 6
mov ecx, esi
shr ecx, 2
add r12d, ecx
lea edi, [r12 - 0x61c88647]
add edi, eax
xor edi, esi
lea rdx, str.name
lea rcx, [rbp - 0x71]
call fcn.1401137d0
nop
cmp qword [rax + 0x18], 0xf
jbe 0x140127993
mov rax, qword [rax]
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x28], r13
lea rcx, str.The_name_of_the_shader__as_it_will_be_referenced_by_nodes
mov qword [rsp + 0x20], rcx
mov r9, rax
lea r8, [rbp - 1]
xor edx, edx
mov rcx, r14
call fcn.14011aca0
mov r14d, eax
cmp byte [rbp - 1], 0
je 0x1401279d8
cmp edi, 0x9bca5295
jne 0x1401279d8
call fcn.140143df0
nop
lea rcx, [rbp - 0x71]
call fcn.1400050e0
cmp r14d, 1
jne 0x140127a66
mov eax, ebx
lea r8, str.name
lea r9, [0x14027c500]
nop word [rax + rax]
movsx edx, byte [r8]
mov ecx, eax
xor rdx, rcx
movzx ecx, dl
shr eax, 8
xor eax, dword [r15 + rcx*4]
inc r8
cmp r8, r9
jne 0x140127a00
not eax
lea edi, [r12 - 0x61c88647]
add edi, eax
xor edi, esi
lea rdx, str.name
lea rcx, [rbp - 0x71]
call fcn.1401137d0
nop
cmp qword [rax + 0x18], 0xf
jbe 0x140127a44
mov rax, qword [rax]
mov dword [rsp + 0x20], edi
mov r9, r13
lea r8, str.The_name_of_the_shader__as_it_will_be_referenced_by_nodes
mov rdx, rax
call fcn.140116c00
or byte [rbp - 1], al
lea rcx, [rbp - 0x71]
call fcn.1400050e0
mov eax, ebx
lea r9, [0x14027c700]
lea r8, str.fileName
nop word [rax + rax]
movsx edx, byte [r8]
mov ecx, eax
xor rdx, rcx
movzx ecx, dl
shr eax, 8
xor eax, dword [r15 + rcx*4]
inc r8
cmp r8, r9
jne 0x140127a80
not eax
lea edi, [r12 - 0x61c88647]
add edi, eax
xor edi, esi
lea rdx, str.fileName
lea rcx, [rbp - 0x71]
call fcn.1401137d0
nop
cmp qword [rax + 0x18], 0xf
jbe 0x140127ac4
mov rax, qword [rax]
lea r15, [r13 + 0x20]
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x28], r15
lea rcx, str.The_file_name_of_the_shader_file.
mov qword [rsp + 0x20], rcx
mov r9, rax
lea r8, [rbp - 1]
xor edx, edx
mov rcx, qword [rbp - 0x31]
call fcn.14011aca0
mov r14d, eax
cmp byte [rbp - 1], 0
je 0x140127b0e
cmp edi, 0x9bca5295
jne 0x140127b0e
call fcn.140143df0
nop
lea rcx, [rbp - 0x71]
call fcn.1400050e0
cmp r14d, 1
lea r14, [0x14028bec0]
jne 0x140127ba6
mov eax, ebx
lea r8, str.fileName
lea r9, [0x14027c700]
nop dword [rax + rax]
movsx edx, byte [r8]
mov ecx, eax
xor rdx, rcx
movzx ecx, dl
shr eax, 8
xor eax, dword [r14 + rcx*4]
inc r8
cmp r8, r9
jne 0x140127b40
not eax
lea edi, [r12 - 0x61c88647]
add edi, eax
xor edi, esi
lea rdx, str.fileName
lea rcx, [rbp - 0x71]
call fcn.1401137d0
nop
cmp qword [rax + 0x18], 0xf
jbe 0x140127b84
mov rax, qword [rax]
mov dword [rsp + 0x20], edi
mov r9, r15
lea r8, str.The_file_name_of_the_shader_file.
mov rdx, rax
call fcn.140116c00
or byte [rbp - 1], al
lea rcx, [rbp - 0x71]
call fcn.1400050e0
lea rdx, str.destFileName
lea rcx, [rbp - 0x71]
call fcn.1401137d0
nop
lea rcx, [rbp - 0x71]
call fcn.1400050e0
lea rdx, str.type
lea rcx, [rbp - 0x71]
call fcn.1401137d0
lea rcx, [rbp - 0x71]
call fcn.1400050e0
mov eax, ebx
lea r9, [0x14027c540]
lea r8, str.type
nop dword [rax]
movsx edx, byte [r8]
mov ecx, eax
xor rdx, rcx
movzx ecx, dl
shr eax, 8
xor eax, dword [r14 + rcx*4]
inc r8
cmp r8, r9
jne 0x140127bf0
not eax
lea edi, [r12 - 0x61c88647]
add edi, eax
xor edi, esi
lea rdx, str.type
lea rcx, [rbp - 0x71]
call fcn.1401137d0
nop
cmp qword [rax + 0x18], 0xf
jbe 0x140127c34
mov rax, qword [rax]
lea r9, [r13 + 0x60]
mov dword [rsp + 0x20], edi
lea r8, str.The_type_of_shader_it_is
mov rdx, rax
mov r14, qword [rbp - 0x31]
mov rcx, r14
call fcn.140121240
or byte [rbp - 1], al
lea rcx, [rbp - 0x71]
call fcn.1400050e0
mov eax, ebx
lea r10, [0x14027c722]
lea r8, str.entryPoint
lea r9, [0x14028bec0]
nop word [rax + rax]
movsx edx, byte [r8]
mov ecx, eax
xor rdx, rcx
movzx ecx, dl
shr eax, 8
xor eax, dword [r9 + rcx*4]
inc r8
cmp r8, r10
jne 0x140127c80
not eax
lea edi, [r12 - 0x61c88647]
add edi, eax
xor edi, esi
lea rdx, str.entryPoint
lea rcx, [rbp - 0x71]
call fcn.1401137d0
nop
cmp qword [rax + 0x18], 0xf
jbe 0x140127cc4
mov rax, qword [rax]
lea r15, [r13 + 0x68]
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x28], r15
lea rcx, str.The_shader_entrypoint.
mov qword [rsp + 0x20], rcx
mov r9, rax
lea r8, [rbp - 1]
xor edx, edx
mov rcx, r14
call fcn.14011aca0
mov r14d, eax
cmp byte [rbp - 1], 0
je 0x140127d0d
cmp edi, 0x9bca5295
jne 0x140127d0d
call fcn.140143df0
nop
lea rcx, [rbp - 0x71]
call fcn.1400050e0
cmp r14d, 1
lea r14, [0x14028bec0]
jne 0x140127da6
mov eax, ebx
lea r8, str.entryPoint
lea r9, [0x14027c722]
nop word [rax + rax]
movsx edx, byte [r8]
mov ecx, eax
xor rdx, rcx
movzx ecx, dl
shr eax, 8
xor eax, dword [r14 + rcx*4]
inc r8
cmp r8, r9
jne 0x140127d40
not eax
lea edi, [r12 - 0x61c88647]
add edi, eax
xor edi, esi
lea rdx, str.entryPoint
lea rcx, [rbp - 0x71]
call fcn.1401137d0
nop
cmp qword [rax + 0x18], 0xf
jbe 0x140127d84
mov rax, qword [rax]
mov dword [rsp + 0x20], edi
mov r9, r15
lea r8, str.The_shader_entrypoint.
mov rdx, rax
call fcn.140116c00
or byte [rbp - 1], al
lea rcx, [rbp - 0x71]
call fcn.1400050e0
lea rdx, str.defines
lea rcx, [rbp - 0x71]
call fcn.1401137d0
nop
cmp qword [rax + 0x18], 0xf
jbe 0x140127dc1
mov rax, qword [rax]
test rax, rax
je 0x140127dd9
xor edx, edx
mov rcx, rax
call fcn.1400abfb0
test al, al
jne 0x140127dd9
xor dil, dil
jmp 0x140127ddc
mov dil, 1
lea rcx, [rbp - 0x71]
call fcn.1400050e0
test dil, dil
je 0x140127e73
mov eax, ebx
lea r9, [0x14027c72f]
lea r8, str.defines
nop
movsx edx, byte [r8]
mov ecx, eax
xor rdx, rcx
movzx ecx, dl
shr eax, 8
xor eax, dword [r14 + rcx*4]
inc r8
cmp r8, r9
jne 0x140127e00
not eax
lea edi, [r12 - 0x61c88647]
add edi, eax
xor edi, esi
lea rdx, str.defines
lea rcx, [rbp - 0x71]
call fcn.1401137d0
nop
cmp qword [rax + 0x18], 0xf
jbe 0x140127e44
mov rax, qword [rax]
lea r9, [r13 + 0x88]
mov dword [rsp + 0x20], edi
lea r8, str.The_defines_the_shader_is_compiled_with.
mov rdx, rax
mov r15, qword [rbp - 0x31]
mov rcx, r15
call fcn.140158bc0
or byte [rbp - 1], al
lea rcx, [rbp - 0x71]
call fcn.1400050e0
jmp 0x140127e77
mov r15, qword [rbp - 0x31]
lea rdx, str.CSNumThreads
lea rcx, [rbp - 0x71]
call fcn.1401137d0
nop
lea rcx, [rbp - 0x71]
call fcn.1400050e0
lea rdx, str.NumThreads
lea rcx, [rbp - 0x71]
call fcn.1401137d0
nop
lea rcx, [rbp - 0x71]
call fcn.1400050e0
lea rdx, str.NumThreads
lea rcx, [rbp - 0x71]
call fcn.1401137d0
nop
cmp qword [rax + 0x18], 0xf
jbe 0x140127ec6
mov rax, qword [rax]
lea r9, [r13 + 0xac]
mov qword [rsp + 0x28], 0x20
lea r8, str.The_number_of_threads_each_dispatch_has__for_applicable_shader_types._64_1_1_suggested_for_1d._8_8_1_for_2d._4_4_4_for_3d.
mov rdx, rax
call fcn.140159550
or byte [rbp - 1], al
lea rcx, [rbp - 0x71]
call fcn.1400050e0
lea rdx, str.copyFile
lea rcx, [rbp - 0x71]
call fcn.1401137d0
nop
lea rcx, [rbp - 0x71]
call fcn.1400050e0
lea rdx, str.copyFile
lea rcx, [rbp - 0x71]
call fcn.1401137d0
nop
cmp qword [rax + 0x18], 0xf
jbe 0x140127f26
mov rax, qword [rax]
lea rdx, [r13 + 0xb8]
mov rcx, rax
call fcn.1400979f0
movzx edi, al
mov ecx, 0x400
call fcn.1400163c0
test al, al
je 0x140127f59
lea rdx, str.if_false__will_not_copy_the_file_over._A_hackaround_for_when_you_have_multiple_raytracing_shaders_in_the_same_file._TODO:_resolve_this_better.
lea rcx, [0x1402641f4]
call fcn.140026740
or byte [rbp - 1], dil
lea rcx, [rbp - 0x71]
call fcn.1400050e0
lea rdx, str.slangOptions
lea rcx, [rbp - 0x71]
call fcn.1401137d0
lea rcx, [rbp - 0x71]
call fcn.1400050e0
lea rdx, str.slangOptions
lea rcx, [rbp - 0x51]
call fcn.1401137d0
mov rdi, rax
cmp qword [rax + 0x18], 0xf
jbe 0x140127f9c
mov rdi, qword [rax]
test rdi, rdi
je 0x140128020
cmp byte [rdi], 0
je 0x140128020
mov rcx, rdi
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, rdi
call fcn.140022100
mov ecx, 0x400
call fcn.1400163c0
test al, al
je 0x140128020
lea rdx, str.A_declaration_of_a_shader
lea rcx, [0x1402641f4]
call fcn.140026740
lea rdx, str.process
lea rcx, [rbp - 0x71]
call fcn.1401137d0
nop
lea rcx, [rbp - 0x71]
call fcn.1400050e0
lea rdx, str.process
lea rcx, [rbp - 0x21]
call fcn.1401137d0
nop
cmp qword [rax + 0x18], 0xf
jbe 0x140128055
mov rax, qword [rax]
lea rdx, [r13 + 0xb9]
mov rcx, rax
call fcn.1400979f0
movzx r14d, al
mov ecx, 0x400
call fcn.1400163c0
test al, al
je 0x14012808a
lea rdx, str.if_true__this_shader_will_be_processed_by_slang
lea rcx, [0x1402641f4]
call fcn.140026740
nop
lea rcx, [rbp - 0x21]
call fcn.1400050e0
test rdi, rdi
je 0x1401280f3
cmp byte [rdi], 0
je 0x1401280f3
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
or byte [rbp - 1], r14b
lea rcx, [rbp - 0x51]
call fcn.1400050e0
lea rdx, str.backends
lea rcx, [rbp - 0x51]
call fcn.1401137d0
nop
cmp qword [rax + 0x18], 0xf
jbe 0x14012811b
mov rax, qword [rax]
lea r14, [r13 + 0xc0]
mov qword [rsp + 0x28], r14
mov r9, rax
lea r8, [rbp - 1]
mov edx, 2
call fcn.140157ca0
mov edi, eax
lea rcx, [rbp - 0x51]
call fcn.1400050e0
cmp edi, 1
jne 0x1401281bf
mov eax, ebx
lea r10, [0x14027c4e8]
lea r8, str.backends
lea r9, [0x14028bec0]
nop
movsx edx, byte [r8]
mov ecx, eax
xor rdx, rcx
movzx ecx, dl
shr eax, 8
xor eax, dword [r9 + rcx*4]
inc r8
cmp r8, r10
jne 0x140128160
not eax
lea edi, [r12 - 0x61c88647]
add edi, eax
xor edi, esi
lea rdx, str.backends
lea rcx, [rbp - 0x51]
call fcn.1401137d0
nop
cmp qword [rax + 0x18], 0xf
jbe 0x1401281a4
mov rax, qword [rax]
mov dword [rsp + 0x20], edi
mov r9, r14
mov rdx, rax
call fcn.14011be80
or byte [rbp - 1], al
lea rcx, [rbp - 0x51]
call fcn.1400050e0
lea rdx, str.resources
lea rcx, [rbp - 0x51]
call fcn.1401137d0
nop
cmp qword [rax + 0x18], 0xf
jbe 0x1401281da
mov rax, qword [rax]
test rax, rax
je 0x1401281f2
xor edx, edx
mov rcx, rax
call fcn.1400abfb0
test al, al
jne 0x1401281f2
xor dil, dil
jmp 0x1401281f5
mov dil, 1
lea rcx, [rbp - 0x51]
call fcn.1400050e0
lea r14, [0x14028bec0]
test dil, dil
je 0x140128286
mov eax, ebx
lea r9, [0x14027c779]
lea r8, str.resources
nop word [rax + rax]
movsx edx, byte [r8]
mov ecx, eax
xor rdx, rcx
movzx ecx, dl
shr eax, 8
xor eax, dword [r14 + rcx*4]
inc r8
cmp r8, r9
jne 0x140128220
not eax
lea edi, [r12 - 0x61c88647]
add edi, eax
xor edi, esi
lea rdx, str.resources
lea rcx, [rbp - 0x51]
call fcn.1401137d0
nop
cmp qword [rax + 0x18], 0xf
jbe 0x140128264
mov rax, qword [rax]
lea r9, [r13 + 0xe0]
mov dword [rsp + 0x20], edi
mov rdx, rax
mov rcx, r15
call fcn.1401598c0
or byte [rbp - 1], al
lea rcx, [rbp - 0x51]
call fcn.1400050e0
lea rdx, str.samplers
lea rcx, [rbp - 0x51]
call fcn.1401137d0
nop
cmp qword [rax + 0x18], 0xf
jbe 0x1401282a1
mov rax, qword [rax]
test rax, rax
je 0x1401282b9
xor edx, edx
mov rcx, rax
call fcn.1400abfb0
test al, al
jne 0x1401282b9
xor dil, dil
jmp 0x1401282bc
mov dil, 1
lea rcx, [rbp - 0x51]
call fcn.1400050e0
test dil, dil
je 0x140128345
lea r9, [0x14027c788]
lea r8, str.samplers
nop dword [rax + rax]
movsx ecx, byte [r8]
mov eax, ebx
xor rcx, rax
movzx eax, cl
shr ebx, 8
xor ebx, dword [r14 + rax*4]
inc r8
cmp r8, r9
jne 0x1401282e0
not ebx
add ebx, 0x9e3779b9
add ebx, r12d
xor ebx, esi
lea rdx, str.samplers
lea rcx, [rbp - 0x51]
call fcn.1401137d0
nop
cmp qword [rax + 0x18], 0xf
jbe 0x140128323
mov rax, qword [rax]
lea r9, [r13 + 0xf8]
mov dword [rsp + 0x20], ebx
mov rdx, rax
mov rcx, r15
call fcn.14015a570
or byte [rbp - 1], al
lea rcx, [rbp - 0x51]
call fcn.1400050e0
lea rdx, str.constantBuffers
lea rcx, [rbp - 0x51]
call fcn.1401137d0
lea rcx, [rbp - 0x51]
call fcn.1400050e0
lea rdx, str.loadedTextureRefs
lea rcx, [rbp - 0x51]
call fcn.1401137d0
lea rcx, [rbp - 0x51]
call fcn.1400050e0
lea rdx, str.entryPointW
lea rcx, [rbp - 0x51]
call fcn.1401137d0
lea rcx, [rbp - 0x51]
call fcn.1400050e0
lea rdx, str.originalName
lea rcx, [rbp - 0x51]
call fcn.1401137d0
nop
lea rcx, [rbp - 0x51]
call fcn.1400050e0
lea rdx, str.scope
lea rcx, [rbp - 0x51]
call fcn.1401137d0
nop
lea rcx, [rbp - 0x51]
call fcn.1400050e0
mov rax, qword [rbp - 0x29]
test rax, rax
je 0x140128428
cmp byte [rax], 0
je 0x140128428
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 [rbp - 1]
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.140244f00
add rsp, 0xc8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret