Function at 0x100494f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a4969
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10112040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x10115de8]
mov ecx, dword [0x10115df4]
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov ecx, dword [0x10115de8]
push eax
call esi
mov ebx, eax
test ebx, ebx
je 0x100497ee
mov edx, dword [0x10115da8]
mov ecx, dword fs:[0x2c]
mov eax, dword [0x10115fcc]
mov ecx, dword [ecx + edx*4]
mov dword [ebp - 0x24], ecx
cmp eax, dword [ecx + 4]
jle 0x100495a8
push 0x10115fcc
call fcn.100a090d
add esp, 4
cmp dword [0x10115fcc], 0xffffffff
jne 0x100495a8
mov edx, str.deadflag
mov dword [ebp - 4], 0
mov ecx, str.CBasePlayer
call fcn.1009c240
push 0x10115fcc
mov dword [0x10115fe4], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100a08bc
add esp, 4
mov eax, dword [0x10115fe4]
cmp dword [ebx + eax], 0
jne 0x100497ee
push 0x4d
mov ecx, ebx
call fcn.10023960
test al, al
jne 0x100497ee
push 0x52
mov ecx, ebx
call fcn.10023960
test al, al
jne 0x100497ee
xor eax, eax
cmp byte [0x101120b4], al
sete al
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
call fcn.10029020
mov ecx, dword [eax + 4]
mov edi, dword [eax]
mov dword [ebp - 0x14], ecx
cmp edi, ecx
je 0x100496b7
mov esi, dword [edi]
test esi, esi
je 0x100496ac
cmp esi, ebx
je 0x100496ac
mov edx, dword [ebp - 0x24]
mov eax, dword [0x10115fcc]
cmp eax, dword [edx + 4]
jle 0x1004966a
push 0x10115fcc
call fcn.100a090d
add esp, 4
cmp dword [0x10115fcc], 0xffffffff
jne 0x10049667
mov edx, str.deadflag
mov dword [ebp - 4], 1
mov ecx, str.CBasePlayer
call fcn.1009c240
push 0x10115fcc
mov dword [0x10115fe4], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100a08bc
add esp, 4
mov ecx, dword [ebp - 0x14]
mov eax, dword [0x10115fe4]
cmp dword [eax + esi], 0
je 0x100496ac
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], esi
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.1004a910
mov eax, dword [ebp - 0x28]
cmp byte [eax + 0xd], 0
jne 0x10049693
cmp esi, dword [eax + 0x10]
jae 0x10049698
mov eax, dword [0x10116d98]
cmp eax, dword [0x10116d98]
je 0x100496a9
lea eax, [ebp - 0x18]
push eax
call fcn.10049d80
mov ecx, dword [ebp - 0x14]
add edi, 4
cmp edi, ecx
jne 0x10049600
mov esi, dword [0x10116d98]
mov esi, dword [esi]
mov dword [ebp - 0x14], esi
cmp byte [esi + 0xd], 0
jne 0x10049821
nop dword [eax]
xor edi, edi
mov dword [ebp - 0x18], edi
cmp dword [esi + 0x24], edi
jbe 0x100497d7
nop
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x1c]
add eax, edi
dec ecx
and ecx, eax
mov eax, dword [esi + 0x18]
mov ebx, dword [eax + ecx*4]
mov eax, dword [ebx]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x10049780
mov ecx, dword [ebp - 0x24]
vmovss xmm0, dword [ebx + 0x1804]
mov eax, dword [0x10116498]
vmovss dword [ebp - 0x1c], xmm0
cmp eax, dword [ecx + 4]
jle 0x10049760
push 0x10116498
call fcn.100a090d
add esp, 4
cmp dword [0x10116498], 0xffffffff
jne 0x10049760
mov edx, str.m_flSimulationTime
mov dword [ebp - 4], 2
mov ecx, str.CBaseEntity
call fcn.1009c240
push 0x10116498
mov dword [0x10116474], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100a08bc
add esp, 4
mov eax, dword [0x10116474]
mov ecx, dword [ebp - 0x20]
vmovss xmm1, dword [0x10107eb4]
vmovss xmm0, dword [eax + ecx]
vsubss xmm0, xmm0, dword [ebp - 0x1c]
vcomiss xmm1, xmm0
ja 0x100497ca
mov eax, dword [ebx]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10049c70
sub esp, 0xc
mov dword [ebp - 0x20], eax
mov edx, esp
sub esp, 0xc
add edi, dword [eax + 0xc]
mov ebx, dword [eax]
mov eax, esp
mov dword [edx + 4], 0
mov dword [edx], ebx
lea ecx, [edi + 1]
mov dword [edx + 8], ecx
mov ecx, dword [ebp - 0x20]
mov dword [eax + 4], 0
mov dword [eax], ebx
mov dword [eax + 8], edi
lea eax, [ebp - 0x30]
push eax
call fcn.10049ee0
mov edi, dword [ebp - 0x18]
inc edi
mov dword [ebp - 0x18], edi
cmp edi, dword [esi + 0x24]
jb 0x100496e0
lea ecx, [ebp - 0x14]
call fcn.10019450
mov esi, dword [ebp - 0x14]
cmp byte [esi + 0xd], 0
je 0x100496d0
jmp 0x10049821
cmp dword [0x10116d9c], 0
je 0x10049821
mov esi, dword [0x10116d98]
mov ecx, 0x10116d98
push dword [esi + 4]
push 0x10116d98
call fcn.100246c0
mov dword [esi + 4], esi
mov dword [esi], esi
mov dword [esi + 8], esi
mov dword [0x10116d9c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100a04fe
mov esp, ebp
pop ebp
ret