Function at 0x1401363e0
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
lea rbp, [rsp - 0x1f]
sub rsp, 0xa0
mov rax, qword [0x1402d4040]
xor rax, rsp
mov qword [rbp + 0xf], rax
mov r13, r9
mov r15, rdx
mov qword [rbp - 0x21], rdx
mov qword [rbp + 7], rcx
mov ebx, 0xffffffff
mov eax, ebx
lea r9, [0x14027f12b]
lea r8, str.ColorTargetSettings
lea r12, [0x14028bec0]
nop dword [rax]
nop dword [rax + rax]
movsx edx, byte [r8]
mov ecx, eax
xor rdx, rcx
movzx ecx, dl
shr eax, 8
xor eax, dword [r12 + rcx*4]
inc r8
cmp r8, r9
jne 0x140136440
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
test r15, r15
je 0x1401364ff
cmp byte [r15], 0
je 0x1401364ff
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 0x1401364ff
lea rdx, str.Settings_for_a_color_target_in_a_draw_call
lea rcx, [0x1402641f4]
call fcn.140026740
lea rdx, str.clear
lea rcx, [rbp - 0x41]
call fcn.1401137d0
nop
lea rcx, [rbp - 0x41]
call fcn.1400050e0
lea rdx, str.clear
lea rcx, [rbp - 0x41]
call fcn.1401137d0
nop
cmp qword [rax + 0x18], 0xf
jbe 0x140136534
mov rax, qword [rax]
mov rdx, r13
mov rcx, rax
call fcn.1400979f0
movzx r14d, al
mov ecx, 0x400
call fcn.1400163c0
test al, al
je 0x140136565
lea rdx, str.If_true__clears_the_color_target_before_drawing
lea rcx, [0x1402641f4]
call fcn.140026740
nop
lea rcx, [rbp - 0x41]
call fcn.1400050e0
lea rdx, str.clearColor
lea rcx, [rbp - 0x41]
call fcn.1401137d0
lea rcx, [rbp - 0x41]
call fcn.1400050e0
lea rdx, str.clearColor
lea rcx, [rbp - 0x41]
call fcn.1401137d0
nop
cmp qword [rax + 0x18], 0xf
jbe 0x1401365a2
mov rax, qword [rax]
lea r9, [r13 + 4]
mov rdx, rax
call fcn.14015c040
or r14b, al
lea rcx, [rbp - 0x41]
call fcn.1400050e0
lea rdx, str.writeChannels
lea rcx, [rbp - 0x41]
call fcn.1401137d0
lea rcx, [rbp - 0x41]
call fcn.1400050e0
lea rdx, str.writeChannels
lea rcx, [rbp - 0x41]
call fcn.1401137d0
nop
cmp qword [rax + 0x18], 0xf
jbe 0x1401365ee
mov rax, qword [rax]
lea r9, [r13 + 0x14]
mov rdx, rax
call fcn.14015c280
or r14b, al
lea rcx, [rbp - 0x41]
call fcn.1400050e0
lea rdx, str.enableBlending
lea rcx, [rbp - 0x41]
call fcn.1401137d0
nop
lea rcx, [rbp - 0x41]
call fcn.1400050e0
lea rdx, str.enableBlending
lea rcx, [rbp - 0x41]
call fcn.1401137d0
nop
cmp qword [rax + 0x18], 0xf
jbe 0x14013663b
mov rax, qword [rax]
lea rdx, [r13 + 0x18]
mov rcx, rax
call fcn.1400979f0
movzx edi, al
mov ecx, 0x400
call fcn.1400163c0
test al, al
je 0x14013666b
lea rdx, str.Enables_alpha_blending
lea rcx, [0x1402641f4]
call fcn.140026740
or r14b, dil
lea rcx, [rbp - 0x41]
call fcn.1400050e0
lea rdx, str.srcBlend
lea rcx, [rbp - 0x41]
call fcn.1401137d0
lea rcx, [rbp - 0x41]
call fcn.1400050e0
mov eax, ebx
lea r9, [0x14027c9b0]
lea r8, str.srcBlend
movsx edx, byte [r8]
mov ecx, eax
xor rdx, rcx
movzx ecx, dl
shr eax, 8
xor eax, dword [r12 + rcx*4]
inc r8
cmp r8, r9
jne 0x1401366a0
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.srcBlend
lea rcx, [rbp - 0x41]
call fcn.1401137d0
nop
cmp qword [rax + 0x18], 0xf
jbe 0x1401366f3
mov rax, qword [rax]
lea r9, [r13 + 0x1c]
mov dword [rsp + 0x20], edi
lea r8, [0x140262727]
mov rdx, rax
mov rcx, qword [rbp + 7]
call fcn.14012d940
or r14b, al
lea rcx, [rbp - 0x41]
call fcn.1400050e0
lea rdx, str.destBlend
lea rcx, [rbp - 0x41]
call fcn.1401137d0
lea rcx, [rbp - 0x41]
call fcn.1400050e0
mov eax, ebx
lea r10, [0x14027c9c1]
lea r8, str.destBlend
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 0x140136750
not eax
lea edi, [r12 - 0x61c88647]
add edi, eax
xor edi, esi
lea rdx, str.destBlend
lea rcx, [rbp - 0x41]
call fcn.1401137d0
nop
cmp qword [rax + 0x18], 0xf
jbe 0x140136794
mov rax, qword [rax]
lea r9, [r13 + 0x20]
mov dword [rsp + 0x20], edi
lea r8, [0x140262727]
mov rdx, rax
mov rcx, qword [rbp + 7]
call fcn.14012d940
or r14b, al
lea rcx, [rbp - 0x41]
call fcn.1400050e0
lea rdx, str.srcBlendAlpha
lea rcx, [rbp - 0x41]
call fcn.1401137d0
lea rcx, [rbp - 0x41]
call fcn.1400050e0
mov eax, ebx
lea r9, [0x14027c9d5]
lea r8, str.srcBlendAlpha
lea r15, [0x14028bec0]
nop dword [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 0x1401367f0
not eax
lea edi, [r12 - 0x61c88647]
add edi, eax
xor edi, esi
lea rdx, str.srcBlendAlpha
lea rcx, [rbp - 0x41]
call fcn.1401137d0
nop
cmp qword [rax + 0x18], 0xf
mov r15, qword [rbp - 0x21]
jbe 0x140136838
mov rax, qword [rax]
lea r9, [r13 + 0x24]
mov dword [rsp + 0x20], edi
lea r8, [0x140262727]
mov rdx, rax
mov rcx, qword [rbp + 7]
call fcn.14012d940
or r14b, al
lea rcx, [rbp - 0x41]
call fcn.1400050e0
lea rdx, str.destBlendAlpha
lea rcx, [rbp - 0x41]
call fcn.1401137d0
lea rcx, [rbp - 0x41]
call fcn.1400050e0
lea r9, [0x14027c9e6]
lea r8, str.destBlendAlpha
lea rdi, [0x14028bec0]
nop dword [rax]
movsx ecx, byte [r8]
mov eax, ebx
xor rcx, rax
movzx eax, cl
shr ebx, 8
xor ebx, dword [rdi + rax*4]
inc r8
cmp r8, r9
jne 0x140136890
not ebx
add ebx, 0x9e3779b9
add ebx, r12d
xor ebx, esi
lea rdx, str.destBlendAlpha
lea rcx, [rbp - 0x41]
call fcn.1401137d0
nop
cmp qword [rax + 0x18], 0xf
mov rdi, qword [rbp + 7]
jbe 0x1401368d6
mov rax, qword [rax]
lea r9, [r13 + 0x28]
mov dword [rsp + 0x20], ebx
lea r8, [0x140262727]
mov rdx, rax
mov rcx, rdi
call fcn.14012d940
or r14b, al
lea rcx, [rbp - 0x41]
call fcn.1400050e0
lea rdx, str.arrayIndex
lea rcx, [rbp - 0x41]
call fcn.1401137d0
nop
lea rcx, [rbp - 0x41]
call fcn.1400050e0
lea rdx, str.arrayIndex
lea rcx, [rbp - 0x41]
call fcn.1401137d0
nop
cmp qword [rax + 0x18], 0xf
jbe 0x140136931
mov rax, qword [rax]
mov dword [rbp + 7], 0x64
lea r8, [r13 + 0x2c]
xor edi, edi
mov dword [rsp + 0x30], edi
lea rsi, [0x14026476c]
mov qword [rsp + 0x28], rsi
lea rcx, [rbp + 7]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
lea edx, [rdi + 4]
mov rcx, rax
call fcn.14009e7b0
movzx ebx, al
mov ecx, 0x400
call fcn.1400163c0
test al, al
je 0x140136989
lea rdx, str.The_array_index__for_Texture2DArray__Texture3D_etc
lea rcx, [0x1402641f4]
call fcn.140026740
or r14b, bl
lea rcx, [rbp - 0x41]
call fcn.1400050e0
lea rdx, str.mipLevel
lea rcx, [rbp - 0x41]
call fcn.1401137d0
nop
lea rcx, [rbp - 0x41]
call fcn.1400050e0
lea rdx, str.mipLevel
lea rcx, [rbp - 0x19]
call fcn.1401137d0
nop
cmp qword [rax + 0x18], 0xf
jbe 0x1401369ca
mov rax, qword [rax]
mov dword [rbp + 7], 0x64
lea r8, [r13 + 0x30]
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x28], rsi
lea r9, [rbp + 7]
mov qword [rsp + 0x20], r9
xor r9d, r9d
lea edx, [r9 + 4]
mov rcx, rax
call fcn.14009e7b0
movzx ebx, al
mov ecx, 0x400
call fcn.1400163c0
test al, al
je 0x140136a1a
lea rdx, str.The_mip_to_use
lea rcx, [0x1402641f4]
call fcn.140026740
or r14b, bl
lea rcx, [rbp - 0x19]
call fcn.1400050e0
test r15, r15
je 0x140136a87
cmp byte [r15], 0
je 0x140136a87
mov rdx, qword [0x1402dc618]
mov rax, qword [rdx + 0x4148]
dec dword [rax + 0x130]
mov rcx, qword [rdx + 0x4148]
mov byte [rcx + 0xf5], 1
mov rcx, qword [rdx + 0x4148]
movss xmm0, dword [rcx + 0x184]
subss xmm0, dword [rdx + 0x3a6c]
movss dword [rcx + 0x184], xmm0
addss xmm0, dword [rcx + 0x58]
addss xmm0, dword [rcx + 0x188]
movss dword [rcx + 0x140], xmm0
movzx eax, r14b
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.140244f00
mov rbx, qword [rsp + 0xf0]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret