Function at 0x47b130
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
mov eax, dword [eax + 0x114]
call eax
mov edi, dword [ebp + 8]
test al, al
jne 0x47b175
mov eax, dword [edi]
sub eax, 9
cmp eax, 0xc
ja 0x47b175
mov ecx, dword [esi + 0x6d0]
push edi
test ecx, ecx
je 0x47b168
mov eax, dword [ecx]
call dword [eax + 0x18]
pop edi
pop esi
pop ebp
ret 4
mov ecx, esi
call fcn.00462860
pop edi
pop esi
pop ebp
ret 4
mov eax, dword [edi]
cmp eax, 0x13
jne 0x47b1a4
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x10c]
call eax
test al, al
je 0x47b413
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov ecx, esi
call fcn.00477040
pop edi
pop esi
pop ebp
ret 4
cmp eax, 3
jne 0x47b1c0
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x10c]
call eax
test al, al
je 0x47b1c0
cmp word [edi + 0x14], 0xd
je 0x47b190
cmp dword [edi], 0xd
push ebx
jne 0x47b23a
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x10c]
call eax
test al, al
je 0x47b412
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x48]
call eax
test al, al
je 0x47b1fb
mov ecx, dword [esi + 0x44]
push 0
push 0
push 0
push str.buttondown
push esi
call fcn.0043d9c0
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call ebx
mov edi, 0x8000
test di, ax
jne 0x47b2a6
push 0x10
call ebx
test di, ax
jne 0x47b2a6
mov eax, dword [esi + 0x6c0]
lea ecx, [esi + 0x6c0]
pop ebx
pop edi
pop esi
mov dword [ebp + 8], 1
pop ebp
jmp dword [eax + 0x14]
mov ecx, dword [esi + 0x6d0]
test ecx, ecx
je 0x47b2c8
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [eax + 0x458], 0
je 0x47b2c8
cmp dword [edi], 0xf
jne 0x47b2c8
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x10c]
call eax
test al, al
je 0x47b412
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call ebx
mov edi, 0x8000
test di, ax
jne 0x47b2a6
push 0x10
call ebx
test di, ax
jne 0x47b2a6
mov eax, dword [esi + 0x6c0]
lea ecx, [esi + 0x6c0]
pop ebx
pop edi
pop esi
mov dword [ebp + 8], 1
pop ebp
jmp dword [eax + 0x14]
mov ecx, dword [esi + 0x6d0]
test ecx, ecx
je 0x47b412
mov eax, dword [ecx]
push 0
push dword [esi + 0x6c4]
call dword [eax + 0x10]
pop ebx
pop edi
pop esi
pop ebp
ret 4
mov eax, dword [edi]
cmp eax, 0xe
jne 0x47b2fe
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x10c]
call eax
test al, al
je 0x47b412
mov ecx, dword [esi + 0x44]
push 0
push 0
push 0
push str.itemclick
push esi
call fcn.0043d9c0
pop ebx
pop edi
pop esi
pop ebp
ret 4
cmp eax, 0xb
jne 0x47b351
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x10c]
call eax
test al, al
je 0x47b412
or dword [esi + 0x6cc], 8
mov ecx, esi
call fcn.00477040
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x48]
call eax
test al, al
je 0x47b412
mov ecx, dword [esi + 0x44]
push 0
push 0
push 0
push str.mouseenter
push esi
call fcn.0043d9c0
pop ebx
pop edi
pop esi
pop ebp
ret 4
cmp eax, 0xa
jne 0x47b3a0
mov eax, dword [esi + 0x6cc]
test al, 8
je 0x47b412
and eax, 0xfffffff7
mov ecx, esi
mov dword [esi + 0x6cc], eax
call fcn.00477040
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x48]
call eax
test al, al
je 0x47b412
mov ecx, dword [esi + 0x44]
push 0
push 0
push 0
push str.mouseleave
push esi
call fcn.0043d9c0
pop ebx
pop edi
pop esi
pop ebp
ret 4
cmp eax, 0x1b
jne 0x47b3c2
mov ecx, dword [esi + 0x44]
push 0
push dword [edi + 0x1c]
push dword [edi + 0x18]
push str.timer
push esi
call fcn.0043d9c0
pop ebx
pop edi
pop esi
pop ebp
ret 4
cmp eax, 0x14
jne 0x47b3f4
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xe8]
call eax
test al, al
je 0x47b3f4
mov ecx, dword [esi + 0x44]
push 0
push dword [edi + 0x1c]
push dword [edi + 0x18]
push str.menu
push esi
call fcn.0043d9c0
pop ebx
pop edi
pop esi
pop ebp
ret 4
mov ecx, dword [esi + 0x6d0]
push edi
test ecx, ecx
je 0x47b40b
mov eax, dword [ecx]
call dword [eax + 0x18]
pop ebx
pop edi
pop esi
pop ebp
ret 4
mov ecx, esi
call fcn.0043f860
pop ebx
pop edi
pop esi
pop ebp
ret 4