Function at 0x4a6f4e
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x5b0ff4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
call dword [eax + 0x1c8]
and dword [ebp - 0x18], 0
mov ecx, esi
mov edi, eax
call fcn.0041ef60
mov ebx, dword [ebp + 8]
and eax, 0x400000
push 0x25
mov dword [ebp - 0x1c], eax
pop eax
je 0x4a6fce
cmp ebx, eax
jne 0x4a6fc7
push 0x27
pop ebx
mov eax, ebx
sub eax, 0x26
je 0x4a6ff9
sub eax, 1
je 0x4a7145
sub eax, 1
je 0x4a7116
mov eax, dword [edi]
mov ecx, edi
push ebx
call dword [eax + 0x400]
test eax, eax
jne 0x4a72df
mov ecx, esi
call fcn.0041a247
jmp 0x4a72df
cmp ebx, 0x27
jne 0x4a6fce
mov ebx, eax
cmp ebx, eax
ja 0x4a6f8f
je 0x4a70d3
cmp ebx, 0xd
je 0x4a7000
cmp ebx, 0x1b
je 0x4a70c5
cmp ebx, 0x20
jbe 0x4a6fa8
cmp ebx, 0x22
jbe 0x4a70a8
cmp ebx, 0x24
ja 0x4a6fa8
mov dword [ebp - 0x18], 1
cmp dword [0x5b7ca0], 0
jne 0x4a7014
mov eax, dword [edi]
mov ecx, edi
push ebx
call dword [eax + 0x400]
cmp dword [ebp - 0x18], 0
je 0x4a72df
cmp dword [esi + 0xf7c], 0
je 0x4a72c6
mov eax, dword [edi + 0xbf0]
test eax, eax
js 0x4a72c6
push eax
mov ecx, edi
call fcn.00438f61
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x4a705a
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x354]
test eax, eax
je 0x4a72c6
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x14]
push eax
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [ebp - 0x18]
mov ebx, dword [edi + 0xd4c]
mov eax, dword [ecx + 0x58]
cmp eax, dword [ebp - 0x10]
jge 0x4a7212
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x354]
mov ecx, eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x58]
sub eax, dword [ebp - 0x10]
cdq
idiv ecx
dec eax
jmp 0x4a7237
cmp dword [esi + 0xf80], 0
je 0x4a6fa8
mov eax, dword [edi]
mov ecx, edi
push ebx
call dword [eax + 0x400]
jmp 0x4a701e
mov dword [esi + 0x1164], 1
push 1
jmp 0x4a710a
mov ecx, esi
call fcn.004a60bd
test eax, eax
je 0x4a70ed
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x398]
jmp 0x4a72df
mov ecx, dword [esi + 0x158]
test ecx, ecx
je 0x4a72df
mov eax, dword [ecx]
call dword [eax + 0x70]
test eax, eax
je 0x4a72df
push 0
mov ecx, esi
call fcn.004a4de3
jmp 0x4a72df
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x4a6ff9
cmp dword [edi + 0xd68], 0
jne 0x4a6ff9
mov ecx, esi
call fcn.004a92d6
jmp 0x4a72df
push 0
call fcn.00438f23
and dword [0x5b98f4], 0
mov ecx, esi
mov ebx, eax
call fcn.004a610e
mov edi, eax
test edi, edi
je 0x4a71b3
cmp dword [edi + 0x20], 0xffffffff
je 0x4a717c
cmp dword [edi + 0x20], 0
je 0x4a717c
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xe0]
test eax, eax
je 0x4a71b3
mov eax, dword [edi]
mov ecx, edi
push 0
call dword [eax + 0xcc]
test eax, eax
je 0x4a71b3
cmp dword [edi + 0x8c], 0
je 0x4a7207
mov ecx, esi
call fcn.004a610e
cmp eax, edi
jne 0x4a7207
mov ecx, dword [edi + 0x8c]
push 0
push 0
push 0x24
call fcn.004a6f4e
jmp 0x4a7207
mov ecx, esi
call fcn.004a60bd
mov edi, eax
test edi, edi
je 0x4a71dc
push 0x5b06b8
mov ecx, edi
call fcn.00420035
test eax, eax
jne 0x4a71dc
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x39c]
jmp 0x4a7207
mov ecx, esi
call fcn.004a6073
test eax, eax
je 0x4a7207
xor ecx, ecx
cmp dword [ebp - 0x1c], ecx
push 0
sete cl
lea ecx, [ecx*2 + 0x25]
push ecx
push 0x100
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x5b98f4], ebx
jmp 0x4a72df
mov eax, dword [ecx + 0x60]
cmp eax, dword [ebp - 8]
jle 0x4a72c6
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x354]
mov ecx, eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x60]
sub eax, dword [ebp - 8]
cdq
idiv ecx
inc eax
mov dword [ebp - 0x18], eax
test eax, eax
je 0x4a72c6
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x354]
mov ecx, eax
mov eax, dword [esi + 0x14c]
cdq
idiv ecx
add ebx, dword [ebp - 0x18]
lea edx, [eax - 2]
jns 0x4a7263
xor ecx, ecx
jmp 0x4a7265
mov ecx, ebx
mov eax, dword [edi + 0xc48]
sub eax, edx
dec eax
cmp ecx, eax
jge 0x4a727a
test ebx, ebx
jns 0x4a727c
xor ebx, ebx
jmp 0x4a727c
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0045c94b
push 0
mov ecx, esi
call fcn.004a49d0
cmp dword [esi + 0xf80], 0
je 0x4a72b9
lea ecx, [esi + 0xfb8]
test ecx, ecx
je 0x4a72b9
cmp dword [ecx + 0x20], 0
je 0x4a72b9
push 1
push ebx
push 2
push dword [esi + 0xfd8]
call dword [sym.imp.USER32.dll_SetScrollPos]
jmp 0x4a72c6
test eax, eax
je 0x4a72c6
push 0
mov ecx, esi
call fcn.004a49d0
cmp dword [edi + 0xd80], 0
je 0x4a72df
mov eax, dword [esi]
mov ecx, esi
push dword [edi + 0xbf0]
call dword [eax + 0x204]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005309b6
mov esp, ebp
pop ebp
ret 0xc