Function at 0x1002fec2
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005f90d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xc8
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1002ff69
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x4c], eax
lea eax, [ebp + 0x28]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
movzx eax, byte [eax]
test eax, eax
je 0x1002ff33
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x34]
mov dword [ecx], eax
jmp 0x1002ff64
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x94]
mov ecx, dword [ecx]
mov dword [eax], ecx
jmp 0x10030251
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x88], eax
lea eax, [ebp + 0x2c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
movzx eax, byte [eax]
test eax, eax
je 0x100301f1
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 2
jmp 0x10030002
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
jl 0x100301ef
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x18], 2
jmp 0x10030025
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jl 0x100301ea
mov dword [ebp - 0x78], 0xe356ec7e
mov dword [ebp - 0x3c], 0x72b5
mov dword [ebp - 0x60], 0x1000ab24
cmp dword [ebp - 0x3c], 0x7577
jle 0x10030118
push 0
call dword [sym.imp.USER32.dll_GetKeyboardState]
and dword [ebp - 0x28], 0
jmp 0x10030066
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x7ef7
jge 0x10030118
and dword [ebp - 0x2c], 0
jmp 0x10030080
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x5a21
jge 0x10030113
and dword [ebp - 0x30], 0
jmp 0x1003009a
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x6ebf
jge 0x1003010e
and dword [ebp - 0x20], 0
jmp 0x100300b0
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x7505
jge 0x1003010c
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x20]
shl eax, cl
or eax, dword [ebp - 0x28]
cdq
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb0], edx
push dword [ebp - 0xb0]
push dword [ebp - 0xb4]
lea ecx, [ebp - 0xd8]
call fcn.1000d6fa
pop ecx
pop ecx
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
call fcn.1001a8bc
push eax
call fcn.10049b86
pop ecx
lea ecx, [ebp - 0xd8]
call fcn.1001a8b2
jmp 0x100300a9
jmp 0x10030093
jmp 0x10030079
jmp 0x1003005f
and dword [ebp - 4], 0
cmp dword [ebp - 0x3c], 0x7167
jge 0x1003012e
push dword [ebp - 0x60]
call fcn.10049b86
pop ecx
jmp 0x1003014a
or dword [ebp - 4], 0xffffffff
jmp 0x10030154
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0x24]
call fcn.1001abab
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc0], eax
mov esi, dword [ebp - 0x18]
push 2
mov ecx, dword [ebp - 0x24]
call fcn.1001abab
imul esi, dword [eax]
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0x24]
call fcn.1001abab
sub esi, dword [eax]
cmp esi, dword [ebp - 0x18]
jle 0x100301a2
mov dword [ebp - 0x38], 1
jmp 0x100301a6
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0x24]
call fcn.1001abab
mov eax, dword [eax]
mov ecx, dword [ebp - 0x38]
lea eax, [ecx + eax + 8]
test eax, eax
jne 0x100301ce
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
jne 0x100301ce
and dword [ebp - 0x40], 0
jmp 0x100301d5
mov dword [ebp - 0x40], 1
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x40]
mov dword [eax], ecx
mov eax, dword [ebp - 0x70]
mov eax, dword [eax]
mov dword [ebp - 0x78], eax
jmp 0x1003001e
jmp 0x1002fff7
jmp 0x10030251
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0
jmp 0x10030231
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 1
jge 0x10030251
mov eax, dword [ebp - 0x1c]
push dword [eax]
mov ecx, dword [ebp - 0xa0]
call fcn.1001abab
mov dword [eax], 0x124f
jmp 0x10030226
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret