Function at 0x140021d00
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
sub rsp, 0xa0
mov rax, qword [0x14022b800]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov r15, r8
mov r14, rdx
mov r12, rcx
mov qword [rsp + 0x38], rdx
xor r13d, r13d
mov dword [rsp + 0x20], r13d
mov rbx, qword [rcx + 0x18]
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x28], xmm1
test rbx, rbx
je 0x140021d98
mov qword [rsp + 0x28], rbx
mov eax, 1
lock xadd dword [rbx], eax
inc eax
cmp eax, 1
jle 0x140021d86
mov rax, qword gs:[0x30]
mov ecx, dword [rax + 0x48]
cmp dword [rbx + 4], ecx
je 0x140021d95
mov edx, 0xffffffff
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rax, qword gs:[0x30]
mov ecx, dword [rax + 0x48]
mov dword [rbx + 4], ecx
inc dword [rbx + 8]
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14], r13
mov qword [r14 + 8], r13
mov dword [rsp + 0x20], 1
mov r8, r15
cmp qword [r15 + 0x18], 8
jb 0x140021dbb
mov r8, qword [r15]
movabs r9, 0xcbf29ce484222325
mov rdx, qword [r15 + 0x10]
add rdx, rdx
mov rcx, r13
je 0x140021df4
movabs r10, 0x100000001b3
nop dword [rax + rax]
movzx eax, byte [rcx + r8]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, rdx
jb 0x140021de0
add r12, 0x8e0
mov r8, r15
lea rdx, [rsp + 0x48]
mov rcx, r12
call fcn.140008a10
mov ebp, 0xffffffff
cmp qword [rax + 8], 0
jne 0x140021f31
lea r8, str._bitmap
mov rdx, r15
lea rcx, [rsp + 0x78]
call fcn.140029eb0
nop
lea rdi, [rsp + 0x78]
cmp qword [rsp + 0x90], 8
cmovae rdi, qword [rsp + 0x78]
lea ecx, [rbp + 0x21]
call fcn.14014f310
mov rsi, rax
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_obj2_class_SharedTexturePool_.0
mov qword [rsi], rax
lea rbx, [rsi + 0x10]
mov rdx, rdi
mov rcx, rbx
call fcn.140011ea0
nop
mov dword [rsp + 0x20], 3
mov qword [r14], rbx
mov rbx, qword [r14 + 8]
mov qword [r14 + 8], rsi
test rbx, rbx
je 0x140021ec3
mov eax, ebp
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140021ec3
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, ebp
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140021ec3
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov r8, r15
lea rdx, [rsp + 0x58]
mov rcx, r12
call fcn.14002a660
mov rdx, qword [rax]
mov rcx, qword [r14 + 8]
test rcx, rcx
je 0x140021ee7
lock inc dword [rcx + 8]
mov rcx, qword [r14 + 8]
mov rax, qword [r14]
mov qword [rdx + 0x30], rax
mov rbx, qword [rdx + 0x38]
mov qword [rdx + 0x38], rcx
test rbx, rbx
je 0x140021f25
mov eax, ebp
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140021f25
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, ebp
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140021f25
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
nop
lea rcx, [rsp + 0x78]
call fcn.140004ff0
jmp 0x140021f93
mov r8, r15
lea rdx, [rsp + 0x68]
mov rcx, r12
call fcn.14002a660
mov rax, qword [rax]
mov rcx, qword [rax + 0x38]
test rcx, rcx
je 0x140021f55
lock inc dword [rcx + 8]
mov rcx, qword [rax + 0x38]
mov rax, qword [rax + 0x30]
mov qword [r14], rax
mov rbx, qword [r14 + 8]
mov qword [r14 + 8], rcx
test rbx, rbx
je 0x140021f93
mov eax, ebp
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140021f93
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, ebp
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140021f93
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
nop
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x140021fcc
add dword [rax + 8], 0xffffffff
mov ecx, dword [rax + 8]
jne 0x140021faa
mov dword [rax + 4], r13d
lock xadd dword [rax], ebp
cmp ebp, 1
je 0x140021fcc
test ecx, ecx
jne 0x140021fcc
xor r8d, r8d
lea edx, [rcx + 1]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
mov rax, r14
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.14014f2f0
mov rbx, qword [rsp + 0xf8]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret