Function at 0x10016c40
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006fb11
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x1008d00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x10092df8], 0
movss xmm0, dword [0x10093108]
mov esi, dword [ebp + 0x10]
movss dword [0x10093114], xmm0
movss xmm0, dword [0x1009310c]
movss dword [0x10093118], xmm0
movss xmm0, dword [0x10093110]
mov byte [0x100930c3], 0
movss dword [0x1009311c], xmm0
mov word [0x1009315c], 0
je 0x10016f29
push dword [ebp + 0xc]
push esi
call fcn.1000f5e0
test al, al
jne 0x10016f29
cmp byte [0x100930bc], al
jne 0x10016f29
mov eax, dword [0x10092dfc]
mov ebx, dword [sym.imp.USER32.dll_GetAsyncKeyState]
test eax, eax
je 0x10016cfc
push eax
call ebx
test al, 1
je 0x10016cfc
cmp byte [0x1008d046], 0
sete al
mov byte [0x1008d046], al
jmp 0x10016d01
mov al, byte [0x1008d046]
test al, al
je 0x10016f29
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10091480]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10091558]
cmp eax, dword [ecx + 4]
jle 0x10016d6a
push 0x10091558
call fcn.1006d9de
add esp, 4
cmp dword [0x10091558], 0xffffffff
jne 0x10016d6a
push str.deadflag
push str.CBasePlayer
mov dword [ebp - 4], 0
call fcn.1006ca60
push 0x10091558
mov dword [0x10091540], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1006d994
add esp, 4
mov edi, dword [ebp + 8]
mov eax, dword [0x10091540]
cmp byte [eax + edi], 0
jne 0x10016f29
push 7
mov ecx, edi
call fcn.10006130
test al, al
jne 0x10016f29
push 0x4d
mov ecx, edi
call fcn.10006130
test al, al
jne 0x10016f29
push 0x52
mov ecx, edi
call fcn.10006130
test al, al
jne 0x10016f29
mov eax, dword [edi + 0x1a4]
cmp eax, 8
je 0x10016f29
cmp eax, 9
je 0x10016f29
cmp eax, 0xa
je 0x10016f29
push 0x11
mov ecx, edi
call fcn.10006130
test al, al
jne 0x10016f29
test byte [esi + 0x24], 1
jne 0x10016f29
movss xmm0, dword [esi + 0xc]
cmp dword [0x10092e50], 0
movss dword [ebp - 0x20], xmm0
movss xmm0, dword [esi + 0x10]
setne byte [ebp + 0x13]
movss dword [ebp - 0x1c], xmm0
movss xmm0, dword [esi + 0x14]
movss dword [ebp - 0x18], xmm0
cmp byte [0x10092dfa], al
je 0x10016ead
push dword [0x10092e48]
call ebx
test al, 1
je 0x10016e3a
cmp byte [0x1008d044], 0
sete byte [0x1008d044]
cmp byte [0x1008d037], 0
sete byte [0x1008d037]
cmp dword [0x10092e50], 0
je 0x10016e64
lea eax, [ebp - 0x14]
push eax
call fcn.100163b0
movss xmm0, dword [ebp - 0x14]
movss dword [esi + 0xc], xmm0
cmp dword [0x10092e30], 1
je 0x10016e76
cmp dword [0x10092e10], 1
jne 0x10016e80
movss xmm1, dword [esi + 0x10]
call fcn.100162c0
call fcn.10016550
ucomiss xmm0, dword [0x10083e2c]
lahf
test ah, 0x44
jnp 0x10016e96
mov bl, 1
jmp 0x10016e98
xor bl, bl
cmp byte [0x1008d036], 0
sete byte [0x1008d036]
call fcn.10016550
jmp 0x10016ef7
push dword [0x10092e08]
call ebx
test al, 1
je 0x10016ec7
cmp byte [0x1008d044], 0
sete byte [0x1008d044]
cmp dword [0x10092e04], 1
jne 0x10016eda
movss xmm1, dword [esi + 0x10]
call fcn.100162c0
call fcn.10016b90
ucomiss xmm0, dword [0x10083e2c]
lahf
test ah, 0x44
jnp 0x10016ef0
mov bl, 1
jmp 0x10016ef2
xor bl, bl
call fcn.10016b90
addss xmm0, dword [esi + 0x10]
movss dword [esi + 0x10], xmm0
mov byte [0x1009315c], 1
test bl, bl
jne 0x10016f17
mov byte [0x100930c3], bl
cmp byte [ebp + 0x13], bl
je 0x10016f1e
mov byte [0x100930c3], 1
push ecx
lea eax, [ebp - 0x20]
push eax
push esi
call fcn.100158b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10