Function at 0x4887a0
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x120
mov eax, dword [0x4cf0e8]
xor eax, dword [esp + 0x120]
push ebx
push ebp
mov dword [esp + 0x124], eax
mov eax, 0xff
push esi
push edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov eax, dword [0x4e6428]
push eax
lea ecx, [esp + 0x30]
push str.Polygons___d
push ecx
call fcn.0049abb1
mov esi, dword [esp + 0x140]
lea edx, [esp + 0x1c]
push edx
push 0x3ccccccd
push 0x3dcccccd
push 0x3f19999a
lea eax, [esp + 0x48]
push eax
push esi
call fcn.00484800
mov ecx, dword [0x4e64b0]
push ecx
lea edx, [esp + 0x54]
push str.Rejected_Polygons___d
push edx
call fcn.0049abb1
lea eax, [esp + 0x40]
push eax
push 0x3ccccccd
push 0x3e051eb8
push 0x3f19999a
lea ecx, [esp + 0x6c]
push ecx
xor ebp, ebp
push esi
mov dword [0x4e64b0], ebp
call fcn.00484800
mov edx, dword [0x4e6438]
add esp, 0x48
push edx
lea eax, [esp + 0x30]
push str.Blocks___d
push eax
call fcn.0049abb1
lea ecx, [esp + 0x1c]
push ecx
push 0x3ccccccd
push 0x3e23d70a
push 0x3f19999a
lea edx, [esp + 0x48]
push edx
push esi
mov dword [0x4e6438], ebp
call fcn.00484800
mov eax, dword [0x4e642c]
push eax
lea ecx, [esp + 0x54]
push str.Objects___d
push ecx
call fcn.0049abb1
lea edx, [esp + 0x40]
push edx
push 0x3ccccccd
push 0x3e428f5c
push 0x3f19999a
lea eax, [esp + 0x6c]
push eax
push esi
mov dword [0x4e642c], ebp
call fcn.00484800
fld dword [0x4e64c0]
add esp, 0x48
sub esp, 8
fstp qword [esp]
lea ecx, [esp + 0x34]
push str.FPS___f
push ecx
call fcn.0049abb1
lea edx, [esp + 0x20]
push edx
push 0x3d23d70a
push 0x3f666666
push 0x3f19999a
lea eax, [esp + 0x4c]
push eax
push esi
call fcn.00484800
mov ecx, dword [0x14c74f4]
push ecx
lea edx, [esp + 0x58]
push str.Pkts_Out___d
push edx
call fcn.0049abb1
lea eax, [esp + 0x44]
push eax
push 0x3ccccccd
push 0x3e6147ae
push 0x3f19999a
lea ecx, [esp + 0x70]
push ecx
push esi
call fcn.00484800
mov edx, dword [0x14c74f8]
add esp, 0x4c
push edx
lea eax, [esp + 0x30]
push str.Pkts_In___d
push eax
call fcn.0049abb1
lea ecx, [esp + 0x1c]
push ecx
push 0x3ccccccd
push 0x3e800000
push 0x3f19999a
lea edx, [esp + 0x48]
push edx
push esi
call fcn.00484800
mov eax, dword [0x14c74fc]
push eax
lea ecx, [esp + 0x54]
push str.Pkts_Lost___d
push ecx
call fcn.0049abb1
lea edx, [esp + 0x40]
push edx
push 0x3ccccccd
push 0x3e8f5c29
push 0x3f19999a
lea eax, [esp + 0x6c]
push eax
push esi
call fcn.00484800
mov ecx, dword [0x14c7500]
add esp, 0x48
push ecx
lea edx, [esp + 0x30]
push str.Max_Out___d
push edx
call fcn.0049abb1
lea eax, [esp + 0x1c]
push eax
push 0x3ccccccd
push 0x3e9eb852
push 0x3f19999a
lea ecx, [esp + 0x48]
push ecx
push esi
call fcn.00484800
mov edx, dword [0x14c7504]
push edx
push str.Max_In___d
lea eax, [esp + 0x58]
push eax
call fcn.0049abb1
lea ecx, [esp + 0x40]
push ecx
push 0x3ccccccd
push 0x3eae147b
push 0x3f19999a
lea edx, [esp + 0x6c]
push edx
push esi
call fcn.00484800
mov eax, dword [0x14c7508]
add esp, 0x48
push eax
lea ecx, [esp + 0x30]
push str.Max_Lost___d
push ecx
call fcn.0049abb1
lea edx, [esp + 0x1c]
push edx
push 0x3ccccccd
push 0x3ebd70a4
push 0x3f19999a
lea eax, [esp + 0x48]
push eax
push esi
call fcn.00484800
mov eax, dword [0x14c74f4]
mov ecx, dword [0x14c7500]
add esp, 0x24
cmp eax, ecx
jle 0x488a5b
mov dword [0x14c7500], eax
mov eax, dword [0x14c74f8]
cmp eax, dword [0x14c7504]
mov dword [0x14c74f4], ebp
jle 0x488a73
mov dword [0x14c7504], eax
mov eax, dword [0x14c74fc]
cmp eax, dword [0x14c7508]
mov dword [0x14c74f8], ebp
jle 0x488a8b
mov dword [0x14c7508], eax
mov ecx, dword [0x14c7510]
push ecx
lea edx, [esp + 0x30]
push str.BPF___d
push edx
mov dword [0x14c74fc], ebp
call fcn.0049abb1
lea eax, [esp + 0x1c]
push eax
push 0x3ccccccd
push 0x3f23d70a
push 0x3f19999a
lea ecx, [esp + 0x48]
push ecx
push esi
call fcn.00484800
mov edx, dword [0x14c7518]
push edx
lea eax, [esp + 0x54]
push str.Max_BPF___d
push eax
call fcn.0049abb1
lea ecx, [esp + 0x40]
push ecx
push 0x3ccccccd
push 0x3f2b851f
push 0x3f19999a
lea edx, [esp + 0x6c]
push edx
push esi
call fcn.00484800
mov eax, dword [0x4dde94]
add esp, 0x48
push eax
lea ecx, [esp + 0x30]
push str.BPS___d
push ecx
call fcn.0049abb1
lea edx, [esp + 0x1c]
push edx
push 0x3ccccccd
push 0x3f333333
push 0x3f19999a
lea eax, [esp + 0x48]
push eax
push esi
call fcn.00484800
mov ecx, dword [0x14c7514]
push ecx
lea edx, [esp + 0x54]
push str.Max_BPS___d
push edx
call fcn.0049abb1
lea eax, [esp + 0x40]
push eax
push 0x3ccccccd
push 0x3f3ae148
push 0x3f19999a
lea ecx, [esp + 0x6c]
push ecx
push esi
call fcn.00484800
mov edx, dword [0x14c751c]
add esp, 0x48
push edx
lea eax, [esp + 0x30]
push str.Waiting___d
push eax
call fcn.0049abb1
lea ecx, [esp + 0x1c]
push ecx
push 0x3ccccccd
push 0x3f428f5c
push 0x3f19999a
lea edx, [esp + 0x48]
push edx
push esi
call fcn.00484800
mov eax, dword [0x14c75c0]
push eax
push str.GFX_Used___d
lea ecx, [esp + 0x58]
push ecx
call fcn.0049abb1
lea edx, [esp + 0x40]
push edx
push 0x3ccccccd
push 0x3ecccccd
push 0x3f19999a
lea eax, [esp + 0x6c]
push eax
push esi
call fcn.00484800
mov ecx, dword [0x14c75c4]
add esp, 0x48
push ecx
lea edx, [esp + 0x30]
push str.GFX_Free___d
push edx
call fcn.0049abb1
lea eax, [esp + 0x1c]
push eax
push 0x3ccccccd
push 0x3edc28f6
push 0x3f19999a
lea ecx, [esp + 0x48]
push ecx
push esi
call fcn.00484800
mov edx, dword [0x14c75c8]
push edx
lea eax, [esp + 0x54]
push str.STD_Used___d
push eax
call fcn.0049abb1
lea ecx, [esp + 0x40]
push ecx
push 0x3ccccccd
push 0x3eeb851f
push 0x3f19999a
lea edx, [esp + 0x6c]
push edx
push esi
call fcn.00484800
mov eax, dword [0x14c75cc]
add esp, 0x48
push eax
lea ecx, [esp + 0x30]
push str.STD_Free___d
push ecx
call fcn.0049abb1
lea edx, [esp + 0x1c]
push edx
push 0x3ccccccd
push 0x3efae148
push 0x3f19999a
lea eax, [esp + 0x48]
push eax
push esi
call fcn.00484800
call fcn.0048fb00
call fcn.0048fb10
mov ecx, dword [eax]
push 0x100
push ecx
lea edx, [esp + 0x58]
push str.SfxEvents:__d___d_
push edx
call fcn.0049abb1
lea eax, [esp + 0x44]
push eax
push 0x3ccccccd
push 0x3f051eb8
push 0x3f19999a
lea ecx, [esp + 0x70]
push ecx
push esi
call fcn.00484800
add esp, 0x4c
push 0x20
call fcn.0048fb10
mov edx, dword [eax + 4]
push edx
lea eax, [esp + 0x34]
push str.2D_Buffers:__d___d_
push eax
call fcn.0049abb1
lea ecx, [esp + 0x20]
push ecx
push 0x3ccccccd
push 0x3f0ccccd
push 0x3f19999a
lea edx, [esp + 0x4c]
push edx
push esi
call fcn.00484800
add esp, 0x28
push 0x40
call fcn.0048fb10
mov eax, dword [eax + 8]
push eax
lea ecx, [esp + 0x34]
push str.3D_Buffers:__d___d_
push ecx
call fcn.0049abb1
lea edx, [esp + 0x20]
push edx
push 0x3ccccccd
push 0x3f147ae1
push 0x3f19999a
lea eax, [esp + 0x4c]
push eax
push esi
call fcn.00484800
call fcn.0048fb10
mov ecx, dword [eax + 0xc]
push ecx
lea edx, [esp + 0x58]
push str.Looping_sfx_playing:__d
push edx
call fcn.0049abb1
lea eax, [esp + 0x44]
push eax
push 0x3ccccccd
push 0x3f1c28f6
push 0x3f19999a
lea ecx, [esp + 0x70]
push ecx
push esi
call fcn.00484800
add esp, 0x4c
call fcn.0047fc60
test al, al
je 0x489016
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x71
call edi
test ah, ah
jns 0x488d8e
mov dword [0x4d1e60], 1
push 0x72
call edi
test ah, ah
jns 0x488da0
mov dword [0x4d1e60], 2
push 0x73
call edi
test ah, ah
jns 0x488db2
mov dword [0x4d1e60], 3
mov edx, dword [0x4d1e60]
push edx
call fcn.0047b1e0
mov edi, eax
mov eax, dword [0x4d1e60]
inc eax
push eax
lea ecx, [esp + 0x34]
push str.player__d_net_stats
push ecx
call fcn.0049abb1
lea edx, [esp + 0x20]
push edx
push 0x3ccccccd
push 0x3e4ccccd
push 0x3dcccccd
lea eax, [esp + 0x4c]
push eax
push esi
call fcn.00484800
mov ecx, dword [edi + 4]
push ecx
lea edx, [esp + 0x58]
push str.Ping:__d
push edx
call fcn.0049abb1
lea eax, [esp + 0x44]
push eax
push 0x3ccccccd
push 0x3e6b851f
push 0x3dcccccd
lea ecx, [esp + 0x70]
push ecx
push esi
call fcn.00484800
mov edx, dword [edi + 0xc]
mov eax, dword [edi + 8]
add esp, 0x4c
push edx
push eax
lea ecx, [esp + 0x34]
push str.Load:__d___d_
push ecx
call fcn.0049abb1
lea edx, [esp + 0x20]
push edx
push 0x3ccccccd
push 0x3e851eb8
push 0x3dcccccd
lea eax, [esp + 0x4c]
push eax
push esi
call fcn.00484800
mov ecx, dword [0x4d1e60]
push ecx
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x54]
push eax
call fcn.0047b240
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
push ecx
push edx
lea eax, [esp + 0x68]
push str.Queue:__d___d_
push eax
call fcn.0049abb1
add esp, 0x44
lea ecx, [esp + 0x10]
push ecx
push 0x3ccccccd
push 0x3e99999a
push 0x3dcccccd
lea edx, [esp + 0x3c]
push edx
push esi
call fcn.00484800
mov eax, dword [0x14c7520]
push eax
push str.Near:__d
lea ecx, [esp + 0x4c]
push ecx
call fcn.0049abb1
lea edx, [esp + 0x34]
push edx
push 0x3ccccccd
push 0x3eae147b
push 0x3dcccccd
lea eax, [esp + 0x60]
push eax
push esi
call fcn.00484800
mov ecx, dword [0x14c7524]
push ecx
lea edx, [esp + 0x6c]
push str.Mid:__d
push edx
call fcn.0049abb1
add esp, 0x48
lea eax, [esp + 0x10]
push eax
push 0x3ccccccd
push 0x3ebd70a4
push 0x3dcccccd
lea ecx, [esp + 0x3c]
push ecx
push esi
call fcn.00484800
mov edx, dword [0x14c7528]
push edx
lea eax, [esp + 0x48]
push str.Far:__d
push eax
call fcn.0049abb1
lea ecx, [esp + 0x34]
push ecx
push 0x3ccccccd
push 0x3ecccccd
push 0x3dcccccd
lea edx, [esp + 0x60]
push edx
push esi
call fcn.00484800
mov eax, dword [0x14c7530]
mov ecx, dword [0x14c752c]
push eax
push ecx
lea edx, [esp + 0x70]
push str.Oldest:__d___d_
push edx
call fcn.0049abb1
add esp, 0x4c
lea eax, [esp + 0x10]
push eax
push 0x3ccccccd
push 0x3ee147ae
push 0x3dcccccd
lea ecx, [esp + 0x3c]
push ecx
push esi
call fcn.00484800
mov edx, dword [0x4d1e60]
push edx
lea eax, [esp + 0xc8]
push eax
call fcn.00481060
mov ebx, eax
add esp, 0x20
xor edi, edi
cmp ebx, ebp
mov dword [esp + 0x20], 0x3f000000
jle 0x489016
jmp 0x488fc0
mov ax, word [esp + edi*2 + 0xac]
cmp ax, bp
je 0x489011
movzx ecx, ax
push ecx
push edi
lea edx, [esp + 0x34]
push str._02d:__d
push edx
call fcn.0049abb1
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x20]
push eax
push 0x3ccccccd
push ecx
push 0x3dcccccd
lea edx, [esp + 0x4c]
push edx
push esi
call fcn.00484800
fld dword [esp + 0x48]
add esp, 0x28
fadd dword [0x4c4b44]
fstp dword [esp + 0x20]
inc edi
cmp edi, ebx
jl 0x488fc0
call fcn.0047ec10
test al, al
je 0x489186
push ebp
call fcn.0047b1e0
mov edi, eax
lea eax, [esp + 0x30]
push str.Local_player_net_stats
push eax
call fcn.0049abb1
lea ecx, [esp + 0x1c]
push ecx
push 0x3ccccccd
push 0x3e4ccccd
push 0x3dcccccd
lea edx, [esp + 0x48]
push edx
push esi
call fcn.00484800
mov eax, dword [edi + 4]
push eax
lea ecx, [esp + 0x54]
push str.Ping:__d
push ecx
call fcn.0049abb1
lea edx, [esp + 0x40]
push edx
push 0x3ccccccd
push 0x3e6b851f
push 0x3dcccccd
lea eax, [esp + 0x6c]
push eax
push esi
call fcn.00484800
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 8]
add esp, 0x48
push ecx
push edx
lea eax, [esp + 0x34]
push str.Load:__d___d_
push eax
call fcn.0049abb1
lea ecx, [esp + 0x20]
push ecx
push 0x3ccccccd
push 0x3e851eb8
push 0x3dcccccd
lea edx, [esp + 0x4c]
push edx
push esi
call fcn.00484800
push ebp
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x58]
push ecx
call fcn.0047b240
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
push edx
push eax
lea ecx, [esp + 0x68]
push str.Queue:__d___d_
push ecx
call fcn.0049abb1
add esp, 0x44
lea edx, [esp + 0x10]
push edx
push 0x3ccccccd
push 0x3e947ae1
push 0x3dcccccd
lea eax, [esp + 0x3c]
push eax
push esi
call fcn.00484800
lea ecx, [esp + 0xc4]
push ecx
call fcn.0047f820
mov ebx, eax
add esp, 0x1c
xor edi, edi
mov dword [esp + 0x20], 0x3f000000
cmp ebx, ebp
jle 0x489186
nop
mov ax, word [esp + edi*2 + 0xac]
cmp ax, bp
je 0x489181
movzx edx, ax
push edx
push edi
lea eax, [esp + 0x34]
push str._02d:__d
push eax
call fcn.0049abb1
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x20]
push ecx
push 0x3ccccccd
push edx
push 0x3dcccccd
lea eax, [esp + 0x4c]
push eax
push esi
call fcn.00484800
fld dword [esp + 0x48]
add esp, 0x28
fadd dword [0x4c4b44]
fstp dword [esp + 0x20]
inc edi
cmp edi, ebx
jl 0x489130
mov ecx, dword [esp + 0x12c]
xor ecx, dword [esp + 0x130]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x120
jmp fcn.0049bf7c