Function at 0x1002ebf0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10062881
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x10074040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x10142a3c]
mov ecx, dword [eax + 0x74]
test ecx, ecx
je 0x1002f03b
call fcn.100028c0
test al, al
je 0x1002f03b
mov ecx, dword [0x10142a3c]
cmp dword [ecx + 0x78], 0
je 0x1002f03b
mov ecx, dword [ecx + 0x74]
call fcn.1002b810
cmp byte [eax], 1
ja 0x1002f03b
mov eax, dword [0x10142a3c]
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x1a4]
cmp eax, 8
je 0x1002f03b
cmp eax, 9
je 0x1002f03b
cmp eax, 0xa
je 0x1002f03b
cmp dword [0x10141540], 0
jne 0x1002ecac
push 0x10066848
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [0x10141540], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [0x10141540]
jne 0x1002f03b
mov eax, dword [0x10142a5c]
movzx eax, word [eax + 0x206]
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x1002f03b
mov eax, dword [0x10142a3c]
mov ecx, dword [eax + 0x68]
mov eax, dword [ecx]
mov eax, dword [eax + 0xd4]
call eax
test al, al
jne 0x1002f03b
mov eax, dword [0x10142a3c]
mov ecx, dword [eax + 0x74]
test ecx, ecx
je 0x1002f03b
call fcn.100028c0
test al, al
je 0x1002f03b
mov eax, dword [0x10142a3c]
mov ecx, dword [eax + 0x74]
mov eax, dword [ecx + 8]
add ecx, 8
mov eax, dword [eax + 0x20]
call eax
test al, al
jne 0x1002f03b
mov eax, dword [0x10142a3c]
mov ecx, dword [0x101413f8]
mov edi, dword [eax + 0x74]
mov eax, dword fs:[0x2c]
mov esi, dword [eax + ecx*4]
mov eax, dword [0x10141474]
cmp eax, dword [esi + 4]
jle 0x1002ed94
push 0x10141474
call fcn.1005e6a1
add esp, 4
cmp dword [0x10141474], 0xffffffff
jne 0x1002ed94
push str.m_iClass
push str.CTFPlayer
mov dword [ebp - 4], 0
call fcn.1005a6e0
push 0x10141474
mov dword [0x10141470], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1005e650
add esp, 4
mov eax, dword [0x10141470]
cmp dword [eax + edi], 1
jne 0x1002f03b
mov eax, dword [0x10142a3c]
mov edi, dword [eax + 0x74]
mov eax, dword [0x101415bc]
cmp eax, dword [esi + 4]
jle 0x1002edfd
push 0x101415bc
call fcn.1005e6a1
add esp, 4
cmp dword [0x101415bc], 0xffffffff
jne 0x1002edfd
push str.m_fFlags
push str.CBasePlayer
mov dword [ebp - 4], 1
call fcn.1005a6e0
push 0x101415bc
mov dword [0x101415b8], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1005e650
add esp, 4
mov eax, dword [0x101415b8]
test byte [eax + edi], 1
je 0x1002f03b
mov eax, dword [0x10142a3c]
mov ecx, dword [0x101414a0]
mov edi, dword [eax + 0x78]
cmp ecx, dword [esi + 4]
jle 0x1002ee6f
push 0x101414a0
call fcn.1005e6a1
mov ecx, dword [0x101414a0]
add esp, 4
cmp ecx, 0xffffffff
jne 0x1002ee6f
push str.m_iItemDefinitionIndex
push str.CEconEntity
mov dword [ebp - 4], 2
call fcn.1005a6e0
push 0x101414a0
mov dword [0x10141438], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1005e650
mov ecx, dword [0x101414a0]
add esp, 4
mov eax, dword [0x10141438]
cmp dword [eax + edi], 0x2d
je 0x1002eee1
mov eax, dword [0x10142a3c]
mov edi, dword [eax + 0x78]
cmp ecx, dword [esi + 4]
jle 0x1002eecf
push 0x101414a0
call fcn.1005e6a1
add esp, 4
cmp dword [0x101414a0], 0xffffffff
jne 0x1002eecf
push str.m_iItemDefinitionIndex
push str.CEconEntity
mov dword [ebp - 4], 3
call fcn.1005a6e0
push 0x101414a0
mov dword [0x10141438], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1005e650
add esp, 4
mov eax, dword [0x10141438]
cmp dword [eax + edi], 0x436
jne 0x1002f03b
mov eax, dword [0x10142a3c]
mov edi, dword [eax + 0x74]
mov eax, dword [0x10141490]
cmp eax, dword [esi + 4]
jle 0x1002ef34
push 0x10141490
call fcn.1005e6a1
add esp, 4
cmp dword [0x10141490], 0xffffffff
jne 0x1002ef34
push str.m_vecVelocity_0_
push str.CBasePlayer
mov dword [ebp - 4], 4
call fcn.1005a6e0
push 0x10141490
mov dword [0x101414a4], eax
call fcn.1005e650
add esp, 4
mov esi, dword [0x101414a4]
xorps xmm2, xmm2
movss xmm1, dword [esi + edi + 4]
ucomiss xmm1, xmm2
lahf
test ah, 0x44
jp 0x1002ef64
movss xmm0, dword [esi + edi]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x1002ef64
xorps xmm1, xmm1
movss dword [ebp - 0x18], xmm1
jmp 0x1002efdb
cvtps2pd xmm0, xmm1
movsd qword [ebp - 0x1c], xmm0
movss xmm0, dword [esi + edi]
fld qword [ebp - 0x1c]
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x1c], xmm0
fld qword [ebp - 0x1c]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIatan2
fstp qword [ebp - 0x1c]
movsd xmm1, qword [ebp - 0x1c]
xorps xmm0, xmm0
cvtpd2ps xmm1, xmm1
mulss xmm1, dword [0x1006c164]
comiss xmm0, xmm1
movss dword [ebp - 0x18], xmm1
jbe 0x1002efb2
addss xmm1, dword [0x1006c1bc]
movss dword [ebp - 0x18], xmm1
movss xmm0, dword [esi + edi]
sub esp, 8
movss xmm2, dword [esi + edi + 4]
mulss xmm0, xmm0
mulss xmm2, xmm2
addss xmm0, xmm2
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.100032c0
fstp st(0)
cmp byte [0x10141630], 0
mov esi, dword [ebp + 8]
mov dword [ebp - 0x28], 0x420c0000
movss dword [ebp - 0x24], xmm1
mov dword [ebp - 0x20], 0
jne 0x1002effe
or dword [esi + 0x24], 3
movq xmm0, qword [ebp - 0x28]
sub esp, 0xc
mov eax, dword [ebp - 0x20]
mov ecx, esp
mov byte [0x10141630], 0
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
mov ecx, esi
call fcn.1002b970
movss xmm0, dword [ebp - 0x18]
add esp, 0xc
mov dword [esi + 0xc], 0x420c0000
movss dword [esi + 0x10], xmm0
mov dword [esi + 0x14], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4