Function at 0x4740a1
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 + 0x40]
test al, al
jne 0x4740c5
push dword [ebp + 0xc]
mov eax, dword [esi]
mov ecx, esi
push dword [ebp + 8]
call dword [eax + 0xc]
jmp 0x474300
push edi
mov edi, dword [ebp + 8]
test edi, edi
jns 0x4740db
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x20]
mov al, 1
jmp 0x4742ff
cmp dword [esi + 0xc], 0xffffffff
jne 0x4740ee
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 0x4742fc
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x114]
test al, al
je 0x4742fc
mov eax, dword [ebx]
mov ecx, ebx
push str.ListItem
call dword [eax + 0x10]
mov dword [ebp - 4], eax
test eax, eax
je 0x4742fc
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x4741e5
lea ecx, [esi + 0x10]
push edi
call fcn.00461afc
mov edx, eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], edx
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x18]
mov dword [ebp + 8], ecx
mov ecx, eax
cmp edx, 0xffffffff
je 0x47418c
push 0
call dword [ebp + 8]
test al, al
je 0x4742fc
cmp dword [esi + 8], edi
jne 0x47417c
or dword [esi + 8], 0xffffffff
push dword [ebp - 8]
lea ecx, [esi + 0x10]
call fcn.00461ef8
jmp 0x4742f8
push 1
call dword [ebp + 8]
test al, al
je 0x4742fc
push edi
lea ecx, [esi + 0x10]
mov dword [esi + 8], edi
call fcn.004618ba
lea ecx, [esi - 0x6c0]
push edi
call fcn.00472cd2
cmp byte [ebp + 0xc], 0
je 0x4741c1
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x130]
mov ecx, dword [esi - 0x67c]
test ecx, ecx
je 0x4742f8
push 0
push 0
push edi
push str.itemselect
lea eax, [esi - 0x6c0]
push eax
jmp 0x4742f3
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x4742a2
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x20]
mov eax, dword [esi + 0xc]
mov edx, edi
cmp eax, edi
mov ecx, edi
cmovg edx, eax
cmovle ecx, eax
mov dword [ebp - 4], edx
cmp ecx, edx
jg 0x47426f
mov edi, ecx
lea ebx, [esi - 0x170]
mov eax, dword [ebx]
mov ecx, ebx
push edi
call dword [eax]
mov dword [ebp - 8], eax
test eax, eax
je 0x474263
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x114]
test al, al
je 0x474263
mov ecx, dword [ebp - 8]
push str.ListItem
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
je 0x474263
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx + 0x18]
test al, al
je 0x474263
push edi
lea ecx, [esi + 0x10]
call fcn.004618ba
inc edi
cmp edi, dword [ebp - 4]
jle 0x474220
mov edi, dword [ebp + 8]
mov ebx, dword [ebp - 0xc]
lea ecx, [esi - 0x6c0]
mov dword [esi + 8], edi
push edi
call fcn.00472cd2
cmp byte [ebp + 0xc], 0
je 0x47428e
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x130]
mov ecx, dword [esi - 0x67c]
test ecx, ecx
je 0x4742f8
push 0
push dword [esi + 0xc]
jmp 0x4741d3
mov ecx, dword [ebp - 4]
push 1
mov eax, dword [ecx]
call dword [eax + 0x18]
test al, al
je 0x4742fc
push edi
lea ecx, [esi + 0x10]
mov dword [esi + 8], edi
call fcn.004618ba
lea ecx, [esi - 0x6c0]
push edi
call fcn.00472cd2
cmp byte [ebp + 0xc], 0
je 0x4742d8
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x130]
mov ecx, dword [esi - 0x67c]
test ecx, ecx
je 0x4742f8
push 0
push 0
push edi
push str.itemselect
lea edx, [esi - 0x6c0]
push edx
call fcn.00469096
mov al, 1
jmp 0x4742fe
xor al, al
pop ebx
pop edi
pop esi
leave
ret 8