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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x40
mov esi, ecx
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x100a3b40
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
mov eax, dword [0x1012d364]
vmovss xmm0, dword [eax + 0x10]
mov eax, dword [0x1012d35c]
mov ecx, dword [eax]
mov eax, dword [0x10132c50]
test al, 1
je 0x1009c38a
mov edi, dword [0x10132c4c]
mov eax, dword [edi + 4]
vsubss xmm0, xmm0, dword [ecx + eax - 4]
vmovss xmm1, dword [0x100f54d0]
vucomiss xmm1, xmm0
jbe 0x1009c29e
xor eax, eax
mov ecx, dword [ebp - 0x18]
mov dword fs:[0], ecx
add esp, 0x40
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esi + 0x28]
mov ecx, dword [0x1012d370]
cmp eax, dword [ecx + 0x4d2c]
jne 0x1009c2b7
cmp byte [esi + 8], 0
jne 0x1009c2ce
jmp 0x1009c28a
xor eax, eax
cmp dword [ecx + 0x4d30], 0
jne 0x1009c28c
cmp dword [esi + 0x18], 0xd
jg 0x1009c28c
cmp byte [esi + 8], 0
je 0x1009c28c
mov eax, dword [0x1012d35c]
cmp dword [eax], 0
je 0x1009c28a
mov eax, dword [0x1012d32c]
cmp byte [eax + 0x40], 0
jne 0x1009c28a
mov eax, dword [esi + 0xc]
test eax, eax
je 0x1009c2f6
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jne 0x1009c309
mov eax, dword [esi + 0x10]
test eax, eax
je 0x1009c28a
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
je 0x1009c28a
mov eax, dword [0x1012d320]
test byte [eax + 0x1c4], 0x20
jne 0x1009c28a
mov eax, dword [0x1012d334]
vmovss xmm0, dword [eax + 0x1808]
mov eax, dword [0x1012d364]
vsubss xmm0, xmm0, dword [eax + 0x10]
vbroadcastss xmm1, dword [0x100f550c]
vandps xmm0, xmm0, xmm1
vmovss xmm1, dword [0x100fe3e0]
vucomiss xmm1, xmm0
jae 0x1009c28a
mov ecx, dword [esi + 0x18]
cmp ecx, 0xe
setl al
jge 0x1009c370
mov edx, dword [0x1012d370]
mov edx, dword [edx + 0x4d2c]
mov dword [esi + 0x28], edx
inc ecx
mov edx, ecx
jmp 0x1009c382
mov byte [esi + 0x14], 1
mov edx, 0xf
cmp ecx, 0x10
jb 0x1009c28a
mov dword [esi + 0x18], edx
jmp 0x1009c28c
mov dword [ebp - 0x28], ecx
vmovss dword [ebp - 0x2c], xmm0
mov dword [ebp - 0x30], esi
or eax, 1
mov dword [0x10132c50], eax
mov eax, dword [0x1012d324]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x20], ecx
push str.CCSPlayer__m_iAddonBits
call fcn.100083b0
mov esi, dword [ebp - 0x3c]
cmp dword [ebp - 0x38], 0x10
jb 0x1009c3cb
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x20], eax
test esi, esi
je 0x1009c3e5
mov eax, esi
and eax, 3
mov dword [ebp - 0x24], eax
cmp esi, 4
jae 0x1009c3ec
mov ecx, 0x811c9dc5
xor edx, edx
jmp 0x1009c435
mov ecx, 0x811c9dc5
jmp 0x1009c452
mov edi, esi
and edi, 0xfffffffc
mov ecx, 0x811c9dc5
xor edx, edx
mov eax, dword [ebp - 0x20]
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 edi, edx
jne 0x1009c3fb
cmp dword [ebp - 0x24], 0
je 0x1009c452
add edx, dword [ebp - 0x20]
xor edi, edi
movzx ebx, byte [edx + edi]
xor ebx, ecx
imul ecx, ebx, 0x1000193
inc edi
cmp dword [ebp - 0x24], edi
jne 0x1009c440
mov edx, dword [ebp - 0x34]
and ecx, dword [edx + 0x18]
mov eax, dword [edx + 0xc]
mov edi, dword [eax + ecx*8 + 4]
cmp edi, dword [edx + 4]
je 0x1009c4ba
add ecx, ecx
mov ebx, dword [eax + ecx*4]
cmp esi, dword [edi + 0x18]
je 0x1009c47a
cmp edi, ebx
je 0x1009c4ba
mov edi, dword [edi + 4]
cmp esi, dword [edi + 0x18]
jne 0x1009c46e
cmp dword [edi + 0x1c], 0x10
jb 0x1009c485
mov eax, dword [edi + 8]
jmp 0x1009c488
lea eax, [edi + 8]
push esi
push eax
push dword [ebp - 0x20]
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x1009c46e
add edi, 0x20
lea ecx, [ebp - 0x4c]
call fcn.100029d0
mov dword [0x10132c4c], edi
mov esi, dword [ebp - 0x30]
vmovss xmm0, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
jmp 0x1009c273
mov dword [ebp - 0x10], 1
push 0x1011ed9d
call sub.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const__
add esp, 4
nop
push ebp
sub esp, 0xc
add ebp, 0xc
lea ecx, [ebp - 0x4c]
call fcn.100029d0
add esp, 0xc
pop ebp
ret