Function at 0x4874cf
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 0x487534
cmp dword [ebp + 0x1c], 0x6a
jne 0x4876fe
cmp dword [ebp + 0xc], 0x100
jne 0x4876fe
movzx eax, word [ebp + 0x10]
cmp eax, 0x61
mov dword [edi + 0x5c4], ebx
je 0x48750d
cmp eax, 0x41
jne 0x487524
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test al, al
jns 0x487524
lea esi, [edi + 0x598]
call fcn.0048acc4
mov eax, dword [ebp + 0x18]
mov dword [eax], ebx
cmp dword [edi + 0x5c4], ebx
jmp 0x4876f8
mov eax, dword [ebp + 0xc]
cmp eax, 0x113
jne 0x487569
mov eax, dword [ebp + 0x10]
lea esi, [edi + 0x5c4]
mov ecx, edi
mov dword [esi], 1
call fcn.0048899c
mov eax, dword [ebp + 0x18]
mov dword [eax], ebx
cmp dword [esi], ebx
je 0x4876df
xor eax, eax
inc eax
jmp 0x487700
cmp eax, 0x4e
jne 0x487595
mov eax, dword [ebp + 0x14]
cmp dword [eax + 4], 0xffffffff
jne 0x4876df
lea esi, [edi + 0x5c4]
mov ecx, edi
mov dword [esi], 1
call fcn.0048735e
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
jmp 0x487559
cmp eax, 0x110
jne 0x4875b1
lea esi, [edi + 0x5c4]
mov eax, edi
mov dword [esi], 1
call fcn.00487f6f
jmp 0x48758e
cmp eax, 0x10
jne 0x4875d8
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 0x487554
push 2
pop ecx
cmp eax, ecx
jne 0x487605
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.0041017e
jmp 0x487554
cmp eax, 0x112
jne 0x487639
mov eax, dword [ebp + 0x10]
and eax, 0xfff0
cmp eax, 0xf060
lea esi, [edi + 0x5c4]
mov dword [esi], ebx
jne 0x487554
mov ecx, edi
mov dword [esi], 1
call fcn.004887ef
jmp 0x487554
cmp eax, 0x111
jne 0x487666
mov eax, dword [ebp + 0x10]
shr eax, 0x10
cmp ax, 0x300
lea esi, [edi + 0x5c4]
mov dword [esi], ebx
jne 0x487554
mov ebx, edi
call fcn.00489af4
xor ebx, ebx
jmp 0x487554
cmp eax, 0x133
jne 0x4876a6
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.0048993e
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
cmp dword [edi + 0x5c4], ebx
jmp 0x48755b
cmp eax, 0x467
jne 0x487709
mov ebx, dword [ebp + 0x10]
lea esi, [edi + 0x5c4]
push ebx
mov ecx, edi
mov dword [esi], 1
call fcn.00488ed5
xor ecx, ecx
inc ecx
mov edx, edi
call fcn.00488c6c
mov eax, dword [ebp + 0x18]
and dword [eax], 0
cmp dword [esi], 0
jne 0x487561
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.0040cc0c
test eax, eax
jne 0x487561
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x46b
jne 0x487729
push dword [ebp + 0x10]
mov esi, edi
mov dword [edi + 0x5c4], 1
call fcn.004882b1
jmp 0x487696
cmp eax, 0x46e
jne 0x48776a
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.0049e8c4
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 0x48769b
cmp eax, 0x46d
jne 0x487790
push ebx
lea esi, [edi + 0x5c4]
push 0xc8
lea eax, [edi + 0x28]
mov dword [esi], 1
call fcn.0040cce4
jmp 0x487554
cmp eax, 0x470
jne 0x4877c2
push 5
lea esi, [edi + 0x5c4]
xor ebx, ebx
pop ecx
mov edx, edi
mov dword [esi], 1
call fcn.00488c6c
mov eax, edi
call fcn.00488fc0
mov eax, dword [ebp + 0x18]
and dword [eax], ebx
cmp dword [esi], ebx
jmp 0x4876d7
cmp eax, 0x471
jne 0x4877df
mov esi, edi
mov dword [edi + 0x5c4], 1
call fcn.00488347
jmp 0x487696
cmp eax, 0x46c
jne 0x487801
mov eax, dword [ebp + 0x10]
lea esi, [edi + 0x5c4]
mov edx, edi
mov dword [esi], 1
call fcn.004884bd
jmp 0x48758e
cmp eax, 0x468
jne 0x48784a
cmp dword [ebp + 0x10], ecx
jne 0x487840
cmp dword [ebp + 0x14], 0x204
je 0x48781f
cmp dword [ebp + 0x14], 0x201
jne 0x487840
lea eax, [edi + 0x600]
cmp byte [eax], bl
jne 0x48782c
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 0x487561
cmp eax, 0x46a
jne 0x487869
lea esi, [edi + 0x5c4]
mov eax, edi
mov dword [esi], 1
call fcn.0040cb6f
jmp 0x487554
cmp eax, 0x472
jne 0x487886
lea esi, [edi + 0x5c4]
mov dword [esi], 1
call fcn.004888eb
jmp 0x487554
cmp eax, 0x474
jne 0x4878a5
lea esi, [edi + 0x5c4]
mov eax, edi
mov dword [esi], 1
call fcn.0048850c
jmp 0x48758e
cmp eax, 0x476
jne 0x4878ca
push dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
lea esi, [edi + 0x5c4]
mov edx, edi
mov dword [esi], 1
call fcn.00488581
jmp 0x48758e
cmp eax, 0x479
jne 0x4876df
push dword [ebp + 0x14]
lea esi, [edi + 0x5c4]
push edi
mov dword [esi], 1
call fcn.00488791
jmp 0x48758e