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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x48
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x5c]
mov eax, dword [0x1017f528]
xor eax, esp
mov dword [esp + 0x44], eax
mov eax, dword [ecx]
mov edi, dword [eax]
mov eax, dword [edi + 0x294c]
mov ecx, dword [eax]
mov eax, dword [0x10184df4]
test al, 1
je 0x1005faf6
mov ebp, dword [0x10184df0]
mov eax, dword [ebp + 4]
mov edx, dword [eax + edi]
add ecx, dword [ecx + 0xb0]
mov dword [esp + 0x14], ecx
mov ecx, dword [0x1017f5c0]
mov edi, dword [0x1017f5dc]
vmovss xmm0, dword [ecx + 0x108]
vmovss xmm1, dword [ecx + 0x10c]
vmovss xmm2, dword [ecx + 0x110]
mov esi, dword [ecx + 0x14c]
mov eax, dword [0x1017f704]
test al, 1
mov dword [esp + 8], ecx
mov dword [esp + 0x10], edx
mov dword [esp], edi
je 0x1005fb58
mov ebx, dword [0x1017f700]
mov edi, dword [esp + 0x5c]
mov ebp, dword [esp + 0x60]
mov edx, dword [ebx + 4]
xor eax, eax
cmp word [edx + esi], 0x1f
sete al
mov ecx, dword [ecx + 0x150]
mov edx, dword [edi]
mov edx, dword [edx]
mov esi, dword [0x1017f608]
mov esi, dword [esi]
sub esp, 0x24
mov dword [esp + 0x20], ebp
vmovss dword [esp + 0x1c], xmm2
vmovss dword [esp + 0x18], xmm1
vmovss dword [esp + 0x14], xmm0
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
mov dword [esp + 4], esi
lea esi, [esp + 0x50]
mov dword [esp], esi
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x24]
call fcn.1007cad0
mov eax, dword [esp + 0x3c]
mov dword [ebp + 0x1c], eax
vmovups xmm0, xmmword [esp + 0x2c]
vmovups xmmword [ebp + 0xc], xmm0
cmp dword [ebp + 0x10], 0
jle 0x1005facf
cmp byte [esp + 0x64], 0
jne 0x1005f919
xor eax, eax
mov ecx, dword [esp + 0x60]
cmp dword [ecx + 0x1c], 4
setne al
mov ebp, dword [esp + 4]
mov ebx, dword [ebp + eax*4 + 0x40]
inc ebx
mov eax, dword [ebp + 0x4c]
test eax, eax
je 0x1005f8e1
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x1005fae4
cmp byte [ebp + 0xb], 0
je 0x1005f90c
mov eax, dword [edi]
mov ecx, dword [eax]
mov eax, dword [0x1017f71c]
test al, 1
je 0x1005fda5
mov ebp, dword [0x1017f718]
mov eax, dword [ebp + 4]
mov eax, dword [eax + ecx]
add eax, 5
cmp eax, ebx
cmovl ebx, eax
mov eax, dword [esp + 0x60]
cmp dword [eax + 0x10], ebx
jl 0x1005facf
mov eax, dword [esp + 0x60]
cmp dword [eax + 0x30], 0
jle 0x1005fac0
mov eax, dword [edi + 4]
cmp byte [eax + 1], 0
je 0x1005fac0
mov eax, dword [esp + 0x60]
mov dword [eax + 0x24], 1
mov esi, dword [edi + 4]
mov ecx, dword [esi + 0x14]
inc ecx
mov edx, 0x55555556
mov eax, ecx
imul edx
add esi, 0x354
mov dword [esp + 4], esi
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*2]
sub ecx, eax
cmp ecx, 3
jae 0x1005fbd6
mov eax, dword [esp + 0x10]
lea edx, [eax + eax*2]
mov eax, dword [esp + 0x14]
lea ebp, [eax + edx*4]
add dword [esp + 8], 0x108
mov dword [esp + 0x10], edx
mov eax, dword [eax + edx*4 + 4]
test eax, eax
jle 0x1005fa04
imul ecx, ecx, 0x32f0
add dword [esp + 4], ecx
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
lea ecx, [ecx + edx*4]
add ecx, 8
mov dword [esp], ecx
xor esi, esi
xor ebx, ebx
jmp 0x1005f9cb
mov eax, dword [ebp + 4]
inc ebx
add esi, 0x44
cmp ebx, eax
jge 0x1005fa04
mov ecx, dword [esp]
mov edi, dword [ecx]
add edi, ebp
je 0x1005f9c3
mov eax, dword [edi + esi]
add edi, esi
lea eax, [eax + eax*2]
shl eax, 4
add eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x60]
push eax
push edi
call fcn.1005fed0
add esp, 8
test al, al
je 0x1005f9c0
mov eax, dword [esp + 0x60]
mov dword [eax + 0x24], 2
mov eax, dword [esp + 0x5c]
mov esi, dword [eax + 4]
mov ecx, dword [esi + 0x14]
add ecx, 2
mov edx, 0x55555556
mov eax, ecx
imul edx
add esi, 0x354
mov dword [esp + 4], esi
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*2]
sub ecx, eax
cmp ecx, 3
jae 0x1005fbd6
mov eax, dword [ebp + 4]
test eax, eax
jle 0x1005fab0
imul ecx, ecx, 0x32f0
add dword [esp + 4], ecx
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
lea ecx, [ecx + edx*4]
add ecx, 8
mov dword [esp], ecx
xor esi, esi
xor ebx, ebx
jmp 0x1005fa7b
mov eax, dword [ebp + 4]
inc ebx
add esi, 0x44
cmp ebx, eax
jge 0x1005fab0
mov ecx, dword [esp]
mov edi, dword [ecx]
add edi, ebp
je 0x1005fa73
mov eax, dword [edi + esi]
add edi, esi
lea eax, [eax + eax*2]
shl eax, 4
add eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x60]
push eax
push edi
call fcn.1005fed0
add esp, 8
test al, al
je 0x1005fa70
mov eax, dword [esp + 0x60]
inc dword [eax + 0x24]
mov ecx, dword [esp + 0x60]
mov eax, dword [ecx + 0x24]
cmp eax, dword [ecx + 0x30]
setge byte [ecx + 0x21]
jmp 0x1005facf
mov eax, dword [esp + 0x60]
mov byte [eax + 0x21], 1
mov dword [eax + 0x24], 3
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.100d7fe0
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
mov ebx, dword [ebp + 0x48]
cmp byte [ebp + 0xb], 0
jne 0x1005f8e7
jmp 0x1005f90c
mov dword [esp + 0x14], ecx
or eax, 1
mov dword [0x10184df4], eax
mov eax, dword [0x1017f5c4]
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x2c]
mov dword [esp + 8], ecx
push str.CBaseAnimating__m_nHitboxSet
call fcn.10005ce0
mov ebx, dword [esp + 0x3c]
cmp dword [esp + 0x40], 0x10
jb 0x1005fb30
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], eax
test ebx, ebx
je 0x1005fbc5
lea ecx, [ebx - 1]
mov eax, ebx
and eax, 3
mov dword [esp], eax
cmp ecx, 3
jae 0x1005fbdf
mov ecx, 0x811c9dc5
xor edx, edx
jmp 0x1005fc29
vmovss dword [esp + 0x1c], xmm2
vmovss dword [esp + 0x20], xmm1
vmovss dword [esp + 0x24], xmm0
or eax, 1
mov dword [0x1017f704], eax
mov eax, dword [0x1017f5c4]
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0xc], ecx
push str.CBaseAttributableItem__m_iItemDefinitionIndex
call fcn.10005ce0
mov edi, dword [esp + 0x3c]
cmp dword [esp + 0x40], 0x10
jb 0x1005fba0
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xc], eax
test edi, edi
je 0x1005fbcc
lea ecx, [edi - 1]
mov eax, edi
and eax, 3
mov dword [esp + 0x18], eax
cmp ecx, 3
jae 0x1005fcb5
mov ecx, 0x811c9dc5
xor edx, edx
jmp 0x1005fcff
mov ecx, 0x811c9dc5
jmp 0x1005fc47
mov ecx, 0x811c9dc5
jmp 0x1005fd1f
mov ecx, dword [esp + 4]
call fcn.1006b870
mov esi, ebx
and esi, 0xfffffffc
mov ecx, 0x811c9dc5
xor edx, edx
mov eax, dword [esp + 8]
movzx ebp, byte [eax + edx]
xor ebp, ecx
imul ecx, ebp, 0x1000193
movzx ebp, byte [eax + edx + 1]
xor ebp, ecx
imul ecx, ebp, 0x1000193
movzx ebp, byte [eax + edx + 2]
xor ebp, ecx
imul ecx, ebp, 0x1000193
movzx ebp, byte [eax + edx + 3]
xor ebp, ecx
imul ecx, ebp, 0x1000193
add edx, 4
cmp esi, edx
jne 0x1005fbef
cmp dword [esp], 0
je 0x1005fc47
add edx, dword [esp + 8]
xor esi, esi
movzx ebp, byte [edx + esi]
xor ebp, ecx
imul ecx, ebp, 0x1000193
inc esi
cmp dword [esp], esi
jne 0x1005fc35
mov edx, dword [esp + 0x10]
and ecx, dword [edx + 0x18]
mov eax, dword [edx + 0xc]
mov ebp, dword [eax + ecx*8 + 4]
cmp ebp, dword [edx + 4]
je 0x1005fec3
add ecx, ecx
mov esi, dword [eax + ecx*4]
cmp ebx, dword [ebp + 0x18]
jne 0x1005fc88
cmp dword [ebp + 0x1c], 0x10
jb 0x1005fc73
mov eax, dword [ebp + 8]
jmp 0x1005fc76
lea eax, [ebp + 8]
push ebx
push eax
push dword [esp + 0x10]
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
je 0x1005fc9a
cmp ebp, esi
je 0x1005fec3
mov ebp, dword [ebp + 4]
cmp ebx, dword [ebp + 0x18]
je 0x1005fc68
jmp 0x1005fc88
add ebp, 0x20
lea ecx, [esp + 0x2c]
call fcn.100026e0
mov dword [0x10184df0], ebp
mov ecx, dword [esp + 0x14]
jmp 0x1005f7d9
mov ebp, edi
and ebp, 0xfffffffc
mov ecx, 0x811c9dc5
xor edx, edx
mov eax, dword [esp + 0xc]
movzx ebx, byte [eax + edx]
xor ebx, ecx
imul ecx, ebx, 0x1000193
movzx ebx, byte [eax + edx + 1]
xor ebx, ecx
imul ecx, ebx, 0x1000193
movzx ebx, byte [eax + edx + 2]
xor ebx, ecx
imul ecx, ebx, 0x1000193
movzx ebx, byte [eax + edx + 3]
xor ebx, ecx
imul ecx, ebx, 0x1000193
add edx, 4
cmp ebp, edx
jne 0x1005fcc5
cmp dword [esp + 0x18], 0
je 0x1005fd1f
add edx, dword [esp + 0xc]
xor ebp, ebp
movzx ebx, byte [edx + ebp]
xor ebx, ecx
imul ecx, ebx, 0x1000193
inc ebp
cmp dword [esp + 0x18], ebp
jne 0x1005fd0c
mov edx, dword [esp + 0x28]
and ecx, dword [edx + 0x18]
mov eax, dword [edx + 0xc]
mov ebx, dword [eax + ecx*8 + 4]
cmp ebx, dword [edx + 4]
je 0x1005fec3
add ecx, ecx
mov ebp, dword [eax + ecx*4]
cmp edi, dword [ebx + 0x18]
jne 0x1005fd60
cmp dword [ebx + 0x1c], 0x10
jb 0x1005fd4b
mov eax, dword [ebx + 8]
jmp 0x1005fd4e
lea eax, [ebx + 8]
push edi
push eax
push dword [esp + 0x14]
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
je 0x1005fd72
cmp ebx, ebp
je 0x1005fec3
mov ebx, dword [ebx + 4]
cmp edi, dword [ebx + 0x18]
je 0x1005fd40
jmp 0x1005fd60
add ebx, 0x20
lea ecx, [esp + 0x2c]
call fcn.100026e0
mov dword [0x1017f700], ebx
mov ecx, dword [0x1017f5c0]
mov edi, dword [esp + 0x5c]
vmovss xmm0, dword [esp + 0x24]
vmovss xmm1, dword [esp + 0x20]
vmovss xmm2, dword [esp + 0x1c]
jmp 0x1005f835
mov dword [esp + 0xc], ecx
or eax, 1
mov dword [0x1017f71c], eax
mov eax, dword [0x1017f5c4]
mov dword [esp + 4], eax
mov ecx, esi
push str.CBasePlayer__m_iHealth
call fcn.10005ce0
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
cmp dword [esp + 0x40], 0x10
jb 0x1005fdd8
mov esi, dword [esp + 0x2c]
cmp dword [esp], 0
je 0x1005fdf5
mov eax, dword [esp]
lea ecx, [eax - 1]
and eax, 3
cmp ecx, 3
jae 0x1005fdfc
mov ecx, 0x811c9dc5
xor edx, edx
jmp 0x1005fe43
mov ecx, 0x811c9dc5
jmp 0x1005fe5c
mov ebp, dword [esp]
and ebp, 0xfffffffc
mov ecx, 0x811c9dc5
xor edx, edx
movzx edi, byte [esi + edx]
xor edi, ecx
imul ecx, edi, 0x1000193
movzx edi, byte [esi + edx + 1]
xor edi, ecx
imul ecx, edi, 0x1000193
movzx edi, byte [esi + edx + 2]
xor edi, ecx
imul ecx, edi, 0x1000193
movzx edi, byte [esi + edx + 3]
xor edi, ecx
imul ecx, edi, 0x1000193
add edx, 4
cmp ebp, edx
jne 0x1005fe09
test eax, eax
je 0x1005fe5c
add edx, esi
xor ebp, ebp
movzx edi, byte [edx + ebp]
xor edi, ecx
imul ecx, edi, 0x1000193
inc ebp
cmp eax, ebp
jne 0x1005fe4b
mov edx, dword [esp + 4]
and ecx, dword [edx + 0x18]
mov eax, dword [edx + 0xc]
mov ebp, dword [eax + ecx*8 + 4]
cmp ebp, dword [edx + 4]
je 0x1005fec3
add ecx, ecx
mov edi, dword [eax + ecx*4]
mov eax, dword [esp]
cmp eax, dword [ebp + 0x18]
jne 0x1005fe9b
cmp dword [ebp + 0x1c], 0x10
jb 0x1005fe87
mov eax, dword [ebp + 8]
jmp 0x1005fe8a
lea eax, [ebp + 8]
push dword [esp]
push eax
push esi
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
je 0x1005fea4
cmp ebp, edi
je 0x1005fec3
mov ebp, dword [ebp + 4]
jmp 0x1005fe74
add ebp, 0x20
lea ecx, [esp + 0x2c]
call fcn.100026e0
mov dword [0x1017f718], ebp
mov edi, dword [esp + 0x5c]
mov ecx, dword [esp + 0xc]
jmp 0x1005f8fe
push 0x1016ba76
call sub.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const__
int3