Function at 0x100198d8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10060ed2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x70
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10019a78
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x5c], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x54]
movzx eax, byte [eax]
test eax, eax
je 0x10019a5f
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
jmp 0x10019954
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0xfffffff9
jg 0x10019a5d
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x68], 0x1d847576
cmp dword [ebp - 0x1c], 0
je 0x10019a4e
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0xffff
je 0x1001999a
mov dword [ebp - 0x2c], 1
jmp 0x1001999e
and dword [ebp - 0x2c], 0
cmp dword [ebp - 0x2c], 1
jbe 0x100199ad
mov dword [ebp - 0x30], 1
jmp 0x100199b1
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
cmp dword [ebp - 0x30], eax
jg 0x100199c4
mov dword [ebp - 0x34], 1
jmp 0x100199c8
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x34], eax
jg 0x100199d9
mov dword [ebp - 0x38], 1
jmp 0x100199dd
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x38]
add eax, 0x5ebfaadc
mov ecx, dword [ebp - 0x3c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x3c]
cmp dword [eax], 0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx]
cmp ecx, dword [eax]
jle 0x10019a05
mov dword [ebp - 0x40], 1
jmp 0x10019a09
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x40]
cmp eax, 0x752570e8
jg 0x10019a1f
mov dword [ebp - 0x44], 1
jmp 0x10019a23
and dword [ebp - 0x44], 0
cmp dword [ebp - 0x44], 0xffff
ja 0x10019a35
mov dword [ebp - 0x48], 1
jmp 0x10019a39
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x10019a4e
mov dword [ebp - 0x4c], 1
jmp 0x10019a52
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x68], eax
jmp 0x10019949
jmp 0x10019a73
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x10019a73
push 0
call dword [sym.imp.USER32.dll_GetKeyboardState]
jmp 0x10019b61
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x50], 0x4c24
mov dword [ebp - 0x70], 0x100086b0
cmp dword [ebp - 0x50], 0x4cf0
jle 0x10019b0a
push 0
push 0x10bb
call dword [sym.imp.GDI32.dll_GetCurrentPositionEx]
and dword [ebp - 0x20], 0
jmp 0x10019aaf
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x34ce
jge 0x10019b0a
and dword [ebp - 0x24], 0
jmp 0x10019ac5
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x2f3e
jge 0x10019b08
and dword [ebp - 0x28], 0
jmp 0x10019adb
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x7191
jge 0x10019b06
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x28]
cdq
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], edx
push dword [ebp - 0x7c]
push dword [ebp - 0x80]
mov ecx, 0x10609ad8
call fcn.1000f5cf
jmp 0x10019ad4
jmp 0x10019abe
jmp 0x10019aa8
push 0x698
push 0x47ea
push dword [ebp - 0x6c]
push 1
call fcn.10017f31
add esp, 0x10
and dword [ebp - 4], 0
cmp dword [ebp - 0x50], 0x4b65
jge 0x10019b3b
mov edx, dword [ebp - 0x70]
mov ecx, 0x10609ad8
call fcn.10011079
jmp 0x10019b57
or dword [ebp - 4], 0xffffffff
jmp 0x10019b61
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret