Function at 0x1001b121
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10068a92
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x8c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x1001b1b7
lea eax, [ebp + 0x18]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x50]
movzx eax, byte [eax]
test eax, eax
je 0x1001b183
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x24]
mov dword [ecx], eax
jmp 0x1001b1b2
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
movzx eax, byte [eax]
test eax, eax
je 0x1001b1b2
push 1
push 0
push 0x49fc
push 1
call fcn.1001234e
add esp, 0x10
jmp 0x1001b352
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x44], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x68]
movzx eax, byte [eax]
test eax, eax
je 0x1001b30d
mov dword [ebp - 0x28], 0x2b2a
mov dword [ebp - 0x58], 0x10007e28
cmp dword [ebp - 0x28], 0x2e28
jle 0x1001b2b8
and dword [ebp - 0x18], 0
jmp 0x1001b20b
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x42a7
jge 0x1001b2b0
and dword [ebp - 0x20], 0
jmp 0x1001b225
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x1d6f
jge 0x1001b2ab
and dword [ebp - 0x1c], 0
jmp 0x1001b23b
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x920
jge 0x1001b2a6
and dword [ebp - 0x14], 0
jmp 0x1001b251
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x4ae0
jge 0x1001b2a4
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
cdq
idiv dword [ebp - 0x14]
or ecx, edx
mov eax, ecx
cdq
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], edx
push dword [ebp - 0x7c]
push dword [ebp - 0x80]
lea ecx, [ebp - 0x9c]
call fcn.1000a566
pop ecx
pop ecx
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
call fcn.10020483
push eax
call fcn.10051696
pop ecx
lea ecx, [ebp - 0x9c]
call fcn.10020479
jmp 0x1001b24a
jmp 0x1001b234
jmp 0x1001b21e
jmp 0x1001b204
push 0
call dword [sym.imp.USER32.dll_GetKeyboardState]
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x70], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x28], 0x2a3c
jge 0x1001b2d4
push dword [ebp - 0x58]
call fcn.10051696
pop ecx
jmp 0x1001b2f0
or dword [ebp - 4], 0xffffffff
jmp 0x1001b2fa
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], eax
jmp 0x1001b352
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x64]
push dword [eax]
push dword [ebp - 0x6c]
push 0
push 0x59c
push 0x2982
mov eax, dword [ebp - 0x74]
push dword [eax]
call fcn.1001e04f
add esp, 0x18
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret