Function at 0x1004b030
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c07b5
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x103ad010]
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 [0x103d14a0]
mov ecx, dword [0x103d14ac]
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov ecx, dword [0x103d14a0]
push eax
call esi
mov esi, eax
test esi, esi
je 0x1004b682
mov edx, dword [0x103d1314]
mov ecx, dword fs:[0x2c]
mov eax, dword [0x103d308c]
mov ecx, dword [ecx + edx*4]
mov dword [ebp - 0x2c], ecx
cmp eax, dword [ecx + 4]
jle 0x1004b0e8
push 0x103d308c
call fcn.100bb3bb
add esp, 4
cmp dword [0x103d308c], 0xffffffff
jne 0x1004b0e8
mov edx, str.deadflag
mov dword [ebp - 4], 0
mov ecx, str.CBasePlayer
call fcn.100b4c70
push 0x103d308c
mov dword [0x103d3084], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100bb371
add esp, 4
mov eax, dword [0x103d3084]
cmp byte [eax + esi], 0
jne 0x1004b682
push 0x4d
mov ecx, esi
call fcn.10034650
test al, al
jne 0x1004b682
push 0x52
mov ecx, esi
call fcn.10034650
test al, al
jne 0x1004b682
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 1
push eax
lea eax, [ebp - 0x40]
mov ecx, 0x103d3680
push eax
call fcn.1001cdd0
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ebx, dword [eax + 0x10]
cmp esi, ebx
je 0x1004b1de
mov ecx, dword [ebp - 0x2c]
mov eax, dword [0x103d308c]
mov edi, dword [esi]
cmp eax, dword [ecx + 4]
jle 0x1004b199
push 0x103d308c
call fcn.100bb3bb
add esp, 4
cmp dword [0x103d308c], 0xffffffff
jne 0x1004b199
mov edx, str.deadflag
mov dword [ebp - 4], 1
mov ecx, str.CBasePlayer
call fcn.100b4c70
push 0x103d308c
mov dword [0x103d3084], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100bb371
add esp, 4
mov eax, dword [0x103d3084]
cmp byte [eax + edi], 0
je 0x1004b1d3
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], edi
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.1004fa40
mov eax, dword [ebp - 0x3c]
cmp byte [eax + 0xd], 0
jne 0x1004b1d3
cmp edi, dword [eax + 0x10]
jb 0x1004b1d3
cmp eax, dword [0x103d35d8]
je 0x1004b1d3
lea eax, [ebp - 0x1c]
push eax
call fcn.1004eb50
add esi, 4
cmp esi, ebx
jne 0x1004b142
call fcn.1004b8c0
mov ecx, dword [0x103d14ac]
vmovss dword [0x103d35e4], xmm0
mov eax, dword [ecx]
call dword [eax + 0x120]
mov ecx, eax
test ecx, ecx
je 0x1004b25d
vmovss xmm0, dword [0x1039f588]
mov eax, dword [ecx]
vmovss dword [ebp - 0x18], xmm0
vxorps xmm0, xmm0, xmm0
push 0
mov eax, dword [eax + 0x24]
vmovss dword [ebp - 0x20], xmm0
mov dword [ebp - 0x14], eax
call dword [ebp - 0x14]
vmovss xmm3, dword [0x1039f588]
fstp dword [ebp - 0x1c]
vmovss xmm0, dword [ebp - 0x1c]
vxorps xmm2, xmm2, xmm2
vcomiss xmm2, xmm0
lea ecx, [ebp - 0x1c]
seta al
lea edx, [ebp - 0x20]
test al, al
cmove edx, ecx
lea ecx, [ebp - 0x18]
vcomiss xmm0, xmm3
seta al
test al, al
cmove ecx, edx
vmovss xmm1, dword [ecx]
jmp 0x1004b26d
vmovss xmm3, dword [0x1039f588]
vxorps xmm1, xmm1, xmm1
vxorps xmm2, xmm2, xmm2
mov eax, dword [0x103d1514]
vsubss xmm0, xmm1, dword [0x1039f500]
mov esi, dword [0x103d35d8]
vmaxss xmm0, xmm2, xmm0
vmovss xmm2, dword [eax + 0x1c]
vdivss xmm0, xmm0, xmm2
vaddss xmm0, xmm0, dword [0x1039f540]
mov esi, dword [esi]
vcvttss2si eax, xmm0
vminss xmm3, xmm3, xmm1
vdivss xmm0, xmm3, xmm2
cmp byte [esi + 0xd], 0
vaddss xmm0, xmm0, dword [0x1039f540]
mov dword [ebp - 0x38], eax
vcvttss2si eax, xmm0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x14], esi
jne 0x1004b6d6
xor edi, edi
mov dword [ebp - 0x1c], edi
cmp dword [esi + 0x24], edi
jbe 0x1004b66b
mov edx, dword [esi + 0x20]
mov ecx, dword [esi + 0x14]
add edx, edi
test ecx, ecx
je 0x1004b2e0
mov eax, dword [ecx]
jmp 0x1004b2e2
xor eax, eax
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, edx
mov ebx, dword [eax + ecx*4]
mov dword [ebp - 0x20], ebx
cmp dword [ebx], 0
jne 0x1004b345
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
call fcn.1004ea40
sub esp, 0xc
mov dword [ebp - 0x28], 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 - 0x28]
mov dword [eax + 4], 0
mov dword [eax], ebx
mov dword [eax + 8], edi
lea eax, [ebp - 0x50]
push eax
call fcn.1004ecd0
mov edi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x20]
cmp byte [0x103d35e0], 0
mov eax, dword [ebx]
vmovss xmm0, dword [ebx + 0x1804]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x2c]
vmovss dword [ebp - 0x18], xmm0
mov eax, dword [eax + 4]
jne 0x1004b48d
cmp dword [0x103d30a0], eax
jle 0x1004b3ba
push 0x103d30a0
call fcn.100bb3bb
add esp, 4
cmp dword [0x103d30a0], 0xffffffff
jne 0x1004b3ba
mov edx, str.m_flSimulationTime
mov dword [ebp - 4], 2
mov ecx, str.CBaseEntity
call fcn.100b4c70
push 0x103d30a0
mov dword [0x103d3090], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100bb371
add esp, 4
cmp byte [0x103d13fe], 0
mov eax, dword [0x103d3090]
mov ecx, dword [ebp - 0x28]
vmovss xmm0, dword [ecx + eax]
vsubss xmm1, xmm0, dword [ebp - 0x18]
je 0x1004b430
cmp byte [0x103d35e0], 0
je 0x1004b430
vmovss xmm0, dword [0x103d35e4]
vaddss xmm0, xmm0, dword [0x1039f500]
vmovss xmm3, dword [0x1039f588]
vxorps xmm2, xmm2, xmm2
vcomiss xmm2, xmm0
lea ecx, [ebp - 0x20]
seta al
lea edx, [ebp - 0x30]
test al, al
vmovss dword [ebp - 0x18], xmm3
cmove edx, ecx
lea ecx, [ebp - 0x18]
vcomiss xmm0, xmm3
vmovss dword [ebp - 0x30], xmm2
seta al
test al, al
vmovss dword [ebp - 0x20], xmm0
cmove ecx, edx
vmovss xmm0, dword [ecx]
jmp 0x1004b438
vmovss xmm0, dword [0x1039f500]
vcomiss xmm0, xmm1
seta al
test al, al
jne 0x1004b65e
mov eax, dword [ebx]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
call fcn.1004ea40
sub esp, 0xc
mov dword [ebp - 0x18], eax
mov edx, esp
add edi, dword [eax + 0xc]
sub esp, 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 - 0x18]
mov dword [eax + 4], 0
mov dword [eax], ebx
mov dword [eax + 8], edi
lea eax, [ebp - 0x5c]
jmp 0x1004b655
cmp dword [0x103d30a0], eax
jle 0x1004b4da
push 0x103d30a0
call fcn.100bb3bb
add esp, 4
cmp dword [0x103d30a0], 0xffffffff
jne 0x1004b4da
mov edx, str.m_flSimulationTime
mov dword [ebp - 4], 3
mov ecx, str.CBaseEntity
call fcn.100b4c70
push 0x103d30a0
mov dword [0x103d3090], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100bb371
add esp, 4
cmp byte [0x103d13fe], 0
mov eax, dword [0x103d3090]
mov ecx, dword [ebp - 0x28]
vmovss xmm0, dword [ecx + eax]
vsubss xmm1, xmm0, dword [ebp - 0x18]
je 0x1004b550
cmp byte [0x103d35e0], 0
je 0x1004b550
vmovss xmm0, dword [0x103d35e4]
vaddss xmm0, xmm0, dword [0x1039f500]
vmovss xmm3, dword [0x1039f588]
vxorps xmm2, xmm2, xmm2
vcomiss xmm2, xmm0
lea ecx, [ebp - 0x18]
seta al
lea edx, [ebp - 0x34]
test al, al
vmovss dword [ebp - 0x28], xmm3
cmove edx, ecx
lea ecx, [ebp - 0x28]
vcomiss xmm0, xmm3
vmovss dword [ebp - 0x34], xmm2
seta al
test al, al
vmovss dword [ebp - 0x18], xmm0
cmove ecx, edx
vmovss xmm0, dword [ecx]
jmp 0x1004b558
vmovss xmm0, dword [0x1039f500]
vcomiss xmm0, xmm1
seta al
test al, al
jne 0x1004b5ad
mov eax, dword [ebx]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
call fcn.1004ea40
sub esp, 0xc
mov dword [ebp - 0x28], 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 - 0x28]
mov dword [eax + 4], 0
mov dword [eax], ebx
mov dword [eax + 8], edi
lea eax, [ebp - 0x68]
push eax
call fcn.1004ecd0
mov ebx, dword [ebp - 0x20]
mov eax, dword [esi + 0x24]
mov ecx, dword [ebp - 0x38]
cmp eax, ecx
jl 0x1004b65b
mov edx, dword [ebp - 0x3c]
cmp eax, edx
jg 0x1004b65b
mov edi, dword [ebp - 0x1c]
cmp edi, ecx
jge 0x1004b610
mov eax, dword [ebx]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
call fcn.1004ea40
sub esp, 0xc
mov dword [ebp - 0x18], eax
mov edx, esp
add edi, dword [eax + 0xc]
sub esp, 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 - 0x18]
mov dword [eax + 4], 0
mov dword [eax], ebx
mov dword [eax + 8], edi
lea eax, [ebp - 0x74]
jmp 0x1004b655
cmp edi, edx
jle 0x1004b65e
mov eax, dword [ebx]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
call fcn.1004ea40
sub esp, 0xc
mov dword [ebp - 0x20], eax
mov edx, esp
add edi, dword [eax + 0xc]
sub esp, 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 - 0x80]
push eax
call fcn.1004ecd0
mov edi, dword [ebp - 0x1c]
inc edi
mov dword [ebp - 0x1c], edi
cmp dword [esi + 0x24], edi
ja 0x1004b2d0
lea ecx, [ebp - 0x14]
call fcn.10028110
mov esi, dword [ebp - 0x14]
cmp byte [esi + 0xd], 0
je 0x1004b2c2
jmp 0x1004b6d6
mov esi, dword [0x103d35d8]
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
cmp byte [eax + 0xd], 0
jne 0x1004b6b2
lea ecx, [eax + 0x14]
call fcn.1001e620
lea ecx, [ebp - 0x14]
call fcn.10028110
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0xd], 0
je 0x1004b693
mov esi, dword [0x103d35d8]
push dword [esi + 4]
mov ecx, 0x103d35d8
push 0x103d35d8
call fcn.1001de50
mov dword [esi + 4], esi
mov dword [esi], esi
mov dword [esi + 8], esi
mov dword [0x103d35dc], 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.100bb27a
mov esp, ebp
pop ebp
ret 4