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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1402d4040]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r13, r9
mov r15, rdx
mov qword [rbp - 0x20], rdx
mov r12, rcx
mov ebx, 0xffffffff
mov eax, ebx
lea r10, [0x14027f680]
lea r8, str.RenderGraphNode_Resource_Texture
lea r9, [0x14028bec0]
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 0x1401380e1
not eax
mov edi, dword [rbp + 0x60]
mov ecx, edi
shl ecx, 6
mov edx, edi
shr edx, 2
add eax, ecx
add edx, 0x9e3779b9
add eax, edx
xor edi, eax
test r15, r15
je 0x1401381a0
cmp byte [r15], 0
je 0x1401381a0
mov rcx, r15
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, r15
call fcn.140022100
mov ecx, 0x400
call fcn.1400163c0
test al, al
je 0x1401381a0
lea rdx, str.Declares_a_texture
lea rcx, [0x1402641f4]
call fcn.140026740
mov dword [rsp + 0x20], edi
mov r9, r13
mov rcx, r12
call fcn.1401375a0
movzx r14d, al
lea rdx, str.visibility
lea rcx, [rbp - 0x40]
call fcn.1401137d0
lea rcx, [rbp - 0x40]
call fcn.1400050e0
lea rdx, str.visibility
lea rcx, [rbp - 0x40]
call fcn.1401137d0
nop
cmp qword [rax + 0x18], 0xf
jbe 0x1401381e7
mov rax, qword [rax]
lea r9, [r13 + 0x120]
lea r8, str.Who_can_see_the_texture_and_who_owns_it
mov rdx, rax
call fcn.14012c0f0
or r14b, al
lea rcx, [rbp - 0x40]
call fcn.1400050e0
lea rdx, str.format
lea rcx, [rbp - 0x40]
call fcn.1401137d0
nop
cmp qword [rax + 0x18], 0xf
jbe 0x140138224
mov rax, qword [rax]
test rax, rax
je 0x14013823c
xor edx, edx
mov rcx, rax
call fcn.1400abfb0
test al, al
jne 0x14013823c
xor sil, sil
jmp 0x14013823f
mov sil, 1
lea rcx, [rbp - 0x40]
call fcn.1400050e0
test sil, sil
je 0x1401382e4
mov eax, ebx
lea r10, [0x14027c952]
lea r8, str.format
lea r9, [0x14028bec0]
nop dword [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 0x140138270
not eax
mov esi, edi
shl esi, 6
mov r8d, edi
shr r8d, 2
add esi, eax
add r8d, 0x9e3779b9
add esi, r8d
xor esi, edi
lea rdx, str.format
lea rcx, [rbp - 0x40]
call fcn.1401137d0
nop
cmp qword [rax + 0x18], 0xf
jbe 0x1401382c2
mov rax, qword [rax]
lea r9, [r13 + 0x128]
mov dword [rsp + 0x20], esi
mov rdx, rax
mov rcx, r12
call fcn.1401358a0
or r14b, al
lea rcx, [rbp - 0x40]
call fcn.1400050e0
lea rdx, str.size
lea rcx, [rbp - 0x40]
call fcn.1401137d0
mov r9, rax
cmp qword [rax + 0x18], 0xf
jbe 0x140138301
mov r9, qword [rax]
lea rax, [r13 + 0x188]
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x28], rax
mov edx, 2
call fcn.14015bbb0
mov esi, eax
lea rcx, [rbp - 0x40]
call fcn.1400050e0
cmp esi, 1
jne 0x1401383c4
lea r9, [0x14026f6e8]
lea r8, str.size
lea r15, [0x14028bec0]
nop dword [rax + rax]
movsx ecx, byte [r8]
mov eax, ebx
xor rcx, rax
movzx eax, cl
shr ebx, 8
xor ebx, dword [r15 + rax*4]
inc r8
cmp r8, r9
jne 0x140138350
not ebx
mov eax, edi
shl eax, 6
mov ecx, edi
shr ecx, 2
add ebx, eax
add ecx, 0x9e3779b9
add ebx, ecx
xor ebx, edi
lea rdx, str.size
lea rcx, [rbp - 0x40]
call fcn.1401137d0
nop
cmp qword [rax + 0x18], 0xf
mov r15, qword [rbp - 0x20]
jbe 0x1401383a2
mov rax, qword [rax]
lea r9, [r13 + 0x188]
mov dword [rsp + 0x20], ebx
mov rdx, rax
mov rcx, r12
call fcn.140133f50
or r14b, al
lea rcx, [rbp - 0x40]
call fcn.1400050e0
lea rdx, str.numMips
lea rcx, [rbp - 0x40]
call fcn.1401137d0
nop
lea rcx, [rbp - 0x40]
call fcn.1400050e0
lea rdx, str.numMips
lea rcx, [rbp - 0x40]
call fcn.1401137d0
nop
cmp qword [rax + 0x18], 0xf
jbe 0x1401383f9
mov rax, qword [rax]
lea r9, [r13 + 0x210]
lea r8, str.The_number_of_mips_the_texture_should_have._0_means_the_full_set._1_means_just_the_full_size_image__and_no_smaller_mips.
mov rdx, rax
call fcn.140116d40
or r14b, al
lea rcx, [rbp - 0x40]
call fcn.1400050e0
lea rdx, str.dimension
lea rcx, [rbp - 0x40]
call fcn.1401137d0
lea rcx, [rbp - 0x40]
call fcn.1400050e0
lea rdx, str.dimension
lea rcx, [rbp - 0x40]
call fcn.1401137d0
nop
cmp qword [rax + 0x18], 0xf
jbe 0x14013844f
mov rax, qword [rax]
lea r9, [r13 + 0x214]
mov rdx, rax
call fcn.140120b80
or r14b, al
lea rcx, [rbp - 0x40]
call fcn.1400050e0
lea rdx, str.loadFileName
lea rcx, [rbp - 0x40]
call fcn.1401137d0
nop
lea rcx, [rbp - 0x40]
call fcn.1400050e0
lea rdx, str.loadFileNameAsSRGB
lea rcx, [rbp - 0x40]
call fcn.1401137d0
nop
lea rcx, [rbp - 0x40]
call fcn.1400050e0
test r15, r15
je 0x1401384ff
cmp byte [r15], 0
je 0x1401384ff
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, r14b
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140244f00
mov rbx, qword [rsp + 0xd0]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret