Function at 0x491fc0
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [0x59510c]
sub esp, 0xc
test eax, eax
push esi
push edi
mov esi, edx
mov edi, ecx
je 0x492248
call fcn.004dbf30
test eax, eax
mov dword [esp + 0xc], eax
je 0x492248
xor eax, eax
test edi, edi
sete al
test esi, esi
push ebx
push ebp
mov ebp, eax
je 0x492023
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
and eax, 0x8000
sub eax, 0x8000
neg eax
sbb eax, eax
inc eax
test eax, eax
je 0x492023
mov eax, dword [0x595110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [esp + 0x18], ecx
jmp 0x492033
mov eax, dword [0x595110]
xor edx, edx
test eax, eax
sete dl
mov dword [esp + 0x18], edx
push 0xa
call dword [sym.imp.USER32.dll_BeginDeferWindowPos]
mov esi, eax
test esi, esi
je 0x492246
test edi, edi
mov ebx, dword [sym.imp.USER32.dll_DeferWindowPos]
jne 0x492104
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4920ae
mov edi, dword [0x5a1af8]
test edi, edi
je 0x492104
lea esp, [esp]
mov eax, dword [edi + 0xbb4]
cmp eax, dword [esp + 0x14]
jne 0x4920a2
mov ecx, dword [edi]
call fcn.00536a40
test eax, eax
je 0x4920a2
mov ecx, dword [edi]
push 0x13
push 0
push 0
push 0
push 0
push ebp
push ecx
push esi
call ebx
mov esi, eax
test esi, esi
je 0x492246
mov edi, dword [edi + 0xd84]
test edi, edi
jne 0x492070
jmp 0x492104
mov edx, dword [0x5a1b04]
push 5
push edx
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
je 0x492104
mov ecx, edi
call fcn.005366c0
test eax, eax
je 0x4920f5
mov ecx, dword [esp + 0x14]
cmp dword [eax + 0xbb4], ecx
jne 0x4920f5
mov edx, dword [eax]
push 0x13
push 0
push 0
push 0
push 0
push ebp
push edx
push esi
call ebx
mov esi, eax
test esi, esi
je 0x492246
push 2
push edi
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
jne 0x4920c3
mov eax, dword [0x59a15c]
test eax, eax
mov dword [esp + 0x10], eax
je 0x4921ea
jmp 0x492120
mov eax, dword [esp + 0x10]
jmp 0x492120
cmp eax, dword [esp + 0x14]
je 0x4921d8
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x49217e
mov edi, dword [0x5a1af8]
test edi, edi
je 0x4921d8
cmp dword [edi + 0xbb4], eax
jne 0x492172
mov ecx, dword [edi]
call fcn.00536a40
test eax, eax
je 0x49216e
mov eax, dword [edi]
push 0x13
push 0
push 0
push 0
push 0
push ebp
push eax
push esi
call ebx
mov esi, eax
test esi, esi
je 0x492246
mov eax, dword [esp + 0x10]
mov edi, dword [edi + 0xd84]
test edi, edi
jne 0x492140
jmp 0x4921d8
mov ecx, dword [0x5a1b04]
push 5
push ecx
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
je 0x4921d4
mov ecx, edi
call fcn.005366c0
test eax, eax
je 0x4921c5
mov edx, dword [esp + 0x10]
cmp dword [eax + 0xbb4], edx
jne 0x4921c5
mov eax, dword [eax]
push 0x13
push 0
push 0
push 0
push 0
push ebp
push eax
push esi
call ebx
mov esi, eax
test esi, esi
je 0x492246
push 2
push edi
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
jne 0x492193
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x22dc]
test eax, eax
mov dword [esp + 0x10], eax
jne 0x492117
mov ecx, dword [0x5a1b04]
push 5
push ecx
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
je 0x49223b
nop
mov ecx, edi
call fcn.005366c0
test eax, eax
je 0x49222c
mov ecx, dword [eax + 0xa20]
test ecx, ecx
je 0x49222c
mov edx, dword [eax]
push 0x13
push 0
push 0
push 0
push 0
push ebp
push edx
push esi
call ebx
mov esi, eax
test esi, esi
je 0x492246
push 2
push edi
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
jne 0x492200
test esi, esi
je 0x492246
push esi
call dword [sym.imp.USER32.dll_EndDeferWindowPos]
pop ebp
pop ebx
pop edi
pop esi
add esp, 0xc
ret