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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x30
mov eax, dword [0x1017f528]
xor eax, esp
mov dword [esp + 0x2c], eax
mov eax, dword [0x10184ed4]
test al, 1
je 0x1007c708
mov ebp, dword [0x10184ed0]
mov esi, dword [esp + 0x54]
mov edi, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
mov eax, dword [ebp + 4]
movzx ebx, byte [eax + ecx]
lea eax, [esi - 6]
cmp eax, 2
jb 0x1007c636
cmp esi, 3
je 0x1007c644
cmp esi, 1
jne 0x1007c654
vmovss xmm0, dword [esp + 0x50]
vmulss xmm0, xmm0, dword [edi]
vmovss dword [edi], xmm0
test bl, bl
je 0x1007c654
vmulss xmm0, xmm0, dword [0x10129738]
jmp 0x1007c650
vmovss xmm0, dword [edi]
vmulss xmm0, xmm0, dword [0x101298ec]
jmp 0x1007c650
vmovss xmm0, dword [edi]
vmulss xmm0, xmm0, dword [0x1012987c]
vmovss dword [edi], xmm0
mov eax, dword [0x10184edc]
test al, 1
je 0x1007c754
mov ebp, dword [0x10184ed8]
cmp esi, 5
ja 0x1007c6f3
mov eax, dword [ebp + 4]
mov ebp, dword [eax + ecx]
test ebp, ebp
je 0x1007c6f3
cmp esi, 1
jne 0x1007c69b
mov eax, dword [0x10184ee4]
test al, 1
je 0x1007c97a
mov esi, dword [0x10184ee0]
mov eax, dword [esi + 4]
cmp byte [eax + ecx], 0
je 0x1007c6f3
vmovss xmm0, dword [esp + 0x4c]
xor eax, eax
vmulss xmm1, xmm0, dword [0x10129738]
test bl, bl
sete cl
je 0x1007c6ba
vmulss xmm1, xmm1, dword [0x101298e0]
vmovss xmm0, dword [edi]
vmulss xmm1, xmm1, xmm0
vsubss xmm3, xmm0, xmm1
mov al, cl
vcvtsi2ss xmm2, xmm2, ebp
vmulss xmm3, xmm3, dword [eax*4 + 0x10132308]
vucomiss xmm3, xmm2
jbe 0x1007c6ef
xor eax, eax
test bl, bl
sete al
vdivss xmm1, xmm2, dword [eax*4 + 0x10132310]
vsubss xmm1, xmm0, xmm1
vmovss dword [edi], xmm1
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.100d7fe0
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret 0x14
or eax, 1
mov dword [0x10184ed4], eax
mov eax, dword [0x1017f5c4]
mov dword [esp], eax
lea esi, [esp + 0x14]
mov ecx, esi
push str.CCSPlayer__m_bHasHeavyArmor
call fcn.10005ce0
mov edi, dword [esp + 0x24]
cmp dword [esp + 0x28], 0x10
jb 0x1007c737
mov esi, dword [esp + 0x14]
test edi, edi
je 0x1007c7b5
lea ecx, [edi - 1]
mov eax, edi
and eax, 3
cmp ecx, 3
jae 0x1007c7c6
mov ecx, 0x811c9dc5
xor edx, edx
jmp 0x1007c80c
or eax, 1
mov dword [0x10184edc], eax
mov eax, dword [0x1017f5c4]
mov dword [esp + 0xc], eax
lea ecx, [esp + 0x14]
mov dword [esp + 4], ecx
push str.CCSPlayer__m_ArmorValue
call fcn.10005ce0
mov eax, dword [esp + 0x24]
mov dword [esp], eax
cmp dword [esp + 0x28], 0x10
jb 0x1007c78d
mov eax, dword [esp + 0x14]
mov dword [esp + 4], eax
cmp dword [esp], 0
je 0x1007c7bc
mov eax, dword [esp]
lea ecx, [eax - 1]
and eax, 3
mov dword [esp + 8], eax
cmp ecx, 3
jae 0x1007c88b
mov ecx, 0x811c9dc5
xor edx, edx
jmp 0x1007c8dd
mov ecx, 0x811c9dc5
jmp 0x1007c825
mov ecx, 0x811c9dc5
jmp 0x1007c8fd
mov ebp, edi
and ebp, 0xfffffffc
mov ecx, 0x811c9dc5
xor edx, edx
movzx ebx, byte [esi + edx]
xor ebx, ecx
imul ecx, ebx, 0x1000193
movzx ebx, byte [esi + edx + 1]
xor ebx, ecx
imul ecx, ebx, 0x1000193
movzx ebx, byte [esi + edx + 2]
xor ebx, ecx
imul ecx, ebx, 0x1000193
movzx ebx, byte [esi + edx + 3]
xor ebx, ecx
imul ecx, ebx, 0x1000193
add edx, 4
cmp ebp, edx
jne 0x1007c7d2
test eax, eax
je 0x1007c825
add edx, esi
xor ebp, ebp
movzx ebx, byte [edx + ebp]
xor ebx, ecx
imul ecx, ebx, 0x1000193
inc ebp
cmp eax, ebp
jne 0x1007c814
mov edx, dword [esp]
and ecx, dword [edx + 0x18]
mov eax, dword [edx + 0xc]
mov ebp, dword [eax + ecx*8 + 4]
cmp ebp, dword [edx + 4]
je 0x1007cab8
add ecx, ecx
mov ebx, dword [eax + ecx*4]
cmp edi, dword [ebp + 0x18]
jne 0x1007c862
cmp dword [ebp + 0x1c], 0x10
jb 0x1007c850
mov eax, dword [ebp + 8]
jmp 0x1007c853
lea eax, [ebp + 8]
push edi
push eax
push esi
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
je 0x1007c874
cmp ebp, ebx
je 0x1007cab8
mov ebp, dword [ebp + 4]
cmp edi, dword [ebp + 0x18]
je 0x1007c845
jmp 0x1007c862
add ebp, 0x20
lea ecx, [esp + 0x14]
call fcn.100026e0
mov dword [0x10184ed0], ebp
jmp 0x1007c5f5
mov eax, dword [esp]
and eax, 0xfffffffc
mov dword [esp + 0x10], eax
mov ecx, 0x811c9dc5
xor edx, edx
mov ebp, dword [esp + 4]
movzx eax, byte [ebp + edx]
xor eax, ecx
imul eax, eax, 0x1000193
movzx ecx, byte [ebp + edx + 1]
xor ecx, eax
imul eax, ecx, 0x1000193
movzx ecx, byte [ebp + edx + 2]
xor ecx, eax
imul eax, ecx, 0x1000193
movzx ecx, byte [ebp + edx + 3]
xor ecx, eax
imul ecx, ecx, 0x1000193
add edx, 4
cmp dword [esp + 0x10], edx
jne 0x1007c8a0
cmp dword [esp + 8], 0
je 0x1007c8fd
add edx, dword [esp + 4]
xor ebp, ebp
movzx eax, byte [edx + ebp]
xor eax, ecx
imul ecx, eax, 0x1000193
inc ebp
cmp dword [esp + 8], ebp
jne 0x1007c8ea
mov edx, dword [esp + 0xc]
and ecx, dword [edx + 0x18]
mov eax, dword [edx + 0xc]
mov ebp, dword [eax + ecx*8 + 4]
cmp ebp, dword [edx + 4]
je 0x1007cab8
add ecx, ecx
mov eax, dword [eax + ecx*4]
mov dword [esp + 8], eax
mov eax, dword [esp]
cmp eax, dword [ebp + 0x18]
jne 0x1007c947
cmp dword [ebp + 0x1c], 0x10
jb 0x1007c930
mov eax, dword [ebp + 8]
jmp 0x1007c933
lea eax, [ebp + 8]
push dword [esp]
push eax
push dword [esp + 0xc]
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
je 0x1007c956
cmp ebp, dword [esp + 8]
je 0x1007cab8
mov ebp, dword [ebp + 4]
jmp 0x1007c91d
add ebp, 0x20
lea ecx, [esp + 0x14]
call fcn.100026e0
mov dword [0x10184ed8], ebp
mov ecx, dword [esp + 0x44]
cmp esi, 5
jbe 0x1007c670
jmp 0x1007c6f3
or eax, 1
mov dword [0x10184ee4], eax
mov eax, dword [0x1017f5c4]
mov dword [esp + 0xc], eax
lea ecx, [esp + 0x14]
mov dword [esp + 4], ecx
push str.CCSPlayer__m_bHasHelmet
call fcn.10005ce0
mov eax, dword [esp + 0x24]
mov dword [esp], eax
cmp dword [esp + 0x28], 0x10
jb 0x1007c9b3
mov eax, dword [esp + 0x14]
mov dword [esp + 4], eax
cmp dword [esp], 0
je 0x1007c9d4
mov eax, dword [esp]
lea ecx, [eax - 1]
and eax, 3
mov dword [esp + 8], eax
cmp ecx, 3
jae 0x1007c9db
mov ecx, 0x811c9dc5
xor edx, edx
jmp 0x1007ca2c
mov ecx, 0x811c9dc5
jmp 0x1007ca4c
mov eax, dword [esp]
and eax, 0xfffffffc
mov dword [esp + 0x10], 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 + 0x10], edx
jne 0x1007c9f0
cmp dword [esp + 8], 0
je 0x1007ca4c
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 0x1007ca39
mov edx, dword [esp + 0xc]
and ecx, dword [edx + 0x18]
mov eax, dword [edx + 0xc]
mov esi, dword [eax + ecx*8 + 4]
cmp esi, dword [edx + 4]
je 0x1007cab8
add ecx, ecx
mov eax, dword [eax + ecx*4]
mov dword [esp + 8], eax
mov eax, dword [esp]
cmp eax, dword [esi + 0x18]
jne 0x1007ca92
cmp dword [esi + 0x1c], 0x10
jb 0x1007ca7b
mov eax, dword [esi + 8]
jmp 0x1007ca7e
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 0x1007ca9d
cmp esi, dword [esp + 8]
je 0x1007cab8
mov esi, dword [esi + 4]
jmp 0x1007ca68
add esi, 0x20
lea ecx, [esp + 0x14]
call fcn.100026e0
mov dword [0x10184ee0], esi
mov ecx, dword [esp + 0x44]
jmp 0x1007c692
push 0x1016ba76
call sub.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const__
int3