Function at 0x4ce12a
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x529a66
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
mov dword [ebp - 0x60], ecx
cmp dword [ebp + 8], 0
jge 0x4ce153
jmp 0x4ce2e5
call dword [sym.imp.DataMgr.dll_class_CDataMgr____cdecl_gf_GetDataMgr_void_]
mov dword [ebp - 0x14], eax
call dword [sym.imp.DataMgr.dll_class_CDataMgr____cdecl_gf_GetDataMgr_void_]
mov ecx, eax
call dword [sym.imp.DataMgr.dll_public:_int___thiscall_CDataMgr::GetPickCount_void_const]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jg 0x4ce184
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x60]
call fcn.004ce8d5
jmp 0x4ce2e5
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov word [ebp - 0x24], ax
movsx ecx, word [ebp - 0x24]
and ecx, 0x8000
neg ecx
sbb ecx, ecx
neg ecx
mov dword [ebp - 0x1c], ecx
lea edx, [ebp - 0x44]
push edx
mov ecx, dword [ebp - 0x14]
call dword [sym.imp.DataMgr.dll_public:_class_Box2d___thiscall_CDataMgr::GetPickArrayBox_void_]
mov ecx, dword [ebp - 0x14]
call dword [sym.imp.DataMgr.dll_public:_int___thiscall_CDataMgr::GetPickCount_void_const]
shl eax, 2
push eax
call sub.MFC42u.DLL_operatornew
add esp, 4
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x14]
call dword [sym.imp.DataMgr.dll_public:_int___thiscall_CDataMgr::GetPickCount_void_const]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0x14]
call dword [sym.imp.DataMgr.dll_public:_int___thiscall_CDataMgr::CopyPickList_struct_tagPickItem___int_]
mov dword [ebp - 0x10], eax
push ecx
mov ecx, esp
mov dword [ebp - 0x4c], esp
push 0x572bd0
call sub.MFC42u.DLL_CString::CString_1
mov dword [ebp - 0x64], eax
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x68], edx
mov dword [ebp - 4], 0
push ecx
mov ecx, esp
mov dword [ebp - 0x50], esp
push 0x572be0
call sub.MFC42u.DLL_CString::CString_1
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.DataMgr.dll_class_CString___cdecl_gf_Str_class_CString__class_CString_]
add esp, 0xc
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x74], ecx
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x74]
call fcn.0040e3d0
push eax
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x14]
call dword [eax + 0x64]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.0051c506
mov ecx, dword [ebp - 0x14]
call dword [sym.imp.DataMgr.dll_public:_void___thiscall_CDataMgr::BeginPick_void_]
mov dword [ebp - 0x18], 0
jmp 0x4ce27d
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
cmp edx, dword [ebp - 0x10]
jge 0x4ce2ad
xor eax, eax
cmp dword [ebp - 0x1c], 0
sete al
mov dword [ebp - 0x58], eax
lea ecx, [ebp - 0x58]
push ecx
lea edx, [ebp + 8]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + eax*4]
push edx
call fcn.004ce06f
add esp, 0xc
jmp 0x4ce274
mov ecx, dword [ebp - 0x14]
call dword [sym.imp.DataMgr.dll_public:_void___thiscall_CDataMgr::EndPick_void_]
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x14]
call dword [edx + 0x68]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
push ecx
call sub.MFC42u.DLL_operatordelete
add esp, 4
lea edx, [ebp - 0x44]
push edx
call dword [sym.imp.DataMgr.dll_class_CDrawDC____cdecl_gf_GetDrawDC_void_]
mov ecx, eax
call dword [sym.imp.DataMgr.dll_public:_void___thiscall_CDrawDC::InvalidateRect_class_Box2d_const__]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4