Function at 0x1012d5a0
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 0x101783ee
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x140
push esi
mov esi, dword [0x102993b0]
push edi
mov edi, dword [0x102993b4]
cmp esi, edi
je 0x1012d604
lea ecx, [esi + 0x18]
call fcn.100f31c0
mov ecx, esi
call fcn.100f31c0
add esi, 0x40
cmp esi, edi
jne 0x1012d5e4
mov eax, dword [0x102993b0]
mov dword [0x102993b4], eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 2
push eax
mov ecx, 0x10299030
call fcn.100afe70
mov edi, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x3c], eax
cmp edi, eax
je 0x1012dc21
mov eax, dword [0x1029b784]
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 [0x1029d108]
mov esi, dword [edi]
cmp eax, dword [ecx]
jle 0x1012d697
push 0x1029d108
call fcn.1016f60a
add esp, 4
cmp dword [0x1029d108], 0xffffffff
jne 0x1012d697
push str.m_hObserverTarget
push str.CBasePlayer
mov dword [ebp - 4], 0
call fcn.1016e290
push 0x1029d108
mov dword [0x1029d0fc], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1016f5b9
add esp, 4
mov eax, dword [0x1029d0fc]
mov ecx, dword [0x1029cea4]
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 0x1012db02
call fcn.100a6210
cmp byte [eax], 0
je 0x1012db02
cmp esi, dword [ebx + 8]
jne 0x1012db02
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 [0x1029d100]
cmp eax, dword [ecx + 4]
jle 0x1012d749
push 0x1029d100
call fcn.1016f60a
add esp, 4
cmp dword [0x1029d100], 0xffffffff
jne 0x1012d749
push str.m_iObserverMode
push str.CBasePlayer
mov byte [ebp - 4], 2
call fcn.1016e290
push 0x1029d100
mov dword [0x1029d0f8], eax
mov byte [ebp - 4], 1
call fcn.1016f5b9
add esp, 4
mov eax, dword [0x1029d0f8]
mov eax, dword [esi + eax]
sub eax, 4
je 0x1012d76e
sub eax, 1
je 0x1012d767
mov dword [ebp - 4], 0xffffffff
jmp 0x1012dc0b
mov eax, 0x1028037c
jmp 0x1012d773
mov eax, 0x10280384
push 3
push eax
lea ecx, [ebp - 0x60]
call fcn.1011c190
mov eax, dword [0x1029902c]
xor esi, esi
mov dword [ebp - 0x20], eax
xorps xmm0, xmm0
movss dword [ebp - 0x1c], xmm0
test eax, eax
je 0x1012d82a
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 [0x1029d104]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + edx*4]
mov esi, dword [ebp - 0x1c]
cmp ecx, dword [eax + 4]
jle 0x1012d800
push 0x1029d104
call fcn.1016f60a
add esp, 4
cmp dword [0x1029d104], 0xffffffff
jne 0x1012d800
push str.m_flNextRespawnTime
push str.CTFPlayerResource
mov byte [ebp - 4], 3
call fcn.1016e290
push 0x1029d104
mov dword [0x1029d0f4], eax
mov byte [ebp - 4], 1
call fcn.1016f5b9
add esp, 4
mov eax, dword [0x1029d0f4]
mov ecx, dword [ebp - 0x20]
lea eax, [eax + esi*4]
movss xmm0, dword [eax + ecx]
mov eax, dword [0x1029ce20]
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, 0x102993bc
imul eax, eax, 0x1000193
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.10094430
cmp dword [eax + 4], 0
jne 0x1012d8c7
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, 0x102993bc
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.100b00c0
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, 0x102993bc
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.100b00c0
movss xmm1, dword [ebp - 0x1c]
mov eax, dword [eax]
movss xmm0, dword [eax + 0xc]
addss xmm0, dword [0x102859b0]
comiss xmm1, xmm0
jbe 0x1012d935
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, 0x102993bc
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.100b00c0
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 [0x1029ce1c]
mov edx, dword [ecx]
lea ecx, [ebp - 0x150]
push ecx
mov ecx, dword [0x1029ce1c]
push eax
mov edx, dword [edx + 0x20]
call edx
test al, al
je 0x1012dac0
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 0x1012d988
sub ecx, edx
lea edx, [ebp - 0x48]
mov dword [ebp - 0x44], ecx
lea ecx, [ebp - 0xa0]
call fcn.1012d490
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x88]
call fcn.100f2e00
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 + 0x10299070]
and edx, dword [eax*8 + 0x10299074]
or esi, edx
je 0x1012da01
mov al, 1
jmp 0x1012da03
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 [0x1029ce04]
mov ecx, dword [esi + edx*4]
mov esi, dword [ebp - 0x18]
cmp eax, dword [ecx + 4]
jle 0x1012da63
push 0x1029ce04
call fcn.1016f60a
add esp, 4
cmp dword [0x1029ce04], 0xffffffff
jne 0x1012da63
push str.m_iTeamNum
push str.CBaseEntity
mov byte [ebp - 4], 6
call fcn.1016e290
push 0x1029ce04
mov dword [0x1029cdfc], eax
mov byte [ebp - 4], 5
call fcn.1016f5b9
add esp, 4
mov eax, dword [0x1029cdfc]
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 [0x102993b4]
push eax
cmp ecx, dword [0x102993b8]
je 0x1012daa4
call fcn.1012e130
add dword [0x102993b4], 0x40
jmp 0x1012daaa
push ecx
call fcn.1012df50
lea ecx, [ebp - 0x88]
call fcn.100f31c0
lea ecx, [ebp - 0xa0]
call fcn.100f31c0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x4c]
cmp ecx, 7
jbe 0x1012dc0b
mov edx, dword [ebp - 0x60]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1012dafb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1012dc1b
push ecx
push edx
jmp 0x1012dc03
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, 0x102993bc
imul eax, eax, 0x1000193
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xc8]
push eax
call fcn.10094430
mov edx, dword [0x102993c0]
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + 4]
test ecx, ecx
mov eax, edx
cmovne eax, ecx
cmp eax, edx
je 0x1012dc0b
movzx ecx, byte [eax + 8]
xor ecx, 0x811c9dc5
mov esi, dword [0x102993c8]
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 [0x102993d4]
and edx, ecx
mov ecx, dword [esi + edx*8]
cmp dword [esi + edx*8 + 4], eax
jne 0x1012dbe4
cmp ecx, eax
jne 0x1012dbdb
mov ecx, dword [ebp - 0x18]
mov dword [esi + edx*8], ecx
mov dword [esi + edx*8 + 4], ecx
jmp 0x1012dbed
mov ecx, dword [eax + 4]
mov dword [esi + edx*8 + 4], ecx
jmp 0x1012dbed
cmp ecx, eax
jne 0x1012dbed
mov ecx, dword [eax]
mov dword [esi + edx*8], ecx
mov edx, dword [eax]
dec dword [0x102993c4]
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.1016f528
add esp, 8
add edi, 4
cmp edi, dword [ebp - 0x3c]
je 0x1012dc21
mov ecx, dword [ebp - 0x40]
jmp 0x1012d647
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov eax, dword [0x102993b0]
cmp eax, dword [0x102993b4]
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