Function at 0x4b4960
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c6250
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x66a8c4]
xor eax, ebp
mov dword [ebp - 0x60], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x268], ecx
mov eax, dword [ebp + 0x10]
and eax, 0xffff
movsx ecx, ax
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp + 0x10]
shr edx, 0x10
and edx, 0xffff
movsx eax, dx
mov dword [ebp - 0x10], eax
cmp dword [0x6437c4], 2
jne 0x4b4af2
mov ecx, dword [ebp - 0x268]
cmp dword [ecx + 0xd98], 0
je 0x4b4af2
mov edx, dword [ebp - 0x268]
mov eax, dword [edx + 0xd98]
mov ecx, dword [ebp - 0x268]
mov ecx, dword [ecx + 0xd98]
mov edx, dword [eax]
mov eax, dword [edx + 0x50]
call eax
mov ecx, dword [eax]
mov dword [ebp - 0x24], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x20], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x1c], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x18], edx
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x268]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x24]
jl 0x4b4aed
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 0x1c]
jg 0x4b4aed
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 0x20]
jl 0x4b4aed
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x18]
jg 0x4b4aed
mov ecx, dword [ebp + 0xc]
shr ecx, 0x10
and ecx, 0xffff
movsx edx, cx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], 0
mov eax, dword [ebp + 0xc]
and eax, 8
je 0x4b4a75
mov ecx, dword [ebp - 0x28]
or ecx, 8
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp + 0xc]
and edx, 4
je 0x4b4a86
mov eax, dword [ebp - 0x28]
or eax, 4
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp + 0xc]
and ecx, 1
je 0x4b4a97
mov edx, dword [ebp - 0x28]
or edx, 1
mov dword [ebp - 0x28], edx
mov eax, dword [ebp + 0xc]
and eax, 0x10
je 0x4b4aa8
mov ecx, dword [ebp - 0x28]
or ecx, 0x10
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp + 0xc]
and edx, 2
je 0x4b4ab9
mov eax, dword [ebp - 0x28]
or eax, 2
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x268]
mov ecx, dword [edx + 0xd98]
call fcn.004c3aa0
push eax
call dword [sym.imp.wke.dll_wkeFireMouseWheelEvent]
add esp, 0x14
mov eax, dword [ebp + 0x14]
mov dword [eax], 1
jmp 0x4b4d32
cmp dword [0x6437c4], 3
jne 0x4b4cb7
mov ecx, dword [ebp - 0x268]
cmp dword [ecx + 0xd9c], 0
je 0x4b4cb7
mov edx, dword [ebp - 0x268]
mov eax, dword [edx + 0xd9c]
mov ecx, dword [ebp - 0x268]
mov ecx, dword [ecx + 0xd9c]
mov edx, dword [eax]
mov eax, dword [edx + 0x50]
call eax
mov ecx, dword [eax]
mov dword [ebp - 0x3c], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x38], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x34], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x30], edx
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x268]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x3c]
jl 0x4b4cb5
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 0x34]
jg 0x4b4cb5
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 0x38]
jl 0x4b4cb5
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x30]
jg 0x4b4cb5
lea ecx, [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x268]
mov ecx, dword [edx + 0xd9c]
call fcn.004adf80
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00587180
test eax, eax
je 0x4b4ca6
mov eax, dword [ebp + 0xc]
shr eax, 0x10
and eax, 0xffff
movsx ecx, ax
mov dword [ebp - 0x58], ecx
lea ecx, [ebp - 0x54]
call fcn.004b7ce0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp + 0xc]
and ecx, 8
je 0x4b4bf2
mov edx, dword [ebp - 0x48]
or edx, 4
mov dword [ebp - 0x48], edx
mov eax, dword [ebp + 0xc]
and eax, 4
je 0x4b4c03
mov ecx, dword [ebp - 0x48]
or ecx, 2
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp + 0xc]
and edx, 1
je 0x4b4c14
mov eax, dword [ebp - 0x48]
or eax, 0x10
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp + 0xc]
and ecx, 0x10
je 0x4b4c25
mov edx, dword [ebp - 0x48]
or edx, 0x20
mov dword [ebp - 0x48], edx
mov eax, dword [ebp + 0xc]
and eax, 2
je 0x4b4c36
mov ecx, dword [ebp - 0x48]
or ecx, 0x40
mov dword [ebp - 0x48], ecx
push 0x90
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
and edx, 1
je 0x4b4c54
mov eax, dword [ebp - 0x48]
or eax, 0x100
mov dword [ebp - 0x48], eax
push 0x14
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
and ecx, 1
je 0x4b4c6d
mov edx, dword [ebp - 0x48]
or edx, 1
mov dword [ebp - 0x48], edx
lea ecx, [ebp - 0x40]
call fcn.00587180
mov dword [ebp - 0x26c], eax
mov eax, dword [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0x58]
push ecx
lea edx, [ebp - 0x54]
push edx
mov eax, dword [ebp - 0x26c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x26c]
mov eax, dword [edx + 0x7c]
call eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.004b7d10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.004ab740
jmp 0x4b4d32
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.USER32.dll_WindowFromPoint]
mov dword [ebp - 0x5c], eax
xor eax, eax
mov word [ebp - 0x264], ax
push 0x1fc
push 0
lea ecx, [ebp - 0x262]
push ecx
call fcn.00591690
add esp, 0xc
push 0xff
lea edx, [ebp - 0x264]
push edx
mov eax, dword [ebp - 0x5c]
push eax
call dword [sym.imp.USER32.dll_GetClassNameW]
push str.Internet_Explorer_Server
lea ecx, [ebp - 0x264]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
jne 0x4b4d32
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x5c]
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [ebp + 0x14]
mov dword [eax], 1
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x268]
call dword [0x6096dc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x60]
xor ecx, ebp
call fcn.00590c4b
mov esp, ebp
pop ebp
ret 0x10