Function at 0x453369
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, ecx
mov eax, dword [esi]
call dword [eax + 0x38]
test al, al
jne 0x45338d
push dword [ebp + 0xc]
mov eax, dword [esi]
mov ecx, esi
push dword [ebp + 8]
call dword [eax + 0xc]
jmp 0x4535d2
push edi
mov edi, dword [ebp + 8]
test edi, edi
jns 0x4533a3
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x40]
mov al, 1
jmp 0x4535d1
cmp dword [esi + 0xc], 0xffffffff
jne 0x4533b6
cmp dword [esi + 8], 0xffffffff
mov eax, edi
cmovne eax, dword [esi + 8]
mov dword [esi + 0xc], eax
lea ecx, [esi - 0x170]
mov eax, dword [ecx]
push ebx
push edi
call dword [eax]
mov ebx, eax
mov dword [ebp - 0xc], ebx
test ebx, ebx
je 0x4535ce
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x10c]
test al, al
je 0x4535ce
mov eax, dword [ebx]
mov ecx, ebx
push str.ListItem
call dword [eax + 0x10]
mov dword [ebp - 4], eax
test eax, eax
je 0x4535ce
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x4534b7
lea ecx, [esi + 0x10]
push edi
call sym._1.0.0.4_10001.exe_public:_int___thiscall_DuiLib::CStdPtrArray::Find_void__const
mov dword [ebp + 8], eax
cmp dword [ebp + 8], 0xffffffff
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
mov ecx, eax
je 0x45346e
xor ebx, ebx
push ebx
call edx
test al, al
je 0x4535ce
cmp dword [esi + 8], edi
jne 0x453440
or dword [esi + 8], 0xffffffff
push dword [ebp + 8]
lea ecx, [esi + 0x10]
call sym._1.0.0.4_10001.exe_public:_bool___thiscall_DuiLib::CStdPtrArray::Remove_int_
mov ecx, dword [esi - 0x67c]
test ecx, ecx
je 0x4535ca
push ebx
push ebx
push 0xffffffffffffffff
push str.itemselect
lea eax, [esi - 0x6c0]
push eax
jmp 0x4535c5
push 1
call edx
test al, al
je 0x4535ce
push edi
lea ecx, [esi + 0x10]
mov dword [esi + 8], edi
call sym._1.0.0.4_10001.exe_public:_bool___thiscall_DuiLib::CStdPtrArray::Add_void__
lea ecx, [esi - 0x6c0]
push edi
call sym._1.0.0.4_10001.exe_public:_void___thiscall_DuiLib::CListUI::EnsureVisible_int_
cmp byte [ebp + 0xc], 0
je 0x4534a2
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x128]
mov ecx, dword [esi - 0x67c]
test ecx, ecx
je 0x4535ca
xor ebx, ebx
push ebx
push ebx
push edi
jmp 0x45345d
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x453574
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x40]
mov eax, dword [esi + 0xc]
mov edx, edi
cmp eax, edi
mov ecx, edi
cmovg edx, eax
cmovle ecx, eax
mov dword [ebp - 8], edx
cmp ecx, edx
jg 0x453541
mov edi, ecx
lea ebx, [esi - 0x170]
mov eax, dword [ebx]
mov ecx, ebx
push edi
call dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x453535
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x10c]
test al, al
je 0x453535
mov ecx, dword [ebp - 4]
push str.ListItem
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
je 0x453535
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx + 0x18]
test al, al
je 0x453535
push edi
lea ecx, [esi + 0x10]
call sym._1.0.0.4_10001.exe_public:_bool___thiscall_DuiLib::CStdPtrArray::Add_void__
inc edi
cmp edi, dword [ebp - 8]
jle 0x4534f2
mov edi, dword [ebp + 8]
mov ebx, dword [ebp - 0xc]
lea ecx, [esi - 0x6c0]
mov dword [esi + 8], edi
push edi
call sym._1.0.0.4_10001.exe_public:_void___thiscall_DuiLib::CListUI::EnsureVisible_int_
cmp byte [ebp + 0xc], 0
je 0x453560
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x128]
mov ecx, dword [esi - 0x67c]
test ecx, ecx
je 0x4535ca
push 0
push dword [esi + 0xc]
jmp 0x4534b4
mov ecx, dword [ebp - 4]
push 1
mov eax, dword [ecx]
call dword [eax + 0x18]
test al, al
je 0x4535ce
push edi
lea ecx, [esi + 0x10]
mov dword [esi + 8], edi
call sym._1.0.0.4_10001.exe_public:_bool___thiscall_DuiLib::CStdPtrArray::Add_void__
lea ecx, [esi - 0x6c0]
push edi
call sym._1.0.0.4_10001.exe_public:_void___thiscall_DuiLib::CListUI::EnsureVisible_int_
cmp byte [ebp + 0xc], 0
je 0x4535aa
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x128]
mov ecx, dword [esi - 0x67c]
test ecx, ecx
je 0x4535ca
xor ebx, ebx
lea edx, [esi - 0x6c0]
push ebx
push ebx
push edi
push str.itemselect
push edx
call sym._1.0.0.4_10001.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
mov al, 1
jmp 0x4535d0
xor al, al
pop ebx
pop edi
pop esi
leave
ret 8