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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
mov rax, qword [0x180163140]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r15, rdx
mov rdi, rcx
lea rbx, [rcx + 0x20]
mov qword [rbp - 0x31], rbx
mov rcx, rbx
call fcn.1800a25f0
test eax, eax
jne 0x180040bfa
mov eax, dword [rbx + 0x4c]
cmp eax, 0x7fffffff
je 0x180040c05
mov rax, qword [rdi + 0x120]
cmp rax, qword [rdi + 0x118]
je 0x180040bc4
mov rcx, qword [0x180177f50]
call fcn.180060880
lea rcx, str.sv_mapname
call rax
mov r14, rax
mov rcx, qword [0x180177f50]
call fcn.180060880
lea rcx, str.g_gametype
call rax
mov rsi, rax
test r14, r14
je 0x180040bb2
test rax, rax
je 0x180040bb2
mov r8, qword [r14 + 0x18]
mov rdx, r14
lea rcx, [rbp + 7]
call fcn.1800243d4
nop
mov r8, qword [rsi + 0x18]
mov rdx, rsi
lea rcx, [rbp - 0x19]
call fcn.1800243d4
nop
call qword [0x180177fa0]
mov esi, eax
mov dword [rbp - 0x49], eax
lea rcx, [rbp + 7]
cmp qword [rbp + 0x1f], 0xf
cmova rcx, qword [rbp + 7]
movabs r12, 0xcbf29ce484222325
mov rdx, r12
call fcn.18005d0a4
mov qword [rbp - 0x41], rax
lea rcx, [rbp - 0x19]
cmp qword [rbp - 1], 0xf
cmova rcx, qword [rbp - 0x19]
mov rdx, r12
call fcn.18005d0a4
mov qword [rbp - 0x39], rax
mov r14, qword [rdi + 0x120]
mov rdi, qword [rdi + 0x118]
jmp 0x180040b16
mov rcx, r12
xor edx, edx
movzx eax, byte [rbp + rdx - 0x49]
xor rcx, rax
movabs r8, 0x100000001b3
imul rcx, r8
inc rdx
cmp rdx, 4
jb 0x180040a3d
mov rdx, qword [rdi + 0x48]
and rdx, rcx
add rdx, rdx
mov rcx, qword [rdi + 0x30]
mov rax, qword [rcx + rdx*8 + 8]
cmp rax, qword [rdi + 0x20]
je 0x180040a8b
mov r8, qword [rcx + rdx*8]
jmp 0x180040a84
cmp rax, r8
je 0x180040a8b
mov rax, qword [rax + 8]
cmp esi, dword [rax + 0x10]
jne 0x180040a7b
jmp 0x180040a8d
xor eax, eax
test rax, rax
cmove rax, qword [rdi + 0x20]
cmp rax, qword [rdi + 0x20]
jne 0x180040ad5
lea rcx, [rdi + 0x58]
lea r8, [rbp - 0x41]
lea rdx, [rbp - 0x29]
call fcn.180047788
mov rcx, qword [rdi + 0x60]
cmp qword [rax], rcx
jne 0x180040ad5
lea rcx, [rdi + 0x98]
lea r8, [rbp - 0x39]
lea rdx, [rbp - 0x21]
call fcn.180047788
mov rcx, qword [rdi + 0xa0]
cmp qword [rax], rcx
je 0x180040b0f
lea rcx, [r15 + 0x20]
mov rdx, qword [rcx + 8]
cmp rdx, qword [rcx + 0x10]
je 0x180040afb
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
movups xmmword [rdx + 0x10], xmm0
mov rdx, qword [rcx + 8]
lea rax, [rdx + 0x20]
mov qword [rcx + 8], rax
jmp 0x180040b03
call fcn.180048e58
mov rdx, rax
mov cl, byte [rdi + 0x10]
mov byte [rdx], cl
mov rcx, qword [rdi]
mov qword [rdx + 8], rcx
add rdi, 0xd8
cmp rdi, r14
jne 0x180040a38
mov edi, 0x1000
mov rdx, qword [rbp - 1]
cmp rdx, 0xf
jbe 0x180040b5b
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, rdi
jb 0x180040b56
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180040c15
call fcn.1800a40c0
movdqa xmm0, xmmword [0x18014ef90]
movdqu xmmword [rbp - 9], xmm0
mov byte [rbp - 0x19], 0
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0xf
jbe 0x180040ba7
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, rdi
jb 0x180040b9a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180040bf4
call fcn.1800a40c0
movdqa xmm0, xmmword [0x18014ef90]
movdqu xmmword [rbp + 0x17], xmm0
mov byte [rbp + 7], 0
jmp 0x180040bc4
lea rdx, str.Cant_find_bgcache_dvars
mov ecx, 3
call fcn.18003d450
nop
mov rcx, rbx
call fcn.1800a25f8
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1800a40a0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.1800aa574
nop
mov ecx, 5
call fcn.1800a286c
int3
dec eax
mov dword [rbx + 0x4c], eax
mov ecx, 6
call fcn.1800a286c
nop
call fcn.1800aa574
int3