Function at 0x18017d5f0
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 [0x180233ba8]
mov rcx, qword [rax]
mov rbx, qword [rcx + 0x18]
mov rcx, qword [0x180233bc0]
mov rax, qword [rcx]
call qword [rax + 0x60]
mov edx, eax
mov rcx, qword [0x180233ba8]
call rbx
mov r14, rax
test rax, rax
je 0x18017dff6
mov qword [0x18022d8a0], rax
mov rcx, rax
call fcn.1800d55c0
mov rcx, qword [0x180233ba8]
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 0x18017d685
mov qword [0x18022d8a8], rax
mov rcx, qword [0x18022d8a0]
call fcn.180161420
mov edx, dword [rax]
sub edx, 4
je 0x18017d69d
cmp edx, 1
jne 0x18017d6d5
mov rcx, qword [0x18022d8a0]
call fcn.180161520
mov rcx, qword [0x180233ba8]
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 0x18017d6d5
mov qword [0x18022d8b8], rax
mov dword [rbp + 0x170], 1
mov rcx, qword [0x180233ba8]
mov rax, qword [rcx]
call qword [rax + 0x30]
xor r13d, r13d
mov edx, dword [rbp + 0x170]
cmp edx, eax
jge 0x18017ded9
mov r15d, dword [0x18023228c]
mov r12, qword gs:[0x58]
movabs rbx, 0x100000001b3
nop word [rax + rax]
mov rcx, qword [0x180233ba8]
mov rax, qword [rcx]
call qword [rax + 0x18]
mov rsi, rax
test rax, rax
je case.0x18017dd19.250
mov qword [rsp + 0x20], rax
mov rdx, qword [rax + 0x10]
lea rcx, [rax + 0x10]
call qword [rdx + 0x40]
test al, al
je 0x18017d8a3
mov rax, qword [rsi + 0x10]
lea rcx, [rsi + 0x10]
call qword [rax + 0x10]
test rax, rax
je case.0x18017dd19.250
cmp dword [rax + 0x28], 0xf7
jne case.0x18017dd19.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 [0x18022dac0]
add rdx, rdx
mov r8, qword [0x18022daa8]
mov rcx, qword [r8 + rdx*8 + 8]
cmp rcx, qword [0x18022da98]
je 0x18017d7f8
mov r8, qword [r8 + rdx*8]
mov eax, dword [rcx + 0x10]
cmp dword [rbp + 0x170], eax
je 0x18017d7fb
cmp rcx, r8
je 0x18017d7f8
mov rcx, qword [rcx + 8]
mov eax, dword [rcx + 0x10]
cmp dword [rbp + 0x170], eax
jne 0x18017d7e2
jmp 0x18017d7fb
mov rcx, r13
test rcx, rcx
je case.0x18017dd19.250
lea r8, [rbp + 0x170]
lea rdx, [rbp - 0x10]
call fcn.180167450
mov rbx, qword [rax]
movss xmm6, dword [rbx + 0x20]
mov rcx, qword [0x180233bc0]
mov rax, qword [rcx]
call qword [rax + 0x70]
subss xmm0, xmm6
comiss xmm0, dword [0x180242514]
ja case.0x18017dd19.250
lea rdx, [rbx + 0x14]
mov rcx, rsi
call qword [0x18022ce18]
mov rcx, rsi
call fcn.1800adf10
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.1800a78c0
mov byte [rax], 0
mov rbx, qword [0x18022d8b0]
test rbx, rbx
je 0x18017d8a3
mov edx, dword [rbp + 0x170]
mov rcx, rbx
call fcn.18013edb0
test al, al
je 0x18017d8a3
mov edx, dword [rbp + 0x170]
mov rcx, rbx
call fcn.1800ff740
mov ebx, eax
mov rcx, rsi
call fcn.1800ad720
mov dword [rax], ebx
mov rax, qword [rsi + 0x10]
lea rcx, [rsi + 0x10]
call qword [rax + 0x10]
test rax, rax
je case.0x18017dd19.250
mov ebx, dword [rax + 0x28]
cmp ebx, 0xf7
jg 0x18017dcef
je 0x18017db65
lea eax, [rbx - 1]
cmp eax, 0xd8
ja case.0x18017dd19.250
cdqe
lea rdi, [0x180000000]
movzx eax, byte [rdi + rax + 0x17e040]
mov ecx, dword [rdi + rax*4 + 0x17e014]
add rcx, rdi
jmp rcx
mov rcx, rsi
call fcn.18014b5f0
cmp byte [rax], 0
jne case.0x18017dd19.250
mov dword [rbp + 0x178], 3
lea r8, [rbp + 0x178]
lea rdx, [rbp]
lea rcx, [0x18022d8c0]
call fcn.1800b2bd0
mov rcx, qword [rax]
add rcx, 0x18
mov rdx, qword [rcx + 8]
cmp rdx, qword [rcx + 0x10]
je 0x18017d944
mov qword [rdx], rsi
add qword [rcx + 8], 8
jmp 0x18017d953
lea r8, [rsp + 0x20]
call fcn.18012ea10
mov rsi, qword [rsp + 0x20]
mov rcx, qword [0x18022d8a0]
call fcn.1800a8760
mov ebx, dword [rax]
mov rcx, rsi
call fcn.1800a8760
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 0x18017de7d
mov rdx, rsi
call fcn.18017e2e0
test al, al
je 0x18017d9a9
mov dword [rbp + 0x178], 7
lea rdx, [rbp + 0x20]
jmp 0x18017de76
mov rdx, rsi
call fcn.18017e1a0
test al, al
je 0x18017d9c8
mov dword [rbp + 0x178], 6
lea rdx, [rbp + 0x30]
jmp 0x18017de76
mov rdx, rsi
call fcn.18017e3a0
test al, al
je case.0x18017dd19.250
mov dword [rbp + 0x178], 0xc
lea rdx, [rbp + 0x40]
jmp 0x18017de76
mov dword [rbp + 0x178], 7
lea rdx, [rbp + 0x50]
jmp 0x18017de76
mov dword [rbp + 0x178], 0xb
lea rdx, [rbp + 0x60]
jmp 0x18017de76
mov ecx, 4
mov rax, qword [r12 + r15*8]
mov ecx, dword [rcx + rax]
cmp dword [0x1802342e8], ecx
jle 0x18017dace
lea rcx, [0x1802342e8]
call fcn.180183aac
cmp dword [0x1802342e8], 0xffffffff
jne 0x18017dace
mov rcx, qword [0x180233b80]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov r10, rax
test rax, rax
je 0x18017dab9
nop word [rax + rax]
mov r8, qword [r10 + 0x10]
mov rcx, 0xffffffffffffffff
mov r9d, 0x811c9dc5
inc rcx
cmp byte [r8 + rcx], 0
jne 0x18017da71
mov rdx, r13
test rcx, rcx
je 0x18017dab0
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 0x18017da90
cmp r9d, 0xd5c073db
je 0x18017db16
mov r10, qword [r10 + 0x20]
test r10, r10
jne 0x18017da60
mov eax, r13d
mov dword [0x1802342e4], eax
lea rcx, [0x1802342e8]
call fcn.180183a40
mov rcx, qword [0x180233ba8]
mov rax, qword [rcx]
mov r8, qword [rax + 0x20]
movsxd rax, dword [0x1802342e4]
mov edx, dword [rax + rsi]
mov dword [rbp + 0x188], edx
lea rdx, [rbp + 0x188]
call r8
cmp rax, qword [0x18022d8a0]
jne case.0x18017dd19.250
mov dword [rbp + 0x178], 0xd
lea rdx, [rbp + 0x70]
jmp 0x18017de76
lea r8, str.m_hTargetPlayer
mov rdx, qword [r10 + 0x18]
call fcn.180183640
jmp 0x18017dabc
mov dword [rbp + 0x178], 0x11
lea rdx, [rbp + 0x80]
jmp 0x18017de76
mov rcx, rsi
call fcn.18014e4e0
cmp dword [rax], 1
je case.0x18017dd19.250
mov dword [rbp + 0x178], 0xe
lea rdx, [rbp + 0x90]
jmp 0x18017de76
mov dword [rbp + 0x178], r13d
lea r8, [rbp + 0x178]
lea rdx, [rbp + 0xa0]
lea rcx, [0x18022d8c0]
call fcn.1800b2bd0
mov rcx, qword [rax]
add rcx, 0x18
mov rdx, qword [rcx + 8]
cmp rdx, qword [rcx + 0x10]
je 0x18017dba1
mov qword [rdx], rsi
add qword [rcx + 8], 8
jmp 0x18017dbb0
lea r8, [rsp + 0x20]
call fcn.18012ea10
mov rsi, qword [rsp + 0x20]
mov rcx, qword [0x18022d8a0]
call fcn.1800a8760
mov ebx, dword [rax]
mov rcx, rsi
call fcn.1800a8760
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, [0x18022d8c0]
call fcn.1800b2bd0
mov rcx, qword [rax]
add rcx, 0x18
mov rdx, qword [rcx + 8]
cmp rdx, qword [rcx + 0x10]
je 0x18017dc07
mov qword [rdx], rsi
add qword [rcx + 8], 8
jmp 0x18017dc11
lea r8, [rsp + 0x20]
call fcn.18012ea10
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 [0x180233bc0]
mov rax, qword [rcx]
lea r8, [rsp + 0x40]
mov edx, dword [rbp + 0x170]
call qword [rax + 0x40]
test al, al
je case.0x18017dd19.250
cmp byte [rbp - 0x54], 0
jne case.0x18017dd19.250
mov ebx, dword [rbp + 0x170]
lea r8, [rbp - 0x78]
lea rdx, [rbp + 0xc0]
lea rcx, [0x18022d900]
call fcn.180140d80
mov rcx, qword [rax]
mov dword [rcx + 0x14], ebx
mov rcx, qword [0x180233f90]
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, [0x18022d940]
call fcn.1800d7db0
mov rcx, qword [rax]
mov byte [rcx + 0x14], bl
jmp case.0x18017dd19.250
lea eax, [rbx - 0xf9]
cmp eax, 0x69
ja case.0x18017dd19.250
cdqe
lea rdi, [0x180000000]
movzx eax, byte [rdi + rax + 0x17e130]
mov ecx, dword [rdi + rax*4 + 0x17e11c]
add rcx, rdi
jmp rcx
mov qword [0x18022d8b0], rsi
jmp case.0x18017dd19.250
mov dword [rbp + 0x178], 8
lea r8, [rbp + 0x178]
lea rdx, [rbp + 0xe0]
lea rcx, [0x18022d8c0]
call fcn.1800b2bd0
mov rcx, qword [rax]
add rcx, 0x18
mov rdx, qword [rcx + 8]
cmp rdx, qword [rcx + 0x10]
je 0x18017dd66
mov qword [rdx], rsi
add qword [rcx + 8], 8
jmp 0x18017dd75
lea r8, [rsp + 0x20]
call fcn.18012ea10
mov rsi, qword [rsp + 0x20]
cmp ebx, 0xd9
jne 0x18017ddde
mov rcx, rsi
call fcn.1800ad520
cmp dword [rax], 1
je 0x18017dd9b
mov rcx, rsi
call fcn.1800ad520
cmp dword [rax], 2
jne case.0x18017dd19.250
mov rcx, rsi
call fcn.1800ad320
mov rcx, qword [0x180233ba8]
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.0x18017dd19.250
mov dword [rbp + 0x178], 0xf
lea rdx, [rbp + 0xf0]
jmp 0x18017de76
cmp ebx, 0x101
jne case.0x18017dd19.250
mov edx, 1
mov rcx, qword [0x18022d8a0]
call fcn.1800bd680
test rax, rax
je case.0x18017dd19.250
mov rcx, rax
call fcn.1800ad920
cmp dword [rax], 0x15f
jne case.0x18017dd19.250
mov rcx, rsi
call fcn.180141880
mov rcx, qword [0x180233ba8]
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 [0x18022d8a0]
jne case.0x18017dd19.250
mov dword [rbp + 0x178], 0x10
lea rdx, [rbp + 0x100]
jmp 0x18017de76
mov dword [rbp + 0x178], 9
lea rdx, [rbp - 0x20]
jmp 0x18017de76
mov dword [rbp + 0x178], 0xa
lea rdx, [rbp - 0x30]
lea r8, [rbp + 0x178]
lea rcx, [0x18022d8c0]
call fcn.1800b2bd0
mov rcx, qword [rax]
add rcx, 0x18
mov rdx, qword [rcx + 8]
cmp rdx, qword [rcx + 0x10]
je 0x18017dea4
mov qword [rdx], rsi
add qword [rcx + 8], 8
jmp case.0x18017dd19.250
lea r8, [rsp + 0x20]
call fcn.18012ea10
inc dword [rbp + 0x170]
mov rcx, qword [0x180233ba8]
mov rax, qword [rcx]
call qword [rax + 0x30]
mov edx, dword [rbp + 0x170]
cmp edx, eax
movabs rbx, 0x100000001b3
jl 0x18017d720
lea rcx, [0x18022d980]
call fcn.180090fa0
lea rcx, [0x18022d9c0]
call fcn.180090fa0
mov dword [rbp + 0x170], r13d
lea r8, [rbp + 0x170]
lea rdx, [rbp - 0x30]
lea rcx, [0x18022d8c0]
call fcn.1800b2bd0
mov rcx, qword [rax]
mov rsi, qword [rcx + 0x20]
mov rdi, qword [rcx + 0x18]
cmp rdi, rsi
je 0x18017dff6
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 [0x180233bc0]
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 [0x180233bc0]
call rbx
test al, al
je 0x18017dfe9
xor r8d, r8d
mov edx, dword [rbp - 0x78]
lea rcx, [0x180242af0]
call fcn.18013f5d0
mov ebx, eax
lea r8, [rbp - 0x78]
lea rdx, [rbp - 0x30]
lea rcx, [0x18022d980]
call fcn.180140d80
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, [0x18022d9c0]
call fcn.1800b2e10
mov rcx, qword [rax]
mov dword [rcx + 0x14], ebx
add rdi, 8
cmp rdi, rsi
jne 0x18017df30
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