Function at 0x180178490
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 [0x18022aa40]
mov rcx, qword [rax]
mov rbx, qword [rcx + 0x18]
mov rcx, qword [0x18022aa58]
mov rax, qword [rcx]
call qword [rax + 0x60]
mov edx, eax
mov rcx, qword [0x18022aa40]
call rbx
mov r14, rax
test rax, rax
je 0x180178e56
mov qword [0x180224800], rax
mov rcx, rax
call fcn.1800d1ed0
mov rcx, qword [0x18022aa40]
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 0x180178525
mov qword [0x180224808], rax
mov rcx, qword [0x180224800]
call fcn.18015c230
mov edx, dword [rax]
sub edx, 4
je 0x18017853d
cmp edx, 1
jne 0x180178575
mov rcx, qword [0x180224800]
call fcn.18015c330
mov rcx, qword [0x18022aa40]
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 0x180178575
mov qword [0x180224818], rax
mov dword [rbp + 0x160], 1
mov rcx, qword [0x18022aa40]
mov rax, qword [rcx]
call qword [rax + 0x30]
xor r13d, r13d
mov edx, dword [rbp + 0x160]
cmp edx, eax
jge 0x180178d42
mov r15d, dword [0x18022910c]
mov r12, qword gs:[0x58]
movabs rbx, 0x100000001b3
nop word [rax + rax]
mov rcx, qword [0x18022aa40]
mov rax, qword [rcx]
call qword [rax + 0x18]
mov rsi, rax
test rax, rax
je case.0x180178b82.250
mov qword [rsp + 0x20], rax
mov rdx, qword [rax + 0x10]
lea rcx, [rax + 0x10]
call qword [rdx + 0x40]
test al, al
je 0x180178743
mov rax, qword [rsi + 0x10]
lea rcx, [rsi + 0x10]
call qword [rax + 0x10]
test rax, rax
je case.0x180178b82.250
cmp dword [rax + 0x28], 0xf7
jne case.0x180178b82.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 [0x180224a20]
add rdx, rdx
mov r8, qword [0x180224a08]
mov rcx, qword [r8 + rdx*8 + 8]
cmp rcx, qword [0x1802249f8]
je 0x180178698
mov r8, qword [r8 + rdx*8]
mov eax, dword [rcx + 0x10]
cmp dword [rbp + 0x160], eax
je 0x18017869b
cmp rcx, r8
je 0x180178698
mov rcx, qword [rcx + 8]
mov eax, dword [rcx + 0x10]
cmp dword [rbp + 0x160], eax
jne 0x180178682
jmp 0x18017869b
mov rcx, r13
test rcx, rcx
je case.0x180178b82.250
lea r8, [rbp + 0x160]
lea rdx, [rbp - 0x10]
call fcn.180162070
mov rbx, qword [rax]
movss xmm6, dword [rbx + 0x20]
mov rcx, qword [0x18022aa58]
mov rax, qword [rcx]
call qword [rax + 0x70]
subss xmm0, xmm6
comiss xmm0, dword [0x180238ca4]
ja case.0x180178b82.250
lea rdx, [rbx + 0x14]
mov rcx, rsi
call qword [0x180223de8]
mov rcx, rsi
call fcn.1800b7850
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.1800b10a0
mov byte [rax], 0
mov rbx, qword [0x180224810]
test rbx, rbx
je 0x180178743
mov edx, dword [rbp + 0x160]
mov rcx, rbx
call fcn.18013ac50
test al, al
je 0x180178743
mov edx, dword [rbp + 0x160]
mov rcx, rbx
call fcn.1800fb930
mov ebx, eax
mov rcx, rsi
call fcn.1800b7060
mov dword [rax], ebx
mov rax, qword [rsi + 0x10]
lea rcx, [rsi + 0x10]
call qword [rax + 0x10]
test rax, rax
je case.0x180178b82.250
mov ebx, dword [rax + 0x28]
cmp ebx, 0xf7
jg 0x180178b58
je 0x1801789ce
lea eax, [rbx - 1]
cmp eax, 0xd8
ja case.0x180178b82.250
cdqe
lea rdi, [0x180000000]
movzx eax, byte [rdi + rax + 0x178e9c]
mov ecx, dword [rdi + rax*4 + 0x178e74]
add rcx, rdi
jmp rcx
mov dword [rbp + 0x168], 3
lea r8, [rbp + 0x168]
lea rdx, [rbp]
lea rcx, [0x180224820]
call fcn.1800bbfb0
mov rcx, qword [rax]
add rcx, 0x18
mov rdx, qword [rcx + 8]
cmp rdx, qword [rcx + 0x10]
je 0x1801787d3
mov qword [rdx], rsi
add qword [rcx + 8], 8
jmp 0x1801787e2
lea r8, [rsp + 0x20]
call fcn.18012a780
mov rsi, qword [rsp + 0x20]
mov rcx, qword [0x180224800]
call fcn.1800b1f40
mov ebx, dword [rax]
mov rcx, rsi
call fcn.1800b1f40
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 0x180178ce6
mov rdx, rsi
call fcn.180179140
test al, al
je 0x180178838
mov dword [rbp + 0x168], 7
lea rdx, [rbp + 0x20]
jmp 0x180178cdf
mov rdx, rsi
call fcn.180179000
test al, al
je 0x180178857
mov dword [rbp + 0x168], 6
lea rdx, [rbp + 0x30]
jmp 0x180178cdf
mov rdx, rsi
call fcn.180179200
test al, al
je case.0x180178b82.250
mov dword [rbp + 0x168], 0xc
lea rdx, [rbp + 0x40]
jmp 0x180178cdf
mov dword [rbp + 0x168], 7
lea rdx, [rbp + 0x50]
jmp 0x180178cdf
mov dword [rbp + 0x168], 0xb
lea rdx, [rbp + 0x60]
jmp 0x180178cdf
mov ecx, 4
mov rax, qword [r12 + r15*8]
mov ecx, dword [rcx + rax]
cmp dword [0x18022b168], ecx
jle 0x18017895e
lea rcx, [0x18022b168]
call fcn.18017e33c
cmp dword [0x18022b168], 0xffffffff
jne 0x18017895e
mov rcx, qword [0x18022aa18]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov r10, rax
test rax, rax
je 0x180178949
nop word [rax + rax]
mov r8, qword [r10 + 0x10]
mov rcx, 0xffffffffffffffff
mov r9d, 0x811c9dc5
inc rcx
cmp byte [r8 + rcx], 0
jne 0x180178901
mov rdx, r13
test rcx, rcx
je 0x180178940
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 0x180178920
cmp r9d, 0xd5c073db
je 0x1801789a6
mov r10, qword [r10 + 0x20]
test r10, r10
jne 0x1801788f0
mov eax, r13d
mov dword [0x18022b164], eax
lea rcx, [0x18022b168]
call fcn.18017e2d0
mov rcx, qword [0x18022aa40]
mov rax, qword [rcx]
mov r8, qword [rax + 0x20]
movsxd rax, dword [0x18022b164]
mov edx, dword [rax + rsi]
mov dword [rbp + 0x178], edx
lea rdx, [rbp + 0x178]
call r8
cmp rax, qword [0x180224800]
jne case.0x180178b82.250
mov dword [rbp + 0x168], 0xd
lea rdx, [rbp + 0x70]
jmp 0x180178cdf
lea r8, str.m_hTargetPlayer
mov rdx, qword [r10 + 0x18]
call fcn.18017ded0
jmp 0x18017894c
mov dword [rbp + 0x168], 0x10
lea rdx, [rbp + 0x80]
jmp 0x180178cdf
mov dword [rbp + 0x168], r13d
lea r8, [rbp + 0x168]
lea rdx, [rbp + 0x90]
lea rcx, [0x180224820]
call fcn.1800bbfb0
mov rcx, qword [rax]
add rcx, 0x18
mov rdx, qword [rcx + 8]
cmp rdx, qword [rcx + 0x10]
je 0x180178a0a
mov qword [rdx], rsi
add qword [rcx + 8], 8
jmp 0x180178a19
lea r8, [rsp + 0x20]
call fcn.18012a780
mov rsi, qword [rsp + 0x20]
mov rcx, qword [0x180224800]
call fcn.1800b1f40
mov ebx, dword [rax]
mov rcx, rsi
call fcn.1800b1f40
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, [0x180224820]
call fcn.1800bbfb0
mov rcx, qword [rax]
add rcx, 0x18
mov rdx, qword [rcx + 8]
cmp rdx, qword [rcx + 0x10]
je 0x180178a70
mov qword [rdx], rsi
add qword [rcx + 8], 8
jmp 0x180178a7a
lea r8, [rsp + 0x20]
call fcn.18012a780
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 [0x18022aa58]
mov rax, qword [rcx]
lea r8, [rsp + 0x40]
mov edx, dword [rbp + 0x160]
call qword [rax + 0x40]
test al, al
je case.0x180178b82.250
cmp byte [rbp - 0x54], 0
jne case.0x180178b82.250
mov ebx, dword [rbp + 0x160]
lea r8, [rbp - 0x78]
lea rdx, [rbp + 0xb0]
lea rcx, [0x180224860]
call fcn.18013cc20
mov rcx, qword [rax]
mov dword [rcx + 0x14], ebx
mov rcx, qword [0x18022ae10]
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, [0x1802248a0]
call fcn.1800d3ef0
mov rcx, qword [rax]
mov byte [rcx + 0x14], bl
jmp case.0x180178b82.250
lea eax, [rbx - 0xf9]
cmp eax, 0x69
ja case.0x180178b82.250
cdqe
lea rdi, [0x180000000]
movzx eax, byte [rdi + rax + 0x178f8c]
mov ecx, dword [rdi + rax*4 + 0x178f78]
add rcx, rdi
jmp rcx
mov qword [0x180224810], rsi
jmp case.0x180178b82.250
mov dword [rbp + 0x168], 8
lea r8, [rbp + 0x168]
lea rdx, [rbp + 0xd0]
lea rcx, [0x180224820]
call fcn.1800bbfb0
mov rcx, qword [rax]
add rcx, 0x18
mov rdx, qword [rcx + 8]
cmp rdx, qword [rcx + 0x10]
je 0x180178bcf
mov qword [rdx], rsi
add qword [rcx + 8], 8
jmp 0x180178bde
lea r8, [rsp + 0x20]
call fcn.18012a780
mov rsi, qword [rsp + 0x20]
cmp ebx, 0xd9
jne 0x180178c47
mov rcx, rsi
call fcn.1800b6e60
cmp dword [rax], 1
je 0x180178c04
mov rcx, rsi
call fcn.1800b6e60
cmp dword [rax], 2
jne case.0x180178b82.250
mov rcx, rsi
call fcn.1800b6c60
mov rcx, qword [0x18022aa40]
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.0x180178b82.250
mov dword [rbp + 0x168], 0xe
lea rdx, [rbp + 0xe0]
jmp 0x180178cdf
cmp ebx, 0x101
jne case.0x180178b82.250
mov edx, 1
mov rcx, qword [0x180224800]
call fcn.1800c6720
test rax, rax
je case.0x180178b82.250
mov rcx, rax
call fcn.1800b7260
cmp dword [rax], 0x15f
jne case.0x180178b82.250
mov rcx, rsi
call fcn.18013d680
mov rcx, qword [0x18022aa40]
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 [0x180224800]
jne case.0x180178b82.250
mov dword [rbp + 0x168], 0xf
lea rdx, [rbp + 0xf0]
jmp 0x180178cdf
mov dword [rbp + 0x168], 9
lea rdx, [rbp - 0x20]
jmp 0x180178cdf
mov dword [rbp + 0x168], 0xa
lea rdx, [rbp - 0x30]
lea r8, [rbp + 0x168]
lea rcx, [0x180224820]
call fcn.1800bbfb0
mov rcx, qword [rax]
add rcx, 0x18
mov rdx, qword [rcx + 8]
cmp rdx, qword [rcx + 0x10]
je 0x180178d0d
mov qword [rdx], rsi
add qword [rcx + 8], 8
jmp case.0x180178b82.250
lea r8, [rsp + 0x20]
call fcn.18012a780
inc dword [rbp + 0x160]
mov rcx, qword [0x18022aa40]
mov rax, qword [rcx]
call qword [rax + 0x30]
mov edx, dword [rbp + 0x160]
cmp edx, eax
movabs rbx, 0x100000001b3
jl 0x1801785c0
lea rcx, [0x1802248e0]
call fcn.18008f2c0
lea rcx, [0x180224920]
call fcn.18008f2c0
mov dword [rbp + 0x160], r13d
lea r8, [rbp + 0x160]
lea rdx, [rbp - 0x30]
lea rcx, [0x180224820]
call fcn.1800bbfb0
mov rcx, qword [rax]
mov rsi, qword [rcx + 0x20]
mov rdi, qword [rcx + 0x18]
cmp rdi, rsi
je 0x180178e56
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 [0x18022aa58]
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 [0x18022aa58]
call rbx
test al, al
je 0x180178e49
xor r8d, r8d
mov edx, dword [rbp - 0x78]
lea rcx, [0x180239280]
call fcn.18013b470
mov ebx, eax
lea r8, [rbp - 0x78]
lea rdx, [rbp - 0x30]
lea rcx, [0x1802248e0]
call fcn.18013cc20
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, [0x180224920]
call fcn.1800bc1f0
mov rcx, qword [rax]
mov dword [rcx + 0x14], ebx
add rdi, 8
cmp rdi, rsi
jne 0x180178d90
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