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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x1802ec4c0]
xor rax, rsp
mov qword [rbp + 0x28], rax
mov rcx, qword [0x180343f70]
mov rax, qword [rcx]
lea r8, [0x18034de70]
lea rdx, [0x1802a43f8]
call qword [rax + 0x38]
mov rcx, qword [0x180343f70]
mov rax, qword [rcx]
lea r8, [rsp + 0x58]
lea rdx, [0x1802a43f8]
call qword [rax + 0x38]
test eax, eax
js 0x18009b09c
cmp dword [0x180343a50], 4
jne 0x18009b09c
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [0x18034de20], rax
xor r13d, r13d
mov qword [rsp + 0x48], r13
lea rax, [0x180343f08]
mov qword [rsp + 0x40], rax
lea rax, [0x180343f18]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], r13d
mov dword [rsp + 0x28], 1
lea rax, [0x18034de98]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x20
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.d3d11.dll_D3D11On12CreateDevice]
mov rcx, qword [0x180343f18]
test rcx, rcx
je 0x18009b09c
mov rax, qword [rcx]
lea r8, [0x18034ddd0]
lea rdx, [0x1802a43e8]
call qword [rax]
mov dword [rsp + 0x60], r13d
lea r9, [rbp - 0x80]
lea r8, [rsp + 0x60]
lea rdx, [0x1802a4408]
mov ecx, 1
call qword [sym.imp.d2d1.dll_Ordinal_1]
mov rcx, qword [0x18034ddd0]
mov rax, qword [rcx]
lea r8, [rsp + 0x78]
lea rdx, [0x18029fc38]
call qword [rax]
mov rcx, qword [rbp - 0x80]
mov rax, qword [rcx]
lea r8, [rsp + 0x70]
mov rdx, qword [rsp + 0x78]
call qword [rax + 0x100]
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
lea r8, [0x180343f28]
mov edx, 1
call qword [rax + 0x20]
mov rcx, qword [0x180343f70]
mov rax, qword [rcx]
lea rdx, [rbp - 8]
call qword [rax + 0x90]
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
mov qword [rbp - 0x48], 0xd
mov qword [rbp - 0x40], 0xf
movsd xmm0, qword [str.bufferingmode]
movsd qword [rbp - 0x58], xmm0
mov r10d, dword [0x1802a0b50]
mov dword [rbp - 0x50], r10d
movzx r11d, byte [0x1802a0b54]
mov byte [rbp - 0x4c], r11b
mov byte [rbp - 0x4b], r13b
movabs rcx, 0xcbf29ce484222325
mov edx, r13d
movabs r8, 0x100000001b3
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rbp + rdx - 0x58]
xor rcx, rax
imul rcx, r8
inc rdx
cmp rdx, 0xd
jb 0x18009ab90
mov rax, qword [0x180343c30]
and rax, rcx
add rax, rax
mov r8, qword [0x180343c18]
mov rcx, qword [r8 + rax*8 + 8]
mov rbx, qword [0x180343c08]
cmp rcx, rbx
je 0x18009ac14
mov r8, qword [r8 + rax*8]
mov r9, qword [rbp - 0x58]
nop dword [rax]
nop word [rax + rax]
lea rax, [rcx + 0x10]
mov rdx, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x18009abf2
mov rax, qword [rax]
cmp rdx, 0xd
jne 0x18009ac09
cmp r9, qword [rax]
jne 0x18009ac09
cmp r10d, dword [rax + 8]
jne 0x18009ac09
cmp r11b, byte [rax + 0xc]
je 0x18009ac17
cmp rcx, r8
je 0x18009ac14
mov rcx, qword [rcx + 8]
jmp 0x18009abe0
mov rcx, r13
mov rax, rbx
test rcx, rcx
cmovne rax, rcx
cmp rax, rbx
je 0x18009ac2c
mov rdx, qword [rax + 0x30]
jmp 0x18009ac2f
mov rdx, r13
add rdx, 0x28
lea rcx, [rbp - 0x28]
call fcn.180059390
nop
lea rcx, [rbp - 0x28]
mov r14, qword [rbp - 0x28]
mov r15, qword [rbp - 0x10]
cmp r15, 0xf
cmova rcx, r14
mov r12d, 3
mov rbx, qword [rbp - 0x18]
cmp rbx, 0x10
jne 0x18009ac88
mov r8, rbx
lea rdx, str.Double_Buffering
call fcn.180245950
test eax, eax
jne 0x18009ac88
cmp qword [0x18034de98], 0
jne 0x18009ac88
mov ecx, 2
mov dword [rbp + 0x14], ecx
jmp 0x18009acba
lea rcx, [rbp - 0x28]
cmp r15, 0xf
cmova rcx, r14
cmp rbx, 0x10
jne 0x18009acb7
mov r8, rbx
lea rdx, str.Triple_Buffering
call fcn.180245950
mov ecx, dword [rbp + 0x14]
test eax, eax
cmove ecx, r12d
mov dword [rbp + 0x14], ecx
jmp 0x18009acba
mov ecx, dword [rbp + 0x14]
mov edi, ecx
mov qword [0x1803b81a8], rdi
mov qword [rsp + 0x50], r13
mov rsi, qword [0x180337898]
mov rdx, qword [0x180337890]
mov rcx, rsi
sub rcx, rdx
sar rcx, 3
cmp rdi, rcx
jae 0x18009acf2
lea rax, [rdx + rdi*8]
mov qword [0x180337898], rax
jmp 0x18009ad42
jbe 0x18009ad42
mov rax, qword [0x1803378a0]
sub rax, rdx
sar rax, 3
cmp rdi, rax
jbe 0x18009ad1d
lea r8, [rsp + 0x50]
mov rdx, rdi
call fcn.18009e8b0
mov rdi, qword [0x1803b81a8]
jmp 0x18009ad42
mov rbx, rdi
sub rbx, rcx
lea rbx, [rbx*8]
mov r8, rbx
xor edx, edx
mov rcx, rsi
call fcn.180245510
add rsi, rbx
mov qword [0x180337898], rsi
mov qword [rsp + 0x50], r13
mov rsi, qword [0x180337868]
mov rdx, qword [0x180337860]
mov rcx, rsi
sub rcx, rdx
sar rcx, 3
cmp rdi, rcx
jae 0x18009ad71
lea rax, [rdx + rdi*8]
mov qword [0x180337868], rax
jmp 0x18009adc1
jbe 0x18009adc1
mov rax, qword [0x180337870]
sub rax, rdx
sar rax, 3
cmp rdi, rax
jbe 0x18009ad9c
lea r8, [rsp + 0x50]
mov rdx, rdi
call fcn.18009e530
mov rdi, qword [0x1803b81a8]
jmp 0x18009adc1
mov rbx, rdi
sub rbx, rcx
lea rbx, [rbx*8]
mov r8, rbx
xor edx, edx
mov rcx, rsi
call fcn.180245510
add rsi, rbx
mov qword [0x180337868], rsi
mov qword [rsp + 0x50], r13
mov rsi, qword [0x180337880]
mov rdx, qword [0x180337878]
mov rcx, rsi
sub rcx, rdx
sar rcx, 3
cmp rdi, rcx
jae 0x18009adf0
lea rax, [rdx + rdi*8]
mov qword [0x180337880], rax
jmp 0x18009ae36
jbe 0x18009ae36
mov rax, qword [0x180337888]
sub rax, rdx
sar rax, 3
cmp rdi, rax
jbe 0x18009ae14
lea r8, [rsp + 0x50]
mov rdx, rdi
call fcn.18009e6f0
jmp 0x18009ae36
sub rdi, rcx
lea rbx, [rdi*8]
mov r8, rbx
xor edx, edx
mov rcx, rsi
call fcn.180245510
add rsi, rbx
mov qword [0x180337880], rsi
call qword [sym.imp.USER32.dll_GetDpiForSystem]
mov eax, eax
xorps xmm1, xmm1
cvtsi2ss xmm1, rax
movabs rax, 0x10000001c
mov qword [rbp - 0x58], rax
mov dword [rbp - 0x48], r12d
mov qword [rbp - 0x40], r13
movups xmm0, xmmword [rbp - 0x58]
shufps xmm0, xmm0, 0xd2
movss xmm0, xmm1
shufps xmm0, xmm0, 0x27
movss xmm0, xmm1
shufps xmm0, xmm0, 0x39
movups xmmword [rbp - 0x58], xmm0
movups xmmword [rbp - 0x78], xmm0
movups xmm0, xmmword [rbp - 0x48]
movups xmmword [rbp - 0x68], xmm0
mov dword [rbp - 0x38], 2
mov eax, dword [0x1803b81a8]
mov dword [rbp - 0x34], eax
mov dword [rbp - 0x30], r13d
mov dword [rbp - 0x2c], 1
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
lea r9, [0x18034ddd8]
lea r8, [0x1802a2cc8]
lea rdx, [rbp - 0x38]
call qword [rax + 0x70]
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
mov edx, 2
call qword [rax + 0x78]
mov r12d, eax
mov rcx, qword [0x18034ddd8]
mov rax, qword [rcx]
lea rdx, [rsp + 0x68]
call qword [rax + 0x48]
mov ebx, r13d
cmp qword [0x1803b81a8], rbx
jbe 0x18009b00b
mov rdi, r13
mov rsi, r13
lea r15, [0x1802a43c8]
nop
mov rcx, qword [0x180343f70]
mov rax, qword [rcx]
lea r9, [rsp + 0x50]
lea r8, [0x18029ff00]
mov edx, ebx
call qword [rax + 0x48]
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
mov r9, qword [rsp + 0x68]
xor r8d, r8d
mov rdx, qword [rsp + 0x50]
call qword [rax + 0xa0]
add qword [rsp + 0x68], r12
mov dword [rbp - 0x58], 0x28
xor eax, eax
mov qword [rbp - 0x54], rax
mov dword [rbp - 0x4c], eax
mov rcx, qword [0x18034ddd0]
mov rax, qword [rcx]
mov r10, qword [rax + 0x18]
mov rax, qword [0x180337860]
lea rdx, [rax + rdi*8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], r13d
mov r9d, 4
lea r8, [rbp - 0x58]
mov rdx, qword [rsp + 0x50]
call r10
mov rax, qword [0x180337860]
mov rcx, qword [rsi + rax]
mov rax, qword [0x180337890]
lea r8, [rax + rdi*8]
mov rax, qword [rcx]
lea rdx, [0x1802a4428]
call qword [rax]
mov rax, qword [0x180337878]
mov qword [rsi + rax], r13
mov rax, qword [0x180337878]
lea r9, [rax + rdi*8]
mov rax, qword [0x180337890]
mov rdx, qword [rsi + rax]
mov rcx, qword [0x180343f28]
mov rax, qword [rcx]
lea r8, [rbp - 0x78]
call qword [rax + 0x1f0]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x18009aff1
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsp + 0x50], r13
inc ebx
add rsi, 8
movsxd rdi, ebx
cmp rdi, qword [0x1803b81a8]
jb 0x18009af00
mov r15, qword [rbp - 0x10]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x18009b020
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsp + 0x58], r13
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x18009b035
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsp + 0x70], r13
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x18009b04a
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsp + 0x78], r13
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x18009b05d
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbp - 0x80], r13
call fcn.18005a040
mov byte [0x18034dea0], 1
cmp r15, 0xf
jbe 0x18009b09c
lea rdx, [r15 + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x18009b094
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18009b0c9
mov rcx, r14
call fcn.18020e750
mov rcx, qword [rbp + 0x28]
xor rcx, rsp
call fcn.18020e120
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1802214b8
int3