Function at 0x1800170a4
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
xor r13d, r13d
mov rsi, r9
mov r15, r8
mov ebx, edx
mov rdi, rcx
test r8, r8
je 0x1800170d3
mov r14d, dword [r8]
jmp 0x1800170d9
mov r14d, 0xf
mov rax, qword [rcx + 0x38]
mov r12, qword [rax + 0x50]
cmp r14d, 6
jne 0x180017107
mov rcx, qword [r9 + 0x18]
mov rdx, r12
call fcn.1800d378c
mov rcx, qword [rsi + 0x18]
mov rdx, r12
test al, al
je 0x180017121
call fcn.1800d3850
mov r14d, dword [rax + 0x30]
mov ecx, r14d
cmp r14d, 5
je 0x180017132
mov eax, ecx
cmp ecx, 0xd
je 0x180017132
cmp eax, 0xe
je 0x180017132
mov r12b, r13b
jmp 0x180017135
call fcn.1800d3888
test al, al
je 0x18001711c
mov r14d, 3
jmp 0x18001711c
mov r12b, 1
cmp ebx, 0x50
ja 0x18001769c
je 0x1800175a1
cmp ebx, 0x40
ja 0x18001726f
je 0x18001725d
cmp ebx, 0x3a
ja 0x18001723e
je 0x18001725d
mov eax, ebx
sub eax, 4
je 0x180017738
sub eax, 1
je 0x180017738
sub eax, 0xa
je 0x1800176da
sub eax, 1
je 0x1800176da
sub eax, 7
je 0x1800176da
cmp eax, 0x22
jne 0x180017745
lea rbx, str.CreateHandle
cmp byte [rsi + 0x200], r13b
je 0x1800171f7
mov qword [rbp - 0x28], 2
lea rax, str.non_library_targets
mov qword [rbp - 0x10], rax
lea r9, [rbp - 0x30]
lea rax, [rbp - 0x20]
mov qword [rbp - 0x20], rbx
mov qword [rbp - 0x30], rax
mov r8d, 0xc7
movaps xmm0, xmmword [rbp - 0x30]
mov rdx, rdi
mov rcx, rsi
movdqa xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x18], 0xc
mov qword [rbp - 8], 0x13
call fcn.1800126bc
mov eax, dword [rsi + 0x214]
cmp eax, 1
je 0x18001720b
test eax, eax
je 0x180017218
cmp eax, 1
jmp 0x180017212
cmp dword [rsi + 0x218], 6
jb 0x180017745
mov qword [rbp - 0x20], rbx
lea rax, str.Shader_model_6.5_and_below
mov qword [rbp - 0x18], 0xc
mov qword [rbp - 8], 0x1a
mov r8d, 0xc7
jmp 0x1800174d5
mov eax, ebx
sub eax, 0x3b
je 0x18001725d
sub eax, 1
je 0x18001725d
sub eax, 1
je 0x18001725d
sub eax, 1
je 0x18001725d
cmp eax, 1
jne 0x180017745
mov r8, rsi
mov edx, ebx
mov rcx, rdi
call fcn.1800152b0
jmp 0x180017745
cmp ebx, 0x47
ja 0x180017506
je 0x18001725d
mov eax, ebx
sub eax, 0x41
je 0x18001725d
sub eax, 1
je 0x18001725d
sub eax, 1
je 0x18001725d
sub eax, 1
je 0x18001725d
sub eax, 1
je 0x18001725d
cmp eax, 1
jne 0x180017745
test byte [rdi + 0x20], 4
mov ebx, 0x1fffffff
je 0x1800172af
mov rax, qword [rdi - 8]
jmp 0x1800172c3
mov eax, dword [rdi + 0x1c]
and rax, rbx
lea rcx, [rax + rax*2]
mov rax, rdi
shl rcx, 3
sub rax, rcx
mov r15, qword [rax + 0x18]
lea rdx, [rbp + 0x40]
mov r8, r15
mov qword [rbp + 0x50], r15
mov rcx, rsi
call fcn.180013334
test byte [rbp + 0x41], 0x10
jne 0x1800172f1
mov r8d, 0x1b
mov rdx, rdi
mov rcx, rsi
call fcn.180012618
cmp byte [rbp + 0x40], 0xc
je 0x180017308
mov r8d, 0xa5
mov rdx, rdi
mov rcx, rsi
call fcn.180012618
test byte [rbp + 0x41], 0x80
jne 0x18001731f
mov r8d, 0x1a
mov rdx, rdi
mov rcx, rsi
call fcn.180012618
test byte [rdi + 0x20], 4
je 0x18001732b
mov rax, qword [rdi - 8]
jmp 0x18001733f
mov eax, dword [rdi + 0x1c]
and rax, rbx
lea rcx, [rax + rax*2]
mov rax, rdi
shl rcx, 3
sub rax, rcx
mov rbx, qword [rax + 0x30]
cmp byte [rbx + 0x18], 0xb
jne 0x1800174ad
test rbx, rbx
je 0x1800174ad
mov r14d, dword [rbx + 0x28]
lea rcx, [rbx + 0x28]
call fcn.18000dbe8
mov ecx, r14d
sub ecx, eax
cmp ecx, 0x40
ja 0x18001737c
mov rax, qword [rbx + 0x30]
cmp r14d, 0x40
jbe 0x180017380
mov rax, qword [rax]
jmp 0x180017380
or rax, 0xffffffffffffffff
cmp rax, 1
sete bl
cmp byte [rsi + 0x200], r13b
jne 0x180017745
movabs r8, 0xcbf29ce484222325
mov rdx, r13
mov rcx, r8
movabs r10, 0x100000001b3
movzx eax, byte [rbp + rdx + 0x50]
inc rdx
xor rcx, rax
imul rcx, r10
cmp rdx, 8
jb 0x1800173ae
mov rdx, qword [rsi + 0x130]
mov r9, qword [rsi + 0x108]
and rdx, rcx
mov rcx, qword [rsi + 0x118]
add rdx, rdx
mov rax, qword [rcx + rdx*8 + 8]
cmp rax, r9
je 0x1800173ff
mov rcx, qword [rcx + rdx*8]
jmp 0x1800173f7
cmp rax, rcx
je 0x1800173ff
mov rax, qword [rax + 8]
cmp r15, qword [rax + 0x10]
jne 0x1800173ee
jmp 0x180017402
mov rax, r13
test rax, rax
je 0x180017745
cmp rax, r9
je 0x180017745
mov edx, dword [rax + 0x18]
mov rcx, r13
mov dword [rbp + 0x48], edx
movzx eax, byte [rbp + rcx + 0x48]
inc rcx
xor r8, rax
imul r8, r10
cmp rcx, 4
jb 0x18001741d
mov rcx, qword [rsi + 0xf0]
and rcx, r8
mov r8, qword [rsi + 0xd8]
add rcx, rcx
mov rax, qword [r8 + rcx*8 + 8]
cmp rax, qword [rsi + 0xc8]
je 0x18001746a
mov r9, qword [r8 + rcx*8]
jmp 0x180017463
cmp rax, r9
je 0x18001746a
mov rax, qword [rax + 8]
cmp edx, dword [rax + 0x10]
jne 0x18001745a
jmp 0x18001746d
mov rax, r13
lea rcx, [rsi + 0xc0]
lea r8, [rbp + 0x48]
lea rdx, [rbp - 0x30]
test rax, rax
je 0x18001749d
call fcn.18002a50c
mov rcx, qword [rax]
cmp bl, byte [rcx + 0x14]
je 0x180017745
mov r8d, 0x40
jmp 0x180017665
call fcn.18002a50c
mov rcx, qword [rax]
mov byte [rcx + 0x14], bl
jmp 0x180017745
lea rax, [0x180135da4]
mov qword [rbp - 0x18], 3
mov qword [rbp - 0x20], rax
lea rax, str.BufferUpdateCounter
mov qword [rbp - 8], 0x13
mov r8d, 0x42
mov qword [rbp - 0x28], 2
lea r9, [rbp - 0x30]
mov qword [rbp - 0x10], rax
mov rdx, rdi
lea rax, [rbp - 0x20]
mov rcx, rsi
mov qword [rbp - 0x30], rax
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x30], xmm0
call fcn.1800126bc
jmp 0x180017745
mov eax, ebx
sub eax, 0x48
je 0x18001725d
sub eax, 1
je 0x18001725d
sub eax, 1
je 0x18001725d
sub eax, 4
je 0x180017531
cmp eax, 1
jne 0x180017745
mov rdx, qword [rdi - 0x18]
mov ecx, ebx
cmp byte [rdx + 0x18], 2
cmovne rdx, r13
call fcn.1800db46c
mov ecx, dword [rax + 8]
cmp cl, 0xa
jne 0x180017745
and ecx, 0xffffff00
cmp ecx, 0x4000
jne 0x180017745
cmp dword [r15 + 4], 6
ja 0x180017745
jne 0x18001757a
cmp dword [r15 + 8], 6
jae 0x180017745
lea rax, str.64_bit_atomic_operations
mov qword [rbp - 0x18], 0x18
mov qword [rbp - 0x20], rax
lea rax, str.Shader_Model_6.6
mov qword [rbp - 8], 0x11
jmp 0x180017233
test byte [rdi + 0x20], 4
je 0x1800175ad
mov rcx, qword [rdi - 8]
jmp 0x1800175c6
mov eax, dword [rdi + 0x1c]
mov ebx, 0x1fffffff
and rax, rbx
mov rcx, rdi
lea rax, [rax + rax*2]
shl rax, 3
sub rcx, rax
mov rbx, qword [rcx + 0x18]
cmp byte [rbx + 0x18], 0xb
jne 0x180017675
test rbx, rbx
je 0x180017675
mov r15d, dword [rbx + 0x28]
lea rcx, [rbx + 0x28]
call fcn.18000dbe8
mov ecx, r15d
sub ecx, eax
cmp ecx, 0x40
ja 0x180017609
cmp r15d, 0x40
ja 0x180017600
mov rcx, qword [rbx + 0x30]
jmp 0x18001760d
mov rax, qword [rbx + 0x30]
mov rcx, qword [rax]
jmp 0x18001760d
or rcx, 0xffffffffffffffff
test r12b, r12b
jne 0x180017629
cmp r14d, 6
je 0x180017629
cmp ecx, 2
je 0x180017745
mov r8d, 0x17
jmp 0x180017665
mov edx, ecx
mov eax, ecx
shr edx, 3
shr ecx, 2
and dl, 1
shr eax, 1
and cl, 1
test al, 1
je 0x18001764f
test cl, cl
je 0x180017745
mov r8d, 0x19
jmp 0x180017665
test dl, dl
jne 0x180017745
test cl, cl
jne 0x180017745
mov r8d, 0x18
mov rdx, rdi
mov rcx, rsi
call fcn.180012618
jmp 0x180017745
lea rax, str.Mode
mov qword [rbp - 0x18], 4
mov qword [rbp - 0x20], rax
lea rax, str.Barrier
mov qword [rbp - 8], 7
jmp 0x1800174cf
mov eax, 0x89
cmp ebx, eax
ja 0x18001770e
je 0x180017738
cmp ebx, 0x5b
ja 0x1800176e9
je 0x180017738
mov eax, ebx
sub eax, 0x51
je 0x18001725d
sub eax, 2
je 0x1800176da
sub eax, 1
je 0x1800176da
sub eax, 1
je 0x1800176da
sub eax, 1
je 0x1800176da
sub eax, 1
jmp 0x180017707
mov r8, rsi
mov edx, ebx
mov rcx, rdi
call fcn.180014ef0
jmp 0x180017745
mov eax, ebx
sub eax, 0x5c
je 0x180017738
sub eax, 5
je 0x180017738
sub eax, 1
je 0x180017738
sub eax, 1
je 0x180017738
sub eax, 4
je 0x180017738
sub eax, 2
je 0x180017738
sub eax, 1
jmp 0x180017731
mov eax, ebx
sub eax, 0x8a
je 0x180017738
sub eax, 1
je 0x18001725d
sub eax, 1
je 0x18001725d
sub eax, 0x14
je 0x18001775d
sub eax, 0xb
je 0x180017738
cmp eax, 1
jne 0x180017745
mov r8, rsi
mov edx, ebx
mov rcx, rdi
call fcn.180013d08
mov rbx, qword [rsp + 0xa8]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
cmp byte [rsi + 0x200], r13b
jne 0x180017745
lea rax, str.CreateHandleForLib
mov qword [rbp - 0x18], 0x12
mov qword [rbp - 0x20], rax
lea rax, str.Library
mov qword [rbp - 8], 7
jmp 0x180017233