Function at 0x47876a
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 0x4787cf
cmp dword [ebp + 0x1c], 0x6a
jne 0x478b88
cmp dword [ebp + 0xc], 0x100
jne 0x478b88
movzx eax, word [ebp + 0x10]
cmp eax, 0x61
mov dword [edi + 0x40c], ebx
je 0x4787a8
cmp eax, 0x41
jne 0x4787bf
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test al, al
jns 0x4787bf
lea esi, [edi + 0x3e0]
call fcn.0047a976
mov eax, dword [ebp + 0x18]
mov dword [eax], ebx
cmp dword [edi + 0x40c], ebx
jmp 0x478b82
mov eax, dword [ebp + 0xc]
cmp eax, 0x113
jne 0x47882f
mov eax, dword [ebp + 0x10]
dec eax
mov dword [edi + 0x40c], 1
je 0x47880f
dec eax
je 0x478806
dec eax
jne 0x478816
push ebx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 3
push dword [edi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
jmp 0x478816
mov esi, edi
call fcn.00479eac
jmp 0x478816
mov esi, edi
call fcn.00479a12
mov eax, dword [ebp + 0x18]
mov dword [eax], ebx
cmp dword [edi + 0x40c], ebx
je 0x478b69
xor eax, eax
inc eax
jmp 0x478b8a
cmp eax, 0x4e
jne 0x47885d
mov eax, dword [ebp + 0x14]
cmp dword [eax + 4], 0xffffffff
jne 0x478b69
lea esi, [edi + 0x40c]
mov ecx, edi
mov dword [esi], 1
call fcn.0047860c
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
cmp dword [esi], ebx
jmp 0x478821
cmp eax, 0x110
jne 0x478879
lea esi, [edi + 0x40c]
mov eax, edi
mov dword [esi], 1
call fcn.00479113
jmp 0x478854
cmp eax, 0x10
jne 0x4788a2
push ebx
push 2
push 0x111
push dword [edi + 4]
lea esi, [edi + 0x40c]
mov dword [esi], 1
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp + 0x18]
mov dword [eax], ebx
jmp 0x478859
push 2
pop esi
cmp eax, esi
jne 0x4788dd
lea eax, [edi + 0x84c]
push eax
push esi
mov dword [edi + 0x40c], 1
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
cmp dword [edi + 0x2e4], ebx
je 0x478816
lea eax, [edi + 0x2e0]
call fcn.0041251f
jmp 0x478816
cmp eax, 0x112
jne 0x478913
mov eax, dword [ebp + 0x10]
and eax, 0xfff0
cmp eax, 0xf060
mov dword [edi + 0x40c], ebx
jne 0x478816
mov esi, edi
mov dword [edi + 0x40c], 1
call fcn.00479562
jmp 0x478816
cmp eax, 0x111
jne 0x478940
mov eax, dword [ebp + 0x10]
shr eax, 0x10
cmp ax, 0x300
lea esi, [edi + 0x40c]
mov dword [esi], ebx
jne 0x47889b
mov ebx, edi
call fcn.0047a414
xor ebx, ebx
jmp 0x47889b
cmp eax, 0x133
jne 0x47897a
push ecx
mov ecx, dword [ebp + 0x14]
mov eax, esp
mov dword [esp + 0x10], esp
push ecx
mov dword [edi + 0x40c], 1
mov dword [eax], ecx
mov ecx, dword [ebp + 0x10]
mov eax, esp
mov dword [eax], ecx
mov eax, edi
mov dword [esp + 0x14], esp
call fcn.0047a29c
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
jmp 0x47881b
cmp eax, 0x467
jne 0x4789a8
push dword [ebp + 0x10]
lea esi, [edi + 0x40c]
push edi
mov dword [esi], 1
call fcn.00479ac0
push dword [ebp + 0x10]
xor ecx, ecx
inc ecx
mov edx, edi
call fcn.00479919
jmp 0x47889b
cmp eax, 0x46b
jne 0x4789e6
cmp dword [ebp + 0x10], 0x105
mov dword [edi + 0x40c], 1
mov eax, edi
jne 0x4789d0
push 3
call fcn.0047a61c
push ebx
push 7
jmp 0x4789d9
push ebx
call fcn.0047a61c
push ebx
push 3
pop ecx
mov edx, edi
call fcn.00479919
jmp 0x478816
cmp eax, 0x46e
jne 0x478a22
xor esi, esi
inc esi
mov dword [edi + 0x40c], esi
mov dword [edi + 0xc1c], 0x14
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.00488ad5
pop ecx
push ebx
push 0x96
push esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x478816
cmp eax, 0x46d
jne 0x478a48
push ebx
lea esi, [edi + 0x40c]
push 0xc8
lea eax, [edi + 0x24]
mov dword [esi], 1
call fcn.0047ab7d
jmp 0x47889b
cmp eax, 0x470
jne 0x478a72
push ebx
push 5
lea esi, [edi + 0x40c]
pop ecx
mov edx, edi
mov dword [esi], 1
call fcn.00479919
mov eax, edi
call fcn.00479b2d
jmp 0x47889b
cmp eax, 0x471
jne 0x478aa0
push ebx
xor eax, eax
inc eax
push 6
pop ecx
mov edx, edi
mov dword [edi + 0x40c], eax
mov dword [edi + 0xc24], eax
call fcn.00479919
push esi
mov eax, edi
call fcn.0047a61c
jmp 0x478816
cmp eax, 0x46c
jne 0x478ac2
mov eax, dword [ebp + 0x10]
lea esi, [edi + 0x40c]
mov edx, edi
mov dword [esi], 1
call fcn.00479513
jmp 0x478854
cmp eax, 0x468
jne 0x478b0b
cmp dword [ebp + 0x10], esi
jne 0x478b01
cmp dword [ebp + 0x14], 0x204
je 0x478ae0
cmp dword [ebp + 0x14], 0x201
jne 0x478b01
lea eax, [edi + 0xc28]
cmp byte [eax], bl
jne 0x478aed
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 0x478827
cmp eax, 0x46a
jne 0x478b2d
push 2
lea esi, [edi + 0x40c]
pop ecx
mov eax, edi
mov dword [esi], 1
call fcn.00408119
jmp 0x47889b
cmp eax, 0x472
jne 0x478b4a
lea esi, [edi + 0x40c]
mov dword [esi], 1
call fcn.004795e9
jmp 0x47889b
cmp eax, 0x474
jne 0x478b69
lea esi, [edi + 0x40c]
mov eax, edi
mov dword [esi], 1
call fcn.0047a84e
jmp 0x47889b
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.004081b6
test eax, eax
jne 0x478827
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18