Function at 0x4e9710
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, ecx
push eax
mov dword [esp + 0x18], esi
call fcn.00584654
xor ebx, ebx
cmp dword [esi + 0x134], ebx
mov dword [esp + 0x24], eax
jne 0x4e9774
cmp dword [esi + 0x138], ebx
je 0x4e9774
mov eax, dword [esi + 0x20]
cmp eax, ebx
je 0x4e9774
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4e9774
cmp dword [esi + 0x134], ebx
jne 0x4e9774
mov dword [0x691144], 1
mov dword [0x691148], ebx
mov dword [0x69114c], ebx
cmp dword [0x692a74], ebx
je 0x4e9797
mov ecx, 0x41
mov dword [0x692a74], ebx
call fcn.0044d3f0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [0x690ca0]
cmp eax, ebx
je 0x4e97a7
xor edx, edx
call fcn.00404050
call fcn.0044ecd0
mov eax, dword [0x690c9c]
cmp eax, ebx
mov dword [0x690ca4], ebx
je 0x4e97d9
mov ecx, dword [0x691ca8]
mov dword [0x691ca8], ebx
mov dword [0x690c9c], ebx
mov dword [0x690ca8], ebx
mov dword [eax + 0x18c], ecx
cmp dword [0x691144], ebx
je 0x4e9840
mov ecx, dword [0x691148]
cmp ecx, ebx
mov eax, dword [0x69114c]
mov edi, eax
je 0x4e97f6
cmp eax, ebx
jne 0x4e9820
cmp eax, ebx
sete dl
cmp ecx, ebx
mov byte [esi + 0xa4], dl
je 0x4e9811
mov eax, dword [esi]
mov edx, dword [eax + 0x94]
mov ecx, esi
call edx
mov ecx, esi
call fcn.0058c889
push ebx
mov ecx, esi
call fcn.0058c7f5
mov ecx, esi
call fcn.0058c876
cmp edi, ebx
je 0x4e978c
mov dword [0x691144], ebx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [0x690ca0]
cmp eax, ebx
je 0x4e9a9e
mov edi, dword [eax + 0x3a0]
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x24], edi
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push ecx
push edx
call dword [sym.imp.USER32.dll_WindowFromPoint]
push eax
call fcn.0056eb4e
mov esi, eax
cmp esi, ebx
je 0x4e9895
push 0x63bdac
mov ecx, esi
call fcn.00580b10
test eax, eax
je 0x4e9895
cmp dword [esi + 0x54], edi
jne 0x4e9895
mov ebx, esi
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.0056eb4e
mov edi, eax
test edi, edi
je 0x4e98b9
push 0x63bdac
mov ecx, edi
call fcn.00580b10
test eax, eax
jne 0x4e98b9
xor edi, edi
test ebx, ebx
je 0x4e98f6
test edi, edi
je 0x4e98df
cmp ebx, edi
je 0x4e98df
cmp byte [edi + 0x148], 0
je 0x4e98d2
mov ebx, edi
jmp 0x4e98df
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ecx, ebx
call fcn.004d2500
test ebx, ebx
je 0x4e98f6
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push eax
push ecx
push 0
mov eax, ebx
jmp 0x4e9a93
mov eax, dword [0x690ca0]
lea edx, [esp + 0x1c]
mov byte [esp + 0x13], 0
mov byte [esp + 0x18], 0
call fcn.00404050
test ebx, ebx
jne 0x4e994a
mov eax, dword [0x695360]
cmp eax, 5
jne 0x4e99cd
mov edx, dword [0x695378]
mov eax, dword [0x695370]
push ebx
push edx
push ebx
push ebx
push 0x695364
push eax
call dword [0x695374]
add esp, 0x18
xor eax, eax
mov dword [0x695360], eax
mov dword [0x6919d4], eax
mov eax, dword [0x690ca0]
mov eax, dword [eax + 0x530]
cmp eax, dword [0x692520]
je 0x4e996f
test ebx, ebx
mov dword [0x692520], eax
jne 0x4e996a
test edi, edi
je 0x4e996f
mov byte [esp + 0x13], 1
mov eax, dword [esp + 0x1c]
xor edx, edx
call fcn.00404050
cmp byte [esp + 0x13], 0
je 0x4e9a98
test ebx, ebx
mov esi, ebx
jne 0x4e9a82
mov edi, dword [esp + 0x20]
mov edx, dword [edi]
mov eax, dword [edx + 0x60]
mov ecx, edi
call eax
test eax, eax
mov dword [esp + 0x1c], eax
je 0x4e9a7e
jmp 0x4e99b0
mov edx, dword [edi]
mov edx, dword [edx + 0x64]
lea eax, [esp + 0x1c]
push eax
mov ecx, edi
call edx
test esi, esi
jne 0x4e9a67
mov esi, eax
jmp 0x4e9a6f
cmp eax, 7
jne 0x4e994a
test edi, edi
jne 0x4e994a
push 0x17
mov byte [esp + 0x17], 1
mov byte [esp + 0x1c], 1
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x4e9a08
push 2
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
xor ecx, ecx
test ax, ax
setl cl
mov eax, ecx
jmp 0x4e9a1a
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
xor edx, edx
test ax, ax
setl dl
mov eax, edx
test eax, eax
je 0x4e996f
xor edi, edi
test esi, esi
je 0x4e9a53
test edi, edi
jne 0x4e996f
push 0x6199a4
mov ecx, esi
call fcn.00580b10
mov ecx, esi
mov edi, eax
call fcn.0044aba0
mov esi, eax
test esi, esi
jne 0x4e9a28
test edi, edi
jne 0x4e996f
push 1
call fcn.00476c50
add esp, 4
mov byte [esp + 0x18], 0
jmp 0x4e996f
cmp eax, dword [edi + 0x14c]
je 0x4e9a7c
cmp dword [esp + 0x1c], 0
jne 0x4e99b0
jmp 0x4e9a7e
mov esi, eax
test esi, esi
je 0x4e9a98
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
push eax
push ecx
push edx
mov eax, esi
call fcn.004e9650
mov esi, dword [esp + 0x14]
xor ebx, ebx
cmp dword [esi + 0xa8], ebx
jne 0x4e978c
cmp dword [esi + 0xac], ebx
jne 0x4e978c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, dword [esp + 0x14]
mov edi, eax
cmp edi, dword [ebx + 0xdc]
sbb esi, esi
add esi, 1
add ebx, 0xd4
mov eax, esi
mov ecx, ebx
call fcn.005072e0
test esi, esi
je 0x4e9aed
mov ecx, dword [esp + 0x14]
add edi, 0x10
mov dword [ecx + 0xdc], edi
test eax, eax
jne 0x4e9afd
mov eax, 1
mov ecx, ebx
call fcn.005072e0
cmp dword [esp + 0x24], 0
jne 0x4e9b0c
test eax, eax
je 0x4e978c
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4