Function at 0x1000a87a
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
push esi
movzx eax, byte [ebp + 0x28]
test eax, eax
je 0x1000a8e8
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x28], eax
lea eax, [ebp + 0x2c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
test eax, eax
je 0x1000a8cc
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
mov ecx, dword [ecx]
mov dword [eax], ecx
jmp 0x1000a8e3
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1000a8e3
push 0xd5f
call dword [sym.imp.USER32.dll_GetKeyState]
jmp 0x1000aa93
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x5c], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
movzx eax, byte [eax]
test eax, eax
je 0x1000a93d
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x54]
mov ecx, dword [ecx]
mov dword [eax], ecx
jmp 0x1000aa93
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
jmp 0x1000a966
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 4
jge 0x1000a979
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x80], 0x5711
jmp 0x1000a95f
mov dword [ebp - 0x10], 0
jmp 0x1000a989
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jg 0x1000aa6a
mov dword [ebp - 8], 1
mov dword [ebp - 8], 0
jmp 0x1000a9aa
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 4
jge 0x1000a9bd
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x80], 1
jmp 0x1000a9a3
mov dword [ebp - 8], 3
jmp 0x1000a9cd
mov eax, dword [ebp - 8]
dec eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl 0x1000aa65
mov dword [ebp - 0x14], 0
jmp 0x1000a9e7
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jge 0x1000a9fa
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x70], 7
jmp 0x1000a9e0
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x70], 0
jmp 0x1000aa1f
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x70]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x70], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x70], 3
jg 0x1000aa60
mov dword [ebp - 0x18], 6
mov dword [ebp - 0x18], 3
jmp 0x1000aa43
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jl 0x1000aa5e
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x70]
cmp dword [ebp + eax*4 - 0x80], 0
je 0x1000aa5c
jmp 0x1000aa5e
jmp 0x1000aa3c
jmp 0x1000aa0a
jmp 0x1000a9c6
jmp 0x1000a982
mov ecx, dword [ebp - 0x64]
call fcn.10009864
mov ecx, eax
mov eax, dword [ebp - 0x1c]
cdq
mov esi, 0x3e8
idiv esi
add ecx, edx
mov eax, dword [ebp - 0x1c]
cdq
mov esi, 0x3e8
idiv esi
add ecx, eax
mov eax, dword [ebp - 0x68]
mov dword [eax], ecx
pop esi
mov esp, ebp
pop ebp
ret