Function at 0x1012e5e0
Capabilities:
Hash data using fnv

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1017990e
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x140
push esi
mov esi, dword [0x1029a3b0]
push edi
mov edi, dword [0x1029a3b4]
cmp esi, edi
je 0x1012e644
lea ecx, [esi + 0x18]
call fcn.100f38f0
mov ecx, esi
call fcn.100f38f0
add esi, 0x40
cmp esi, edi
jne 0x1012e624
mov eax, dword [0x1029a3b0]
mov dword [0x1029a3b4], eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 2
push eax
mov ecx, 0x1029a030
call fcn.100b0400
mov edi, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x3c], eax
cmp edi, eax
je 0x1012ec61
mov eax, dword [0x1029c3d4]
mov ecx, dword fs:[0x2c]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], eax
mov ecx, dword [ecx + eax*4]
add ecx, 4
mov dword [ebp - 0x40], ecx
mov eax, dword [0x1029dd58]
mov esi, dword [edi]
cmp eax, dword [ecx]
jle 0x1012e6d7
push 0x1029dd58
call fcn.101707aa
add esp, 4
cmp dword [0x1029dd58], 0xffffffff
jne 0x1012e6d7
push str.m_hObserverTarget
push str.CBasePlayer
mov dword [ebp - 4], 0
call fcn.1016f4e0
push 0x1029dd58
mov dword [0x1029dd4c], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10170759
add esp, 4
mov eax, dword [0x1029dd4c]
mov ecx, dword [0x1029daf4]
mov edx, dword [esi + eax]
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0x10]
call eax
mov ecx, dword [edi]
mov esi, eax
test ecx, ecx
je 0x1012eb42
call fcn.100a6630
cmp byte [eax], 0
je 0x1012eb42
cmp esi, dword [ebx + 8]
jne 0x1012eb42
xorps xmm0, xmm0
mov dword [ebp - 0x50], 0
xor eax, eax
mov dword [ebp - 0x4c], 7
movups xmmword [ebp - 0x60], xmm0
mov word [ebp - 0x60], ax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 4], 1
mov esi, dword [edi]
mov ecx, dword [ecx + eax*4]
mov eax, dword [0x1029dd50]
cmp eax, dword [ecx + 4]
jle 0x1012e789
push 0x1029dd50
call fcn.101707aa
add esp, 4
cmp dword [0x1029dd50], 0xffffffff
jne 0x1012e789
push str.m_iObserverMode
push str.CBasePlayer
mov byte [ebp - 4], 2
call fcn.1016f4e0
push 0x1029dd50
mov dword [0x1029dd48], eax
mov byte [ebp - 4], 1
call fcn.10170759
add esp, 4
mov eax, dword [0x1029dd48]
mov eax, dword [esi + eax]
sub eax, 4
je 0x1012e7ae
sub eax, 1
je 0x1012e7a7
mov dword [ebp - 4], 0xffffffff
jmp 0x1012ec4b
mov eax, 0x10281688
jmp 0x1012e7b3
mov eax, 0x10281690
push 3
push eax
lea ecx, [ebp - 0x60]
call fcn.1011d0f0
mov eax, dword [0x1029a02c]
xor esi, esi
mov dword [ebp - 0x20], eax
xorps xmm0, xmm0
movss dword [ebp - 0x1c], xmm0
test eax, eax
je 0x1012e86a
mov ecx, dword [edi]
add ecx, 8
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov esi, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov ecx, dword [0x1029dd54]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + edx*4]
mov esi, dword [ebp - 0x1c]
cmp ecx, dword [eax + 4]
jle 0x1012e840
push 0x1029dd54
call fcn.101707aa
add esp, 4
cmp dword [0x1029dd54], 0xffffffff
jne 0x1012e840
push str.m_flNextRespawnTime
push str.CTFPlayerResource
mov byte [ebp - 4], 3
call fcn.1016f4e0
push 0x1029dd54
mov dword [0x1029dd44], eax
mov byte [ebp - 4], 1
call fcn.10170759
add esp, 4
mov eax, dword [0x1029dd44]
mov ecx, dword [ebp - 0x20]
lea eax, [eax + esi*4]
movss xmm0, dword [eax + ecx]
mov eax, dword [0x1029da70]
movss dword [ebp - 0x1c], xmm0
subss xmm0, dword [eax + 0xc]
xor eax, eax
cvttss2si esi, xmm0
test esi, esi
cmovs esi, eax
mov ecx, dword [edi]
add ecx, 8
mov byte [ebp - 0x11], 0
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov ecx, eax
mov dword [ebp - 0x20], eax
shr ecx, 8
movzx edx, cl
movzx ecx, al
xor ecx, 0x811c9dc5
mov dword [ebp - 0x18], eax
imul ecx, ecx, 0x1000193
shr eax, 0x10
movzx eax, al
xor edx, ecx
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebp - 0x20]
shr ecx, 0x18
xor eax, ecx
mov ecx, 0x1029a3bc
imul eax, eax, 0x1000193
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.10094480
cmp dword [eax + 4], 0
jne 0x1012e907
mov ecx, dword [edi]
add ecx, 8
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov dword [ebp - 0x30], eax
mov ecx, 0x1029a3bc
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.100b0650
movss xmm0, dword [ebp - 0x1c]
mov eax, dword [eax]
movss dword [eax + 0xc], xmm0
mov ecx, dword [edi]
add ecx, 8
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov dword [ebp - 0x34], eax
mov ecx, 0x1029a3bc
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.100b0650
movss xmm1, dword [ebp - 0x1c]
mov eax, dword [eax]
movss xmm0, dword [eax + 0xc]
addss xmm0, dword [0x10286ce8]
comiss xmm1, xmm0
jbe 0x1012e975
mov ecx, dword [edi]
add ecx, 8
mov byte [ebp - 0x11], 1
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov dword [ebp - 0x38], eax
mov ecx, 0x1029a3bc
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.100b0650
mov eax, dword [eax]
mov dword [eax + 0xc], 0xbf800000
push 0x84
lea eax, [ebp - 0x150]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [edi]
add esp, 0xc
add ecx, 8
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov ecx, dword [0x1029da6c]
mov edx, dword [ecx]
lea ecx, [ebp - 0x150]
push ecx
mov ecx, dword [0x1029da6c]
push eax
mov edx, dword [edx + 0x20]
call edx
test al, al
je 0x1012eb00
lea eax, [ebp - 0x150]
mov ecx, eax
mov dword [ebp - 0x48], eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1012e9c8
sub ecx, edx
lea edx, [ebp - 0x48]
mov dword [ebp - 0x44], ecx
lea ecx, [ebp - 0xa0]
call fcn.1012e4d0
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x88]
call fcn.100f3540
mov al, byte [ebp - 0x11]
mov byte [ebp - 4], 5
mov ecx, dword [edi]
add ecx, 8
mov dword [ebp - 0x70], esi
mov byte [ebp - 0x6c], al
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
xor esi, esi
mov ecx, eax
and ecx, 0x3f
xor edx, edx
bts esi, ecx
cmp ecx, 0x20
cmovae edx, esi
xor esi, edx
cmp ecx, 0x40
cmovae edx, esi
shr eax, 6
and esi, dword [eax*8 + 0x1029a070]
and edx, dword [eax*8 + 0x1029a074]
or esi, edx
je 0x1012ea41
mov al, 1
jmp 0x1012ea43
xor al, al
mov esi, dword [edi]
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x18], esi
mov esi, dword [ebp - 0x28]
mov byte [ebp - 0x6b], al
mov eax, dword [0x1029da54]
mov ecx, dword [esi + edx*4]
mov esi, dword [ebp - 0x18]
cmp eax, dword [ecx + 4]
jle 0x1012eaa3
push 0x1029da54
call fcn.101707aa
add esp, 4
cmp dword [0x1029da54], 0xffffffff
jne 0x1012eaa3
push str.m_iTeamNum
push str.CBaseEntity
mov byte [ebp - 4], 6
call fcn.1016f4e0
push 0x1029da54
mov dword [0x1029da4c], eax
mov byte [ebp - 4], 5
call fcn.10170759
add esp, 4
mov eax, dword [0x1029da4c]
mov ecx, dword [edi]
add ecx, 8
mov eax, dword [esi + eax]
mov dword [ebp - 0x68], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov dword [ebp - 0x64], eax
mov byte [ebp - 4], 7
lea eax, [ebp - 0xa0]
mov ecx, dword [0x1029a3b4]
push eax
cmp ecx, dword [0x1029a3b8]
je 0x1012eae4
call fcn.1012f170
add dword [0x1029a3b4], 0x40
jmp 0x1012eaea
push ecx
call fcn.1012ef90
lea ecx, [ebp - 0x88]
call fcn.100f38f0
lea ecx, [ebp - 0xa0]
call fcn.100f38f0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x4c]
cmp ecx, 7
jbe 0x1012ec4b
mov edx, dword [ebp - 0x60]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1012eb3b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1012ec5b
push ecx
push edx
jmp 0x1012ec43
mov ecx, dword [edi]
add ecx, 8
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov ecx, eax
mov dword [ebp - 0x18], eax
shr ecx, 8
movzx edx, cl
movzx ecx, al
xor ecx, 0x811c9dc5
mov dword [ebp - 0x20], eax
imul ecx, ecx, 0x1000193
shr eax, 0x10
movzx eax, al
xor edx, ecx
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebp - 0x18]
shr ecx, 0x18
xor eax, ecx
mov ecx, 0x1029a3bc
imul eax, eax, 0x1000193
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xc8]
push eax
call fcn.10094480
mov edx, dword [0x1029a3c0]
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + 4]
test ecx, ecx
mov eax, edx
cmovne eax, ecx
cmp eax, edx
je 0x1012ec4b
movzx ecx, byte [eax + 8]
xor ecx, 0x811c9dc5
mov esi, dword [0x1029a3c8]
imul edx, ecx, 0x1000193
movzx ecx, byte [eax + 9]
xor edx, ecx
movzx ecx, byte [eax + 0xa]
imul edx, edx, 0x1000193
xor edx, ecx
movzx ecx, byte [eax + 0xb]
imul edx, edx, 0x1000193
xor edx, ecx
imul ecx, edx, 0x1000193
mov edx, dword [0x1029a3d4]
and edx, ecx
mov ecx, dword [esi + edx*8]
cmp dword [esi + edx*8 + 4], eax
jne 0x1012ec24
cmp ecx, eax
jne 0x1012ec1b
mov ecx, dword [ebp - 0x18]
mov dword [esi + edx*8], ecx
mov dword [esi + edx*8 + 4], ecx
jmp 0x1012ec2d
mov ecx, dword [eax + 4]
mov dword [esi + edx*8 + 4], ecx
jmp 0x1012ec2d
cmp ecx, eax
jne 0x1012ec2d
mov ecx, dword [eax]
mov dword [esi + edx*8], ecx
mov edx, dword [eax]
dec dword [0x1029a3c4]
mov ecx, dword [eax + 4]
push 0x10
push eax
mov dword [ecx], edx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
call fcn.101706c8
add esp, 8
add edi, 4
cmp edi, dword [ebp - 0x3c]
je 0x1012ec61
mov ecx, dword [ebp - 0x40]
jmp 0x1012e687
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov eax, dword [0x1029a3b0]
cmp eax, dword [0x1029a3b4]
mov ecx, dword [ebp - 0xc]
pop edi
setne al
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4