Function at 0x489245
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
xor ebx, ebx
cmp dword [ebp + 0x1c], ebx
push edi
mov edi, eax
je 0x4892aa
cmp dword [ebp + 0x1c], 0x6a
jne 0x489474
cmp dword [ebp + 0xc], 0x100
jne 0x489474
movzx eax, word [ebp + 0x10]
cmp eax, 0x61
mov dword [edi + 0x5c4], ebx
je 0x489283
cmp eax, 0x41
jne 0x48929a
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test al, al
jns 0x48929a
lea esi, [edi + 0x598]
call fcn.0048c91d
mov eax, dword [ebp + 0x18]
mov dword [eax], ebx
cmp dword [edi + 0x5c4], ebx
jmp 0x48946e
mov eax, dword [ebp + 0xc]
cmp eax, 0x113
jne 0x4892df
mov eax, dword [ebp + 0x10]
lea esi, [edi + 0x5c4]
mov ecx, edi
mov dword [esi], 1
call fcn.0048a69c
mov eax, dword [ebp + 0x18]
mov dword [eax], ebx
cmp dword [esi], ebx
je 0x489455
xor eax, eax
inc eax
jmp 0x489476
cmp eax, 0x4e
jne 0x48930b
mov eax, dword [ebp + 0x14]
cmp dword [eax + 4], 0xffffffff
jne 0x489455
lea esi, [edi + 0x5c4]
mov ecx, edi
mov dword [esi], 1
call fcn.004890d4
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
jmp 0x4892cf
cmp eax, 0x110
jne 0x489327
lea esi, [edi + 0x5c4]
mov eax, edi
mov dword [esi], 1
call fcn.00489c6e
jmp 0x489304
cmp eax, 0x10
jne 0x48934e
push ebx
push 2
push 0x111
push dword [edi + 4]
lea esi, [edi + 0x5c4]
mov dword [esi], 1
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4892ca
push 2
pop ecx
cmp eax, ecx
jne 0x48937b
lea eax, [edi + 0x64c]
push eax
lea esi, [edi + 0x5c4]
push ecx
mov dword [esi], 1
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov eax, edi
call fcn.004103ee
jmp 0x4892ca
cmp eax, 0x112
jne 0x4893af
mov eax, dword [ebp + 0x10]
and eax, 0xfff0
cmp eax, 0xf060
lea esi, [edi + 0x5c4]
mov dword [esi], ebx
jne 0x4892ca
mov ecx, edi
mov dword [esi], 1
call fcn.0048a4ef
jmp 0x4892ca
cmp eax, 0x111
jne 0x4893dc
mov eax, dword [ebp + 0x10]
shr eax, 0x10
cmp ax, 0x300
lea esi, [edi + 0x5c4]
mov dword [esi], ebx
jne 0x4892ca
mov ebx, edi
call fcn.0048b7e1
xor ebx, ebx
jmp 0x4892ca
cmp eax, 0x133
jne 0x48941c
push ecx
mov ecx, dword [ebp + 0x14]
mov eax, esp
mov dword [esp + 0x10], esp
push ecx
mov dword [edi + 0x5c4], 1
mov dword [eax], ecx
mov ecx, dword [ebp + 0x10]
mov eax, esp
mov dword [eax], ecx
mov ecx, edi
mov dword [esp + 0x14], esp
call fcn.0048b62b
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
cmp dword [edi + 0x5c4], ebx
jmp 0x4892d1
cmp eax, 0x467
jne 0x48947f
mov ebx, dword [ebp + 0x10]
lea esi, [edi + 0x5c4]
push ebx
mov ecx, edi
mov dword [esi], 1
call fcn.0048abd5
xor ecx, ecx
inc ecx
mov edx, edi
call fcn.0048a96c
mov eax, dword [ebp + 0x18]
and dword [eax], 0
cmp dword [esi], 0
jne 0x4892d7
xor ebx, ebx
push ebx
push dword [ebp + 0x18]
mov ecx, edi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040cc2a
test eax, eax
jne 0x4892d7
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x46b
jne 0x48949f
push dword [ebp + 0x10]
mov esi, edi
mov dword [edi + 0x5c4], 1
call fcn.00489fb1
jmp 0x48940c
cmp eax, 0x46e
jne 0x4894e0
xor esi, esi
inc esi
mov dword [edi + 0x5c4], esi
mov dword [edi + 0x628], 0x28
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.004a1424
pop ecx
push ebx
push 0x96
push esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, dword [ebp + 0x18]
mov dword [eax], ebx
jmp 0x489411
cmp eax, 0x46d
jne 0x489506
push ebx
lea esi, [edi + 0x5c4]
push 0xc8
lea eax, [edi + 0x28]
mov dword [esi], 1
call fcn.0040cd02
jmp 0x4892ca
cmp eax, 0x470
jne 0x489538
push 5
lea esi, [edi + 0x5c4]
xor ebx, ebx
pop ecx
mov edx, edi
mov dword [esi], 1
call fcn.0048a96c
mov eax, edi
call fcn.0048acc0
mov eax, dword [ebp + 0x18]
and dword [eax], ebx
cmp dword [esi], ebx
jmp 0x48944d
cmp eax, 0x471
jne 0x489555
mov esi, edi
mov dword [edi + 0x5c4], 1
call fcn.0048a047
jmp 0x48940c
cmp eax, 0x46c
jne 0x489577
mov eax, dword [ebp + 0x10]
lea esi, [edi + 0x5c4]
mov edx, edi
mov dword [esi], 1
call fcn.0048a1bd
jmp 0x489304
cmp eax, 0x468
jne 0x4895c0
cmp dword [ebp + 0x10], ecx
jne 0x4895b6
cmp dword [ebp + 0x14], 0x204
je 0x489595
cmp dword [ebp + 0x14], 0x201
jne 0x4895b6
lea eax, [edi + 0x600]
cmp byte [eax], bl
jne 0x4895a2
mov byte [eax], 1
push 9
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [ebp + 0x18]
mov dword [eax], ebx
jmp 0x4892d7
cmp eax, 0x46a
jne 0x4895df
lea esi, [edi + 0x5c4]
mov eax, edi
mov dword [esi], 1
call fcn.0040cb8d
jmp 0x4892ca
cmp eax, 0x472
jne 0x4895fc
lea esi, [edi + 0x5c4]
mov dword [esi], 1
call fcn.0048a5eb
jmp 0x4892ca
cmp eax, 0x474
jne 0x48961b
lea esi, [edi + 0x5c4]
mov eax, edi
mov dword [esi], 1
call fcn.0048a20c
jmp 0x489304
cmp eax, 0x476
jne 0x489640
push dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
lea esi, [edi + 0x5c4]
mov edx, edi
mov dword [esi], 1
call fcn.0048a281
jmp 0x489304
cmp eax, 0x479
jne 0x489455
push dword [ebp + 0x14]
lea esi, [edi + 0x5c4]
push edi
mov dword [esi], 1
call fcn.0048a491
jmp 0x489304