Function at 0x180179760
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 [0x18022ba78]
mov rcx, qword [rax]
mov rbx, qword [rcx + 0x18]
mov rcx, qword [0x18022ba90]
mov rax, qword [rcx]
call qword [rax + 0x60]
mov edx, eax
mov rcx, qword [0x18022ba78]
call rbx
mov r14, rax
test rax, rax
je 0x18017a126
mov qword [0x180225830], rax
mov rcx, rax
call fcn.1800d3740
mov rcx, qword [0x18022ba78]
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 0x1801797f5
mov qword [0x180225838], rax
mov rcx, qword [0x180225830]
call fcn.18015d5a0
mov edx, dword [rax]
sub edx, 4
je 0x18017980d
cmp edx, 1
jne 0x180179845
mov rcx, qword [0x180225830]
call fcn.18015d6a0
mov rcx, qword [0x18022ba78]
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 0x180179845
mov qword [0x180225848], rax
mov dword [rbp + 0x160], 1
mov rcx, qword [0x18022ba78]
mov rax, qword [rcx]
call qword [rax + 0x30]
xor r13d, r13d
mov edx, dword [rbp + 0x160]
cmp edx, eax
jge 0x18017a012
mov r15d, dword [0x18022a150]
mov r12, qword gs:[0x58]
movabs rbx, 0x100000001b3
nop word [rax + rax]
mov rcx, qword [0x18022ba78]
mov rax, qword [rcx]
call qword [rax + 0x18]
mov rsi, rax
test rax, rax
je case.0x180179e52.250
mov qword [rsp + 0x20], rax
mov rdx, qword [rax + 0x10]
lea rcx, [rax + 0x10]
call qword [rdx + 0x40]
test al, al
je 0x180179a13
mov rax, qword [rsi + 0x10]
lea rcx, [rsi + 0x10]
call qword [rax + 0x10]
test rax, rax
je case.0x180179e52.250
cmp dword [rax + 0x28], 0xf7
jne case.0x180179e52.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 [0x180225a50]
add rdx, rdx
mov r8, qword [0x180225a38]
mov rcx, qword [r8 + rdx*8 + 8]
cmp rcx, qword [0x180225a28]
je 0x180179968
mov r8, qword [r8 + rdx*8]
mov eax, dword [rcx + 0x10]
cmp dword [rbp + 0x160], eax
je 0x18017996b
cmp rcx, r8
je 0x180179968
mov rcx, qword [rcx + 8]
mov eax, dword [rcx + 0x10]
cmp dword [rbp + 0x160], eax
jne 0x180179952
jmp 0x18017996b
mov rcx, r13
test rcx, rcx
je case.0x180179e52.250
lea r8, [rbp + 0x160]
lea rdx, [rbp - 0x10]
call fcn.180163360
mov rbx, qword [rax]
movss xmm6, dword [rbx + 0x20]
mov rcx, qword [0x18022ba90]
mov rax, qword [rcx]
call qword [rax + 0x70]
subss xmm0, xmm6
comiss xmm0, dword [0x180239ce4]
ja case.0x180179e52.250
lea rdx, [rbx + 0x14]
mov rcx, rsi
call qword [0x180224de8]
mov rcx, rsi
call fcn.1800ac6f0
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.1800a5f10
mov byte [rax], 0
mov rbx, qword [0x180225840]
test rbx, rbx
je 0x180179a13
mov edx, dword [rbp + 0x160]
mov rcx, rbx
call fcn.18013bfb0
test al, al
je 0x180179a13
mov edx, dword [rbp + 0x160]
mov rcx, rbx
call fcn.1800fd290
mov ebx, eax
mov rcx, rsi
call fcn.1800abef0
mov dword [rax], ebx
mov rax, qword [rsi + 0x10]
lea rcx, [rsi + 0x10]
call qword [rax + 0x10]
test rax, rax
je case.0x180179e52.250
mov ebx, dword [rax + 0x28]
cmp ebx, 0xf7
jg 0x180179e28
je 0x180179c9e
lea eax, [rbx - 1]
cmp eax, 0xd8
ja case.0x180179e52.250
cdqe
lea rdi, [0x180000000]
movzx eax, byte [rdi + rax + 0x17a16c]
mov ecx, dword [rdi + rax*4 + 0x17a144]
add rcx, rdi
jmp rcx
mov dword [rbp + 0x168], 3
lea r8, [rbp + 0x168]
lea rdx, [rbp]
lea rcx, [0x180225850]
call fcn.1800b0d70
mov rcx, qword [rax]
add rcx, 0x18
mov rdx, qword [rcx + 8]
cmp rdx, qword [rcx + 0x10]
je 0x180179aa3
mov qword [rdx], rsi
add qword [rcx + 8], 8
jmp 0x180179ab2
lea r8, [rsp + 0x20]
call fcn.18012bce0
mov rsi, qword [rsp + 0x20]
mov rcx, qword [0x180225830]
call fcn.1800a6d90
mov ebx, dword [rax]
mov rcx, rsi
call fcn.1800a6d90
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 0x180179fb6
mov rdx, rsi
call fcn.18017a410
test al, al
je 0x180179b08
mov dword [rbp + 0x168], 7
lea rdx, [rbp + 0x20]
jmp 0x180179faf
mov rdx, rsi
call fcn.18017a2d0
test al, al
je 0x180179b27
mov dword [rbp + 0x168], 6
lea rdx, [rbp + 0x30]
jmp 0x180179faf
mov rdx, rsi
call fcn.18017a4d0
test al, al
je case.0x180179e52.250
mov dword [rbp + 0x168], 0xc
lea rdx, [rbp + 0x40]
jmp 0x180179faf
mov dword [rbp + 0x168], 7
lea rdx, [rbp + 0x50]
jmp 0x180179faf
mov dword [rbp + 0x168], 0xb
lea rdx, [rbp + 0x60]
jmp 0x180179faf
mov ecx, 4
mov rax, qword [r12 + r15*8]
mov ecx, dword [rcx + rax]
cmp dword [0x18022c1a8], ecx
jle 0x180179c2e
lea rcx, [0x18022c1a8]
call fcn.18017f7fc
cmp dword [0x18022c1a8], 0xffffffff
jne 0x180179c2e
mov rcx, qword [0x18022ba50]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov r10, rax
test rax, rax
je 0x180179c19
nop word [rax + rax]
mov r8, qword [r10 + 0x10]
mov rcx, 0xffffffffffffffff
mov r9d, 0x811c9dc5
inc rcx
cmp byte [r8 + rcx], 0
jne 0x180179bd1
mov rdx, r13
test rcx, rcx
je 0x180179c10
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 0x180179bf0
cmp r9d, 0xd5c073db
je 0x180179c76
mov r10, qword [r10 + 0x20]
test r10, r10
jne 0x180179bc0
mov eax, r13d
mov dword [0x18022c1a4], eax
lea rcx, [0x18022c1a8]
call fcn.18017f790
mov rcx, qword [0x18022ba78]
mov rax, qword [rcx]
mov r8, qword [rax + 0x20]
movsxd rax, dword [0x18022c1a4]
mov edx, dword [rax + rsi]
mov dword [rbp + 0x178], edx
lea rdx, [rbp + 0x178]
call r8
cmp rax, qword [0x180225830]
jne case.0x180179e52.250
mov dword [rbp + 0x168], 0xd
lea rdx, [rbp + 0x70]
jmp 0x180179faf
lea r8, str.m_hTargetPlayer
mov rdx, qword [r10 + 0x18]
call fcn.18017f390
jmp 0x180179c1c
mov dword [rbp + 0x168], 0x10
lea rdx, [rbp + 0x80]
jmp 0x180179faf
mov dword [rbp + 0x168], r13d
lea r8, [rbp + 0x168]
lea rdx, [rbp + 0x90]
lea rcx, [0x180225850]
call fcn.1800b0d70
mov rcx, qword [rax]
add rcx, 0x18
mov rdx, qword [rcx + 8]
cmp rdx, qword [rcx + 0x10]
je 0x180179cda
mov qword [rdx], rsi
add qword [rcx + 8], 8
jmp 0x180179ce9
lea r8, [rsp + 0x20]
call fcn.18012bce0
mov rsi, qword [rsp + 0x20]
mov rcx, qword [0x180225830]
call fcn.1800a6d90
mov ebx, dword [rax]
mov rcx, rsi
call fcn.1800a6d90
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, [0x180225850]
call fcn.1800b0d70
mov rcx, qword [rax]
add rcx, 0x18
mov rdx, qword [rcx + 8]
cmp rdx, qword [rcx + 0x10]
je 0x180179d40
mov qword [rdx], rsi
add qword [rcx + 8], 8
jmp 0x180179d4a
lea r8, [rsp + 0x20]
call fcn.18012bce0
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 [0x18022ba90]
mov rax, qword [rcx]
lea r8, [rsp + 0x40]
mov edx, dword [rbp + 0x160]
call qword [rax + 0x40]
test al, al
je case.0x180179e52.250
cmp byte [rbp - 0x54], 0
jne case.0x180179e52.250
mov ebx, dword [rbp + 0x160]
lea r8, [rbp - 0x78]
lea rdx, [rbp + 0xb0]
lea rcx, [0x180225890]
call fcn.18013df70
mov rcx, qword [rax]
mov dword [rcx + 0x14], ebx
mov rcx, qword [0x18022be50]
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, [0x1802258d0]
call fcn.1800d57b0
mov rcx, qword [rax]
mov byte [rcx + 0x14], bl
jmp case.0x180179e52.250
lea eax, [rbx - 0xf9]
cmp eax, 0x69
ja case.0x180179e52.250
cdqe
lea rdi, [0x180000000]
movzx eax, byte [rdi + rax + 0x17a25c]
mov ecx, dword [rdi + rax*4 + 0x17a248]
add rcx, rdi
jmp rcx
mov qword [0x180225840], rsi
jmp case.0x180179e52.250
mov dword [rbp + 0x168], 8
lea r8, [rbp + 0x168]
lea rdx, [rbp + 0xd0]
lea rcx, [0x180225850]
call fcn.1800b0d70
mov rcx, qword [rax]
add rcx, 0x18
mov rdx, qword [rcx + 8]
cmp rdx, qword [rcx + 0x10]
je 0x180179e9f
mov qword [rdx], rsi
add qword [rcx + 8], 8
jmp 0x180179eae
lea r8, [rsp + 0x20]
call fcn.18012bce0
mov rsi, qword [rsp + 0x20]
cmp ebx, 0xd9
jne 0x180179f17
mov rcx, rsi
call fcn.1800abcf0
cmp dword [rax], 1
je 0x180179ed4
mov rcx, rsi
call fcn.1800abcf0
cmp dword [rax], 2
jne case.0x180179e52.250
mov rcx, rsi
call fcn.1800abaf0
mov rcx, qword [0x18022ba78]
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.0x180179e52.250
mov dword [rbp + 0x168], 0xe
lea rdx, [rbp + 0xe0]
jmp 0x180179faf
cmp ebx, 0x101
jne case.0x180179e52.250
mov edx, 1
mov rcx, qword [0x180225830]
call fcn.1800bb4e0
test rax, rax
je case.0x180179e52.250
mov rcx, rax
call fcn.1800ac0f0
cmp dword [rax], 0x15f
jne case.0x180179e52.250
mov rcx, rsi
call fcn.18013ea00
mov rcx, qword [0x18022ba78]
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 [0x180225830]
jne case.0x180179e52.250
mov dword [rbp + 0x168], 0xf
lea rdx, [rbp + 0xf0]
jmp 0x180179faf
mov dword [rbp + 0x168], 9
lea rdx, [rbp - 0x20]
jmp 0x180179faf
mov dword [rbp + 0x168], 0xa
lea rdx, [rbp - 0x30]
lea r8, [rbp + 0x168]
lea rcx, [0x180225850]
call fcn.1800b0d70
mov rcx, qword [rax]
add rcx, 0x18
mov rdx, qword [rcx + 8]
cmp rdx, qword [rcx + 0x10]
je 0x180179fdd
mov qword [rdx], rsi
add qword [rcx + 8], 8
jmp case.0x180179e52.250
lea r8, [rsp + 0x20]
call fcn.18012bce0
inc dword [rbp + 0x160]
mov rcx, qword [0x18022ba78]
mov rax, qword [rcx]
call qword [rax + 0x30]
mov edx, dword [rbp + 0x160]
cmp edx, eax
movabs rbx, 0x100000001b3
jl 0x180179890
lea rcx, [0x180225910]
call fcn.180090210
lea rcx, [0x180225950]
call fcn.180090210
mov dword [rbp + 0x160], r13d
lea r8, [rbp + 0x160]
lea rdx, [rbp - 0x30]
lea rcx, [0x180225850]
call fcn.1800b0d70
mov rcx, qword [rax]
mov rsi, qword [rcx + 0x20]
mov rdi, qword [rcx + 0x18]
cmp rdi, rsi
je 0x18017a126
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 [0x18022ba90]
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 [0x18022ba90]
call rbx
test al, al
je 0x18017a119
xor r8d, r8d
mov edx, dword [rbp - 0x78]
lea rcx, [0x18023a2c0]
call fcn.18013c7d0
mov ebx, eax
lea r8, [rbp - 0x78]
lea rdx, [rbp - 0x30]
lea rcx, [0x180225910]
call fcn.18013df70
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, [0x180225950]
call fcn.1800b0fb0
mov rcx, qword [rax]
mov dword [rcx + 0x14], ebx
add rdi, 8
cmp rdi, rsi
jne 0x18017a060
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