Function at 0x1801798d0
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 - 0x118]
sub rsp, 0x218
movaps xmmword [rsp + 0x200], xmm6
mov rax, qword [0x18022caf8]
mov rcx, qword [rax]
mov rbx, qword [rcx + 0x18]
mov rcx, qword [0x18022cb10]
mov rax, qword [rcx]
call qword [rax + 0x60]
mov edx, eax
mov rcx, qword [0x18022caf8]
call rbx
mov r14, rax
test rax, rax
je 0x18017a296
mov qword [0x180226860], rax
mov rcx, rax
call fcn.1800d2c60
mov rcx, qword [0x18022caf8]
mov rdx, qword [rcx]
mov r8, qword [rdx + 0x20]
mov edx, dword [rax]
mov dword [rbp + 0x160], edx
lea rdx, [rbp + 0x160]
call r8
test rax, rax
je 0x180179965
mov qword [0x180226868], rax
mov rcx, qword [0x180226860]
call fcn.18015d680
mov edx, dword [rax]
sub edx, 4
je 0x18017997d
cmp edx, 1
jne 0x1801799b5
mov rcx, qword [0x180226860]
call fcn.18015d780
mov rcx, qword [0x18022caf8]
mov rdx, qword [rcx]
mov r8, qword [rdx + 0x20]
mov eax, dword [rax]
mov dword [rbp + 0x160], eax
lea rdx, [rbp + 0x160]
call r8
test rax, rax
je 0x1801799b5
mov qword [0x180226878], rax
mov dword [rbp + 0x160], 1
mov rcx, qword [0x18022caf8]
mov rax, qword [rcx]
call qword [rax + 0x30]
xor r13d, r13d
mov edx, dword [rbp + 0x160]
cmp edx, eax
jge 0x18017a182
mov r15d, dword [0x18022b1cc]
mov r12, qword gs:[0x58]
movabs rbx, 0x100000001b3
nop word [rax + rax]
mov rcx, qword [0x18022caf8]
mov rax, qword [rcx]
call qword [rax + 0x18]
mov rsi, rax
test rax, rax
je case.0x180179fc2.250
mov qword [rsp + 0x20], rax
mov rdx, qword [rax + 0x10]
lea rcx, [rax + 0x10]
call qword [rdx + 0x40]
test al, al
je 0x180179b83
mov rax, qword [rsi + 0x10]
lea rcx, [rsi + 0x10]
call qword [rax + 0x10]
test rax, rax
je case.0x180179fc2.250
cmp dword [rax + 0x28], 0xf7
jne case.0x180179fc2.250
movzx edx, byte [rbp + 0x160]
movabs rax, 0xcbf29ce484222325
xor rdx, rax
imul rdx, rbx
movzx eax, byte [rbp + 0x161]
xor rdx, rax
imul rdx, rbx
movzx eax, byte [rbp + 0x162]
xor rdx, rax
imul rdx, rbx
movzx eax, byte [rbp + 0x163]
xor rdx, rax
imul rdx, rbx
and rdx, qword [0x180226a80]
add rdx, rdx
mov r8, qword [0x180226a68]
mov rcx, qword [r8 + rdx*8 + 8]
cmp rcx, qword [0x180226a58]
je 0x180179ad8
mov r8, qword [r8 + rdx*8]
mov eax, dword [rcx + 0x10]
cmp dword [rbp + 0x160], eax
je 0x180179adb
cmp rcx, r8
je 0x180179ad8
mov rcx, qword [rcx + 8]
mov eax, dword [rcx + 0x10]
cmp dword [rbp + 0x160], eax
jne 0x180179ac2
jmp 0x180179adb
mov rcx, r13
test rcx, rcx
je case.0x180179fc2.250
lea r8, [rbp + 0x160]
lea rdx, [rbp - 0x10]
call fcn.180163510
mov rbx, qword [rax]
movss xmm6, dword [rbx + 0x20]
mov rcx, qword [0x18022cb10]
mov rax, qword [rcx]
call qword [rax + 0x70]
subss xmm0, xmm6
comiss xmm0, dword [0x18023aed4]
ja case.0x180179fc2.250
lea rdx, [rbx + 0x14]
mov rcx, rsi
call qword [0x180225e18]
mov rcx, rsi
call fcn.1800abf90
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.1800a57e0
mov byte [rax], 0
mov rbx, qword [0x180226870]
test rbx, rbx
je 0x180179b83
mov edx, dword [rbp + 0x160]
mov rcx, rbx
call fcn.18013be00
test al, al
je 0x180179b83
mov edx, dword [rbp + 0x160]
mov rcx, rbx
call fcn.1800fc5d0
mov ebx, eax
mov rcx, rsi
call fcn.1800ab7a0
mov dword [rax], ebx
mov rax, qword [rsi + 0x10]
lea rcx, [rsi + 0x10]
call qword [rax + 0x10]
test rax, rax
je case.0x180179fc2.250
mov ebx, dword [rax + 0x28]
cmp ebx, 0xf7
jg 0x180179f98
je 0x180179e0e
lea eax, [rbx - 1]
cmp eax, 0xd8
ja case.0x180179fc2.250
cdqe
lea rdi, [0x180000000]
movzx eax, byte [rdi + rax + 0x17a2dc]
mov ecx, dword [rdi + rax*4 + 0x17a2b4]
add rcx, rdi
jmp rcx
mov dword [rbp + 0x168], 3
lea r8, [rbp + 0x168]
lea rdx, [rbp]
lea rcx, [0x180226880]
call fcn.1800b0c50
mov rcx, qword [rax]
add rcx, 0x18
mov rdx, qword [rcx + 8]
cmp rdx, qword [rcx + 0x10]
je 0x180179c13
mov qword [rdx], rsi
add qword [rcx + 8], 8
jmp 0x180179c22
lea r8, [rsp + 0x20]
call fcn.18012b4a0
mov rsi, qword [rsp + 0x20]
mov rcx, qword [0x180226860]
call fcn.1800a6680
mov ebx, dword [rax]
mov rcx, rsi
call fcn.1800a6680
mov ecx, r13d
cmp dword [rax], ebx
sete cl
add ecx, 4
mov dword [rbp + 0x170], ecx
lea r8, [rbp + 0x170]
lea rdx, [rbp + 0x10]
jmp 0x18017a126
mov rdx, rsi
call fcn.18017a580
test al, al
je 0x180179c78
mov dword [rbp + 0x168], 7
lea rdx, [rbp + 0x20]
jmp 0x18017a11f
mov rdx, rsi
call fcn.18017a440
test al, al
je 0x180179c97
mov dword [rbp + 0x168], 6
lea rdx, [rbp + 0x30]
jmp 0x18017a11f
mov rdx, rsi
call fcn.18017a640
test al, al
je case.0x180179fc2.250
mov dword [rbp + 0x168], 0xc
lea rdx, [rbp + 0x40]
jmp 0x18017a11f
mov dword [rbp + 0x168], 7
lea rdx, [rbp + 0x50]
jmp 0x18017a11f
mov dword [rbp + 0x168], 0xb
lea rdx, [rbp + 0x60]
jmp 0x18017a11f
mov ecx, 4
mov rax, qword [r12 + r15*8]
mov ecx, dword [rcx + rax]
cmp dword [0x18022d218], ecx
jle 0x180179d9e
lea rcx, [0x18022d218]
call fcn.18017f85c
cmp dword [0x18022d218], 0xffffffff
jne 0x180179d9e
mov rcx, qword [0x18022cad0]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov r10, rax
test rax, rax
je 0x180179d89
nop word [rax + rax]
mov r8, qword [r10 + 0x10]
mov rcx, 0xffffffffffffffff
mov r9d, 0x811c9dc5
inc rcx
cmp byte [r8 + rcx], 0
jne 0x180179d41
mov rdx, r13
test rcx, rcx
je 0x180179d80
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 0x180179d60
cmp r9d, 0xd5c073db
je 0x180179de6
mov r10, qword [r10 + 0x20]
test r10, r10
jne 0x180179d30
mov eax, r13d
mov dword [0x18022d214], eax
lea rcx, [0x18022d218]
call fcn.18017f7f0
mov rcx, qword [0x18022caf8]
mov rax, qword [rcx]
mov r8, qword [rax + 0x20]
movsxd rax, dword [0x18022d214]
mov edx, dword [rax + rsi]
mov dword [rbp + 0x178], edx
lea rdx, [rbp + 0x178]
call r8
cmp rax, qword [0x180226860]
jne case.0x180179fc2.250
mov dword [rbp + 0x168], 0xd
lea rdx, [rbp + 0x70]
jmp 0x18017a11f
lea r8, str.m_hTargetPlayer
mov rdx, qword [r10 + 0x18]
call fcn.18017f3f0
jmp 0x180179d8c
mov dword [rbp + 0x168], 0x10
lea rdx, [rbp + 0x80]
jmp 0x18017a11f
mov dword [rbp + 0x168], r13d
lea r8, [rbp + 0x168]
lea rdx, [rbp + 0x90]
lea rcx, [0x180226880]
call fcn.1800b0c50
mov rcx, qword [rax]
add rcx, 0x18
mov rdx, qword [rcx + 8]
cmp rdx, qword [rcx + 0x10]
je 0x180179e4a
mov qword [rdx], rsi
add qword [rcx + 8], 8
jmp 0x180179e59
lea r8, [rsp + 0x20]
call fcn.18012b4a0
mov rsi, qword [rsp + 0x20]
mov rcx, qword [0x180226860]
call fcn.1800a6680
mov ebx, dword [rax]
mov rcx, rsi
call fcn.1800a6680
mov ecx, r13d
cmp dword [rax], ebx
sete cl
inc ecx
mov dword [rsp + 0x30], ecx
lea r8, [rsp + 0x30]
lea rdx, [rbp + 0xa0]
lea rcx, [0x180226880]
call fcn.1800b0c50
mov rcx, qword [rax]
add rcx, 0x18
mov rdx, qword [rcx + 8]
cmp rdx, qword [rcx + 0x10]
je 0x180179eb0
mov qword [rdx], rsi
add qword [rcx + 8], 8
jmp 0x180179eba
lea r8, [rsp + 0x20]
call fcn.18012b4a0
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 [0x18022cb10]
mov rax, qword [rcx]
lea r8, [rsp + 0x40]
mov edx, dword [rbp + 0x160]
call qword [rax + 0x40]
test al, al
je case.0x180179fc2.250
cmp byte [rbp - 0x54], 0
jne case.0x180179fc2.250
mov ebx, dword [rbp + 0x160]
lea r8, [rbp - 0x78]
lea rdx, [rbp + 0xb0]
lea rcx, [0x1802268c0]
call fcn.18013ddd0
mov rcx, qword [rax]
mov dword [rcx + 0x14], ebx
mov rcx, qword [0x18022ced8]
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 + 0x160]
lea rdx, [rbp + 0xc0]
lea rcx, [0x180226900]
call fcn.1800d4c80
mov rcx, qword [rax]
mov byte [rcx + 0x14], bl
jmp case.0x180179fc2.250
lea eax, [rbx - 0xf9]
cmp eax, 0x69
ja case.0x180179fc2.250
cdqe
lea rdi, [0x180000000]
movzx eax, byte [rdi + rax + 0x17a3cc]
mov ecx, dword [rdi + rax*4 + 0x17a3b8]
add rcx, rdi
jmp rcx
mov qword [0x180226870], rsi
jmp case.0x180179fc2.250
mov dword [rbp + 0x168], 8
lea r8, [rbp + 0x168]
lea rdx, [rbp + 0xd0]
lea rcx, [0x180226880]
call fcn.1800b0c50
mov rcx, qword [rax]
add rcx, 0x18
mov rdx, qword [rcx + 8]
cmp rdx, qword [rcx + 0x10]
je 0x18017a00f
mov qword [rdx], rsi
add qword [rcx + 8], 8
jmp 0x18017a01e
lea r8, [rsp + 0x20]
call fcn.18012b4a0
mov rsi, qword [rsp + 0x20]
cmp ebx, 0xd9
jne 0x18017a087
mov rcx, rsi
call fcn.1800ab5a0
cmp dword [rax], 1
je 0x18017a044
mov rcx, rsi
call fcn.1800ab5a0
cmp dword [rax], 2
jne case.0x180179fc2.250
mov rcx, rsi
call fcn.1800ab3a0
mov rcx, qword [0x18022caf8]
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.0x180179fc2.250
mov dword [rbp + 0x168], 0xe
lea rdx, [rbp + 0xe0]
jmp 0x18017a11f
cmp ebx, 0x101
jne case.0x180179fc2.250
mov edx, 1
mov rcx, qword [0x180226860]
call fcn.1800bb590
test rax, rax
je case.0x180179fc2.250
mov rcx, rax
call fcn.1800ab9a0
cmp dword [rax], 0x15f
jne case.0x180179fc2.250
mov rcx, rsi
call fcn.18013e830
mov rcx, qword [0x18022caf8]
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 [0x180226860]
jne case.0x180179fc2.250
mov dword [rbp + 0x168], 0xf
lea rdx, [rbp + 0xf0]
jmp 0x18017a11f
mov dword [rbp + 0x168], 9
lea rdx, [rbp - 0x20]
jmp 0x18017a11f
mov dword [rbp + 0x168], 0xa
lea rdx, [rbp - 0x30]
lea r8, [rbp + 0x168]
lea rcx, [0x180226880]
call fcn.1800b0c50
mov rcx, qword [rax]
add rcx, 0x18
mov rdx, qword [rcx + 8]
cmp rdx, qword [rcx + 0x10]
je 0x18017a14d
mov qword [rdx], rsi
add qword [rcx + 8], 8
jmp case.0x180179fc2.250
lea r8, [rsp + 0x20]
call fcn.18012b4a0
inc dword [rbp + 0x160]
mov rcx, qword [0x18022caf8]
mov rax, qword [rcx]
call qword [rax + 0x30]
mov edx, dword [rbp + 0x160]
cmp edx, eax
movabs rbx, 0x100000001b3
jl 0x180179a00
lea rcx, [0x180226940]
call fcn.18008fb20
lea rcx, [0x180226980]
call fcn.18008fb20
mov dword [rbp + 0x160], r13d
lea r8, [rbp + 0x160]
lea rdx, [rbp - 0x30]
lea rcx, [0x180226880]
call fcn.1800b0c50
mov rcx, qword [rax]
mov rsi, qword [rcx + 0x20]
mov rdi, qword [rcx + 0x18]
cmp rdi, rsi
je 0x18017a296
nop dword [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 [0x18022cb10]
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 [0x18022cb10]
call rbx
test al, al
je 0x18017a289
xor r8d, r8d
mov edx, dword [rbp - 0x78]
lea rcx, [0x18023b4b0]
call fcn.18013c620
mov ebx, eax
lea r8, [rbp - 0x78]
lea rdx, [rbp - 0x30]
lea rcx, [0x180226940]
call fcn.18013ddd0
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 + 0x160], eax
lea r8, [rbp + 0x160]
lea rdx, [rbp - 0x20]
lea rcx, [0x180226980]
call fcn.1800b0e90
mov rcx, qword [rax]
mov dword [rcx + 0x14], ebx
add rdi, 8
cmp rdi, rsi
jne 0x18017a1d0
movaps xmm6, xmmword [rsp + 0x200]
add rsp, 0x218
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret