Function at 0x4778fc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, ecx
mov eax, dword [esi]
call dword [eax + 0x38]
test al, al
jne 0x47791f
push dword [ebp + 0xc]
mov eax, dword [esi]
push dword [ebp + 8]
mov ecx, esi
call dword [eax + 0xc]
jmp 0x477b17
push edi
mov edi, dword [ebp + 8]
test edi, edi
jns 0x477935
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x40]
mov al, 1
jmp 0x477b16
cmp dword [esi + 0xc], 0xffffffff
jne 0x47794b
mov eax, dword [esi + 8]
cmp eax, 0xffffffff
je 0x477948
mov dword [esi + 0xc], eax
jmp 0x47794b
mov dword [esi + 0xc], edi
push ebx
lea ecx, [esi - 0x170]
mov eax, dword [ecx]
push edi
call dword [eax]
mov ebx, eax
mov dword [ebp - 8], ebx
test ebx, ebx
je 0x477ac8
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x10c]
test al, al
je 0x477ac8
mov eax, dword [ebx]
push str.ListItem
mov ecx, ebx
call dword [eax + 0x10]
mov dword [ebp + 8], eax
test eax, eax
je 0x477ac8
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call ebx
mov ecx, 0x8000
test cx, ax
je 0x477a01
push edi
lea ecx, [esi + 0x10]
call fcn.0043118b
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
mov eax, dword [ecx]
je 0x477abf
push 0
call dword [eax + 0x18]
test al, al
je 0x477ac8
cmp dword [esi + 8], edi
jne 0x4779d1
or dword [esi + 8], 0xffffffff
push dword [ebp - 4]
lea ecx, [esi + 0x10]
call fcn.00431150
mov ecx, dword [esi - 0x67c]
test ecx, ecx
je 0x477b13
push 0
push 0
push 0xffffffffffffffff
push str.itemselect
add esi, 0xfffff940
push esi
jmp 0x477b0e
push 0x10
call ebx
mov ecx, 0x8000
test cx, ax
je 0x477aba
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x40]
mov eax, dword [esi + 0xc]
mov ecx, eax
mov dword [ebp - 4], edi
cmp ecx, edi
jle 0x477a2b
mov ecx, edi
mov dword [ebp - 4], eax
mov dword [ebp + 8], ecx
cmp ecx, dword [ebp - 4]
jg 0x477a87
push dword [ebp + 8]
lea ecx, [esi - 0x170]
mov eax, dword [ecx]
call dword [eax]
mov ebx, eax
test ebx, ebx
je 0x477a7c
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x10c]
test al, al
je 0x477a7c
mov eax, dword [ebx]
push str.ListItem
mov ecx, ebx
call dword [eax + 0x10]
test eax, eax
je 0x477a7c
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx + 0x18]
test al, al
je 0x477a7c
push dword [ebp + 8]
lea ecx, [esi + 0x10]
call fcn.00431054
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 4]
jle 0x477a33
lea ebx, [esi - 0x6c0]
push edi
mov ecx, ebx
mov dword [esi + 8], edi
call fcn.00476779
cmp byte [ebp + 0xc], 0
je 0x477aa9
mov ecx, dword [ebp - 8]
mov eax, dword [ecx]
call dword [eax + 0x128]
mov ecx, dword [esi - 0x67c]
test ecx, ecx
je 0x477b13
push 0
push dword [esi + 0xc]
jmp 0x477b07
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
push 1
call dword [eax + 0x18]
test al, al
jne 0x477acc
xor al, al
jmp 0x477b15
push edi
lea ecx, [esi + 0x10]
mov dword [esi + 8], edi
call fcn.00431054
lea ebx, [esi - 0x6c0]
push edi
mov ecx, ebx
call fcn.00476779
cmp byte [ebp + 0xc], 0
je 0x477af7
mov ecx, dword [ebp - 8]
mov eax, dword [ecx]
call dword [eax + 0x128]
mov esi, dword [esi - 0x67c]
test esi, esi
je 0x477b13
push 0
push 0
mov ecx, esi
push edi
push str.itemselect
push ebx
call fcn.0043829c
mov al, 1
pop ebx
pop edi
pop esi
leave
ret 8