Function at 0x1018d720
Capabilities:
Access peb ldr_data
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1019d829
push eax
mov dword fs:[0], esp
sub esp, 0xe0
mov ecx, dword [0x1024f68c]
push ebx
mov eax, dword [ecx]
push esi
push edi
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [0x10310738]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
call edx
mov esi, eax
test esi, esi
je 0x1018e20a
mov ecx, esi
call fcn.1009e910
test al, al
je 0x1018e20a
mov ecx, esi
mov dword [0x1024d1e0], esi
call fcn.10082ee0
mov ecx, dword [0x1024f340]
mov esi, dword [0x1024d1e0]
mov dword [0x1024d1e4], eax
mov eax, dword fs:[0x2c]
mov ebx, dword [eax + ecx*4]
mov eax, dword [0x10310b38]
mov dword [ebp - 0x24], ebx
cmp eax, dword [ebx + 4]
jle 0x1018d7f1
push 0x10310b38
call fcn.101928b8
add esp, 4
cmp dword [0x10310b38], 0xffffffff
jne 0x1018d7f1
push str.m_iObserverMode
push str.DT_BasePlayer
mov dword [ebp - 4], 0
call fcn.100756f0
push 0x10310b38
mov dword [0x10310b40], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10192867
add esp, 4
mov eax, dword [0x10310b40]
mov eax, dword [esi + eax]
sub eax, 4
je 0x1018d803
sub eax, 1
jne 0x1018d876
mov eax, dword [0x10310b44]
mov esi, dword [0x1024d1e0]
cmp eax, dword [ebx + 4]
jle 0x1018d85b
push 0x10310b44
call fcn.101928b8
add esp, 4
cmp dword [0x10310b44], 0xffffffff
jne 0x1018d85b
push str.m_hObserverTarget
push str.DT_BasePlayer
mov dword [ebp - 4], 1
call fcn.100756f0
push 0x10310b44
mov dword [0x10310b3c], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10192867
add esp, 4
mov eax, dword [0x10310b3c]
mov ecx, dword [0x10310738]
mov edx, dword [esi + eax]
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0x10]
call eax
mov dword [0x1024d1e8], eax
mov ecx, dword [0x10310738]
mov esi, 1
mov dword [ebp - 0x28], esi
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
call eax
cmp eax, esi
jle 0x1018e205
mov ecx, dword [0x10310738]
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.0x1018dfd9.250
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x1018d8c2
mov edi, dword [eax + 0x14]
jmp 0x1018d8c4
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 0x1018dc17
cmp edi, 0xf7
jne case.0x1018dfd9.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.100a1a10
cmp dword [eax + 4], 0
je case.0x1018dfd9.250
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.100a10e0
mov ecx, dword [0x1024f68c]
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 [0x103181f0]
ja case.0x1018dfd9.250
mov ebx, dword [ebp - 0x24]
mov eax, dword [0x103107d4]
cmp eax, dword [ebx + 4]
jle 0x1018d9e5
push 0x103107d4
call fcn.101928b8
add esp, 4
cmp dword [0x103107d4], 0xffffffff
jne 0x1018d9e5
mov dword [ebp - 4], 2
mov eax, dword [0x1024cbd8]
test eax, eax
jne 0x1018d9cc
mov ecx, 0x1024cbd8
call fcn.1018f6d0
mov eax, dword [0x1024cbd8]
push 0x103107d4
mov dword [0x103107c0], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10192867
add esp, 4
push dword [ebp - 0x1c]
mov ecx, esi
call dword [0x103107c0]
mov eax, dword [0x103109d4]
cmp eax, dword [ebx + 4]
jle 0x1018da42
push 0x103109d4
call fcn.101928b8
add esp, 4
cmp dword [0x103109d4], 0xffffffff
jne 0x1018da42
push str.m_vecOrigin
push str.DT_BaseEntity
mov dword [ebp - 4], 3
call fcn.100756f0
push 0x103109d4
mov dword [0x103109a4], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10192867
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 [0x103109a4]
movss dword [eax + esi], xmm0
movss dword [eax + esi + 4], xmm1
movss dword [eax + esi + 8], xmm2
mov eax, dword [0x10310e50]
cmp eax, dword [ebx + 4]
jle 0x1018dabb
push 0x10310e50
call fcn.101928b8
add esp, 4
cmp dword [0x10310e50], 0xffffffff
jne 0x1018dabb
mov edx, str.m_lifeState
mov dword [ebp - 4], 4
mov ecx, str.CBasePlayer
call fcn.10071b90
push 0x10310e50
mov dword [0x10310e58], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10192867
add esp, 4
mov eax, dword [0x10310e58]
mov byte [eax + esi], 0
mov eax, dword [0x1024d1ec]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x1018dc1a
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [0x10310720]
cmp eax, dword [ebx + 4]
jle 0x1018db31
push 0x10310720
call fcn.101928b8
add esp, 4
cmp dword [0x10310720], 0xffffffff
jne 0x1018db31
push str.m_bValid
push str.baseclass
push str.DT_TFPlayerResource
mov dword [ebp - 4], 5
call fcn.100757e0
push 0x10310720
mov dword [0x10310728], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10192867
add esp, 4
mov eax, dword [0x10310728]
add eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
mov al, byte [eax + ecx]
test al, al
je 0x1018dc1a
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [0x10310a58]
cmp eax, dword [ebx + 4]
jle 0x1018dba7
push 0x10310a58
call fcn.101928b8
add esp, 4
cmp dword [0x10310a58], 0xffffffff
jne 0x1018dba4
push str.m_iHealth
push str.baseclass
push str.DT_TFPlayerResource
mov dword [ebp - 4], 6
call fcn.100757e0
push 0x10310a58
mov dword [0x10310a5c], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10192867
add esp, 4
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x10]
mov eax, dword [0x10310a5c]
lea eax, [eax + edx*4]
mov eax, dword [eax + ecx]
mov dword [ebp - 0x10], eax
mov eax, dword [0x10310a48]
cmp eax, dword [ebx + 4]
jle 0x1018dc0a
push 0x10310a48
call fcn.101928b8
add esp, 4
cmp dword [0x10310a48], 0xffffffff
jne 0x1018dc0a
mov edx, str.m_iHealth
mov dword [ebp - 4], 7
mov ecx, str.CBasePlayer
call fcn.10071b90
push 0x10310a48
mov dword [0x10310a60], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10192867
add esp, 4
mov eax, dword [0x10310a60]
mov ecx, dword [ebp - 0x10]
mov dword [eax + esi], ecx
jmp 0x1018dc1a
mov ebx, dword [ebp - 0x24]
cmp esi, dword [0x1024d1e0]
jne 0x1018dc35
mov ecx, dword [0x10310a64]
mov eax, dword [ecx]
call dword [eax + 0x7c]
test eax, eax
je case.0x1018dfd9.250
cmp edi, 0xf7
jg 0x1018dfc3
je 0x1018dead
lea eax, [edi - 1]
cmp eax, 0xd8
ja case.0x1018dfd9.250
movzx eax, byte [eax + 0x1018e240]
jmp dword [eax*4 + 0x1018e21c]
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 3
push eax
lea eax, [ebp - 0x74]
mov ecx, 0x1024d200
push eax
call fcn.1018e540
mov ecx, dword [eax]
mov eax, dword [ecx + 0x10]
add ecx, 0xc
cmp eax, dword [ecx + 8]
je 0x1018dc91
mov dword [eax], esi
add dword [ecx + 4], 4
jmp 0x1018dc9b
lea edx, [ebp - 0x14]
push edx
push eax
call fcn.100c1330
mov ecx, dword [0x10310918]
cmp ecx, dword [ebx + 4]
jle 0x1018dcf6
push 0x10310918
call fcn.101928b8
mov ecx, dword [0x10310918]
add esp, 4
cmp ecx, 0xffffffff
jne 0x1018dcf6
push str.m_iTeamNum
push str.DT_BaseEntity
mov dword [ebp - 4], 0xa
call fcn.100756f0
push 0x10310918
mov dword [0x10310914], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10192867
mov ecx, dword [0x10310918]
add esp, 4
mov eax, dword [0x10310914]
mov edi, dword [eax + esi]
mov eax, dword [0x1024d1e0]
mov dword [ebp - 0x10], eax
cmp ecx, dword [ebx + 4]
jle 0x1018dd53
push 0x10310918
call fcn.101928b8
add esp, 4
cmp dword [0x10310918], 0xffffffff
jne 0x1018dd53
push str.m_iTeamNum
push str.DT_BaseEntity
mov dword [ebp - 4], 0xb
call fcn.100756f0
push 0x10310918
mov dword [0x10310914], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10192867
add esp, 4
mov eax, dword [0x10310914]
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 0x1018e1bf
mov eax, dword [esi + 4]
lea ecx, [esi + 4]
mov eax, dword [eax + 0x24]
call eax
mov ecx, dword [0x103107c4]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
call edx
mov edi, eax
mov ecx, edi
call fcn.10190390
test al, al
je 0x1018ddb1
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 7
push eax
lea eax, [ebp - 0x84]
jmp 0x1018e1bf
mov ecx, edi
call fcn.101902a0
test al, al
je 0x1018ddd2
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], 6
push eax
lea eax, [ebp - 0x8c]
jmp 0x1018e1bf
mov ecx, edi
call fcn.10190410
test al, al
je case.0x1018dfd9.250
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0xb
push eax
lea eax, [ebp - 0x94]
jmp 0x1018e1bf
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], 7
push eax
lea eax, [ebp - 0x9c]
jmp 0x1018e1bf
mov eax, dword [0x10310e54]
cmp eax, dword [ebx + 4]
jle 0x1018de5f
push 0x10310e54
call fcn.101928b8
add esp, 4
cmp dword [0x10310e54], 0xffffffff
jne 0x1018de5f
push str.m_hTargetPlayer
push str.DT_CHalloweenGiftPickup
mov dword [ebp - 4], 0xe
call fcn.100756f0
push 0x10310e54
mov dword [0x10310e4c], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10192867
add esp, 4
mov eax, dword [0x10310e4c]
mov ecx, dword [0x10310738]
mov edx, dword [eax + esi]
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0x10]
call eax
cmp eax, dword [0x1024d1e0]
jne case.0x1018dfd9.250
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], 0xc
push eax
lea eax, [ebp - 0xa4]
jmp 0x1018e1bf
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], 0xd
push eax
lea eax, [ebp - 0xac]
jmp 0x1018e1bf
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
lea eax, [ebp - 0xb4]
mov ecx, 0x1024d200
push eax
call fcn.1018e540
mov ecx, dword [eax]
mov eax, dword [ecx + 0x10]
add ecx, 0xc
cmp eax, dword [ecx + 8]
je 0x1018dede
mov dword [eax], esi
add dword [ecx + 4], 4
jmp 0x1018dee8
lea edx, [ebp - 0x14]
push edx
push eax
call fcn.100c1330
mov ecx, dword [0x10310918]
cmp ecx, dword [ebx + 4]
jle 0x1018df43
push 0x10310918
call fcn.101928b8
mov ecx, dword [0x10310918]
add esp, 4
cmp ecx, 0xffffffff
jne 0x1018df43
push str.m_iTeamNum
push str.DT_BaseEntity
mov dword [ebp - 4], 8
call fcn.100756f0
push 0x10310918
mov dword [0x10310914], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10192867
mov ecx, dword [0x10310918]
add esp, 4
mov eax, dword [0x10310914]
mov edi, dword [eax + esi]
mov eax, dword [0x1024d1e0]
mov dword [ebp - 0x10], eax
cmp ecx, dword [ebx + 4]
jle 0x1018dfa0
push 0x10310918
call fcn.101928b8
add esp, 4
cmp dword [0x10310918], 0xffffffff
jne 0x1018dfa0
push str.m_iTeamNum
push str.DT_BaseEntity
mov dword [ebp - 4], 9
call fcn.100756f0
push 0x10310918
mov dword [0x10310914], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10192867
add esp, 4
mov eax, dword [0x10310914]
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 0x1018e1bf
lea eax, [edi - 0xf9]
cmp eax, 0x69
ja case.0x1018dfd9.250
movzx eax, byte [eax + 0x1018e330]
jmp dword [eax*4 + 0x1018e31c]
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 8
push eax
lea eax, [ebp - 0xc4]
mov ecx, 0x1024d200
push eax
call fcn.1018e540
mov ecx, dword [eax]
mov eax, dword [ecx + 0x10]
add ecx, 0xc
cmp eax, dword [ecx + 8]
je 0x1018e011
mov dword [eax], esi
add dword [ecx + 4], 4
jmp 0x1018e01b
lea edx, [ebp - 0x14]
push edx
push eax
call fcn.100c1330
mov eax, dword [0x10310998]
cmp eax, dword [ebx + 4]
jle 0x1018e06d
push 0x10310998
call fcn.101928b8
add esp, 4
cmp dword [0x10310998], 0xffffffff
jne 0x1018e06d
push str.m_hThrower
push str.DT_BaseGrenade
mov dword [ebp - 4], 0xc
call fcn.100756f0
push 0x10310998
mov dword [0x10310958], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10192867
add esp, 4
mov eax, dword [0x10310958]
mov ecx, dword [0x10310738]
mov edx, dword [eax + esi]
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0x10]
call eax
cmp eax, dword [0x1024d1e0]
je 0x1018e0ff
mov eax, dword [0x1031083c]
cmp eax, dword [ebx + 4]
jle 0x1018e0dd
push 0x1031083c
call fcn.101928b8
add esp, 4
cmp dword [0x1031083c], 0xffffffff
jne 0x1018e0dd
push str.m_hOwnerEntity
push str.DT_BaseEntity
mov dword [ebp - 4], 0xd
call fcn.100756f0
push 0x1031083c
mov dword [0x10310870], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10192867
add esp, 4
mov eax, dword [0x10310870]
mov ecx, dword [0x10310738]
mov edx, dword [eax + esi]
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0x10]
call eax
cmp eax, dword [0x1024d1e0]
jne case.0x1018dfd9.250
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 0x10
push eax
lea eax, [ebp - 0xcc]
mov ecx, 0x1024d200
push eax
call fcn.1018e540
mov ecx, dword [eax]
mov eax, dword [ecx + 0x10]
add ecx, 0xc
cmp eax, dword [ecx + 8]
je 0x1018e130
mov dword [eax], esi
add dword [ecx + 4], 4
jmp 0x1018e13a
lea edx, [ebp - 0x14]
push edx
push eax
call fcn.100c1330
sub edi, 0xd9
je 0x1018e16e
sub edi, 0x28
jne case.0x1018dfd9.250
cmp dword [0x10310700], 0x15f
jne case.0x1018dfd9.250
lea eax, [ebp - 0x54]
mov dword [ebp - 0x54], 0xf
push eax
lea eax, [ebp - 0xd4]
jmp 0x1018e1bf
cmp dword [esi + 0x8f8], 1
je 0x1018e180
cmp byte [esi + 0x908], 0
je case.0x1018dfd9.250
lea eax, [ebp - 0x58]
mov dword [ebp - 0x58], 0xe
push eax
lea eax, [ebp - 0xdc]
jmp 0x1018e1bf
mov dword [0x1024d1ec], esi
jmp case.0x1018dfd9.250
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x5c], 9
push eax
lea eax, [ebp - 0xe4]
jmp 0x1018e1bf
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0xa
push eax
lea eax, [ebp - 0xec]
push eax
mov ecx, 0x1024d200
call fcn.1018e540
mov ecx, dword [eax]
mov eax, dword [ecx + 0x10]
add ecx, 0xc
cmp eax, dword [ecx + 8]
je 0x1018e1df
mov dword [eax], esi
add dword [ecx + 4], 4
jmp case.0x1018dfd9.250
lea edx, [ebp - 0x14]
push edx
push eax
call fcn.100c1330
mov ecx, dword [0x10310738]
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 0x1018d893
call fcn.1018e3a0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret