Function at 0x10025b70
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10054b71
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x10064040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x100662f8]
mov ecx, dword [eax + 0x74]
test ecx, ecx
je 0x10025f31
call fcn.10002970
test al, al
je 0x10025f31
mov ecx, dword [0x100662f8]
cmp dword [ecx + 0x78], 0
je 0x10025f31
mov ecx, dword [ecx + 0x74]
call fcn.10022200
cmp byte [eax], 1
ja 0x10025f31
mov eax, dword [0x100662f8]
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x1a4]
cmp eax, 8
je 0x10025f31
cmp eax, 9
je 0x10025f31
cmp eax, 0xa
je 0x10025f31
cmp dword [0x10064e84], 0
jne 0x10025c2c
push 0x10058864
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [0x10064e84], 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 [0x10064e84]
jne 0x10025f31
mov eax, dword [0x10066318]
movzx eax, word [eax + 0x248]
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x10025f31
mov eax, dword [0x100662f8]
mov ecx, dword [eax + 0x68]
mov eax, dword [ecx]
mov eax, dword [eax + 0xd4]
call eax
test al, al
jne 0x10025f31
mov eax, dword [0x100662f8]
mov ecx, dword [eax + 0x74]
test ecx, ecx
je 0x10025f31
call fcn.10002970
test al, al
je 0x10025f31
mov eax, dword [0x100662f8]
mov ecx, dword [eax + 0x74]
mov eax, dword [ecx + 8]
add ecx, 8
mov eax, dword [eax + 0x20]
call eax
test al, al
jne 0x10025f31
mov eax, dword [0x100662f8]
mov ecx, dword [0x10064d58]
mov edi, dword [eax + 0x74]
mov eax, dword fs:[0x2c]
mov esi, dword [eax + ecx*4]
mov eax, dword [0x10064dd4]
cmp eax, dword [esi + 4]
jle 0x10025d14
push 0x10064dd4
call fcn.100513b1
add esp, 4
cmp dword [0x10064dd4], 0xffffffff
jne 0x10025d14
push str.m_iClass
push str.CTFPlayer
mov dword [ebp - 4], 0
call fcn.1004bfd0
push 0x10064dd4
mov dword [0x10064dd0], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10051360
add esp, 4
mov eax, dword [0x10064dd0]
cmp dword [eax + edi], 1
jne 0x10025f31
mov eax, dword [0x100662f8]
mov edi, dword [eax + 0x74]
mov eax, dword [0x10064ecc]
cmp eax, dword [esi + 4]
jle 0x10025d7d
push 0x10064ecc
call fcn.100513b1
add esp, 4
cmp dword [0x10064ecc], 0xffffffff
jne 0x10025d7d
push str.m_fFlags
push str.CBasePlayer
mov dword [ebp - 4], 1
call fcn.1004bfd0
push 0x10064ecc
mov dword [0x10064ec0], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10051360
add esp, 4
mov eax, dword [0x10064ec0]
test byte [eax + edi], 1
je 0x10025f31
mov eax, dword [0x100662f8]
mov ecx, dword [0x10064e00]
mov edi, dword [eax + 0x78]
cmp ecx, dword [esi + 4]
jle 0x10025def
push 0x10064e00
call fcn.100513b1
mov ecx, dword [0x10064e00]
add esp, 4
cmp ecx, 0xffffffff
jne 0x10025def
push str.m_iItemDefinitionIndex
push str.CEconEntity
mov dword [ebp - 4], 2
call fcn.1004bfd0
push 0x10064e00
mov dword [0x10064d98], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10051360
mov ecx, dword [0x10064e00]
add esp, 4
mov eax, dword [0x10064d98]
cmp dword [eax + edi], 0x2d
je 0x10025e61
mov eax, dword [0x100662f8]
mov edi, dword [eax + 0x78]
cmp ecx, dword [esi + 4]
jle 0x10025e4f
push 0x10064e00
call fcn.100513b1
add esp, 4
cmp dword [0x10064e00], 0xffffffff
jne 0x10025e4f
push str.m_iItemDefinitionIndex
push str.CEconEntity
mov dword [ebp - 4], 3
call fcn.1004bfd0
push 0x10064e00
mov dword [0x10064d98], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10051360
add esp, 4
mov eax, dword [0x10064d98]
cmp dword [eax + edi], 0x436
jne 0x10025f31
mov eax, dword [0x100662f8]
mov dword [ebp - 0x20], 0
mov edi, dword [eax + 0x74]
mov eax, dword [0x10064df0]
cmp eax, dword [esi + 4]
jle 0x10025ebb
push 0x10064df0
call fcn.100513b1
add esp, 4
cmp dword [0x10064df0], 0xffffffff
jne 0x10025ebb
push str.m_vecVelocity_0_
push str.CBasePlayer
mov dword [ebp - 4], 4
call fcn.1004bfd0
push 0x10064df0
mov dword [0x10064e04], eax
call fcn.10051360
add esp, 4
mov ecx, dword [0x10064e04]
lea edx, [ebp - 0x24]
lea ecx, [ecx + edi]
call fcn.10022010
cmp byte [0x10064efc], 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 0x10025ef4
or dword [esi + 0x24], 3
movq xmm0, qword [ebp - 0x18]
sub esp, 0xc
mov eax, dword [ebp - 0x10]
mov ecx, esp
mov byte [0x10064efc], 0
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
mov ecx, esi
call fcn.10022360
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