Function at 0x450c30
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x491d4a
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
mov ebp, dword [esp + 0x38]
push esi
xor esi, esi
push edi
cmp ebp, esi
mov edi, ecx
jne 0x450c5f
xor eax, eax
jmp 0x450eaf
mov eax, dword [esp + 0x30]
cmp eax, esi
jne 0x450c6e
xor eax, eax
jmp 0x450eaf
push eax
call dword [sym.imp.USER32.dll_GetMenuItemCount]
test eax, eax
je 0x450eaf
mov ebx, dword [esp + 0x34]
mov eax, ebx
and al, 2
neg al
sbb eax, eax
neg eax
inc eax
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and eax, 1
push 0x90
mov dword [esp + 0x44], eax
call fcn.00480d9f
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, esi
mov dword [esp + 0x28], esi
je 0x450cbf
mov ecx, eax
call fcn.0044cf80
mov esi, eax
push ebp
mov ecx, esi
mov dword [esp + 0x2c], 0xffffffff
mov dword [esi + 0x7c], edi
call fcn.00450a60
test eax, eax
jne 0x450ce4
mov ecx, esi
call fcn.0048c58f
xor eax, eax
jmp 0x450eaf
mov ecx, dword [esp + 0x30]
mov edx, ebx
mov dword [esi + 0x3c], ecx
mov ecx, ebx
shr edx, 9
and edx, 1
mov eax, ebx
shr ecx, 7
mov dword [esi + 0x60], edx
and ecx, 1
shr eax, 1
mov edx, ebx
mov dword [esi + 0x78], ebp
and eax, 1
mov dword [edi + 0x20], ecx
and edx, 0x100
push esi
mov ecx, edi
mov dword [edi + 0x30], eax
mov dword [edi + 0x38], edx
call fcn.0044e850
push 0
mov ecx, edi
call fcn.0044e920
test eax, eax
jne 0x450d3c
mov ecx, esi
call fcn.0048c58f
xor eax, eax
jmp 0x450eaf
mov eax, dword [esp + 0x40]
mov dword [edi + 0x3c], eax
mov eax, dword [edi + 0x20]
test eax, eax
jne 0x450d6f
mov eax, dword [esi + 0x60]
xor ecx, ecx
mov edx, dword [esp + 0x30]
test eax, eax
setne cl
and ecx, 0xffff
shl ecx, 0x10
push ecx
push edx
push 0x117
push ebp
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [esp + 0x18]
mov ecx, esi
push eax
mov dword [esi + 0x70], 1
call fcn.0044d540
push 0xffffffffffffffec
push ebp
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x400000
je 0x450d9a
test bl, 4
jne 0x450d9a
xor ebx, 8
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
test bl, 8
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
je 0x450dc0
sub ecx, dword [esp + 0x18]
mov dword [esp + 0x10], ecx
mov dword [esi + 0x74], 1
jmp 0x450dd4
test bl, 4
je 0x450dd4
mov eax, dword [esp + 0x18]
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x1c]
test bl, 0x20
je 0x450de3
sub dword [esp + 0x14], ecx
jmp 0x450dfb
test bl, 0x10
je 0x450dfb
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x14]
sar eax, 1
neg eax
add edx, eax
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x44]
lea edx, [esp + 0x10]
push eax
push ebx
push ecx
mov ecx, dword [esp + 0x24]
push ecx
push edx
push esi
mov ecx, edi
call fcn.00450b30
push 2
mov ecx, edi
call fcn.0044ca10
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push 0x250
push eax
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esi + 0x1c]
push edx
push eax
push 0xffffffffffffffff
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edx, dword [esp + 0x40]
push 0
mov ecx, edi
mov dword [edi + 4], edx
call fcn.00450760
push esi
mov ecx, edi
call fcn.0044f4f0
mov eax, dword [esi + 0x70]
test eax, eax
je 0x450e90
mov eax, dword [edi + 0x20]
test eax, eax
jne 0x450e90
mov eax, dword [esi + 0x60]
mov ecx, dword [esi + 0x3c]
neg eax
sbb eax, eax
mov edx, dword [esi + 0x78]
and eax, 0x2000
and eax, 0xffff
shl eax, 0x10
push eax
push ecx
push 0x125
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x58]
mov ecx, esi
call fcn.0048c58f
mov eax, dword [edi + 0x38]
test eax, eax
je 0x450eaa
mov eax, dword [edi + 0x34]
jmp 0x450eaf
mov eax, 1
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x18