Function at 0x1002e860
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10063001
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x10076040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x10144a3c]
mov ecx, dword [eax + 0x74]
test ecx, ecx
je 0x1002ec21
call fcn.10002910
test al, al
je 0x1002ec21
mov ecx, dword [0x10144a3c]
cmp dword [ecx + 0x78], 0
je 0x1002ec21
mov ecx, dword [ecx + 0x74]
call fcn.1002b6f0
cmp byte [eax], 1
ja 0x1002ec21
mov eax, dword [0x10144a3c]
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x1a4]
cmp eax, 8
je 0x1002ec21
cmp eax, 9
je 0x1002ec21
cmp eax, 0xa
je 0x1002ec21
cmp dword [0x10143540], 0
jne 0x1002e91c
push 0x10067868
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [0x10143540], 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 [0x10143540]
jne 0x1002ec21
mov eax, dword [0x10144a5c]
movzx eax, word [eax + 0x22a]
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x1002ec21
mov eax, dword [0x10144a3c]
mov ecx, dword [eax + 0x68]
mov eax, dword [ecx]
mov eax, dword [eax + 0xd4]
call eax
test al, al
jne 0x1002ec21
mov eax, dword [0x10144a3c]
mov ecx, dword [eax + 0x74]
test ecx, ecx
je 0x1002ec21
call fcn.10002910
test al, al
je 0x1002ec21
mov eax, dword [0x10144a3c]
mov ecx, dword [eax + 0x74]
mov eax, dword [ecx + 8]
add ecx, 8
mov eax, dword [eax + 0x20]
call eax
test al, al
jne 0x1002ec21
mov eax, dword [0x10144a3c]
mov ecx, dword [0x101433f8]
mov edi, dword [eax + 0x74]
mov eax, dword fs:[0x2c]
mov esi, dword [eax + ecx*4]
mov eax, dword [0x10143474]
cmp eax, dword [esi + 4]
jle 0x1002ea04
push 0x10143474
call fcn.1005eea1
add esp, 4
cmp dword [0x10143474], 0xffffffff
jne 0x1002ea04
push str.m_iClass
push str.CTFPlayer
mov dword [ebp - 4], 0
call fcn.10059a30
push 0x10143474
mov dword [0x10143470], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1005ee50
add esp, 4
mov eax, dword [0x10143470]
cmp dword [eax + edi], 1
jne 0x1002ec21
mov eax, dword [0x10144a3c]
mov edi, dword [eax + 0x74]
mov eax, dword [0x101435bc]
cmp eax, dword [esi + 4]
jle 0x1002ea6d
push 0x101435bc
call fcn.1005eea1
add esp, 4
cmp dword [0x101435bc], 0xffffffff
jne 0x1002ea6d
push str.m_fFlags
push str.CBasePlayer
mov dword [ebp - 4], 1
call fcn.10059a30
push 0x101435bc
mov dword [0x101435b8], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1005ee50
add esp, 4
mov eax, dword [0x101435b8]
test byte [eax + edi], 1
je 0x1002ec21
mov eax, dword [0x10144a3c]
mov ecx, dword [0x101434a0]
mov edi, dword [eax + 0x78]
cmp ecx, dword [esi + 4]
jle 0x1002eadf
push 0x101434a0
call fcn.1005eea1
mov ecx, dword [0x101434a0]
add esp, 4
cmp ecx, 0xffffffff
jne 0x1002eadf
push str.m_iItemDefinitionIndex
push str.CEconEntity
mov dword [ebp - 4], 2
call fcn.10059a30
push 0x101434a0
mov dword [0x10143438], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1005ee50
mov ecx, dword [0x101434a0]
add esp, 4
mov eax, dword [0x10143438]
cmp dword [eax + edi], 0x2d
je 0x1002eb51
mov eax, dword [0x10144a3c]
mov edi, dword [eax + 0x78]
cmp ecx, dword [esi + 4]
jle 0x1002eb3f
push 0x101434a0
call fcn.1005eea1
add esp, 4
cmp dword [0x101434a0], 0xffffffff
jne 0x1002eb3f
push str.m_iItemDefinitionIndex
push str.CEconEntity
mov dword [ebp - 4], 3
call fcn.10059a30
push 0x101434a0
mov dword [0x10143438], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1005ee50
add esp, 4
mov eax, dword [0x10143438]
cmp dword [eax + edi], 0x436
jne 0x1002ec21
mov eax, dword [0x10144a3c]
mov dword [ebp - 0x20], 0
mov edi, dword [eax + 0x74]
mov eax, dword [0x10143490]
cmp eax, dword [esi + 4]
jle 0x1002ebab
push 0x10143490
call fcn.1005eea1
add esp, 4
cmp dword [0x10143490], 0xffffffff
jne 0x1002ebab
push str.m_vecVelocity_0_
push str.CBasePlayer
mov dword [ebp - 4], 4
call fcn.10059a30
push 0x10143490
mov dword [0x101434a4], eax
call fcn.1005ee50
add esp, 4
mov ecx, dword [0x101434a4]
lea edx, [ebp - 0x24]
lea ecx, [ecx + edi]
call fcn.1002b500
cmp byte [0x10143630], 0
movss xmm0, dword [ebp - 0x20]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x18], 0x420c0000
movss dword [ebp - 0x14], xmm0
mov dword [ebp - 0x10], 0
jne 0x1002ebe4
or dword [esi + 0x24], 3
movq xmm0, qword [ebp - 0x18]
sub esp, 0xc
mov eax, dword [ebp - 0x10]
mov ecx, esp
mov byte [0x10143630], 0
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
mov ecx, esi
call fcn.1002b850
movss xmm0, dword [ebp - 0x20]
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