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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x40
mov dword [esp + 0x14], ecx
mov eax, dword [0x1017f528]
xor eax, esp
mov dword [esp + 0x3c], eax
mov eax, dword [0x1017f610]
cmp dword [eax + 0x18], 0
jle 0x10067861
mov eax, dword [esp + 0x14]
add eax, 0xf4
mov dword [esp + 0x20], eax
mov ebx, 1
jmp 0x10066fd4
lea eax, [ebx + 1]
mov ecx, dword [0x1017f610]
cmp ebx, dword [ecx + 0x18]
mov ebx, eax
jge 0x10067861
mov ebp, dword [0x1017f5d0]
cmp ebx, 0x41
je 0x10067874
imul esi, ebx, 0x3388
mov ecx, dword [esi + ebp - 0x3388]
test ecx, ecx
je 0x10066fc0
mov eax, dword [ecx + 8]
add ecx, 8
call dword [eax + 0x24]
test al, al
jne 0x10066fc0
add ebp, esi
add ebp, 0xffffcc78
mov edi, dword [ebp]
mov eax, dword [0x1017f71c]
test al, 1
je 0x1006716a
mov esi, dword [0x1017f718]
mov eax, dword [esi + 4]
cmp dword [eax + edi], 0
jle 0x10066fc0
mov eax, dword [0x1017f724]
test al, 1
je 0x100671cb
mov esi, dword [0x1017f720]
mov eax, dword [esi + 4]
cmp byte [eax + edi], 0
jne 0x10066fc0
mov edi, dword [ebp]
mov eax, dword [0x10184e1c]
test al, 1
je 0x10067321
mov esi, dword [0x10184e18]
mov eax, dword [esi + 4]
cmp byte [eax + edi], 0
jne 0x10066fc0
mov edi, dword [ebp]
mov eax, dword [0x10184e24]
test al, 1
je 0x10067470
mov esi, dword [0x10184e20]
mov ecx, dword [esi + 4]
mov edi, dword [ecx + edi]
mov edx, dword [0x1017f608]
mov esi, dword [edx]
test al, 1
je 0x100674d5
cmp edi, dword [ecx + esi]
je 0x10066fc0
mov ecx, dword [esp + 0x14]
push ebp
lea eax, [esp + 0x28]
push eax
call fcn.10065200
cmp byte [esp + 0x30], 0
je 0x10066fc0
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0xf8]
cmp eax, dword [ecx + 0xfc]
je 0x1006711c
mov ecx, dword [esp + 0x24]
mov dword [eax], ecx
vxorps xmm0, xmm0, xmm0
vmovlps qword [eax + 4], xmm0
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x100670e7
lock inc dword [ecx + 4]
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 8], ecx
vxorps xmm0, xmm0, xmm0
vmovups xmmword [eax + 0xc], xmm0
mov dword [eax + 0x1c], 0
mov eax, dword [esp + 0x14]
add dword [eax + 0xf8], 0x20
cmp byte [esp + 0x30], 0
jne 0x10067136
jmp 0x10066fc0
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x24]
push edx
push eax
call fcn.1006bd40
cmp byte [esp + 0x30], 0
je 0x10066fc0
mov ebp, dword [esp + 0x2c]
test ebp, ebp
je 0x10066fc0
lock dec dword [ebp + 4]
jne 0x10066fc0
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax]
lock dec dword [ebp + 8]
jne 0x10066fc0
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 4]
jmp 0x10066fc0
or eax, 1
mov dword [0x1017f71c], eax
mov eax, dword [0x1017f5c4]
mov dword [esp + 0x10], eax
lea esi, [esp + 0x24]
mov ecx, esi
push str.CBasePlayer__m_iHealth
call fcn.10005ce0
cmp dword [esp + 0x38], 0x10
mov dword [esp], esi
jb 0x1006719c
mov eax, dword [esp + 0x24]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 8], eax
test eax, eax
je 0x10067230
mov eax, dword [esp + 8]
lea ecx, [eax - 1]
and eax, 3
mov dword [esp + 4], eax
cmp ecx, 3
jae 0x10067237
mov ecx, 0x811c9dc5
xor edx, edx
jmp 0x10067288
or eax, 1
mov dword [0x1017f724], eax
mov eax, dword [0x1017f5c4]
mov dword [esp + 0x10], eax
lea esi, [esp + 0x24]
mov ecx, esi
push str.CBasePlayer__m_lifeState
call fcn.10005ce0
cmp dword [esp + 0x38], 0x10
mov dword [esp + 8], esi
jb 0x100671ff
mov eax, dword [esp + 0x24]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x34]
mov dword [esp], eax
test eax, eax
je 0x10067386
mov eax, dword [esp]
lea ecx, [eax - 1]
and eax, 3
mov dword [esp + 4], eax
cmp ecx, 3
jae 0x1006738d
mov ecx, 0x811c9dc5
xor edx, edx
jmp 0x100673de
mov ecx, 0x811c9dc5
jmp 0x100672a7
mov eax, dword [esp + 8]
and eax, 0xfffffffc
mov dword [esp + 0xc], eax
mov ecx, 0x811c9dc5
xor edx, edx
mov esi, dword [esp]
movzx eax, byte [esi + edx]
xor eax, ecx
imul eax, eax, 0x1000193
movzx ecx, byte [esi + edx + 1]
xor ecx, eax
imul eax, ecx, 0x1000193
movzx ecx, byte [esi + edx + 2]
xor ecx, eax
imul eax, ecx, 0x1000193
movzx ecx, byte [esi + edx + 3]
xor ecx, eax
imul ecx, ecx, 0x1000193
add edx, 4
cmp dword [esp + 0xc], edx
jne 0x10067249
cmp dword [esp + 4], 0
je 0x100672a7
add edx, dword [esp]
xor esi, esi
movzx eax, byte [edx + esi]
xor eax, ecx
imul ecx, eax, 0x1000193
inc esi
cmp dword [esp + 4], esi
jne 0x10067294
mov edx, dword [esp + 0x10]
and ecx, dword [edx + 0x18]
mov eax, dword [edx + 0xc]
mov esi, dword [eax + ecx*8 + 4]
cmp esi, dword [edx + 4]
mov edx, dword [esp + 8]
je 0x1006787b
add ecx, ecx
mov eax, dword [eax + ecx*4]
mov dword [esp + 4], eax
cmp edx, dword [esi + 0x18]
jne 0x100672f8
cmp dword [esi + 0x1c], 0x10
jb 0x100672db
mov eax, dword [esi + 8]
jmp 0x100672de
lea eax, [esi + 8]
push edx
push eax
push dword [esp + 8]
call sub.VCRUNTIME140.dll_memcmp
mov edx, dword [esp + 0x14]
add esp, 0xc
test eax, eax
mov eax, dword [esp + 4]
je 0x1006730a
cmp esi, eax
je 0x1006787b
mov esi, dword [esi + 4]
cmp edx, dword [esi + 0x18]
je 0x100672d0
jmp 0x100672f8
add esi, 0x20
lea ecx, [esp + 0x24]
call fcn.100026e0
mov dword [0x1017f718], esi
jmp 0x1006701f
or eax, 1
mov dword [0x10184e1c], eax
mov eax, dword [0x1017f5c4]
mov dword [esp + 0x10], eax
lea esi, [esp + 0x24]
mov ecx, esi
push 0x1016ba0d
call fcn.10005ce0
cmp dword [esp + 0x38], 0x10
mov dword [esp + 4], esi
jb 0x10067355
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x34]
mov dword [esp], eax
test eax, eax
je 0x10067541
mov eax, dword [esp]
lea ecx, [eax - 1]
and eax, 3
mov dword [esp + 8], eax
cmp ecx, 3
jae 0x10067548
mov ecx, 0x811c9dc5
xor edx, edx
jmp 0x10067599
mov ecx, 0x811c9dc5
jmp 0x100673fe
mov eax, dword [esp]
and eax, 0xfffffffc
mov dword [esp + 0xc], eax
mov ecx, 0x811c9dc5
xor edx, edx
mov esi, dword [esp + 8]
movzx eax, byte [esi + edx]
xor eax, ecx
imul eax, eax, 0x1000193
movzx ecx, byte [esi + edx + 1]
xor ecx, eax
imul eax, ecx, 0x1000193
movzx ecx, byte [esi + edx + 2]
xor ecx, eax
imul eax, ecx, 0x1000193
movzx ecx, byte [esi + edx + 3]
xor ecx, eax
imul ecx, ecx, 0x1000193
add edx, 4
cmp dword [esp + 0xc], edx
jne 0x1006739e
cmp dword [esp + 4], 0
je 0x100673fe
add edx, dword [esp + 8]
xor esi, esi
movzx eax, byte [edx + esi]
xor eax, ecx
imul ecx, eax, 0x1000193
inc esi
cmp dword [esp + 4], esi
jne 0x100673eb
mov edx, dword [esp + 0x10]
and ecx, dword [edx + 0x18]
mov eax, dword [edx + 0xc]
mov esi, dword [eax + ecx*8 + 4]
cmp esi, dword [edx + 4]
je 0x1006787b
add ecx, ecx
mov ecx, dword [eax + ecx*4]
mov dword [esp + 4], ecx
mov eax, dword [esp]
cmp eax, dword [esi + 0x18]
jne 0x1006744c
cmp dword [esi + 0x1c], 0x10
jb 0x10067431
mov eax, dword [esi + 8]
jmp 0x10067434
lea eax, [esi + 8]
push dword [esp]
push eax
push dword [esp + 0x10]
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
mov ecx, dword [esp + 4]
je 0x10067459
cmp esi, ecx
je 0x1006787b
mov esi, dword [esi + 4]
jmp 0x1006741e
add esi, 0x20
lea ecx, [esp + 0x24]
call fcn.100026e0
mov dword [0x1017f720], esi
jmp 0x1006703b
or eax, 1
mov dword [0x10184e24], eax
mov eax, dword [0x1017f5c4]
mov dword [esp + 0x10], eax
lea esi, [esp + 0x24]
mov ecx, esi
push str.CBaseEntity__m_iTeamNum
call fcn.10005ce0
cmp dword [esp + 0x38], 0x10
mov dword [esp + 4], esi
jb 0x100674a4
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x34]
mov dword [esp], eax
test eax, eax
je 0x10067629
mov eax, dword [esp]
lea ecx, [eax - 1]
and eax, 3
mov dword [esp + 8], eax
cmp ecx, 3
jae 0x1006763d
mov ecx, 0x811c9dc5
xor edx, edx
jmp 0x1006768e
or eax, 1
mov dword [0x10184e24], eax
mov eax, dword [0x1017f5c4]
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x24]
push str.CBaseEntity__m_iTeamNum
call fcn.10005ce0
cmp dword [esp + 0x38], 0x10
lea eax, [esp + 0x24]
mov dword [esp + 0xc], eax
jb 0x1006750b
mov eax, dword [esp + 0x24]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 8], eax
test eax, eax
je 0x10067630
mov ecx, dword [esp + 8]
lea eax, [ecx - 1]
and ecx, 3
mov dword [esp + 0x10], ecx
cmp eax, 3
jae 0x10067723
mov dword [esp + 4], 0x811c9dc5
xor edx, edx
jmp 0x10067790
mov ecx, 0x811c9dc5
jmp 0x100675b9
mov eax, dword [esp]
and eax, 0xfffffffc
mov dword [esp + 0xc], eax
mov ecx, 0x811c9dc5
xor edx, edx
mov esi, dword [esp + 4]
movzx eax, byte [esi + edx]
xor eax, ecx
imul eax, eax, 0x1000193
movzx ecx, byte [esi + edx + 1]
xor ecx, eax
imul eax, ecx, 0x1000193
movzx ecx, byte [esi + edx + 2]
xor ecx, eax
imul eax, ecx, 0x1000193
movzx ecx, byte [esi + edx + 3]
xor ecx, eax
imul ecx, ecx, 0x1000193
add edx, 4
cmp dword [esp + 0xc], edx
jne 0x10067559
cmp dword [esp + 8], 0
je 0x100675b9
add edx, dword [esp + 4]
xor esi, esi
movzx eax, byte [edx + esi]
xor eax, ecx
imul ecx, eax, 0x1000193
inc esi
cmp dword [esp + 8], esi
jne 0x100675a6
mov edx, dword [esp + 0x10]
and ecx, dword [edx + 0x18]
mov eax, dword [edx + 0xc]
mov esi, dword [eax + ecx*8 + 4]
cmp esi, dword [edx + 4]
je 0x1006787b
add ecx, ecx
mov eax, dword [eax + ecx*4]
mov dword [esp + 8], eax
mov eax, dword [esp]
cmp eax, dword [esi + 0x18]
jne 0x10067603
cmp dword [esi + 0x1c], 0x10
jb 0x100675ec
mov eax, dword [esi + 8]
jmp 0x100675ef
lea eax, [esi + 8]
push dword [esp]
push eax
push dword [esp + 0xc]
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
je 0x10067612
cmp esi, dword [esp + 8]
je 0x1006787b
mov esi, dword [esi + 4]
jmp 0x100675d9
add esi, 0x20
lea ecx, [esp + 0x24]
call fcn.100026e0
mov dword [0x10184e18], esi
jmp 0x1006705e
mov ecx, 0x811c9dc5
jmp 0x100676ae
mov dword [esp + 4], 0x811c9dc5
jmp 0x100677b6
mov eax, dword [esp]
and eax, 0xfffffffc
mov dword [esp + 0xc], eax
mov ecx, 0x811c9dc5
xor edx, edx
mov esi, dword [esp + 4]
movzx eax, byte [esi + edx]
xor eax, ecx
imul eax, eax, 0x1000193
movzx ecx, byte [esi + edx + 1]
xor ecx, eax
imul eax, ecx, 0x1000193
movzx ecx, byte [esi + edx + 2]
xor ecx, eax
imul eax, ecx, 0x1000193
movzx ecx, byte [esi + edx + 3]
xor ecx, eax
imul ecx, ecx, 0x1000193
add edx, 4
cmp dword [esp + 0xc], edx
jne 0x1006764e
cmp dword [esp + 8], 0
je 0x100676ae
add edx, dword [esp + 4]
xor esi, esi
movzx eax, byte [edx + esi]
xor eax, ecx
imul ecx, eax, 0x1000193
inc esi
cmp dword [esp + 8], esi
jne 0x1006769b
mov edx, dword [esp + 0x10]
and ecx, dword [edx + 0x18]
mov eax, dword [edx + 0xc]
mov esi, dword [eax + ecx*8 + 4]
cmp esi, dword [edx + 4]
je 0x1006787b
add ecx, ecx
mov eax, dword [eax + ecx*4]
mov dword [esp + 8], eax
mov eax, dword [esp]
cmp eax, dword [esi + 0x18]
jne 0x100676f8
cmp dword [esi + 0x1c], 0x10
jb 0x100676e1
mov eax, dword [esi + 8]
jmp 0x100676e4
lea eax, [esi + 8]
push dword [esp]
push eax
push dword [esp + 0xc]
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
je 0x10067707
cmp esi, dword [esp + 8]
je 0x1006787b
mov esi, dword [esi + 4]
jmp 0x100676ce
add esi, 0x20
lea ecx, [esp + 0x24]
call fcn.100026e0
mov dword [0x10184e20], esi
mov eax, dword [0x10184e24]
jmp 0x10067081
mov eax, dword [esp + 8]
and eax, 0xfffffffc
mov dword [esp + 0x1c], eax
mov dword [esp + 4], 0x811c9dc5
xor edx, edx
mov ecx, dword [esp + 0xc]
movzx eax, byte [ecx + edx]
xor eax, dword [esp + 4]
imul eax, eax, 0x1000193
mov dword [esp], eax
mov eax, ecx
mov dword [esp + 0xc], ecx
movzx ecx, byte [ecx + edx + 1]
xor ecx, dword [esp]
imul ecx, ecx, 0x1000193
mov dword [esp], ecx
movzx ecx, byte [eax + edx + 2]
xor ecx, dword [esp]
imul eax, ecx, 0x1000193
mov ecx, dword [esp + 0xc]
movzx ecx, byte [ecx + edx + 3]
xor ecx, eax
imul eax, ecx, 0x1000193
mov dword [esp + 4], eax
add edx, 4
cmp dword [esp + 0x1c], edx
jne 0x10067738
cmp dword [esp + 0x10], 0
je 0x100677b6
add edx, dword [esp + 0xc]
xor eax, eax
movzx ecx, byte [edx + eax]
xor ecx, dword [esp + 4]
imul ecx, ecx, 0x1000193
mov dword [esp + 4], ecx
inc eax
cmp dword [esp + 0x10], eax
jne 0x1006779d
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 4]
and edx, dword [ecx + 0x18]
mov eax, dword [ecx + 0xc]
mov dword [esp + 4], edx
mov edx, dword [eax + edx*8 + 4]
mov dword [esp], edx
cmp edx, dword [ecx + 4]
je 0x1006787b
mov ecx, dword [esp + 4]
add ecx, ecx
mov eax, dword [eax + ecx*4]
mov dword [esp + 4], eax
mov eax, dword [esp + 8]
mov ecx, dword [esp]
cmp eax, dword [ecx + 0x18]
jne 0x1006781d
mov eax, dword [esp]
cmp dword [eax + 0x1c], 0x10
jb 0x10067802
mov eax, dword [esp]
mov eax, dword [eax + 8]
jmp 0x10067808
mov eax, dword [esp]
add eax, 8
push dword [esp + 8]
push eax
push dword [esp + 0x14]
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
je 0x10067831
mov eax, dword [esp + 4]
cmp dword [esp], eax
je 0x1006787b
mov eax, dword [esp]
mov eax, dword [eax + 4]
mov dword [esp], eax
jmp 0x100677e5
mov eax, dword [esp]
add eax, 0x20
mov dword [esp + 8], eax
lea ecx, [esp + 0x24]
call fcn.100026e0
mov eax, dword [esp + 8]
mov dword [0x10184e20], eax
mov eax, dword [esp]
mov ecx, dword [eax + 0x24]
cmp edi, dword [ecx + esi]
je 0x10066fc0
jmp 0x100670a0
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.100d7fe0
add esp, 0x40
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, ebp
call fcn.1006b870
push 0x1016ba76
call sub.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const__
int3