Function at 0x10185055
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10194869
push eax
mov dword fs:[0], esp
sub esp, 0xe0
mov ecx, dword [0x10243e1c]
push ebx
mov eax, dword [ecx]
push esi
push edi
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [0x102fd868]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
call edx
mov esi, eax
test esi, esi
je 0x101854ea
mov ecx, esi
call fcn.100988d0
test al, al
je 0x101854ea
mov ecx, esi
mov dword [0x102412a0], esi
call fcn.1007bf60
mov ecx, dword [0x10243ad0]
mov esi, dword [0x102412a0]
mov dword [0x102412a4], eax
mov eax, dword fs:[0x2c]
mov ebx, dword [eax + ecx*4]
mov eax, dword [0x102fdc38]
mov dword [ebp - 0x24], ebx
cmp eax, dword [ebx + 4]
jle 0x10184ad1
push 0x102fdc38
call fcn.10189be4
add esp, 4
cmp dword [0x102fdc38], 0xffffffff
jne 0x10184ad1
push str.m_iObserverMode
push str.DT_BasePlayer
mov dword [ebp - 4], 0
call fcn.1006e7b0
push 0x102fdc38
mov dword [0x102fdc40], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10189b93
add esp, 4
mov eax, dword [0x102fdc40]
mov eax, dword [esi + eax]
sub eax, 4
je 0x10184ae3
sub eax, 1
jne 0x10184b56
mov eax, dword [0x102fdc44]
mov esi, dword [0x102412a0]
cmp eax, dword [ebx + 4]
jle 0x10184b3b
push 0x102fdc44
call fcn.10189be4
add esp, 4
cmp dword [0x102fdc44], 0xffffffff
jne 0x10184b3b
push str.m_hObserverTarget
push str.DT_BasePlayer
mov dword [ebp - 4], 1
call fcn.1006e7b0
push 0x102fdc44
mov dword [0x102fdc3c], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10189b93
add esp, 4
mov eax, dword [0x102fdc3c]
mov ecx, dword [0x102fd868]
mov edx, dword [esi + eax]
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0x10]
call eax
mov dword [0x102412a8], eax
mov ecx, dword [0x102fd868]
mov esi, 1
mov dword [ebp - 0x28], esi
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
call eax
cmp eax, esi
jle 0x101854e5
mov ecx, dword [0x102fd868]
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov esi, eax
mov dword [ebp - 0x14], esi
test esi, esi
je case.0x101852b9.250
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x10184ba2
mov edi, dword [eax + 0x14]
jmp 0x10184ba4
xor edi, edi
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 0x24]
call eax
mov dword [ebp - 0x18], eax
lea ecx, [esi + 8]
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x20]
call eax
test al, al
je 0x10184ef7
cmp edi, 0xf7
jne case.0x101852b9.250
mov edx, dword [ebp - 0x18]
movzx eax, dl
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, dh
xor ecx, eax
movzx eax, byte [ebp - 0x16]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebp - 0x15]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.1009b760
cmp dword [eax + 4], 0
je case.0x101852b9.250
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.1009ae30
mov ecx, dword [0x10243e1c]
mov eax, dword [eax]
add eax, 0xc
mov dword [ebp - 0x1c], eax
movss xmm0, dword [eax + 0xc]
mov eax, dword [ecx]
movss dword [ebp - 0x10], xmm0
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x20], eax
call dword [ebp - 0x20]
fstp dword [ebp - 0x20]
movss xmm0, dword [ebp - 0x20]
subss xmm0, dword [ebp - 0x10]
comiss xmm0, dword [0x10304b14]
ja case.0x101852b9.250
mov ebx, dword [ebp - 0x24]
mov eax, dword [0x102fd908]
cmp eax, dword [ebx + 4]
jle 0x10184cc5
push 0x102fd908
call fcn.10189be4
add esp, 4
cmp dword [0x102fd908], 0xffffffff
jne 0x10184cc5
mov dword [ebp - 4], 2
mov eax, dword [0x10240ce8]
test eax, eax
jne 0x10184cac
mov ecx, 0x10240ce8
call fcn.10186990
mov eax, dword [0x10240ce8]
push 0x102fd908
mov dword [0x102fd8f8], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10189b93
add esp, 4
push dword [ebp - 0x1c]
mov ecx, esi
call dword [0x102fd8f8]
mov eax, dword [0x102fdad8]
cmp eax, dword [ebx + 4]
jle 0x10184d22
push 0x102fdad8
call fcn.10189be4
add esp, 4
cmp dword [0x102fdad8], 0xffffffff
jne 0x10184d22
push str.m_vecOrigin
push str.DT_BaseEntity
mov dword [ebp - 4], 3
call fcn.1006e7b0
push 0x102fdad8
mov dword [0x102fdaa0], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10189b93
add esp, 4
mov eax, dword [ebp - 0x1c]
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
movss xmm2, dword [eax + 8]
mov eax, dword [0x102fdaa0]
movss dword [eax + esi], xmm0
movss dword [eax + esi + 4], xmm1
movss dword [eax + esi + 8], xmm2
mov eax, dword [0x102fdf40]
cmp eax, dword [ebx + 4]
jle 0x10184d9b
push 0x102fdf40
call fcn.10189be4
add esp, 4
cmp dword [0x102fdf40], 0xffffffff
jne 0x10184d9b
mov edx, str.m_lifeState
mov dword [ebp - 4], 4
mov ecx, str.CBasePlayer
call fcn.1006ac70
push 0x102fdf40
mov dword [0x102fdf48], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10189b93
add esp, 4
mov eax, dword [0x102fdf48]
mov byte [eax + esi], 0
mov eax, dword [0x102412ac]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x10184efa
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [0x102fd850]
cmp eax, dword [ebx + 4]
jle 0x10184e11
push 0x102fd850
call fcn.10189be4
add esp, 4
cmp dword [0x102fd850], 0xffffffff
jne 0x10184e11
push str.m_bValid
push str.baseclass
push str.DT_TFPlayerResource
mov dword [ebp - 4], 5
call fcn.1006e8a0
push 0x102fd850
mov dword [0x102fd858], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10189b93
add esp, 4
mov eax, dword [0x102fd858]
add eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
mov al, byte [eax + ecx]
test al, al
je 0x10184efa
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [0x102fdb60]
cmp eax, dword [ebx + 4]
jle 0x10184e87
push 0x102fdb60
call fcn.10189be4
add esp, 4
cmp dword [0x102fdb60], 0xffffffff
jne 0x10184e84
push str.m_iHealth
push str.baseclass
push str.DT_TFPlayerResource
mov dword [ebp - 4], 6
call fcn.1006e8a0
push 0x102fdb60
mov dword [0x102fdb64], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10189b93
add esp, 4
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x10]
mov eax, dword [0x102fdb64]
lea eax, [eax + edx*4]
mov eax, dword [eax + ecx]
mov dword [ebp - 0x10], eax
mov eax, dword [0x102fdb50]
cmp eax, dword [ebx + 4]
jle 0x10184eea
push 0x102fdb50
call fcn.10189be4
add esp, 4
cmp dword [0x102fdb50], 0xffffffff
jne 0x10184eea
mov edx, str.m_iHealth
mov dword [ebp - 4], 7
mov ecx, str.CBasePlayer
call fcn.1006ac70
push 0x102fdb50
mov dword [0x102fdb68], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10189b93
add esp, 4
mov eax, dword [0x102fdb68]
mov ecx, dword [ebp - 0x10]
mov dword [eax + esi], ecx
jmp 0x10184efa
mov ebx, dword [ebp - 0x24]
cmp esi, dword [0x102412a0]
jne 0x10184f15
mov ecx, dword [0x102fdb74]
mov eax, dword [ecx]
call dword [eax + 0x7c]
test eax, eax
je case.0x101852b9.250
cmp edi, 0xf7
jg 0x101852a3
je 0x1018518d
lea eax, [edi - 1]
cmp eax, 0xd8
ja case.0x101852b9.250
movzx eax, byte [eax + 0x10185520]
jmp dword [eax*4 + 0x101854fc]
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 3
push eax
lea eax, [ebp - 0x74]
mov ecx, 0x102412c0
push eax
call fcn.10185820
mov ecx, dword [eax]
mov eax, dword [ecx + 0x10]
add ecx, 0xc
cmp eax, dword [ecx + 8]
je 0x10184f71
mov dword [eax], esi
add dword [ecx + 4], 4
jmp 0x10184f7b
lea edx, [ebp - 0x14]
push edx
push eax
call fcn.1008a5b0
mov ecx, dword [0x102fda40]
cmp ecx, dword [ebx + 4]
jle 0x10184fd6
push 0x102fda40
call fcn.10189be4
mov ecx, dword [0x102fda40]
add esp, 4
cmp ecx, 0xffffffff
jne 0x10184fd6
push str.m_iTeamNum
push str.DT_BaseEntity
mov dword [ebp - 4], 0xa
call fcn.1006e7b0
push 0x102fda40
mov dword [0x102fda3c], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10189b93
mov ecx, dword [0x102fda40]
add esp, 4
mov eax, dword [0x102fda3c]
mov edi, dword [eax + esi]
mov eax, dword [0x102412a0]
mov dword [ebp - 0x10], eax
cmp ecx, dword [ebx + 4]
jle 0x10185033
push 0x102fda40
call fcn.10189be4
add esp, 4
cmp dword [0x102fda40], 0xffffffff
jne 0x10185033
push str.m_iTeamNum
push str.DT_BaseEntity
mov dword [ebp - 4], 0xb
call fcn.1006e7b0
push 0x102fda40
mov dword [0x102fda3c], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10189b93
add esp, 4
mov eax, dword [0x102fda3c]
xor ecx, ecx
mov edx, dword [ebp - 0x10]
cmp edi, dword [edx + eax]
lea eax, [ebp - 0x30]
push eax
sete cl
lea eax, [ebp - 0x7c]
add ecx, 4
mov dword [ebp - 0x30], ecx
jmp 0x1018549f
mov eax, dword [esi + 4]
lea ecx, [esi + 4]
mov eax, dword [eax + 0x24]
call eax
mov ecx, dword [0x102fd8fc]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
call edx
mov edi, eax
mov ecx, edi
call fcn.101876f0
test al, al
je 0x10185091
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 7
push eax
lea eax, [ebp - 0x84]
jmp 0x1018549f
mov ecx, edi
call fcn.10187610
test al, al
je 0x101850b2
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], 6
push eax
lea eax, [ebp - 0x8c]
jmp 0x1018549f
mov ecx, edi
call fcn.10187770
test al, al
je case.0x101852b9.250
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0xb
push eax
lea eax, [ebp - 0x94]
jmp 0x1018549f
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], 7
push eax
lea eax, [ebp - 0x9c]
jmp 0x1018549f
mov eax, dword [0x102fdf44]
cmp eax, dword [ebx + 4]
jle 0x1018513f
push 0x102fdf44
call fcn.10189be4
add esp, 4
cmp dword [0x102fdf44], 0xffffffff
jne 0x1018513f
push str.m_hTargetPlayer
push str.DT_CHalloweenGiftPickup
mov dword [ebp - 4], 0xe
call fcn.1006e7b0
push 0x102fdf44
mov dword [0x102fdf3c], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10189b93
add esp, 4
mov eax, dword [0x102fdf3c]
mov ecx, dword [0x102fd868]
mov edx, dword [eax + esi]
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0x10]
call eax
cmp eax, dword [0x102412a0]
jne case.0x101852b9.250
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], 0xc
push eax
lea eax, [ebp - 0xa4]
jmp 0x1018549f
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], 0xd
push eax
lea eax, [ebp - 0xac]
jmp 0x1018549f
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
lea eax, [ebp - 0xb4]
mov ecx, 0x102412c0
push eax
call fcn.10185820
mov ecx, dword [eax]
mov eax, dword [ecx + 0x10]
add ecx, 0xc
cmp eax, dword [ecx + 8]
je 0x101851be
mov dword [eax], esi
add dword [ecx + 4], 4
jmp 0x101851c8
lea edx, [ebp - 0x14]
push edx
push eax
call fcn.1008a5b0
mov ecx, dword [0x102fda40]
cmp ecx, dword [ebx + 4]
jle 0x10185223
push 0x102fda40
call fcn.10189be4
mov ecx, dword [0x102fda40]
add esp, 4
cmp ecx, 0xffffffff
jne 0x10185223
push str.m_iTeamNum
push str.DT_BaseEntity
mov dword [ebp - 4], 8
call fcn.1006e7b0
push 0x102fda40
mov dword [0x102fda3c], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10189b93
mov ecx, dword [0x102fda40]
add esp, 4
mov eax, dword [0x102fda3c]
mov edi, dword [eax + esi]
mov eax, dword [0x102412a0]
mov dword [ebp - 0x10], eax
cmp ecx, dword [ebx + 4]
jle 0x10185280
push 0x102fda40
call fcn.10189be4
add esp, 4
cmp dword [0x102fda40], 0xffffffff
jne 0x10185280
push str.m_iTeamNum
push str.DT_BaseEntity
mov dword [ebp - 4], 9
call fcn.1006e7b0
push 0x102fda40
mov dword [0x102fda3c], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10189b93
add esp, 4
mov eax, dword [0x102fda3c]
xor ecx, ecx
mov edx, dword [ebp - 0x10]
cmp edi, dword [edx + eax]
lea eax, [ebp - 0x4c]
push eax
sete cl
lea eax, [ebp - 0xbc]
inc ecx
mov dword [ebp - 0x4c], ecx
jmp 0x1018549f
lea eax, [edi - 0xf9]
cmp eax, 0x69
ja case.0x101852b9.250
movzx eax, byte [eax + 0x10185610]
jmp dword [eax*4 + 0x101855fc]
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 8
push eax
lea eax, [ebp - 0xc4]
mov ecx, 0x102412c0
push eax
call fcn.10185820
mov ecx, dword [eax]
mov eax, dword [ecx + 0x10]
add ecx, 0xc
cmp eax, dword [ecx + 8]
je 0x101852f1
mov dword [eax], esi
add dword [ecx + 4], 4
jmp 0x101852fb
lea edx, [ebp - 0x14]
push edx
push eax
call fcn.1008a5b0
mov eax, dword [0x102fda90]
cmp eax, dword [ebx + 4]
jle 0x1018534d
push 0x102fda90
call fcn.10189be4
add esp, 4
cmp dword [0x102fda90], 0xffffffff
jne 0x1018534d
push str.m_hThrower
push str.DT_BaseGrenade
mov dword [ebp - 4], 0xc
call fcn.1006e7b0
push 0x102fda90
mov dword [0x102fda7c], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10189b93
add esp, 4
mov eax, dword [0x102fda7c]
mov ecx, dword [0x102fd868]
mov edx, dword [eax + esi]
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0x10]
call eax
cmp eax, dword [0x102412a0]
je 0x101853df
mov eax, dword [0x102fd970]
cmp eax, dword [ebx + 4]
jle 0x101853bd
push 0x102fd970
call fcn.10189be4
add esp, 4
cmp dword [0x102fd970], 0xffffffff
jne 0x101853bd
push str.m_hOwnerEntity
push str.DT_BaseEntity
mov dword [ebp - 4], 0xd
call fcn.1006e7b0
push 0x102fd970
mov dword [0x102fd9a4], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10189b93
add esp, 4
mov eax, dword [0x102fd9a4]
mov ecx, dword [0x102fd868]
mov edx, dword [eax + esi]
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0x10]
call eax
cmp eax, dword [0x102412a0]
jne case.0x101852b9.250
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 0x10
push eax
lea eax, [ebp - 0xcc]
mov ecx, 0x102412c0
push eax
call fcn.10185820
mov ecx, dword [eax]
mov eax, dword [ecx + 0x10]
add ecx, 0xc
cmp eax, dword [ecx + 8]
je 0x10185410
mov dword [eax], esi
add dword [ecx + 4], 4
jmp 0x1018541a
lea edx, [ebp - 0x14]
push edx
push eax
call fcn.1008a5b0
sub edi, 0xd9
je 0x1018544e
sub edi, 0x28
jne case.0x101852b9.250
cmp dword [0x102fd830], 0x15f
jne case.0x101852b9.250
lea eax, [ebp - 0x54]
mov dword [ebp - 0x54], 0xf
push eax
lea eax, [ebp - 0xd4]
jmp 0x1018549f
cmp dword [esi + 0x8f8], 1
je 0x10185460
cmp byte [esi + 0x908], 0
je case.0x101852b9.250
lea eax, [ebp - 0x58]
mov dword [ebp - 0x58], 0xe
push eax
lea eax, [ebp - 0xdc]
jmp 0x1018549f
mov dword [0x102412ac], esi
jmp case.0x101852b9.250
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x5c], 9
push eax
lea eax, [ebp - 0xe4]
jmp 0x1018549f
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0xa
push eax
lea eax, [ebp - 0xec]
push eax
mov ecx, 0x102412c0
call fcn.10185820
mov ecx, dword [eax]
mov eax, dword [ecx + 0x10]
add ecx, 0xc
cmp eax, dword [ecx + 8]
je 0x101854bf
mov dword [eax], esi
add dword [ecx + 4], 4
jmp case.0x101852b9.250
lea edx, [ebp - 0x14]
push edx
push eax
call fcn.1008a5b0
mov ecx, dword [0x102fd868]
mov esi, dword [ebp - 0x28]
inc esi
mov dword [ebp - 0x28], esi
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
call eax
cmp esi, eax
jl 0x10184b73
call fcn.10185680
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret