Function at 0x1002c5a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e6515
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x10114008]
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 [ebp + 8]
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x40], eax
mov dword [ebp - 4], 0
mov ecx, dword [0x10118090]
push dword [edi + 0x30]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esi, dword [0x10118020]
test esi, esi
je 0x1002c95f
test eax, eax
je 0x1002c95f
cmp eax, esi
jne 0x1002c95f
cmp eax, dword [0x10117fa0]
je 0x1002c95f
mov eax, dword [0x10118070]
cmp dword [eax + 0x4b28], 1
jl 0x1002c95f
mov eax, dword [0x1011984c]
mov eax, dword [eax + 0x14]
mov ecx, dword [eax + 0x24]
cmp byte [ecx], 0
je 0x1002c95f
cmp byte [ecx + 1], 0
je 0x1002c95f
cmp byte [ecx + 2], 0
jne 0x1002c65f
cmp byte [ecx + 3], 0
je 0x1002c95f
mov eax, dword [0x10119878]
mov ebx, dword [0x10117f54]
cmp byte [eax], 0
je 0x1002c7c3
cmp byte [ecx + 3], 0
je 0x1002c7c3
mov eax, dword [0x1011984c]
mov eax, dword [eax + 0x20]
mov eax, dword [eax]
cmp byte [eax], 0
je 0x1002c7c3
mov ecx, dword fs:[0x2c]
mov eax, dword [0x10118084]
mov ecx, dword [ecx + ebx*4]
cmp eax, dword [ecx + 4]
jle 0x1002c6e6
push 0x10118084
call fcn.100e3eef
add esp, 4
cmp dword [0x10118084], 0xffffffff
jne 0x1002c6e6
push str.m_vecVelocity_0_
push str.CBasePlayer
mov byte [ebp - 4], 1
call fcn.100e2fc0
push 0x10118084
mov dword [0x10118098], eax
mov byte [ebp - 4], 0
call fcn.100e3ea5
add esp, 4
mov eax, dword [0x10118098]
vmovss xmm0, dword [eax + esi]
vmovss xmm2, dword [eax + esi + 4]
vmulss xmm1, xmm0, xmm0
vmulss xmm0, xmm2, xmm2
vaddss xmm0, xmm1, xmm0
call fcn.10021260
vcomiss xmm0, dword [0x10102cdc]
jbe 0x1002c7c3
mov eax, dword [0x1011984c]
vmovss xmm3, dword [0x10102e4c]
mov edx, dword [0x1011808c]
vxorps xmm0, xmm0, xmm0
mov eax, dword [eax]
mov ecx, dword [eax + 0x244]
movzx eax, cl
vcvtsi2ss xmm0, xmm0, eax
mov eax, ecx
shr ecx, 0x10
vdivss xmm2, xmm0, xmm3
shr eax, 8
movzx eax, al
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, eax
vdivss xmm1, xmm0, xmm3
movzx eax, cl
lea ecx, [ebp - 0x1c]
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, eax
mov eax, dword [edx]
vdivss xmm0, xmm0, xmm3
vmovss dword [ebp - 0x1c], xmm2
vmovss dword [ebp - 0x18], xmm1
vmovss dword [ebp - 0x14], xmm0
mov eax, dword [eax + 0x18]
push ecx
mov ecx, edx
call eax
mov eax, dword [0x1011981c]
mov eax, dword [eax + 0x7c]
cmp byte [eax + 0x38], 0
je 0x1002c7c3
mov ecx, dword [ebp + 0x3c]
add eax, 0x3c
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x34], eax
test ecx, ecx
jne 0x1002c7ae
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_]
mov eax, dword [ecx]
lea edx, [ebp - 0x2c]
push edx
push edi
push dword [ebp - 0x40]
lea edx, [ebp - 0x30]
push edx
lea edx, [ebp - 0x34]
push edx
call dword [eax + 8]
mov ecx, dword [0x1011987c]
cmp byte [ecx], 0
je 0x1002c95f
mov eax, dword [0x1011984c]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
cmp byte [eax], 0
je 0x1002c95f
mov edx, dword [ecx + 0x64]
test edx, edx
je 0x1002c7fc
mov ecx, dword [0x10118088]
push 0
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov eax, dword [0x1011984c]
vmovss xmm3, dword [0x10102e4c]
mov edx, dword [0x1011808c]
vxorps xmm0, xmm0, xmm0
mov eax, dword [eax]
mov ecx, dword [eax + 0x240]
movzx eax, cl
vcvtsi2ss xmm0, xmm0, eax
mov eax, ecx
shr ecx, 0x10
vdivss xmm2, xmm0, xmm3
shr eax, 8
movzx eax, al
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, eax
vdivss xmm1, xmm0, xmm3
movzx eax, cl
lea ecx, [ebp - 0x28]
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, eax
mov eax, dword [edx]
vdivss xmm0, xmm0, xmm3
vmovss dword [ebp - 0x28], xmm2
vmovss dword [ebp - 0x24], xmm1
vmovss dword [ebp - 0x20], xmm0
mov eax, dword [eax + 0x18]
push ecx
mov ecx, edx
call eax
mov eax, dword [0x1011984c]
mov ecx, dword [0x1011808c]
push ecx
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x24]
cmp byte [eax + 2], 0
je 0x1002c887
vmovss xmm0, dword [eax + 4]
jmp 0x1002c88b
vxorps xmm0, xmm0, xmm0
mov eax, dword [ecx]
vmovss dword [esp], xmm0
mov eax, dword [eax + 0x10]
call eax
mov eax, dword fs:[0x2c]
mov esi, dword [0x10118020]
mov ecx, dword [eax + ebx*4]
mov eax, dword [0x10118084]
cmp eax, dword [ecx + 4]
jle 0x1002c8f2
push 0x10118084
call fcn.100e3eef
add esp, 4
cmp dword [0x10118084], 0xffffffff
jne 0x1002c8f2
push str.m_vecVelocity_0_
push str.CBasePlayer
mov byte [ebp - 4], 2
call fcn.100e2fc0
push 0x10118084
mov dword [0x10118098], eax
mov byte [ebp - 4], 0
call fcn.100e3ea5
add esp, 4
mov eax, dword [0x10118098]
vmovss xmm0, dword [eax + esi]
vmovss xmm2, dword [eax + esi + 4]
vmulss xmm1, xmm0, xmm0
vmulss xmm0, xmm2, xmm2
vaddss xmm0, xmm1, xmm0
call fcn.10021260
vcomiss xmm0, dword [0x10102cdc]
jbe 0x1002c95f
mov eax, dword [0x1011981c]
mov eax, dword [eax + 0x7c]
cmp byte [eax + 0x38], 0
je 0x1002c95f
mov ecx, dword [ebp + 0x3c]
add eax, 0x3c
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x2c], eax
test ecx, ecx
jne 0x1002c94a
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_]
mov eax, dword [ecx]
lea edx, [ebp - 0x34]
push edx
push edi
push dword [ebp - 0x40]
lea edx, [ebp - 0x30]
push edx
lea edx, [ebp - 0x2c]
push edx
call dword [eax + 8]
mov ecx, dword [ebp + 0x3c]
test ecx, ecx
je 0x1002c977
mov edx, dword [ecx]
lea eax, [ebp + 0x18]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
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.100e38ea
mov esp, ebp
pop ebp
ret 0x38