Function at 0x454994
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee4
push ebx
push esi
push edi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x454bb4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
test byte [eax + 0x1c], 0x10
je 0x4549ff
mov eax, dword [ebp - 0x14]
call fcn.0046db2c
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4549ff
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x250], 0
je 0x4549ff
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x250]
mov edx, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0x24]
test al, al
je 0x4549ff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x454bbe
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x100
jb 0x454a50
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x108
ja 0x454a50
mov eax, dword [ebp - 0x14]
call fcn.0046db2c
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x454b9f
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0xf0]
test al, al
je 0x454b9f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x454bbe
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x200
jb 0x454b7a
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x20a
ja 0x454b7a
mov eax, dword [ebp - 0x14]
test byte [eax + 0x50], 0x80
jne 0x454a93
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
sub eax, 0x203
je 0x454a8d
sub eax, 3
je 0x454a8d
sub eax, 3
jne 0x454a93
mov eax, dword [ebp - 0x18]
sub dword [eax], 2
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
sub eax, 0x200
je 0x454aaa
dec eax
je 0x454ac1
dec eax
je 0x454af0
dec eax
je 0x454ac1
jmp 0x454afd
mov ecx, dword [ebp - 0x18]
mov eax, dword [0x4a7264]
mov eax, dword [eax]
mov edx, dword [ebp - 0x14]
call fcn.00477380
jmp 0x454b9f
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x5d], 1
jne 0x454ae3
mov eax, dword [ebp - 0x14]
mov si, 0xffed
call fcn.004036e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x454bbe
mov eax, dword [ebp - 0x14]
or word [eax + 0x54], 1
jmp 0x454b9f
mov eax, dword [ebp - 0x14]
and word [eax + 0x54], 0xfffe
jmp 0x454b9f
mov eax, dword [0x4a8b28]
cmp byte [eax + 0x20], 0
je 0x454b9f
mov eax, dword [0x4a8b28]
cmp dword [eax + 0x1c], 0
je 0x454b9f
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [0x4a8b28]
cmp eax, dword [edx + 0x1c]
jne 0x454b9f
lea eax, [ebp - 0x11c]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x11c]
call fcn.0046da70
mov byte [ebp - 0xc], al
mov eax, dword [ebp - 0x18]
mov ax, word [eax + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffc9
call fcn.004036e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x454bbe
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0xb00b
jne 0x454b9f
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
push eax
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 4]
mov edx, dword [ebp - 0x18]
mov edx, dword [edx]
mov eax, dword [ebp - 0x14]
call fcn.00452a08
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx - 0x14]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x454bbe
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret