Function at 0x4af738
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
call dword [eax + 0xe4]
mov edi, dword [ebp + 8]
test al, al
jne 0x4af77a
cmp dword [edi], 8
jle 0x4af77a
cmp dword [edi], 0x13
jge 0x4af77a
mov ecx, dword [esi + 0xb10]
push edi
test ecx, ecx
je 0x4af76e
mov eax, dword [ecx]
call dword [eax + 0xc]
jmp 0x4af9a3
mov ecx, esi
call fcn.004af673
jmp 0x4af9a3
cmp dword [edi], 0x17
push ebx
jne 0x4af7ba
xor ebx, ebx
cmp dword [esi + 0x668], ebx
jle 0x4af7ba
lea eax, [esi + 0x66c]
mov dword [ebp + 8], eax
push dword [edi + 0x10]
push dword [edi + 0xc]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x4af857
mov eax, dword [ebp + 8]
inc ebx
add eax, 0x10
mov dword [ebp + 8], eax
cmp ebx, dword [esi + 0x668]
jl 0x4af793
cmp dword [edi], 0xe
jne 0x4af803
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xd4]
test al, al
je 0x4af803
xor ebx, ebx
cmp dword [esi + 0x668], ebx
jle 0x4af803
lea eax, [esi + 0x66c]
mov dword [ebp + 8], eax
push dword [edi + 0x10]
push dword [edi + 0xc]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x4af870
mov eax, dword [ebp + 8]
inc ebx
add eax, 0x10
mov dword [ebp + 8], eax
cmp ebx, dword [esi + 0x668]
jl 0x4af7e0
mov ecx, dword [esi + 0x668]
test ecx, ecx
jle 0x4af8a8
cmp dword [edi], 9
jne 0x4af8a8
or eax, 0xffffffff
xor ebx, ebx
mov dword [ebp + 8], eax
test ecx, ecx
jle 0x4af890
lea eax, [esi + 0x66c]
mov dword [ebp - 4], eax
push dword [edi + 0x10]
push dword [edi + 0xc]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x4af88b
mov eax, dword [ebp - 4]
inc ebx
add eax, 0x10
mov dword [ebp - 4], eax
cmp ebx, dword [esi + 0x668]
jl 0x4af82f
mov eax, dword [ebp + 8]
jmp 0x4af890
push 0x7f89
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
jmp 0x4af9a2
mov ecx, dword [esi + 0x164]
push 0
push 0
push ebx
push str.link
push esi
call fcn.00487043
jmp 0x4af9a2
mov eax, ebx
mov dword [ebp + 8], ebx
cmp dword [esi + 0xb0c], eax
je 0x4af8a8
mov ecx, esi
call fcn.004b17ef
mov eax, dword [ebp + 8]
mov dword [esi + 0xb0c], eax
xor ebx, ebx
cmp dword [esi + 0x668], ebx
jle 0x4af8ce
cmp dword [edi], 0xa
jne 0x4af8ce
cmp dword [esi + 0xb0c], 0xffffffff
je 0x4af8ce
mov ecx, esi
call fcn.004b17ef
or dword [esi + 0xb0c], 0xffffffff
cmp dword [edi], 0xd
je 0x4af8e5
cmp dword [edi], 0xf
je 0x4af8e5
push edi
mov ecx, esi
call fcn.004af673
jmp 0x4af9a2
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xd4]
test al, al
je 0x4af996
mov ecx, dword [esi + 0x164]
push ebx
push ebx
push ebx
push str.itemclick
push esi
call fcn.00487043
mov ecx, dword [esi + 0xb10]
test ecx, ecx
je 0x4af98f
mov eax, dword [ecx]
call dword [eax + 0x30]
test al, al
jne 0x4af96e
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x4af95e
lea ecx, [esi + 0x654]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [esi + 0xb10]
test al, al
mov eax, dword [ecx]
je 0x4af952
push dword [esi + 0x658]
call dword [eax + 0x34]
jmp 0x4af98f
push ebx
push dword [esi + 0x658]
call dword [eax + 0x28]
jmp 0x4af98f
mov ecx, dword [esi + 0xb10]
mov eax, dword [ecx]
call dword [eax + 0x40]
cmp eax, 1
jne 0x4af97d
lea ecx, [esi + 0x654]
mov eax, dword [ecx]
call dword [eax + 0x10]
test al, al
jne 0x4af98f
mov ecx, dword [esi + 0xb10]
push ebx
push dword [esi + 0x658]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, esi
call fcn.004b17ef
mov ecx, dword [esi + 0xb10]
push edi
mov eax, dword [ecx]
call dword [eax + 0xc]
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4