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

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x128]
sub rsp, 0x228
movaps xmmword [rsp + 0x210], xmm6
mov rax, qword [0x180234ba0]
mov rcx, qword [rax]
mov rbx, qword [rcx + 0x18]
mov rcx, qword [0x180234bb8]
mov rax, qword [rcx]
call qword [rax + 0x60]
mov edx, eax
mov rcx, qword [0x180234ba0]
call rbx
mov r14, rax
test rax, rax
je 0x18017f246
mov qword [0x18022e8a0], rax
mov rcx, rax
call fcn.1800d6ad0
mov rcx, qword [0x180234ba0]
mov rdx, qword [rcx]
mov r8, qword [rdx + 0x20]
mov edx, dword [rax]
mov dword [rbp + 0x170], edx
lea rdx, [rbp + 0x170]
call r8
test rax, rax
je 0x18017e8d5
mov qword [0x18022e8a8], rax
mov rcx, qword [0x18022e8a0]
call fcn.1801625b0
mov edx, dword [rax]
sub edx, 4
je 0x18017e8ed
cmp edx, 1
jne 0x18017e925
mov rcx, qword [0x18022e8a0]
call fcn.1801626b0
mov rcx, qword [0x180234ba0]
mov rdx, qword [rcx]
mov r8, qword [rdx + 0x20]
mov eax, dword [rax]
mov dword [rbp + 0x170], eax
lea rdx, [rbp + 0x170]
call r8
test rax, rax
je 0x18017e925
mov qword [0x18022e8b8], rax
mov dword [rbp + 0x170], 1
mov rcx, qword [0x180234ba0]
mov rax, qword [rcx]
call qword [rax + 0x30]
xor r13d, r13d
mov edx, dword [rbp + 0x170]
cmp edx, eax
jge 0x18017f129
mov r15d, dword [0x18023327c]
mov r12, qword gs:[0x58]
movabs rbx, 0x100000001b3
nop word [rax + rax]
mov rcx, qword [0x180234ba0]
mov rax, qword [rcx]
call qword [rax + 0x18]
mov rsi, rax
test rax, rax
je case.0x18017ef69.250
mov qword [rsp + 0x20], rax
mov rdx, qword [rax + 0x10]
lea rcx, [rax + 0x10]
call qword [rdx + 0x40]
test al, al
je 0x18017eaf3
mov rax, qword [rsi + 0x10]
lea rcx, [rsi + 0x10]
call qword [rax + 0x10]
test rax, rax
je case.0x18017ef69.250
cmp dword [rax + 0x28], 0xf7
jne case.0x18017ef69.250
movzx edx, byte [rbp + 0x170]
movabs rax, 0xcbf29ce484222325
xor rdx, rax
imul rdx, rbx
movzx eax, byte [rbp + 0x171]
xor rdx, rax
imul rdx, rbx
movzx eax, byte [rbp + 0x172]
xor rdx, rax
imul rdx, rbx
movzx eax, byte [rbp + 0x173]
xor rdx, rax
imul rdx, rbx
and rdx, qword [0x18022eac0]
add rdx, rdx
mov r8, qword [0x18022eaa8]
mov rcx, qword [r8 + rdx*8 + 8]
cmp rcx, qword [0x18022ea98]
je 0x18017ea48
mov r8, qword [r8 + rdx*8]
mov eax, dword [rcx + 0x10]
cmp dword [rbp + 0x170], eax
je 0x18017ea4b
cmp rcx, r8
je 0x18017ea48
mov rcx, qword [rcx + 8]
mov eax, dword [rcx + 0x10]
cmp dword [rbp + 0x170], eax
jne 0x18017ea32
jmp 0x18017ea4b
mov rcx, r13
test rcx, rcx
je case.0x18017ef69.250
lea r8, [rbp + 0x170]
lea rdx, [rbp - 0x10]
call fcn.1801686c0
mov rbx, qword [rax]
movss xmm6, dword [rbx + 0x20]
mov rcx, qword [0x180234bb8]
mov rax, qword [rcx]
call qword [rax + 0x70]
subss xmm0, xmm6
comiss xmm0, dword [0x1802439f4]
ja case.0x18017ef69.250
lea rdx, [rbx + 0x14]
mov rcx, rsi
call qword [0x18022de18]
mov rcx, rsi
call fcn.1800bbb10
mov ecx, dword [rbx + 0x14]
mov dword [rax], ecx
mov ecx, dword [rbx + 0x18]
mov dword [rax + 4], ecx
mov ecx, dword [rbx + 0x1c]
mov dword [rax + 8], ecx
mov rcx, rsi
call fcn.1800b54c0
mov byte [rax], 0
mov rbx, qword [0x18022e8b0]
test rbx, rbx
je 0x18017eaf3
mov edx, dword [rbp + 0x170]
mov rcx, rbx
call fcn.180140340
test al, al
je 0x18017eaf3
mov edx, dword [rbp + 0x170]
mov rcx, rbx
call fcn.180100bc0
mov ebx, eax
mov rcx, rsi
call fcn.1800bb320
mov dword [rax], ebx
mov rax, qword [rsi + 0x10]
lea rcx, [rsi + 0x10]
call qword [rax + 0x10]
test rax, rax
je case.0x18017ef69.250
mov ebx, dword [rax + 0x28]
cmp ebx, 0xf7
jg 0x18017ef3f
je 0x18017edb5
lea eax, [rbx - 1]
cmp eax, 0xd8
ja case.0x18017ef69.250
cdqe
lea rdi, [0x180000000]
movzx eax, byte [rdi + rax + 0x17f290]
mov ecx, dword [rdi + rax*4 + 0x17f264]
add rcx, rdi
jmp rcx
mov rcx, rsi
call fcn.18014cb80
cmp byte [rax], 0
jne case.0x18017ef69.250
mov dword [rbp + 0x178], 3
lea r8, [rbp + 0x178]
lea rdx, [rbp]
lea rcx, [0x18022e8c0]
call fcn.1800c0810
mov rcx, qword [rax]
add rcx, 0x18
mov rdx, qword [rcx + 8]
cmp rdx, qword [rcx + 0x10]
je 0x18017eb94
mov qword [rdx], rsi
add qword [rcx + 8], 8
jmp 0x18017eba3
lea r8, [rsp + 0x20]
call fcn.18012ff30
mov rsi, qword [rsp + 0x20]
mov rcx, qword [0x18022e8a0]
call fcn.1800b6360
mov ebx, dword [rax]
mov rcx, rsi
call fcn.1800b6360
mov ecx, r13d
cmp dword [rax], ebx
sete cl
add ecx, 4
mov dword [rbp + 0x180], ecx
lea r8, [rbp + 0x180]
lea rdx, [rbp + 0x10]
jmp 0x18017f0cd
mov rdx, rsi
call fcn.18017f530
test al, al
je 0x18017ebf9
mov dword [rbp + 0x178], 7
lea rdx, [rbp + 0x20]
jmp 0x18017f0c6
mov rdx, rsi
call fcn.18017f3f0
test al, al
je 0x18017ec18
mov dword [rbp + 0x178], 6
lea rdx, [rbp + 0x30]
jmp 0x18017f0c6
mov rdx, rsi
call fcn.18017f5f0
test al, al
je case.0x18017ef69.250
mov dword [rbp + 0x178], 0xc
lea rdx, [rbp + 0x40]
jmp 0x18017f0c6
mov dword [rbp + 0x178], 7
lea rdx, [rbp + 0x50]
jmp 0x18017f0c6
mov dword [rbp + 0x178], 0xb
lea rdx, [rbp + 0x60]
jmp 0x18017f0c6
mov ecx, 4
mov rax, qword [r12 + r15*8]
mov ecx, dword [rcx + rax]
cmp dword [0x1802352e8], ecx
jle 0x18017ed1e
lea rcx, [0x1802352e8]
call fcn.180184dbc
cmp dword [0x1802352e8], 0xffffffff
jne 0x18017ed1e
mov rcx, qword [0x180234b78]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov r10, rax
test rax, rax
je 0x18017ed09
nop word [rax + rax]
mov r8, qword [r10 + 0x10]
mov rcx, 0xffffffffffffffff
mov r9d, 0x811c9dc5
inc rcx
cmp byte [r8 + rcx], 0
jne 0x18017ecc1
mov rdx, r13
test rcx, rcx
je 0x18017ed00
nop dword [rax]
nop word [rax + rax]
movsx eax, byte [rdx + r8]
xor eax, r9d
imul r9d, eax, 0x1000193
inc rdx
cmp rdx, rcx
jb 0x18017ece0
cmp r9d, 0xd5c073db
je 0x18017ed66
mov r10, qword [r10 + 0x20]
test r10, r10
jne 0x18017ecb0
mov eax, r13d
mov dword [0x1802352e4], eax
lea rcx, [0x1802352e8]
call fcn.180184d50
mov rcx, qword [0x180234ba0]
mov rax, qword [rcx]
mov r8, qword [rax + 0x20]
movsxd rax, dword [0x1802352e4]
mov edx, dword [rax + rsi]
mov dword [rbp + 0x188], edx
lea rdx, [rbp + 0x188]
call r8
cmp rax, qword [0x18022e8a0]
jne case.0x18017ef69.250
mov dword [rbp + 0x178], 0xd
lea rdx, [rbp + 0x70]
jmp 0x18017f0c6
lea r8, str.m_hTargetPlayer
mov rdx, qword [r10 + 0x18]
call fcn.180184950
jmp 0x18017ed0c
mov dword [rbp + 0x178], 0x11
lea rdx, [rbp + 0x80]
jmp 0x18017f0c6
mov rcx, rsi
call fcn.18014fa70
cmp dword [rax], 1
je case.0x18017ef69.250
mov dword [rbp + 0x178], 0xe
lea rdx, [rbp + 0x90]
jmp 0x18017f0c6
mov dword [rbp + 0x178], r13d
lea r8, [rbp + 0x178]
lea rdx, [rbp + 0xa0]
lea rcx, [0x18022e8c0]
call fcn.1800c0810
mov rcx, qword [rax]
add rcx, 0x18
mov rdx, qword [rcx + 8]
cmp rdx, qword [rcx + 0x10]
je 0x18017edf1
mov qword [rdx], rsi
add qword [rcx + 8], 8
jmp 0x18017ee00
lea r8, [rsp + 0x20]
call fcn.18012ff30
mov rsi, qword [rsp + 0x20]
mov rcx, qword [0x18022e8a0]
call fcn.1800b6360
mov ebx, dword [rax]
mov rcx, rsi
call fcn.1800b6360
mov ecx, r13d
cmp dword [rax], ebx
sete cl
inc ecx
mov dword [rsp + 0x30], ecx
lea r8, [rsp + 0x30]
lea rdx, [rbp + 0xb0]
lea rcx, [0x18022e8c0]
call fcn.1800c0810
mov rcx, qword [rax]
add rcx, 0x18
mov rdx, qword [rcx + 8]
cmp rdx, qword [rcx + 0x10]
je 0x18017ee57
mov qword [rdx], rsi
add qword [rcx + 8], 8
jmp 0x18017ee61
lea r8, [rsp + 0x20]
call fcn.18012ff30
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
mov dword [rbp - 0x40], eax
mov rcx, qword [0x180234bb8]
mov rax, qword [rcx]
lea r8, [rsp + 0x40]
mov edx, dword [rbp + 0x170]
call qword [rax + 0x40]
test al, al
je case.0x18017ef69.250
cmp byte [rbp - 0x54], 0
jne case.0x18017ef69.250
mov ebx, dword [rbp + 0x170]
lea r8, [rbp - 0x78]
lea rdx, [rbp + 0xc0]
lea rcx, [0x18022e900]
call fcn.180142310
mov rcx, qword [rax]
mov dword [rcx + 0x14], ebx
mov rcx, qword [0x180234f58]
mov rax, qword [rcx]
mov r9, qword [rax + 0x88]
mov eax, dword [rbp - 0x78]
mov dword [rsp + 0x28], eax
mov byte [rsp + 0x2f], 1
mov eax, dword [rsp + 0x2c]
and eax, 0xff100001
or eax, 0x100001
mov dword [rsp + 0x2c], eax
mov r8d, 4
mov rdx, qword [rsp + 0x28]
call r9
movzx ebx, al
lea r8, [rbp + 0x170]
lea rdx, [rbp + 0xd0]
lea rcx, [0x18022e940]
call fcn.1800d9230
mov rcx, qword [rax]
mov byte [rcx + 0x14], bl
jmp case.0x18017ef69.250
lea eax, [rbx - 0xf9]
cmp eax, 0x69
ja case.0x18017ef69.250
cdqe
lea rdi, [0x180000000]
movzx eax, byte [rdi + rax + 0x17f380]
mov ecx, dword [rdi + rax*4 + 0x17f36c]
add rcx, rdi
jmp rcx
mov qword [0x18022e8b0], rsi
jmp case.0x18017ef69.250
mov dword [rbp + 0x178], 8
lea r8, [rbp + 0x178]
lea rdx, [rbp + 0xe0]
lea rcx, [0x18022e8c0]
call fcn.1800c0810
mov rcx, qword [rax]
add rcx, 0x18
mov rdx, qword [rcx + 8]
cmp rdx, qword [rcx + 0x10]
je 0x18017efb6
mov qword [rdx], rsi
add qword [rcx + 8], 8
jmp 0x18017efc5
lea r8, [rsp + 0x20]
call fcn.18012ff30
mov rsi, qword [rsp + 0x20]
cmp ebx, 0xd9
jne 0x18017f02e
mov rcx, rsi
call fcn.1800bb120
cmp dword [rax], 1
je 0x18017efeb
mov rcx, rsi
call fcn.1800bb120
cmp dword [rax], 2
jne case.0x18017ef69.250
mov rcx, rsi
call fcn.1800baf20
mov rcx, qword [0x180234ba0]
mov rdx, qword [rcx]
mov r8, qword [rdx + 0x20]
mov eax, dword [rax]
mov dword [rsp + 0x34], eax
lea rdx, [rsp + 0x34]
call r8
cmp rax, r14
jne case.0x18017ef69.250
mov dword [rbp + 0x178], 0xf
lea rdx, [rbp + 0xf0]
jmp 0x18017f0c6
cmp ebx, 0x101
jne case.0x18017ef69.250
mov edx, 1
mov rcx, qword [0x18022e8a0]
call fcn.1800cb2c0
test rax, rax
je case.0x18017ef69.250
mov rcx, rax
call fcn.1800bb520
cmp dword [rax], 0x15f
jne case.0x18017ef69.250
mov rcx, rsi
call fcn.180142e10
mov rcx, qword [0x180234ba0]
mov rdx, qword [rcx]
mov r8, qword [rdx + 0x20]
mov eax, dword [rax]
mov dword [rsp + 0x38], eax
lea rdx, [rsp + 0x38]
call r8
cmp rax, qword [0x18022e8a0]
jne case.0x18017ef69.250
mov dword [rbp + 0x178], 0x10
lea rdx, [rbp + 0x100]
jmp 0x18017f0c6
mov dword [rbp + 0x178], 9
lea rdx, [rbp - 0x20]
jmp 0x18017f0c6
mov dword [rbp + 0x178], 0xa
lea rdx, [rbp - 0x30]
lea r8, [rbp + 0x178]
lea rcx, [0x18022e8c0]
call fcn.1800c0810
mov rcx, qword [rax]
add rcx, 0x18
mov rdx, qword [rcx + 8]
cmp rdx, qword [rcx + 0x10]
je 0x18017f0f4
mov qword [rdx], rsi
add qword [rcx + 8], 8
jmp case.0x18017ef69.250
lea r8, [rsp + 0x20]
call fcn.18012ff30
inc dword [rbp + 0x170]
mov rcx, qword [0x180234ba0]
mov rax, qword [rcx]
call qword [rax + 0x30]
mov edx, dword [rbp + 0x170]
cmp edx, eax
movabs rbx, 0x100000001b3
jl 0x18017e970
lea rcx, [0x18022e980]
call fcn.180092100
lea rcx, [0x18022e9c0]
call fcn.180092100
mov dword [rbp + 0x170], r13d
lea r8, [rbp + 0x170]
lea rdx, [rbp - 0x30]
lea rcx, [0x18022e8c0]
call fcn.1800c0810
mov rcx, qword [rax]
mov rsi, qword [rcx + 0x20]
mov rdi, qword [rcx + 0x18]
cmp rdi, rsi
je 0x18017f246
nop dword [rax]
nop word [rax + rax]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
mov dword [rbp - 0x40], eax
mov rax, qword [0x180234bb8]
mov rcx, qword [rax]
mov rbx, qword [rcx + 0x40]
mov rcx, qword [rdi]
add rcx, 0x10
mov rax, qword [rcx]
call qword [rax + 0x48]
lea r8, [rsp + 0x40]
mov edx, eax
mov rcx, qword [0x180234bb8]
call rbx
test al, al
je 0x18017f239
xor r8d, r8d
mov edx, dword [rbp - 0x78]
lea rcx, [0x180243fd0]
call fcn.180140b60
mov ebx, eax
lea r8, [rbp - 0x78]
lea rdx, [rbp - 0x30]
lea rcx, [0x18022e980]
call fcn.180142310
mov rcx, qword [rax]
mov dword [rcx + 0x14], ebx
mov rcx, qword [rdi]
add rcx, 0x10
mov rdx, qword [rcx]
call qword [rdx + 0x48]
mov dword [rbp + 0x170], eax
lea r8, [rbp + 0x170]
lea rdx, [rbp - 0x20]
lea rcx, [0x18022e9c0]
call fcn.1800c0a50
mov rcx, qword [rax]
mov dword [rcx + 0x14], ebx
add rdi, 8
cmp rdi, rsi
jne 0x18017f180
movaps xmm6, xmmword [rsp + 0x210]
add rsp, 0x228
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret