Function at 0x4a94d3
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 8
push esi
mov esi, ecx
cmp byte [esi + 0x5c], 0
je 0x4a94e8
call fcn.00425d38
test eax, 0x800
je 0x4a94f6
mov ecx, esi
call fcn.004202b2
pop esi
add esp, 8
ret 0xc
push ebx
push ebp
push edi
lea eax, [esi + 0x74]
push eax
mov ecx, esi
call fcn.00421656
mov eax, dword [esi + 0x20]
mov ebx, dword [fcn.005210f8]
lea ebp, [esi + 0x58]
push ebp
lea edi, [esi + 0x54]
push edi
push 0xb0
push eax
call ebx
mov ecx, dword [esi + 0x64]
cmp dword [ecx - 0xc], 0
je case.0x4a9553.9
push 0x10
call dword [sym.imp.user32.dll_GetKeyState]
test ax, ax
mov eax, dword [esp + 0x1c]
setl cl
add eax, 0xfffffff8
cmp eax, 0x26
mov byte [esp + 0x13], cl
ja case.0x4a9553.9
movzx edx, byte [eax + 0x4a98e0]
jmp dword [edx*4 + 0x4a98c0]
mov ecx, esi
call fcn.004202b2
push ebp
push edi
mov ecx, esi
call fcn.0046ad30
mov eax, dword [edi]
mov edx, dword [esi]
mov edx, dword [edx + 0x140]
push 0
mov dword [esp + 0x18], eax
push 0
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call edx
mov eax, dword [esp + 0x14]
cmp dword [edi], eax
jge 0x4a98b5
cmp byte [esp + 0x13], 0
mov dword [edi], eax
jne 0x4a959d
mov dword [ebp], eax
mov ecx, dword [ebp]
mov edx, dword [esi + 0x20]
push ecx
push eax
push 0xb1
push edx
call ebx
mov eax, dword [esi + 0x20]
push 0
push 0
push 0xb7
push eax
call ebx
pop edi
pop ebp
pop ebx
pop esi
add esp, 8
ret 0xc
mov ecx, esi
call fcn.004202b2
push ebp
push edi
mov ecx, esi
call fcn.0046ad30
mov eax, dword [edi]
mov edx, dword [esi]
mov edx, dword [edx + 0x140]
push 0
mov dword [esp + 0x18], eax
push 1
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call edx
mov eax, dword [esp + 0x14]
cmp dword [edi], eax
jge 0x4a98b5
cmp byte [esp + 0x13], 0
mov dword [edi], eax
jne 0x4a9609
mov dword [ebp], eax
mov ecx, dword [ebp]
mov edx, dword [esi + 0x20]
push ecx
push eax
push 0xb1
push edx
call ebx
mov eax, dword [esi + 0x20]
push 0
push 0
push 0xb7
push eax
call ebx
pop edi
pop ebp
pop ebx
pop esi
add esp, 8
ret 0xc
mov ecx, esi
call fcn.004202b2
push ebp
push edi
mov ecx, esi
call fcn.0046ad30
mov ecx, dword [ebp]
mov edx, dword [esi]
mov edx, dword [edx + 0x140]
push 0
push 1
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], ecx
push eax
mov ecx, esi
call edx
mov eax, dword [esp + 0x14]
cmp dword [ebp], eax
jle 0x4a98b5
cmp byte [esp + 0x13], 0
mov dword [ebp], eax
jne 0x4a9677
mov dword [edi], eax
mov ecx, dword [esi + 0x20]
push eax
mov eax, dword [edi]
push eax
push 0xb1
push ecx
call ebx
mov edx, dword [esi + 0x20]
push 0
push 0
push 0xb7
push edx
call ebx
pop edi
pop ebp
pop ebx
pop esi
add esp, 8
ret 0xc
test cl, cl
je 0x4a96b4
mov ecx, esi
call fcn.004a9390
pop edi
pop ebp
pop ebx
pop esi
add esp, 8
ret 0xc
cmp byte [esi + 0x5d], 0
pop edi
pop ebp
sete al
pop ebx
mov byte [esi + 0x5d], al
pop esi
add esp, 8
ret 0xc
mov ecx, dword [edi]
cmp ecx, dword [ebp]
mov ecx, esi
jne 0x4a9735
mov edx, dword [esi]
mov eax, dword [edx + 0x140]
push 1
push 1
push edi
call eax
test al, al
je 0x4a98b5
mov edx, dword [esi]
mov eax, dword [edi]
mov edx, dword [edx + 0x144]
push eax
mov ecx, esi
call edx
mov eax, dword [esi + 0x74]
push eax
mov ecx, esi
mov byte [esi + 0x5e], 0
mov byte [esi + 0x5f], 1
call fcn.00425dc0
mov edi, dword [edi]
mov ecx, dword [esi + 0x20]
push edi
push edi
push 0xb1
push ecx
mov dword [ebp], edi
call ebx
mov edx, dword [esi + 0x20]
push 0
push 0
push 0xb7
push edx
call ebx
pop edi
pop ebp
pop ebx
pop esi
add esp, 8
ret 0xc
call fcn.004a9020
pop edi
pop ebp
pop ebx
pop esi
add esp, 8
ret 0xc
lea eax, [esi + 0x74]
push eax
mov ecx, esi
call fcn.00421656
mov eax, dword [esi]
mov edx, dword [eax + 0x140]
push 1
push 1
push edi
mov ecx, esi
call edx
test al, al
je 0x4a98b5
mov eax, dword [edi]
mov ecx, dword [esi + 0x78]
cmp eax, dword [ecx - 0xc]
jge 0x4a989c
mov edx, dword [esi]
mov edx, dword [edx + 0x13c]
push eax
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call edx
test al, al
je 0x4a97af
cmp byte [esi + 0x5d], 0
je 0x4a9799
mov eax, dword [edi]
push 0x20
push eax
jmp 0x4a97b7
mov eax, dword [esp + 0x1c]
mov ecx, dword [edi]
mov edx, dword [esi]
mov edx, dword [edx + 0x148]
push eax
push ecx
mov ecx, esi
call edx
jmp 0x4a97bf
movzx eax, word [esi + 0x60]
mov ecx, dword [edi]
push eax
push ecx
lea ecx, [esi + 0x74]
call fcn.00436fc5
mov edx, dword [esi + 0x74]
push edx
mov ecx, esi
mov byte [esi + 0x5e], 0
mov byte [esi + 0x5f], 1
call fcn.00425dc0
add dword [edi], 1
mov edi, dword [edi]
mov eax, dword [esi + 0x20]
push edi
push edi
push 0xb1
push eax
mov dword [ebp], edi
call ebx
mov ecx, dword [esi + 0x20]
push 0
push 0
push 0xb7
push ecx
call ebx
pop edi
pop ebp
pop ebx
pop esi
add esp, 8
ret 0xc
lea eax, [esi + 0x74]
push eax
mov ecx, esi
call fcn.00421656
mov eax, dword [edi]
test eax, eax
jle 0x4a989c
mov edx, dword [esi + 0x78]
cmp eax, dword [edx - 0xc]
jg 0x4a989c
add eax, 0xffffffff
push 1
mov dword [edi], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x140]
push 0
push edi
mov ecx, esi
call edx
test al, al
je 0x4a98b5
mov edx, dword [esi + 0x68]
cmp dword [edx - 0xc], 0
movzx eax, word [esi + 0x60]
lea ecx, [esi + 0x68]
je 0x4a9852
mov eax, dword [edi]
push eax
call fcn.004719e0
movzx eax, ax
mov ecx, dword [edi]
push eax
push ecx
lea ecx, [esi + 0x74]
call fcn.00436fc5
mov edx, dword [esi + 0x74]
push edx
mov ecx, esi
mov byte [esi + 0x5e], 0
mov byte [esi + 0x5f], 1
call fcn.00425dc0
mov edi, dword [edi]
mov eax, dword [esi + 0x20]
push edi
push edi
push 0xb1
push eax
mov dword [ebp], edi
call ebx
mov ecx, dword [esi + 0x20]
push 0
push 0
push 0xb7
push ecx
call ebx
pop edi
pop ebp
pop ebx
pop esi
add esp, 8
ret 0xc
push 0xffffffffffffffff
call dword [sym.imp.user32.dll_MessageBeep]
pop edi
pop ebp
pop ebx
pop esi
add esp, 8
ret 0xc
mov ecx, esi
call fcn.004202b2
pop edi
pop ebp
pop ebx
pop esi
add esp, 8
ret 0xc