Function at 0x10049360
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a4e29
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
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 [0x10115e28]
mov ecx, dword [0x10115e34]
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov ecx, dword [0x10115e28]
push eax
call esi
mov ebx, eax
test ebx, ebx
je 0x1004965e
mov edx, dword [0x10115de8]
mov ecx, dword fs:[0x2c]
mov eax, dword [0x10116020]
mov ecx, dword [ecx + edx*4]
mov dword [ebp - 0x28], ecx
cmp eax, dword [ecx + 4]
jle 0x10049418
push 0x10116020
call fcn.100a0bb4
add esp, 4
cmp dword [0x10116020], 0xffffffff
jne 0x10049418
mov edx, str.deadflag
mov dword [ebp - 4], 0
mov ecx, str.CBasePlayer
call fcn.1009c3f0
push 0x10116020
mov dword [0x10116038], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100a0b63
add esp, 4
mov eax, dword [0x10116038]
cmp dword [ebx + eax], 0
jne 0x1004965e
push 0x4d
mov ecx, ebx
call fcn.10023170
test al, al
jne 0x1004965e
push 0x52
mov ecx, ebx
call fcn.10023170
test al, al
jne 0x1004965e
xor eax, eax
cmp byte [0x101120b4], al
sete al
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.10028b00
mov ecx, dword [eax + 4]
mov edi, dword [eax]
mov dword [ebp - 0x20], ecx
cmp edi, ecx
je 0x10049527
mov esi, dword [edi]
test esi, esi
je 0x1004951c
cmp esi, ebx
je 0x1004951c
mov edx, dword [ebp - 0x28]
mov eax, dword [0x10116020]
cmp eax, dword [edx + 4]
jle 0x100494da
push 0x10116020
call fcn.100a0bb4
add esp, 4
cmp dword [0x10116020], 0xffffffff
jne 0x100494d7
mov edx, str.deadflag
mov dword [ebp - 4], 1
mov ecx, str.CBasePlayer
call fcn.1009c3f0
push 0x10116020
mov dword [0x10116038], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100a0b63
add esp, 4
mov ecx, dword [ebp - 0x20]
mov eax, dword [0x10116038]
cmp dword [eax + esi], 0
je 0x1004951c
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], esi
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.1004a970
mov eax, dword [ebp - 0x2c]
cmp byte [eax + 0xd], 0
jne 0x10049503
cmp esi, dword [eax + 0x10]
jae 0x10049508
mov eax, dword [0x10118620]
cmp eax, dword [0x10118620]
je 0x10049519
lea eax, [ebp - 0x18]
push eax
call fcn.10049be0
mov ecx, dword [ebp - 0x20]
add edi, 4
cmp edi, ecx
jne 0x10049470
mov esi, dword [0x10118620]
mov esi, dword [esi]
mov dword [ebp - 0x14], esi
cmp byte [esi + 0xd], 0
jne 0x10049691
nop dword [eax]
xor edi, edi
mov dword [ebp - 0x20], edi
cmp dword [esi + 0x24], edi
jbe 0x10049647
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 - 0x24], eax
test eax, eax
je 0x100495f0
mov ecx, dword [ebp - 0x28]
movss xmm0, dword [ebx + 0x1804]
mov eax, dword [0x101164f0]
movss dword [ebp - 0x18], xmm0
cmp eax, dword [ecx + 4]
jle 0x100495d5
push 0x101164f0
call fcn.100a0bb4
add esp, 4
cmp dword [0x101164f0], 0xffffffff
jne 0x100495d0
mov edx, str.m_flSimulationTime
mov dword [ebp - 4], 2
mov ecx, str.CBaseEntity
call fcn.1009c3f0
push 0x101164f0
mov dword [0x101164cc], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100a0b63
add esp, 4
movss xmm0, dword [ebp - 0x18]
mov eax, dword [0x101164cc]
movaps xmm2, xmm0
mov ecx, dword [ebp - 0x24]
push 1
movss xmm1, dword [eax + ecx]
call fcn.10048c60
test al, al
jne 0x1004963a
mov eax, dword [ebx]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10049ad0
sub esp, 0xc
mov dword [ebp - 0x24], 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 - 0x24]
mov dword [eax + 4], 0
mov dword [eax], ebx
mov dword [eax + 8], edi
lea eax, [ebp - 0x34]
push eax
call fcn.10049d40
mov edi, dword [ebp - 0x20]
inc edi
mov dword [ebp - 0x20], edi
cmp edi, dword [esi + 0x24]
jb 0x10049550
lea ecx, [ebp - 0x14]
call fcn.10019620
mov esi, dword [ebp - 0x14]
cmp byte [esi + 0xd], 0
je 0x10049540
jmp 0x10049691
cmp dword [0x10118624], 0
je 0x10049691
mov esi, dword [0x10118620]
mov ecx, 0x10118620
push dword [esi + 4]
push 0x10118620
call fcn.10023f60
mov dword [esi + 4], esi
mov dword [esi], esi
mov dword [esi + 8], esi
mov dword [0x10118624], 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.100a07a5
mov esp, ebp
pop ebp
ret