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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x158]
sub rsp, 0x220
movaps xmmword [rax - 0x48], xmm6
mov rbx, rdx
xor r15d, r15d
mov dword [rbp + 0x10], r15d
mov qword [rbp + 0x18], r15
mov qword [rbp + 0x20], r15
mov ecx, 0x18
call fcn.180184e34
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rbp + 0x18], rax
mov qword [rbp + 0x28], r15
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], 7
mov qword [rbp + 0x48], 8
mov dword [rbp + 0x10], 0x3f800000
mov r8, rax
mov edx, 0x10
lea rcx, [rbp + 0x28]
call fcn.180091fb0
nop
mov ecx, dword [0x18023327c]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov eax, dword [rdx + rax]
cmp dword [0x180234ee8], eax
jle 0x180101af2
lea rcx, [0x180234ee8]
call fcn.180184dbc
cmp dword [0x180234ee8], 0xffffffff
jne 0x180101af2
mov rcx, qword [0x180234b78]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov r10, rax
test rax, rax
je 0x180101add
nop dword [rax]
mov r9, qword [r10 + 0x10]
mov rcx, 0xffffffffffffffff
mov r8d, 0x811c9dc5
inc rcx
cmp byte [r9 + rcx], 0
jne 0x180101a91
mov rdx, r15
test rcx, rcx
je 0x180101ad4
nop dword [rax]
nop word [rax + rax]
movsx eax, byte [r9 + rdx]
xor eax, r8d
imul r8d, eax, 0x1000193
inc rdx
cmp rdx, rcx
jb 0x180101ab0
cmp r8d, 0xb47de3de
je 0x180101f25
mov r10, qword [r10 + 0x20]
test r10, r10
jne 0x180101a80
mov eax, r15d
mov dword [0x180234ec8], eax
lea rcx, [0x180234ee8]
call fcn.180184d50
movsxd r14, dword [0x180234ec8]
add r14, rbx
je 0x180101ef9
mov rdi, r15
mov rdx, qword [r14]
movdqa xmm6, xmmword [0x18020aeb0]
test rdx, rdx
je 0x180101de6
lea r12, str.Resetting_weapon_
movabs r13, 0x1000000000000000
nop word [rax + rax]
mov eax, edx
and eax, 0xfff
cmp eax, 0x800
jae 0x180101dd4
mov rcx, qword [0x180234ba0]
mov rax, qword [rcx]
mov dword [rbp + 0x178], edx
lea rdx, [rbp + 0x178]
call qword [rax + 0x20]
mov rbx, rax
test rax, rax
je 0x180101dd4
mov rcx, qword [rax]
mov rdx, qword [rcx + 0xa50]
mov rcx, rax
call rdx
mov dword [rbp + 0x160], eax
mov rcx, rbx
call fcn.1800bb520
mov esi, dword [rax]
lea r8, [rbp + 0x160]
lea rdx, [rbp + 0xe0]
lea rcx, [rbp + 0x10]
call fcn.1800d9230
mov rcx, qword [rax]
mov byte [rcx + 0x14], 1
lea r8, [rbp + 0x160]
lea rdx, [rbp + 0xf0]
lea rcx, [0x180244348]
call fcn.180104380
mov rcx, qword [rax]
cmp dword [rcx + 0x30], esi
je 0x180101dd4
mov qword [rsp + 0x28], 0
movdqu xmmword [rsp + 0x30], xmm6
mov dword [rsp + 0x40], 0xffffffff
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], r15
mov ecx, 0x10
call fcn.180184e34
mov qword [rax + 8], r15
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x48]
mov qword [rax], rcx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], r15
mov qword [rbp - 0x70], r15
mov ecx, 0x10
call fcn.180184e34
mov qword [rax + 8], r15
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x70]
mov qword [rax], rcx
lea r8, [rbp + 0x160]
lea rdx, [rbp + 0x100]
lea rcx, [0x180244348]
call fcn.180104380
mov rcx, qword [rax]
add rcx, 0x18
lea rdx, [rsp + 0x28]
call fcn.180101fa0
nop
lea rcx, [rsp + 0x70]
call fcn.1800a57f0
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0x70], r15
mov edx, 0x10
call fcn.180184d0c
lea rcx, [rsp + 0x48]
call fcn.1800a57f0
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x48], r15
mov edx, 0x10
call fcn.180184d0c
lea rcx, [rbx + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x48]
mov ebx, eax
lea r8, [rbp + 0x160]
lea rdx, [rbp + 0xc0]
lea rcx, [0x180244348]
call fcn.180104380
mov rcx, qword [rax]
mov dword [rcx + 0x2c], ebx
lea r8, [rbp + 0x160]
lea rdx, [rbp + 0xd0]
lea rcx, [0x180244348]
call fcn.180104380
mov rcx, qword [rax]
mov dword [rcx + 0x30], esi
movzx ebx, byte [0x18023f301]
mov qword [rbp + 0x70], r12
mov qword [rbp + 0x78], 0x13
mov dword [rbp + 0x58], esi
mov qword [rbp + 0x50], r13
mov qword [rbp + 0x60], 1
lea rax, [rbp + 0x50]
mov qword [rbp + 0x68], rax
movaps xmm0, xmmword [rbp + 0x60]
movdqa xmmword [rbp + 0xa0], xmm0
movaps xmm1, xmmword [rbp + 0x70]
movdqa xmmword [rbp + 0xb0], xmm1
lea r8, [rbp + 0xa0]
lea rdx, [rbp + 0xb0]
lea rcx, [rbp + 0x80]
call fcn.1800a98a0
nop
lea rsi, [rbp + 0x80]
cmp qword [rbp + 0x98], 0xf
cmova rsi, qword [rbp + 0x80]
mov dword [rsp + 0x20], 0xffffff00
test bl, bl
je 0x180101dc8
mov rcx, qword [0x180234b80]
mov rax, qword [rcx]
lea r9, str.Crithack
lea r8, str.__s_
lea rdx, [rsp + 0x20]
call qword [rax + 0xb8]
mov rcx, qword [0x180234b80]
mov rax, qword [rcx]
mov dword [rbp + 0x170], 0xffffffff
mov r9, rsi
lea r8, [0x180209f54]
lea rdx, [rbp + 0x170]
call qword [rax + 0xb8]
nop
lea rcx, [rbp + 0x80]
call fcn.180091c20
inc rdi
mov rax, qword [r14 + rdi*8]
mov edx, eax
test rax, rax
jne 0x180101b30
mov rdi, qword [0x180244350]
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x180101ef9
nop dword [rax]
lea r8, [rbx + 0x10]
lea rdx, [rbp + 0xd0]
lea rcx, [rbp + 0x10]
call fcn.1800d9230
mov rcx, qword [rax]
cmp byte [rcx + 0x14], 0
jne 0x180101eed
mov qword [rbp - 0x68], 0
movdqu xmmword [rbp - 0x60], xmm6
mov dword [rbp - 0x50], 0xffffffff
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], r15
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x28], r15
mov ecx, 0x10
call fcn.180184e34
mov qword [rax + 8], r15
mov qword [rbp - 0x48], rax
lea rcx, [rbp - 0x48]
mov qword [rax], rcx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r15
mov qword [rbp - 8], r15
mov qword [rbp], r15
mov ecx, 0x10
call fcn.180184e34
mov qword [rax + 8], r15
mov qword [rbp - 0x20], rax
lea rcx, [rbp - 0x20]
mov qword [rax], rcx
lea r8, [rbx + 0x10]
lea rdx, [rbp + 0xc0]
lea rcx, [0x180244348]
call fcn.180104380
mov rcx, qword [rax]
add rcx, 0x18
lea rdx, [rbp - 0x68]
call fcn.180101fa0
nop
lea rcx, [rbp - 0x20]
call fcn.1800a57f0
mov rcx, qword [rbp - 0x20]
mov qword [rbp - 0x20], r15
mov edx, 0x10
call fcn.180184d0c
lea rcx, [rbp - 0x48]
call fcn.1800a57f0
mov rcx, qword [rbp - 0x48]
mov qword [rbp - 0x48], r15
mov edx, 0x10
call fcn.180184d0c
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x180101e00
lea rcx, [rbp + 0x10]
call fcn.180086f40
mov rbx, qword [rsp + 0x268]
movaps xmm6, xmmword [rsp + 0x210]
add rsp, 0x220
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, str.m_hMyWeapons
mov rdx, qword [r10 + 0x18]
call fcn.180184950
jmp 0x180101ae0