Function at 0x1001c16d
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10061a69
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x4a00
call fcn.1005f950
mov eax, dword [0x10074040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x10142a5c]
mov edi, dword [ebx + 8]
mov dword [ebp - 0x3130], edi
cmp byte [eax], 0
je 0x1001cbd2
cmp byte [eax + 0xc], 0
je 0x1001cbd2
mov eax, dword [0x10142a3c]
mov ecx, dword [eax + 0x74]
test ecx, ecx
je 0x1001cbd2
call fcn.100028c0
test al, al
je 0x1001cbd2
mov eax, dword [0x10142a3c]
mov ecx, dword [eax + 0x78]
test ecx, ecx
je 0x1001cbd2
call fcn.10008b90
test al, al
jne 0x1001cbd2
mov ecx, dword [0x10142a3c]
mov ecx, dword [ecx + 0x78]
call fcn.100047d0
test al, al
jne 0x1001cbd2
mov eax, dword [0x10142a3c]
mov ecx, dword [eax + 0x78]
mov eax, dword [ecx]
mov eax, dword [eax + 0x528]
call eax
cmp eax, 2
je 0x1001cbd2
mov esi, dword [0x10142a5c]
mov ecx, dword [sym.imp.USER32.dll_GetAsyncKeyState]
cmp byte [esi + 0x30], 0
je 0x1001ba4a
movzx eax, word [esi + 2]
test ax, ax
je 0x1001cbd2
push eax
call ecx
test ax, ax
je 0x1001cbd2
cmp dword [0x10141540], 0
jne 0x1001ba2c
push 0x10066848
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [0x10141540], eax
jmp 0x1001cbd2
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [0x10141540]
jne 0x1001cbd2
mov esi, dword [0x10142a5c]
mov ecx, dword [sym.imp.USER32.dll_GetAsyncKeyState]
movzx eax, word [esi + 2]
test ax, ax
je 0x1001ba80
push eax
call ecx
test ax, ax
je 0x1001ba7a
cmp dword [0x10141540], 0
jne 0x1001bbe2
push 0x10066848
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [0x10141540], eax
mov esi, dword [0x10142a5c]
mov byte [ebp - 0x3131], 0
mov edi, dword [0x10142a3c]
lea ecx, [ebp - 0x3138]
xor edx, edx
mov dword [ebp - 0x312c], 0x63
cmp byte [esi + 0x1ff], dl
mov esi, dword [0x10142a5c]
sete dl
mov dword [ebp - 0x3138], 0
add edx, 0xfffffffc
add edx, dword [edi + 0x164]
mov eax, edx
mov dword [ebp - 0x314c], edx
shr eax, 0x1f
test al, al
lea eax, [ebp - 0x314c]
cmove ecx, eax
cmp edx, 0x63
lea eax, [ebp - 0x312c]
cmovle eax, ecx
cmp dword [edi + 0x160], 0x14
jl 0x1001bb11
cmp byte [esi + 4], 0
je 0x1001bafb
cmp dword [eax], 0
jg 0x1001cbd2
cmp byte [esi + 0x26b], 0
jne 0x1001bb11
cmp dword [edi + 0x1ec], 2
jle 0x1001cbd2
lea eax, [ebp - 0x20]
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
push eax
movq qword [ebp - 0x20], xmm0
call fcn.100187f0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x1c]
je 0x1001cb99
lea ecx, [ebp - 0x188c]
mov dword [ebp - 0x18a8], 0
mov dword [ebp - 0x18a4], 0
mov dword [ebp - 0x18a0], 0
mov dword [ebp - 0x189c], 0
mov word [ebp - 0x1898], 0
mov byte [ebp - 0x1896], 0
mov dword [ebp - 0x1894], 0xbf800000
mov dword [ebp - 0x1890], 0
call fcn.10009c30
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x314c], eax
cmp edi, eax
je 0x1001c212
mov ecx, dword [edi]
add ecx, 8
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
cmp dword [eax + 0x14], 0xf7
je 0x1001be12
mov ecx, dword [edi]
add ecx, 8
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
mov eax, dword [eax + 0x14]
cmp eax, 0x58
je 0x1001bc38
cmp eax, 0x56
je 0x1001bc38
cmp eax, 0x59
je 0x1001bc38
xor al, al
jmp 0x1001bc3a
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [0x10141540]
jne 0x1001ba7a
mov eax, dword [0x10142a3c]
mov byte [ebp - 0x3131], 1
mov ecx, dword [eax + 0x78]
mov eax, dword [ecx]
mov eax, dword [eax + 0x5f4]
call eax
mov esi, dword [0x10142a5c]
cmp eax, 0x12
jne 0x1001ba87
cmp byte [esi + 0x16], 0
je 0x1001ba87
or dword [edi + 0x24], 0x800
mov esi, dword [0x10142a5c]
jmp 0x1001ba87
mov al, 1
test al, al
je 0x1001be12
movups xmm0, xmmword [edi]
push 0x187c
lea eax, [ebp - 0x3128]
push 0
push eax
movups xmmword [ebp - 0x3180], xmm0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x3128], 0
lea ecx, [ebp - 0x310c]
mov dword [ebp - 0x3124], 0
mov dword [ebp - 0x3120], 0
mov dword [ebp - 0x311c], 0
mov word [ebp - 0x3117], 0
mov dword [ebp - 0x3114], 0xbf800000
mov dword [ebp - 0x3110], 0
call fcn.10009c30
movups xmm0, xmmword [ebp - 0x3180]
lea eax, [ebp - 0x3144]
mov byte [ebp - 0x3118], 0
push eax
movd ecx, xmm0
movd dword [ebp - 0x312c], xmm0
call fcn.10003670
mov eax, dword [0x10142a3c]
lea ecx, [ebp - 0x318c]
push ecx
mov ecx, dword [eax + 0x74]
call fcn.10003a80
movq xmm0, qword [ebp - 0x3144]
mov edx, dword [ebp - 0x313c]
mov ecx, dword [0x10142a3c]
push 0x4600400b
sub esp, 0xc
mov esi, esp
sub esp, 0xc
mov ecx, dword [ecx + 0x74]
movq qword [esi], xmm0
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
mov dword [esi + 8], edx
mov edx, esp
mov esi, dword [ebp - 0x312c]
movq qword [edx], xmm0
mov dword [edx + 8], eax
mov edx, esi
call fcn.10004660
add esp, 0x1c
test al, al
lea eax, [ebp - 0x3128]
push 0x187c
push eax
lea eax, [ebp - 0x4a10]
push eax
je 0x1001bd8b
movss xmm0, dword [ebp - 0x3144]
movss dword [ebp - 0x3128], xmm0
movss xmm0, dword [ebp - 0x3140]
movss dword [ebp - 0x3124], xmm0
movss xmm0, dword [ebp - 0x313c]
mov byte [ebp - 0x3118], 1
mov dword [ebp - 0x311c], esi
movss dword [ebp - 0x3120], xmm0
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x4a04]
add esp, 0xc
movss xmm0, dword [ebp - 0x4a10]
mov dword [ebp - 0x189c], eax
mov al, byte [ebp - 0x4a00]
mov byte [ebp - 0x1898], al
mov al, byte [ebp - 0x49ff]
movss dword [ebp - 0x18a8], xmm0
movss xmm0, dword [ebp - 0x4a0c]
mov byte [ebp - 0x1897], al
mov al, byte [ebp - 0x49fe]
movss dword [ebp - 0x18a4], xmm0
movss xmm0, dword [ebp - 0x4a08]
mov byte [ebp - 0x1896], al
mov eax, dword [ebp - 0x49f8]
movss dword [ebp - 0x18a0], xmm0
movss xmm0, dword [ebp - 0x49fc]
mov dword [ebp - 0x1890], eax
lea eax, [ebp - 0x49f4]
jmp 0x1001c1e1
mov ecx, dword [edi]
add ecx, 8
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
cmp dword [eax + 0x14], 0xf7
je 0x1001bf68
movups xmm0, xmmword [edi]
push 0x187c
lea eax, [ebp - 0x3128]
push 0
push eax
movups xmmword [ebp - 0x3180], xmm0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x3128], 0
lea ecx, [ebp - 0x310c]
mov dword [ebp - 0x3124], 0
mov dword [ebp - 0x3120], 0
mov dword [ebp - 0x311c], 0
mov word [ebp - 0x3117], 0
mov dword [ebp - 0x3114], 0xbf800000
mov dword [ebp - 0x3110], 0
call fcn.10009c30
movups xmm0, xmmword [ebp - 0x3180]
lea eax, [ebp - 0x315c]
mov byte [ebp - 0x3118], 0
push eax
movd ecx, xmm0
movd dword [ebp - 0x312c], xmm0
call fcn.10003670
mov eax, dword [0x10142a3c]
lea ecx, [ebp - 0x3170]
push ecx
mov ecx, dword [eax + 0x74]
call fcn.10003a80
movq xmm0, qword [ebp - 0x315c]
mov edx, dword [ebp - 0x3154]
mov ecx, dword [0x10142a3c]
push 0x4600400b
sub esp, 0xc
mov esi, esp
sub esp, 0xc
mov ecx, dword [ecx + 0x74]
movq qword [esi], xmm0
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
mov dword [esi + 8], edx
mov edx, esp
mov esi, dword [ebp - 0x312c]
movq qword [edx], xmm0
mov dword [edx + 8], eax
mov edx, esi
call fcn.10004660
add esp, 0x1c
test al, al
lea eax, [ebp - 0x3128]
push 0x187c
push eax
lea eax, [ebp - 0x4a10]
push eax
je 0x1001bd8b
movss xmm0, dword [ebp - 0x315c]
movss dword [ebp - 0x3128], xmm0
movss xmm0, dword [ebp - 0x3158]
movss dword [ebp - 0x3124], xmm0
movss xmm0, dword [ebp - 0x3154]
jmp 0x1001bd76
mov eax, dword [0x10142a3c]
mov ecx, dword fs:[0x2c]
mov eax, dword [eax + 0x74]
mov dword [ebp - 0x312c], eax
mov eax, dword [0x101413f8]
mov esi, dword [ecx + eax*4]
mov eax, dword [0x10141474]
cmp eax, dword [esi + 4]
jle 0x1001bfd1
push 0x10141474
call fcn.1005e6a1
add esp, 4
cmp dword [0x10141474], 0xffffffff
jne 0x1001bfd1
push str.m_iClass
push str.CTFPlayer
mov byte [ebp - 4], 1
call fcn.1005a6e0
push 0x10141474
mov dword [0x10141470], eax
mov byte [ebp - 4], 0
call fcn.1005e650
add esp, 4
mov eax, dword [0x10141470]
mov ecx, dword [ebp - 0x312c]
mov eax, dword [ecx + eax]
dec eax
cmp eax, 8
ja case.0x1001bfe9.4
jmp dword [eax*4 + 0x1001cbf4]
movups xmm0, xmmword [edi]
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
lea eax, [ebp - 0x4a10]
push eax
call fcn.1001a6b0
jmp 0x1001c184
mov eax, dword [0x10142a3c]
mov ecx, dword [eax + 0x78]
mov eax, dword [ecx]
mov eax, dword [eax + 0x5f4]
call eax
cmp eax, 0xf
je 0x1001c03e
mov eax, dword [0x10142a3c]
mov ecx, dword [eax + 0x78]
mov eax, dword [ecx]
mov eax, dword [eax + 0x5f4]
call eax
cmp eax, 0xd
jne 0x1001cb99
movups xmm0, xmmword [edi]
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
lea eax, [ebp - 0x4a10]
push eax
call fcn.1001a6b0
jmp 0x1001c184
mov eax, dword [0x10142a3c]
mov ecx, dword [0x101414a0]
mov eax, dword [eax + 0x78]
mov dword [ebp - 0x312c], eax
cmp ecx, dword [esi + 4]
jle 0x1001c0bd
push 0x101414a0
call fcn.1005e6a1
mov ecx, dword [0x101414a0]
add esp, 4
cmp ecx, 0xffffffff
jne 0x1001c0bd
push str.m_iItemDefinitionIndex
push str.CEconEntity
mov byte [ebp - 4], 2
call fcn.1005a6e0
push 0x101414a0
mov dword [0x10141438], eax
mov byte [ebp - 4], 0
call fcn.1005e650
mov ecx, dword [0x101414a0]
add esp, 4
mov eax, dword [0x10141438]
mov edx, dword [ebp - 0x312c]
cmp dword [edx + eax], 0x3d
je case.0x1001bfe9.2
mov eax, dword [0x10142a3c]
mov eax, dword [eax + 0x78]
mov dword [ebp - 0x312c], eax
cmp ecx, dword [esi + 4]
jle 0x1001c127
push 0x101414a0
call fcn.1005e6a1
add esp, 4
cmp dword [0x101414a0], 0xffffffff
jne 0x1001c127
push str.m_iItemDefinitionIndex
push str.CEconEntity
mov byte [ebp - 4], 3
call fcn.1005a6e0
push 0x101414a0
mov dword [0x10141438], eax
mov byte [ebp - 4], 0
call fcn.1005e650
add esp, 4
mov eax, dword [0x10141438]
mov ecx, dword [ebp - 0x312c]
cmp dword [ecx + eax], 0x3ee
je case.0x1001bfe9.2
movups xmm0, xmmword [edi]
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
lea eax, [ebp - 0x4a10]
push eax
call fcn.1001a6b0
jmp 0x1001c184
movups xmm0, xmmword [edi]
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
lea eax, [ebp - 0x4a10]
push eax
call fcn.10019d30
jmp 0x1001c184
movups xmm0, xmmword [edi]
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
lea eax, [ebp - 0x4a10]
push eax
call fcn.10019540
mov edx, eax
mov al, byte [edx + 0x11]
movss xmm0, dword [edx]
mov ecx, dword [edx + 0xc]
movss dword [ebp - 0x18a8], xmm0
movss xmm0, dword [edx + 4]
mov byte [ebp - 0x1897], al
mov al, byte [edx + 0x12]
movss dword [ebp - 0x18a4], xmm0
movss xmm0, dword [edx + 8]
mov byte [ebp - 0x1896], al
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x189c], ecx
mov cl, byte [edx + 0x10]
mov dword [ebp - 0x1890], eax
lea eax, [edx + 0x1c]
movss dword [ebp - 0x18a0], xmm0
movss xmm0, dword [edx + 0x14]
mov byte [ebp - 0x1898], cl
push eax
lea ecx, [ebp - 0x188c]
movss dword [ebp - 0x1894], xmm0
call fcn.1000a320
cmp byte [ebp - 0x1898], 0
jne 0x1001c21f
add edi, 0x10
cmp edi, dword [ebp - 0x314c]
jne 0x1001bba7
jmp 0x1001cb99
cmp byte [ebp - 0x1898], 0
je 0x1001cb99
mov esi, dword [ebp - 0x189c]
test esi, esi
je 0x1001cb99
mov eax, dword [0x101413f8]
mov ecx, dword fs:[0x2c]
movss xmm0, dword [esi + 0x1c0]
movss dword [ebp - 0x312c], xmm0
mov edi, dword [ecx + eax*4]
mov eax, dword [0x10141434]
cmp eax, dword [edi + 4]
jle 0x1001c298
push 0x10141434
call fcn.1005e6a1
add esp, 4
cmp dword [0x10141434], 0xffffffff
jne 0x1001c298
push str.m_flSimulationTime
push str.CBaseEntity
mov byte [ebp - 4], 4
call fcn.1005a6e0
push 0x10141434
mov dword [0x1014141c], eax
mov byte [ebp - 4], 0
call fcn.1005e650
add esp, 4
mov eax, dword [0x1014141c]
lea ecx, [ebp - 0x3160]
mov dword [ebp - 0x3164], 0x18
mov dword [ebp - 0x3160], 0
movss xmm0, dword [eax + esi]
mov eax, dword [0x10142a3c]
subss xmm0, dword [ebp - 0x312c]
mov esi, dword [ebp - 0x189c]
mov eax, dword [eax + 0x2c]
divss xmm0, dword [eax + 0x1c]
addss xmm0, dword [0x1006c098]
cvttss2si edx, xmm0
mov eax, edx
mov dword [ebp - 0x24], edx
shr eax, 0x1f
test al, al
lea eax, [ebp - 0x24]
cmove ecx, eax
cmp edx, 0x18
lea eax, [ebp - 0x3164]
cmovle eax, ecx
mov ecx, dword [eax]
mov eax, dword [0x10142a5c]
mov dword [ebp - 0x312c], ecx
cmp byte [eax + 0x31], 0
je 0x1001c39a
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 8]
call eax
cmp dword [eax + 0x14], 0xf7
jne 0x1001c39a
cmp dword [ebp - 0x312c], 6
jle 0x1001c39a
mov eax, dword [0x10141490]
cmp eax, dword [edi + 4]
jle 0x1001c37f
push 0x10141490
call fcn.1005e6a1
add esp, 4
cmp dword [0x10141490], 0xffffffff
jne 0x1001c37f
push str.m_vecVelocity_0_
push str.CBasePlayer
mov byte [ebp - 4], 5
call fcn.1005a6e0
push 0x10141490
mov dword [0x101414a4], eax
mov byte [ebp - 4], 0
call fcn.1005e650
add esp, 4
mov ecx, dword [0x101414a4]
lea ecx, [ecx + esi]
call fcn.100032d0
comiss xmm0, dword [0x1006c19c]
ja 0x1001cb99
mov eax, dword [0x10142a3c]
cmp dword [eax + 0x160], 0x14
jl 0x1001c5e2
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 8]
call eax
cmp dword [eax + 0x14], 0xf7
jne 0x1001c5e2
mov eax, dword [0x10142a3c]
lea ecx, [ebp - 0x3170]
push ecx
mov ecx, dword [eax + 0x74]
call fcn.10003a80
mov ecx, dword [0x10142a3c]
mov dword [ebp - 0x314c], eax
mov eax, dword [ecx + 0x74]
mov ecx, dword [0x10141490]
mov dword [ebp - 0x312c], eax
cmp ecx, dword [edi + 4]
jle 0x1001c43a
push 0x10141490
call fcn.1005e6a1
add esp, 4
cmp dword [0x10141490], 0xffffffff
jne 0x1001c43a
push str.m_vecVelocity_0_
push str.CBasePlayer
mov byte [ebp - 4], 6
call fcn.1005a6e0
push 0x10141490
mov dword [0x101414a4], eax
mov byte [ebp - 4], 0
call fcn.1005e650
add esp, 4
mov edx, dword [0x10142a5c]
mov eax, dword [0x10142a3c]
mov ecx, dword [0x101414a4]
cmp byte [edx + 0x265], 0
movd xmm4, dword [edx + 0x10]
mov eax, dword [eax + 0x2c]
cvtdq2ps xmm4, xmm4
mulss xmm4, dword [eax + 0x1c]
mov eax, dword [ebp - 0x312c]
movaps xmm0, xmm4
movaps xmm2, xmm4
mulss xmm0, dword [eax + ecx]
mulss xmm2, dword [eax + ecx + 4]
mulss xmm4, dword [eax + ecx + 8]
mov eax, dword [ebp - 0x314c]
movss xmm3, dword [eax]
movss xmm1, dword [eax + 4]
subss xmm3, xmm0
movss xmm0, dword [eax + 8]
subss xmm1, xmm2
subss xmm0, xmm4
movss dword [ebp - 0x315c], xmm3
movss dword [ebp - 0x3158], xmm1
movss dword [ebp - 0x3154], xmm0
je 0x1001c519
lea eax, [ebp - 0x3170]
push eax
mov eax, dword [0x10142a3c]
mov ecx, dword [eax + 0x74]
call fcn.10003a80
mov eax, dword [0x10141490]
cmp eax, dword [edi + 4]
jle 0x1001c519
push 0x10141490
call fcn.1005e6a1
add esp, 4
cmp dword [0x10141490], 0xffffffff
jne 0x1001c519
push str.m_vecVelocity_0_
push str.CBasePlayer
mov byte [ebp - 4], 7
call fcn.1005a6e0
push 0x10141490
mov dword [0x101414a4], eax
mov byte [ebp - 4], 0
call fcn.1005e650
add esp, 4
movq xmm0, qword [ebp - 0x18a8]
mov edx, esi
mov eax, dword [ebp - 0x18a0]
push 0x4600400b
sub esp, 0xc
mov ecx, esp
sub esp, 0xc
movq qword [ecx], xmm0
movq xmm0, qword [ebp - 0x315c]
mov dword [ecx + 8], eax
mov ecx, esp
mov eax, dword [ebp - 0x3154]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
mov ecx, dword [0x10142a3c]
mov ecx, dword [ecx + 0x74]
call fcn.10004660
mov ecx, dword [0x10142a3c]
add esp, 0x1c
mov byte [ebp - 0x3132], al
cmp byte [ecx + 0x155], 0
jne 0x1001c5e2
cmp byte [ecx + 0x157], 0
jne 0x1001c5e2
mov ecx, dword [0x10142a5c]
cmp byte [ecx + 0x1f3], 0
je 0x1001c5d5
movzx eax, word [ecx + 0x208]
test ax, ax
je 0x1001c5d5
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1001c5d5
cmp dword [0x10141540], 0
jne 0x1001c5c7
push 0x10066848
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [0x10141540], eax
jmp 0x1001c5d5
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [0x10141540]
je 0x1001c5e2
cmp byte [ebp - 0x3132], 0
je 0x1001cb99
cmp byte [ebp - 0x3131], 0
je 0x1001c6a4
mov eax, dword [0x10142a3c]
mov ecx, dword fs:[0x2c]
mov esi, dword [eax + 0x74]
mov eax, dword [0x101413f8]
mov ecx, dword [ecx + eax*4]
mov eax, dword [0x10141474]
cmp eax, dword [ecx + 4]
jle 0x1001c652
push 0x10141474
call fcn.1005e6a1
add esp, 4
cmp dword [0x10141474], 0xffffffff
jne 0x1001c652
push str.m_iClass
push str.CTFPlayer
mov byte [ebp - 4], 8
call fcn.1005a6e0
push 0x10141474
mov dword [0x10141470], eax
mov byte [ebp - 4], 0
call fcn.1005e650
add esp, 4
mov eax, dword [0x10141470]
cmp dword [esi + eax], 2
jne 0x1001c698
cmp byte [ebp - 0x1897], 0
je 0x1001c698
mov eax, dword [0x10142a3c]
mov ecx, dword [eax + 0x74]
call fcn.10003940
mov eax, dword [eax]
shr eax, 1
test al, 1
jne 0x1001c698
mov eax, dword [0x10142a5c]
cmp byte [eax + 0x14], 0
je 0x1001c698
mov eax, dword [ebp - 0x3130]
or dword [eax + 0x24], 0x800
jmp 0x1001cb99
mov eax, dword [ebp - 0x3130]
or dword [eax + 0x24], 1
jmp 0x1001c6aa
mov eax, dword [ebp - 0x3130]
push eax
mov eax, 0x187c
lea esi, [ebp - 0x18a8]
call fcn.1005f950
mov edi, esp
mov ecx, 0x61f
rep movsd dword es:[edi], dword [esi]
call fcn.1001ad00
mov eax, dword [0x10142a3c]
lea ecx, [ebp - 0x3170]
push ecx
mov ecx, dword [eax + 0x74]
call fcn.10003a80
sub esp, 8
mov dword [ebp - 0x313c], 0
movss xmm0, dword [eax + 4]
subss xmm0, dword [ebp - 0x18a4]
movss xmm3, dword [eax]
subss xmm3, dword [ebp - 0x18a8]
movss xmm2, dword [eax + 8]
subss xmm2, dword [ebp - 0x18a0]
movaps xmm1, xmm0
movss dword [ebp - 0x312c], xmm0
mulss xmm1, xmm0
movaps xmm0, xmm3
movss dword [ebp - 0x3138], xmm3
mulss xmm0, xmm3
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd qword [esp], xmm0
call fcn.100032c0
cvtps2pd xmm0, xmm2
fstp qword [ebp - 0x3150]
divsd xmm0, qword [ebp - 0x3150]
cvtpd2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_atan_precise
cvtsd2ss xmm0, xmm0
cvtss2sd xmm0, xmm0
mulsd xmm0, qword [0x1006c0f8]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0x3144], xmm0
movss xmm0, dword [ebp - 0x312c]
divss xmm0, dword [ebp - 0x3138]
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_atan_precise
cvtsd2ss xmm0, xmm0
xorps xmm1, xmm1
xorps xmm2, xmm2
cvtss2sd xmm0, xmm0
mulsd xmm0, qword [0x1006c0f8]
cvtsd2ss xmm1, xmm0
movss xmm0, dword [ebp - 0x3138]
comiss xmm0, xmm2
movss dword [ebp - 0x3140], xmm1
jb 0x1001c7cf
addss xmm1, dword [0x1006c1a0]
movss dword [ebp - 0x3140], xmm1
lea ecx, [ebp - 0x3144]
call fcn.10018450
mov edi, dword [ebp - 0x3130]
test byte [edi + 0x24], 1
je 0x1001cb99
movss xmm0, dword [ebp - 0x3144]
movss dword [edi + 0xc], xmm0
movss xmm0, dword [ebp - 0x3140]
movss dword [edi + 0x10], xmm0
movss xmm0, dword [ebp - 0x313c]
movss dword [edi + 0x14], xmm0
mov ecx, dword [0x10142a3c]
mov ecx, dword [ecx + 0x78]
call fcn.1004d610
test al, al
je 0x1001cb99
mov ecx, dword [0x10142a3c]
mov eax, dword [edi + 0xc]
mov dword [ecx + 0x2d4], eax
mov eax, dword [edi + 0x10]
mov dword [ecx + 0x2d8], eax
mov eax, dword [edi + 0x14]
mov dword [ecx + 0x2dc], eax
mov eax, dword [0x10142a3c]
mov dword [eax + 0x2e0], 0
mov eax, dword [0x10142a5c]
cmp byte [eax + 0xd], 0
je 0x1001c876
mov eax, dword [0x10142a3c]
mov dword [eax + 0x2e0], 0x589c0001
mov eax, dword [0x10142a5c]
cmp byte [eax + 0xe], 0
je 0x1001c88b
mov eax, dword [0x10142a3c]
mov dword [eax + 0x2e0], 0x89e7ffff
mov esi, dword [ebp - 0x189c]
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 8]
call eax
cmp dword [eax + 0x14], 0xf7
jne 0x1001cb99
push 0x1860
lea eax, [ebp - 0x188c]
push eax
lea eax, [ebp - 0x3110]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
cmp dword [ebp - 0x18c8], 0
jne 0x1001c8fb
mov eax, dword [0x10142a3c]
lea ecx, [esi + 4]
mov edx, dword [ecx]
push ecx
mov eax, dword [eax + 0x2c]
movss xmm0, dword [eax + 0xc]
mov eax, dword [edx + 0x40]
movss dword [esp], xmm0
push pe_nt_image_headers32
push 0x80
push 0
call eax
jmp 0x1001cb70
mov ecx, dword fs:[0x2c]
mov eax, dword [0x101413f8]
mov eax, dword [ecx + eax*4]
mov dword [ebp - 0x3130], eax
mov ecx, eax
mov eax, dword [0x101414f4]
cmp eax, dword [ecx + 4]
jle 0x1001c964
push 0x101414f4
call fcn.1005e6a1
add esp, 4
cmp dword [0x101414f4], 0xffffffff
jne 0x1001c95e
push str.m_angEyeAngles_0_
push str.CTFPlayer
mov byte [ebp - 4], 9
call fcn.1005a6e0
push 0x101414f4
mov dword [0x101414dc], eax
mov byte [ebp - 4], 0
call fcn.1005e650
add esp, 4
mov ecx, dword [ebp - 0x3130]
mov eax, dword [0x101414dc]
movss xmm0, dword [ebp - 0x3104]
movss dword [eax + esi], xmm0
movss xmm0, dword [ebp - 0x3100]
movss dword [eax + esi + 4], xmm0
movss xmm0, dword [ebp - 0x30fc]
movss dword [eax + esi + 8], xmm0
mov eax, dword [0x10141440]
cmp eax, dword [ecx + 4]
jle 0x1001c9e4
push 0x10141440
call fcn.1005e6a1
add esp, 4
cmp dword [0x10141440], 0xffffffff
jne 0x1001c9de
push str.m_vecMins
push str.CBaseEntity
mov byte [ebp - 4], 0xa
call fcn.1005a6e0
push 0x10141440
mov dword [0x10141480], eax
mov byte [ebp - 4], 0
call fcn.1005e650
add esp, 4
mov ecx, dword [ebp - 0x3130]
mov eax, dword [0x10141480]
movss xmm0, dword [ebp - 0x30f8]
movss dword [eax + esi], xmm0
movss xmm0, dword [ebp - 0x30f4]
movss dword [eax + esi + 4], xmm0
movss xmm0, dword [ebp - 0x30f0]
movss dword [eax + esi + 8], xmm0
mov eax, dword [0x1014149c]
cmp eax, dword [ecx + 4]
jle 0x1001ca64
push 0x1014149c
call fcn.1005e6a1
add esp, 4
cmp dword [0x1014149c], 0xffffffff
jne 0x1001ca5e
push str.m_vecMaxs
push str.CBaseEntity
mov byte [ebp - 4], 0xb
call fcn.1005a6e0
push 0x1014149c
mov dword [0x1014148c], eax
mov byte [ebp - 4], 0
call fcn.1005e650
add esp, 4
mov ecx, dword [ebp - 0x3130]
mov eax, dword [0x1014148c]
movss xmm0, dword [ebp - 0x30ec]
movss dword [eax + esi], xmm0
movss xmm0, dword [ebp - 0x30e8]
movss dword [eax + esi + 4], xmm0
movss xmm0, dword [ebp - 0x30e4]
movss dword [eax + esi + 8], xmm0
mov eax, dword [0x10141490]
cmp eax, dword [ecx + 4]
jle 0x1001cae4
push 0x10141490
call fcn.1005e6a1
add esp, 4
cmp dword [0x10141490], 0xffffffff
jne 0x1001cade
push str.m_vecVelocity_0_
push str.CBasePlayer
mov byte [ebp - 4], 0xc
call fcn.1005a6e0
push 0x10141490
mov dword [0x101414a4], eax
mov byte [ebp - 4], 0
call fcn.1005e650
add esp, 4
mov ecx, dword [ebp - 0x3130]
mov eax, dword [0x101414a4]
movss xmm0, dword [ebp - 0x30e0]
movss dword [eax + esi], xmm0
movss xmm0, dword [ebp - 0x30dc]
movss dword [eax + esi + 4], xmm0
movss xmm0, dword [ebp - 0x30d8]
movss dword [eax + esi + 8], xmm0
mov eax, dword [0x101414f8]
cmp eax, dword [ecx + 4]
jle 0x1001cb5e
push 0x101414f8
call fcn.1005e6a1
add esp, 4
cmp dword [0x101414f8], 0xffffffff
jne 0x1001cb5e
push str.m_flCycle
push str.CBaseAnimating
mov byte [ebp - 4], 0xd
call fcn.1005a6e0
push 0x101414f8
mov dword [0x101414c8], eax
mov byte [ebp - 4], 0
call fcn.1005e650
add esp, 4
mov eax, dword [0x101414c8]
movss xmm0, dword [ebp - 0x18c0]
movss dword [eax + esi], xmm0
call fcn.10008830
mov eax, dword [0x10142a3c]
addss xmm0, dword [ebp - 0x1894]
mov eax, dword [eax + 0x2c]
divss xmm0, dword [eax + 0x1c]
addss xmm0, dword [0x1006c098]
cvttss2si eax, xmm0
mov dword [edi + 8], eax
mov edx, dword [ebp - 0x20]
test edx, edx
je 0x1001cbd2
mov ecx, dword [ebp - 0x18]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffff0
cmp ecx, 0x1000
jb 0x1001cbc8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001cbc8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1005ea54
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1005e617
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4