Function at 0x1004ef10
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012ee09
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x15c
push ebx
push esi
push edi
mov edi, ecx
mov byte [ebp - 0x12], 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x28], edi
push eax
mov ecx, 0x101d35a0
mov byte [ebp - 0x13], 0
mov dword [ebp - 0x10], 1
call fcn.10127290
mov ebx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], eax
cmp ebx, eax
je 0x1004fd99
mov ecx, dword [ebx]
call fcn.10014420
test al, al
jne case.0x1004ef09.4
mov ecx, dword [ebx]
add ecx, 8
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
test al, al
jne case.0x1004ef09.4
mov eax, dword [0x101d5a74]
mov ecx, dword fs:[0x2c]
mov esi, dword [ebx]
mov ecx, dword [ecx + eax*4]
mov eax, dword [0x101d5f30]
mov dword [ebp - 0x20], ecx
cmp eax, dword [ecx + 4]
jle 0x1004eef7
push 0x101d5f30
call fcn.1012b230
add esp, 4
cmp dword [0x101d5f30], 0xffffffff
jne 0x1004eef4
push str.m_iClass
push str.m_PlayerClass
push str.DT_TFPlayer
mov dword [ebp - 4], 0
call fcn.10018010
push 0x101d5f30
mov dword [0x101d5f40], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1012b1df
add esp, 4
mov ecx, dword [ebp - 0x20]
mov eax, dword [0x101d5f40]
mov eax, dword [esi + eax]
dec eax
cmp eax, 8
ja case.0x1004ef09.4
jmp dword [eax*4 + 0x10050320]
test byte [0x10289a70], 1
jmp 0x1004ef50
test byte [0x10289a70], 0x80
jmp 0x1004ef50
test byte [0x10289a70], 2
jmp 0x1004ef50
test byte [0x10289a70], 0x10
jmp 0x1004ef50
test byte [0x10289a70], 4
jmp 0x1004ef50
test dword [0x10289a70], 0x100
jmp 0x1004ef50
test byte [0x10289a70], 0x20
je case.0x1004ef09.4
mov eax, dword [0x101d5ee4]
mov esi, dword [ebx]
cmp eax, dword [ecx + 4]
jle 0x1004efaf
push 0x101d5ee4
call fcn.1012b230
add esp, 4
cmp dword [0x101d5ee4], 0xffffffff
jne 0x1004efaf
push str.m_nPlayerCond
push str.m_Shared
push str.DT_TFPlayer
mov dword [ebp - 4], 1
call fcn.10018010
push 0x101d5ee4
mov dword [0x101d5eb8], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1012b1df
add esp, 4
mov eax, dword [0x101d5eb8]
test dword [esi + eax], 0x4000
jne 0x10050042
mov ecx, dword [ebx]
call fcn.10022190
mov esi, eax
test esi, esi
je 0x10050042
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x528]
call eax
cmp eax, 2
je 0x10050042
mov eax, dword [esi + 8]
add esi, 8
mov ecx, esi
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x1004f005
cmp dword [eax + 0x14], 0xe4
je 0x10050042
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x1004f01f
cmp dword [eax + 0x14], 0xe5
je 0x10050042
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x1004f039
cmp dword [eax + 0x14], 0x149
je 0x10050042
push dword [ebx]
call fcn.10108690
test al, al
jne case.0x1004ef09.4
lea eax, [ebp - 0x88]
mov ecx, edi
push eax
call fcn.100144b0
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x24]
call eax
mov esi, dword [ebx]
mov ecx, esi
movss xmm0, dword [eax]
movss dword [ebp - 0x10], xmm0
movss xmm0, dword [eax + 4]
movss dword [ebp - 0x24], xmm0
movss xmm0, dword [eax + 8]
lea eax, [ebp - 0xb4]
push eax
movss dword [ebp - 0x38], xmm0
call fcn.10021c70
mov edx, dword [esi]
mov ecx, esi
mov edi, eax
mov edx, dword [edx + 0x24]
call edx
movss xmm4, dword [edi]
sub esp, 8
movss xmm3, dword [edi + 4]
movss xmm0, dword [ebp - 0x80]
addss xmm4, dword [eax]
addss xmm3, dword [eax + 4]
mulss xmm0, dword [0x101be9bc]
movss xmm2, dword [edi + 8]
addss xmm2, dword [eax + 8]
addss xmm0, dword [ebp - 0x38]
subss xmm4, dword [ebp - 0x10]
subss xmm3, dword [ebp - 0x24]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
subss xmm2, xmm0
mov dword [ebp - 0x44], 0
movaps xmm0, xmm4
movss dword [ebp - 0x2c], xmm4
movaps xmm1, xmm3
mulss xmm0, xmm4
mulss xmm1, xmm3
movss dword [ebp - 0x24], xmm3
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd qword [esp], xmm0
call fcn.100269c0
fstp dword [ebp - 0x10]
divss xmm2, dword [ebp - 0x10]
cvtps2pd xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_atan_precise
cvtsd2ss xmm0, xmm0
cvtss2sd xmm0, xmm0
mulsd xmm0, qword [0x101beaf0]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0x4c], xmm0
movss xmm0, dword [ebp - 0x24]
divss xmm0, dword [ebp - 0x2c]
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_atan_precise
cvtsd2ss xmm0, xmm0
mov dword [ebp - 0x44], 0
xorps xmm1, xmm1
xorps xmm2, xmm2
cvtss2sd xmm0, xmm0
mulsd xmm0, qword [0x101beaf0]
cvtsd2ss xmm1, xmm0
movss xmm0, dword [ebp - 0x2c]
comiss xmm0, xmm2
movss dword [ebp - 0x48], xmm1
jb 0x1004f18c
addss xmm1, dword [0x101bec0c]
movss dword [ebp - 0x48], xmm1
mov ecx, dword [ebx]
lea eax, [ebp - 0xc0]
push eax
call fcn.10021fa0
lea edx, [ebp - 0x4c]
mov ecx, eax
call fcn.10026ad0
mov ecx, dword [ebx]
add ecx, 8
movss dword [ebp - 0x24], xmm0
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov ebx, eax
shr eax, 0x10
mov ecx, ebx
movzx eax, al
shr ecx, 8
movzx edx, cl
movzx ecx, bl
xor ecx, 0x811c9dc5
mov dword [ebp - 0x30], ebx
imul ecx, ecx, 0x1000193
shr ebx, 0x18
xor edx, ecx
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
xor eax, ebx
imul edi, eax, 0x1000193
lea eax, [ebp - 0x30]
push edi
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10025250
mov eax, dword [ebp - 0x3c]
test eax, eax
jne 0x1004f30e
cmp dword [0x101cfb90], 0xfffffff
je 0x10050037
mov dword [ebp - 0x54], 0x101cfb8c
mov dword [ebp - 4], 2
push 0x10
mov dword [ebp - 0x50], eax
call fcn.1012ae34
mov ecx, dword [ebp - 0x30]
add esp, 4
mov dword [eax + 8], ecx
mov dword [ebp - 0x10], eax
lea ebx, [eax + 8]
mov dword [ebp - 0x50], eax
mov dword [ebx + 4], 2
mov dword [ebp - 4], 3
mov eax, dword [0x101cfb90]
mov esi, dword [0x101cfba4]
inc eax
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x101bf240]
mov eax, esi
shr eax, 0x1f
cvtpd2ps xmm3, xmm0
movd xmm0, esi
cvtdq2pd xmm0, xmm0
movaps xmm2, xmm3
addsd xmm0, qword [eax*8 + 0x101bf240]
cvtpd2ps xmm1, xmm0
movss xmm0, dword [0x101cfb88]
divss xmm2, xmm1
comiss xmm2, xmm0
jbe 0x1004f2f3
divss xmm3, xmm0
movaps xmm0, xmm3
call fcn.10011700
call fcn.1012c2f0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp esi, ecx
jae 0x1004f2d5
cmp esi, 0x200
jae 0x1004f2d3
shl esi, 3
cmp esi, ecx
jae 0x1004f2d5
mov esi, ecx
push esi
call fcn.10025070
push edi
push ebx
lea eax, [ebp - 0x78]
push eax
call fcn.10025250
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], eax
jmp 0x1004f2f6
mov ecx, dword [ebp - 0x40]
push dword [ebp - 0x10]
mov dword [ebp - 0x50], 0
push ecx
push edi
call fcn.10025000
mov dword [ebp - 4], 0xffffffff
cmp dword [eax + 0xc], 4
mov ebx, dword [ebp - 0x18]
je 0x1004f373
cmp dword [0x101cf1f8], 0
je 0x1004f373
mov ecx, dword [ebx]
add ecx, 8
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov dword [ebp - 0x34], eax
mov ecx, 0x1028aa90
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.10018160
movss xmm1, dword [ebp - 0x24]
mov eax, dword [eax]
movd xmm0, dword [eax + 0xc]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x101beae4]
subss xmm1, xmm0
movd xmm0, dword [0x101cf1f8]
cvtdq2ps xmm0, xmm0
comiss xmm1, xmm0
ja 0x1004fd87
mov ecx, dword [ebp - 0x20]
mov eax, dword [0x101d5ee4]
mov esi, dword [ebx]
cmp eax, dword [ecx + 4]
jle 0x1004f3cf
push 0x101d5ee4
call fcn.1012b230
add esp, 4
cmp dword [0x101d5ee4], 0xffffffff
jne 0x1004f3cf
push str.m_nPlayerCond
push str.m_Shared
push str.DT_TFPlayer
mov dword [ebp - 4], 4
call fcn.10018010
push 0x101d5ee4
mov dword [0x101d5eb8], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1012b1df
add esp, 4
mov eax, dword [0x101d5eb8]
test byte [esi + eax], 2
je 0x1004f44f
mov esi, dword [ebx]
lea eax, [ebp - 0xcc]
push eax
mov ecx, esi
mov byte [ebp - 0x12], 1
call fcn.10021c70
mov edx, dword [esi]
mov ecx, esi
mov edi, eax
mov edx, dword [edx + 0x24]
call edx
movss xmm2, dword [edi]
movss xmm1, dword [edi + 4]
movss xmm0, dword [edi + 8]
addss xmm2, dword [eax]
addss xmm1, dword [eax + 4]
addss xmm0, dword [eax + 8]
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0xd8]
push 0
push eax
movss dword [ebp - 0x64], xmm2
movss dword [ebp - 0x60], xmm1
movss dword [ebp - 0x5c], xmm0
call fcn.1003aa30
mov edx, dword [ebx]
lea ecx, [ebp - 0x64]
push ecx
mov ecx, dword [ebp - 0x28]
push eax
call fcn.10025390
add esp, 8
test al, al
jne 0x100502e1
mov esi, dword [ebx]
lea eax, [ebp - 0xe4]
push eax
mov ecx, esi
call fcn.10021c70
mov edx, dword [esi]
mov ecx, esi
mov edi, eax
mov edx, dword [edx + 0x24]
call edx
movss xmm2, dword [edi]
movss xmm1, dword [edi + 4]
movss xmm0, dword [edi + 8]
addss xmm2, dword [eax]
addss xmm1, dword [eax + 4]
addss xmm0, dword [eax + 8]
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0xf0]
push 1
push eax
mov ecx, edi
movss dword [ebp - 0x70], xmm2
movss dword [ebp - 0x6c], xmm1
movss dword [ebp - 0x68], xmm0
call fcn.1003aa30
mov edx, dword [ebx]
lea ecx, [ebp - 0x70]
push ecx
push eax
mov ecx, edi
call fcn.10025390
add esp, 8
test al, al
je case.0x1004ef09.4
mov ecx, dword [ebx]
call fcn.10022190
mov ecx, eax
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x1004fd81
mov esi, dword [ebp - 0x20]
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
mov eax, dword [0x101d5f30]
cmp eax, dword [esi + 4]
jle 0x1004f537
push 0x101d5f30
call fcn.1012b230
add esp, 4
cmp dword [0x101d5f30], 0xffffffff
jne 0x1004f534
push str.m_iClass
push str.m_PlayerClass
push str.DT_TFPlayer
mov dword [ebp - 4], 5
call fcn.10018010
push 0x101d5f30
mov dword [0x101d5f40], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1012b1df
add esp, 4
mov ecx, dword [ebp - 0x18]
mov eax, dword [0x101d5f40]
mov edx, dword [ebp - 0x10]
cmp dword [edx + eax], 8
jne 0x1004f557
mov eax, dword [ecx]
mov eax, dword [eax + 0x528]
call eax
test eax, eax
je 0x1004f779
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
mov eax, dword [0x101d5f30]
cmp eax, dword [esi + 4]
jle 0x1004f5b3
push 0x101d5f30
call fcn.1012b230
add esp, 4
cmp dword [0x101d5f30], 0xffffffff
jne 0x1004f5b3
push str.m_iClass
push str.m_PlayerClass
push str.DT_TFPlayer
mov dword [ebp - 4], 6
call fcn.10018010
push 0x101d5f30
mov dword [0x101d5f40], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1012b1df
add esp, 4
mov eax, dword [0x101d5f40]
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + eax], 1
je 0x1004f779
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
mov eax, dword [0x101d5f30]
cmp eax, dword [esi + 4]
jle 0x1004f621
push 0x101d5f30
call fcn.1012b230
add esp, 4
cmp dword [0x101d5f30], 0xffffffff
jne 0x1004f621
push str.m_iClass
push str.m_PlayerClass
push str.DT_TFPlayer
mov dword [ebp - 4], 7
call fcn.10018010
push 0x101d5f30
mov dword [0x101d5f40], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1012b1df
add esp, 4
mov eax, dword [0x101d5f40]
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + eax], 6
je 0x1004f779
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
mov eax, dword [0x101d5f30]
cmp eax, dword [esi + 4]
jle 0x1004f68f
push 0x101d5f30
call fcn.1012b230
add esp, 4
cmp dword [0x101d5f30], 0xffffffff
jne 0x1004f68f
push str.m_iClass
push str.m_PlayerClass
push str.DT_TFPlayer
mov dword [ebp - 4], 8
call fcn.10018010
push 0x101d5f30
mov dword [0x101d5f40], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1012b1df
add esp, 4
mov eax, dword [0x101d5f40]
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + eax], 5
je 0x1004f779
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
mov eax, dword [0x101d5f30]
cmp eax, dword [esi + 4]
jle 0x1004f6fd
push 0x101d5f30
call fcn.1012b230
add esp, 4
cmp dword [0x101d5f30], 0xffffffff
jne 0x1004f6fd
push str.m_iClass
push str.m_PlayerClass
push str.DT_TFPlayer
mov dword [ebp - 4], 9
call fcn.10018010
push 0x101d5f30
mov dword [0x101d5f40], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1012b1df
add esp, 4
mov eax, dword [0x101d5f40]
mov ecx, dword [ebp - 0x10]
cmp dword [eax + ecx], 2
je 0x1004f779
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
mov eax, dword [0x101d5f30]
cmp eax, dword [esi + 4]
jle 0x1004f767
push 0x101d5f30
call fcn.1012b230
add esp, 4
cmp dword [0x101d5f30], 0xffffffff
jne 0x1004f767
push str.m_iClass
push str.m_PlayerClass
push str.DT_TFPlayer
mov dword [ebp - 4], 0xa
call fcn.10018010
push 0x101d5f30
mov dword [0x101d5f40], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1012b1df
add esp, 4
mov eax, dword [0x101d5f40]
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + eax], 9
jne 0x1004fae8
lea eax, [ebp - 0xfc]
mov ecx, edi
push eax
call fcn.10026c60
mov ecx, dword [ebx]
mov esi, eax
lea eax, [ebp - 0x108]
push eax
call fcn.10026c60
movss xmm2, dword [esi]
movss xmm0, dword [esi + 4]
movss xmm1, dword [esi + 8]
subss xmm0, dword [eax + 4]
subss xmm2, dword [eax]
subss xmm1, dword [eax + 8]
mulss xmm0, xmm0
mulss xmm2, xmm2
mulss xmm1, xmm1
addss xmm0, xmm2
addss xmm0, xmm1
call fcn.10011780
movss xmm1, dword [0x101bec44]
comiss xmm1, xmm0
ja 0x100502e1
lea eax, [ebp - 0x114]
mov ecx, edi
push eax
call fcn.10026c60
mov ecx, dword [ebx]
mov esi, eax
lea eax, [ebp - 0x120]
push eax
call fcn.10026c60
movss xmm2, dword [esi]
movss xmm0, dword [esi + 4]
movss xmm1, dword [esi + 8]
subss xmm0, dword [eax + 4]
subss xmm2, dword [eax]
subss xmm1, dword [eax + 8]
mulss xmm0, xmm0
mulss xmm2, xmm2
mulss xmm1, xmm1
addss xmm0, xmm2
addss xmm0, xmm1
call fcn.10011780
movss xmm1, dword [0x101bec68]
comiss xmm1, xmm0
jbe 0x1004fae8
mov esi, dword [ebp - 0x20]
mov ecx, dword [0x101d5f30]
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
cmp ecx, dword [esi + 4]
jle 0x1004f8a9
push 0x101d5f30
call fcn.1012b230
mov ecx, dword [0x101d5f30]
add esp, 4
cmp ecx, 0xffffffff
jne 0x1004f8a9
push str.m_iClass
push str.m_PlayerClass
push str.DT_TFPlayer
mov dword [ebp - 4], 0xb
call fcn.10018010
push 0x101d5f30
mov dword [0x101d5f40], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1012b1df
mov ecx, dword [0x101d5f30]
add esp, 4
mov eax, dword [0x101d5f40]
mov edx, dword [ebp - 0x10]
cmp dword [edx + eax], 8
je 0x100502e1
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
cmp ecx, dword [esi + 4]
jle 0x1004f91a
push 0x101d5f30
call fcn.1012b230
mov ecx, dword [0x101d5f30]
add esp, 4
cmp ecx, 0xffffffff
jne 0x1004f91a
push str.m_iClass
push str.m_PlayerClass
push str.DT_TFPlayer
mov dword [ebp - 4], 0xc
call fcn.10018010
push 0x101d5f30
mov dword [0x101d5f40], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1012b1df
mov ecx, dword [0x101d5f30]
add esp, 4
mov eax, dword [0x101d5f40]
mov edx, dword [ebp - 0x10]
cmp dword [edx + eax], 1
je 0x100502e1
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
cmp ecx, dword [esi + 4]
jle 0x1004f98b
push 0x101d5f30
call fcn.1012b230
mov ecx, dword [0x101d5f30]
add esp, 4
cmp ecx, 0xffffffff
jne 0x1004f98b
push str.m_iClass
push str.m_PlayerClass
push str.DT_TFPlayer
mov dword [ebp - 4], 0xd
call fcn.10018010
push 0x101d5f30
mov dword [0x101d5f40], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1012b1df
mov ecx, dword [0x101d5f30]
add esp, 4
mov eax, dword [0x101d5f40]
mov edx, dword [ebp - 0x10]
cmp dword [eax + edx], 6
je 0x100502e1
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
cmp ecx, dword [esi + 4]
jle 0x1004f9fc
push 0x101d5f30
call fcn.1012b230
mov ecx, dword [0x101d5f30]
add esp, 4
cmp ecx, 0xffffffff
jne 0x1004f9fc
push str.m_iClass
push str.m_PlayerClass
push str.DT_TFPlayer
mov dword [ebp - 4], 0xe
call fcn.10018010
push 0x101d5f30
mov dword [0x101d5f40], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1012b1df
mov ecx, dword [0x101d5f30]
add esp, 4
mov eax, dword [0x101d5f40]
mov edx, dword [ebp - 0x10]
cmp dword [edx + eax], 5
je 0x100502e1
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
cmp ecx, dword [esi + 4]
jle 0x1004fa6d
push 0x101d5f30
call fcn.1012b230
mov ecx, dword [0x101d5f30]
add esp, 4
cmp ecx, 0xffffffff
jne 0x1004fa6d
push str.m_iClass
push str.m_PlayerClass
push str.DT_TFPlayer
mov dword [ebp - 4], 0xf
call fcn.10018010
push 0x101d5f30
mov dword [0x101d5f40], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1012b1df
mov ecx, dword [0x101d5f30]
add esp, 4
mov eax, dword [0x101d5f40]
mov edx, dword [ebp - 0x10]
cmp dword [edx + eax], 2
je 0x100502e1
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
cmp ecx, dword [esi + 4]
jle 0x1004fad6
push 0x101d5f30
call fcn.1012b230
add esp, 4
cmp dword [0x101d5f30], 0xffffffff
jne 0x1004fad6
push str.m_iClass
push str.m_PlayerClass
push str.DT_TFPlayer
mov dword [ebp - 4], 0x10
call fcn.10018010
push 0x101d5f30
mov dword [0x101d5f40], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1012b1df
add esp, 4
mov eax, dword [0x101d5f40]
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + eax], 9
je 0x100502e1
mov esi, dword [ebp - 0x18]
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x1004fb03
cmp dword [eax + 0x14], 0x12c
je 0x1004fb23
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x1004fd81
cmp dword [eax + 0x14], 0x12e
jne 0x1004fd81
lea eax, [ebp - 0x12c]
mov ecx, edi
push eax
call fcn.10026c60
mov ecx, dword [ebx]
mov esi, eax
lea eax, [ebp - 0x138]
push eax
call fcn.10026c60
movss xmm2, dword [esi]
movss xmm0, dword [esi + 4]
movss xmm1, dword [esi + 8]
subss xmm0, dword [eax + 4]
subss xmm2, dword [eax]
subss xmm1, dword [eax + 8]
mulss xmm0, xmm0
mulss xmm2, xmm2
mulss xmm1, xmm1
addss xmm0, xmm2
addss xmm0, xmm1
call fcn.10011780
movss xmm1, dword [0x101bebac]
comiss xmm1, xmm0
ja 0x100502e1
lea eax, [ebp - 0x144]
mov ecx, edi
push eax
call fcn.10026c60
mov ecx, dword [ebx]
mov esi, eax
lea eax, [ebp - 0x150]
push eax
call fcn.10026c60
movss xmm2, dword [esi]
movss xmm0, dword [esi + 4]
movss xmm1, dword [esi + 8]
subss xmm0, dword [eax + 4]
subss xmm2, dword [eax]
subss xmm1, dword [eax + 8]
mulss xmm0, xmm0
mulss xmm2, xmm2
mulss xmm1, xmm1
addss xmm0, xmm2
addss xmm0, xmm1
call fcn.10011780
movss xmm1, dword [0x101bec1c]
comiss xmm1, xmm0
jbe 0x1004fc52
mov ecx, dword [ebp - 0x20]
mov eax, dword [0x101d5f30]
mov esi, dword [ebx]
cmp eax, dword [ecx + 4]
jle 0x1004fc43
push 0x101d5f30
call fcn.1012b230
add esp, 4
cmp dword [0x101d5f30], 0xffffffff
jne 0x1004fc43
push str.m_iClass
push str.m_PlayerClass
push str.DT_TFPlayer
mov dword [ebp - 4], 0x11
call fcn.10018010
push 0x101d5f30
mov dword [0x101d5f40], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1012b1df
add esp, 4
mov eax, dword [0x101d5f40]
cmp dword [esi + eax], 7
je 0x100502e1
lea eax, [ebp - 0x15c]
mov ecx, edi
push eax
call fcn.10026c60
mov ecx, dword [ebx]
mov esi, eax
lea eax, [ebp - 0x168]
push eax
call fcn.10026c60
movss xmm2, dword [esi]
movss xmm0, dword [esi + 4]
movss xmm1, dword [esi + 8]
subss xmm0, dword [eax + 4]
subss xmm2, dword [eax]
subss xmm1, dword [eax + 8]
mulss xmm0, xmm0
mulss xmm2, xmm2
mulss xmm1, xmm1
addss xmm0, xmm2
addss xmm0, xmm1
call fcn.10011780
movss xmm1, dword [0x101bebac]
comiss xmm1, xmm0
ja 0x100502e1
lea eax, [ebp - 0x94]
mov ecx, edi
push eax
call fcn.10026c60
mov ecx, dword [ebx]
mov esi, eax
lea eax, [ebp - 0xa0]
push eax
call fcn.10026c60
movss xmm2, dword [esi]
movss xmm0, dword [esi + 4]
movss xmm1, dword [esi + 8]
subss xmm0, dword [eax + 4]
subss xmm2, dword [eax]
subss xmm1, dword [eax + 8]
mulss xmm0, xmm0
mulss xmm2, xmm2
mulss xmm1, xmm1
addss xmm0, xmm2
addss xmm0, xmm1
call fcn.10011780
movss xmm1, dword [0x101bec1c]
comiss xmm1, xmm0
jbe 0x1004fd81
mov ecx, dword [ebp - 0x20]
mov eax, dword [0x101d5f30]
mov esi, dword [ebx]
cmp eax, dword [ecx + 4]
jle 0x1004fd72
push 0x101d5f30
call fcn.1012b230
add esp, 4
cmp dword [0x101d5f30], 0xffffffff
jne 0x1004fd72
push str.m_iClass
push str.m_PlayerClass
push str.DT_TFPlayer
mov dword [ebp - 4], 0x12
call fcn.10018010
push 0x101d5f30
mov dword [0x101d5f40], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1012b1df
add esp, 4
mov eax, dword [0x101d5f40]
cmp dword [esi + eax], 3
je 0x100502e1
mov byte [ebp - 0x13], 1
jmp case.0x1004ef09.4
mov edi, dword [ebp - 0x28]
add ebx, 4
mov dword [ebp - 0x18], ebx
cmp ebx, dword [ebp - 0x1c]
jne 0x1004ee66
lea eax, [ebp - 0x1c]
mov byte [ebp - 0x11], 0
push eax
mov ecx, 0x101d35a0
mov dword [ebp - 0x1c], 8
call fcn.10127290
mov edi, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x3c], eax
cmp edi, eax
je 0x100502f7
mov ecx, dword [edi]
lea eax, [ebp - 0xa0]
push eax
call fcn.10014680
movss xmm2, dword [0x101bece4]
movss xmm0, dword [eax]
comiss xmm0, xmm2
jbe 0x1004fe10
movss xmm1, dword [0x101be950]
comiss xmm1, xmm0
jbe 0x1004fe10
movss xmm0, dword [eax + 4]
comiss xmm0, xmm2
jbe 0x1004fe10
comiss xmm1, xmm0
jbe 0x1004fe10
movss xmm0, dword [eax + 8]
comiss xmm0, xmm2
jbe 0x1004fe10
comiss xmm1, xmm0
ja 0x10050263
mov ecx, dword fs:[0x2c]
mov eax, dword [0x101d5a74]
mov esi, dword [ecx + eax*4]
mov ecx, dword [0x101d60bc]
cmp ecx, dword [esi + 4]
jle 0x1004fe7a
push 0x101d60bc
call fcn.1012b230
mov ecx, dword [0x101d60bc]
add esp, 4
cmp ecx, 0xffffffff
jne 0x1004fe7a
push str.m_iTeamNum
push str.DT_BaseEntity
mov dword [ebp - 4], 0x13
call fcn.10017f20
push 0x101d60bc
mov dword [0x101d60b8], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1012b1df
mov ecx, dword [0x101d60bc]
add esp, 4
mov eax, dword [0x101d60b8]
mov ebx, dword [ebp - 0x28]
mov eax, dword [eax + ebx]
mov dword [ebp - 0x1c], eax
mov eax, dword [edi]
mov dword [ebp - 0x34], eax
cmp ecx, dword [esi + 4]
jle 0x1004feda
push 0x101d60bc
call fcn.1012b230
add esp, 4
cmp dword [0x101d60bc], 0xffffffff
jne 0x1004feda
push str.m_iTeamNum
push str.DT_BaseEntity
mov dword [ebp - 4], 0x14
call fcn.10017f20
push 0x101d60bc
mov dword [0x101d60b8], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1012b1df
add esp, 4
mov eax, dword [0x101d60b8]
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x1c]
cmp dword [edx + eax], ecx
je 0x10050266
mov ecx, dword [edi]
add ecx, 8
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x1004ff07
cmp dword [eax + 0x14], 0xfc
je 0x1004ff41
mov ecx, dword [edi]
add ecx, 8
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x1004ff20
cmp dword [eax + 0x14], 0xff
je 0x1004ff41
mov ecx, dword [edi]
add ecx, 8
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x10050266
cmp dword [eax + 0x14], 0x100
jne 0x10050266
mov ecx, dword [edi]
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov ecx, dword [edi]
mov esi, eax
lea eax, [ebp - 0x94]
push eax
call fcn.10014680
movss xmm1, dword [esi]
mov edx, dword [0x101d5a74]
mov ecx, dword fs:[0x2c]
addss xmm1, dword [eax]
movss xmm0, dword [esi + 8]
addss xmm0, dword [eax + 8]
movss dword [ebp - 0x38], xmm1
movss xmm1, dword [esi + 4]
addss xmm1, dword [eax + 4]
mov eax, dword [ecx + edx*4]
mov esi, dword [0x101d5fbc]
movss dword [ebp - 0x10], xmm0
movss dword [ebp - 0x24], xmm1
cmp esi, dword [eax + 4]
jle 0x1004ffec
push 0x101d5fbc
call fcn.1012b230
mov esi, dword [0x101d5fbc]
add esp, 4
cmp esi, 0xffffffff
jne 0x1004ffec
push str.m_vecOrigin
push str.DT_BaseEntity
mov dword [ebp - 4], 0x15
call fcn.10017f20
push 0x101d5fbc
mov dword [0x101d5fa0], eax
mov dword [ebp - 4], esi
call fcn.1012b1df
mov esi, dword [0x101d5fbc]
add esp, 4
mov eax, dword [0x101d5fa0]
movss xmm1, dword [eax + ebx]
movss xmm2, dword [eax + ebx + 4]
subss xmm2, dword [ebp - 0x24]
subss xmm1, dword [ebp - 0x38]
movss xmm0, dword [eax + ebx + 8]
subss xmm0, dword [ebp - 0x10]
mulss xmm2, xmm2
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm2, xmm1
xorps xmm1, xmm1
addss xmm2, xmm0
cvtps2pd xmm0, xmm2
ucomisd xmm1, xmm0
ja 0x10050055
sqrtsd xmm0, xmm0
jmp 0x1005005a
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sqrt_precise
mov ecx, dword [0x101d5a74]
mov edx, dword fs:[0x2c]
cvtsd2ss xmm0, xmm0
mov eax, dword [edx + ecx*4]
movss dword [ebp - 0x1c], xmm0
cmp esi, dword [eax + 4]
jle 0x100500c4
push 0x101d5fbc
call fcn.1012b230
mov esi, dword [0x101d5fbc]
add esp, 4
cmp esi, 0xffffffff
jne 0x100500c4
push str.m_vecOrigin
push str.DT_BaseEntity
mov dword [ebp - 4], 0x16
call fcn.10017f20
push 0x101d5fbc
mov dword [0x101d5fa0], eax
mov dword [ebp - 4], esi
call fcn.1012b1df
mov esi, dword [0x101d5fbc]
add esp, 4
mov eax, dword [0x101d5fa0]
mov edx, dword [0x101d5a74]
mov ecx, dword [edi]
mov dword [ebp - 0x20], ecx
movss xmm1, dword [eax + ebx]
movss xmm0, dword [eax + ebx + 4]
movss xmm2, dword [eax + ebx + 8]
mov ebx, dword fs:[0x2c]
movss dword [ebp - 0x2c], xmm1
movss dword [ebp - 0x30], xmm0
movss dword [ebp - 0x18], xmm2
mov eax, dword [ebx + edx*4]
mov ebx, dword [ebp - 0x28]
cmp esi, dword [eax + 4]
jle 0x10050160
push 0x101d5fbc
call fcn.1012b230
add esp, 4
cmp dword [0x101d5fbc], 0xffffffff
jne 0x1005014e
push str.m_vecOrigin
push str.DT_BaseEntity
mov dword [ebp - 4], 0x17
call fcn.10017f20
push 0x101d5fbc
mov dword [0x101d5fa0], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1012b1df
add esp, 4
mov ecx, dword [ebp - 0x20]
movss xmm2, dword [ebp - 0x18]
movss xmm1, dword [ebp - 0x2c]
movss xmm0, dword [ebp - 0x30]
mov eax, dword [0x101d5fa0]
subss xmm0, dword [ecx + eax + 4]
subss xmm1, dword [ecx + eax]
subss xmm2, dword [ecx + eax + 8]
mulss xmm0, xmm0
mulss xmm1, xmm1
mulss xmm2, xmm2
addss xmm0, xmm1
xorps xmm1, xmm1
addss xmm0, xmm2
cvtps2pd xmm0, xmm0
ucomisd xmm1, xmm0
ja 0x1005019c
sqrtsd xmm0, xmm0
jmp 0x100501a1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sqrt_precise
cvtsd2ss xmm0, xmm0
comiss xmm0, dword [ebp - 0x1c]
jbe 0x10050266
lea eax, [ebp - 0x7c]
mov ecx, ebx
push eax
call fcn.10026c60
mov ecx, dword [edi]
movss xmm0, dword [eax]
subss xmm0, dword [ebp - 0x38]
movss dword [ebp - 0x34], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, dword [ebp - 0x24]
movss dword [ebp - 0x1c], xmm0
movss xmm0, dword [eax + 8]
lea eax, [ebp - 0x58]
subss xmm0, dword [ebp - 0x10]
push eax
movss dword [ebp - 0x10], xmm0
call fcn.10014680
movss xmm1, dword [ebp - 0x1c]
mov esi, eax
movss xmm0, dword [ebp - 0x34]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [ebp - 0x10]
mulss xmm0, xmm0
addss xmm0, xmm1
call fcn.10011780
movss xmm1, dword [esi]
movss dword [ebp - 0x1c], xmm0
movss xmm0, dword [esi + 4]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [esi + 8]
mulss xmm0, xmm0
addss xmm0, xmm1
call fcn.10011780
comiss xmm0, dword [ebp - 0x1c]
jbe 0x10050266
mov ecx, dword [edi]
call fcn.1004ece0
test al, al
jne 0x100502e1
mov al, 1
mov byte [ebp - 0x11], al
jmp 0x10050269
mov ebx, dword [ebp - 0x28]
mov al, byte [ebp - 0x11]
add edi, 4
cmp edi, dword [ebp - 0x3c]
jne 0x1004fdc2
test al, al
je 0x100502f7
mov eax, dword [0x101d5a74]
mov ecx, dword fs:[0x2c]
mov ecx, dword [ecx + eax*4]
mov eax, dword [0x101d6054]
cmp eax, dword [ecx + 4]
jle 0x100502d3
push 0x101d6054
call fcn.1012b230
add esp, 4
cmp dword [0x101d6054], 0xffffffff
jne 0x100502d3
push str.m_iHealth
push str.DT_BasePlayer
mov dword [ebp - 4], 0x18
call fcn.10017f20
push 0x101d6054
mov dword [0x101d607c], eax
call fcn.1012b1df
add esp, 4
mov eax, dword [0x101d607c]
cmp dword [eax + ebx], 0x1c1
jge 0x100502f7
mov eax, 2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [ebp - 0x12], 0
jne 0x10050307
cmp byte [ebp - 0x13], 0
je 0x10050042
mov ecx, dword [ebp - 0xc]
mov eax, 1
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret