Function at 0x1002e757
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10069dd3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd8
push esi
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1002e994
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xd4], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x90]
movzx eax, byte [eax]
test eax, eax
je 0x1002e987
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x14], eax
push 0
mov ecx, dword [ebp - 0x14]
call fcn.10011cc6
cmp dword [eax], 0
je 0x1002e8fd
mov eax, 0x637c1d6b
test eax, eax
je 0x1002e8e2
push 0
mov ecx, dword [ebp - 0x14]
call fcn.10011cc6
push 1
mov ecx, dword [ebp - 0x14]
call fcn.10011cc6
cmp dword [eax], 0xc0d1
jg 0x1002e844
mov dword [ebp - 0xb0], 1
jmp 0x1002e84b
and dword [ebp - 0xb0], 0
push 0
mov ecx, dword [ebp - 0x14]
call fcn.10011cc6
push 0
mov ecx, dword [ebp - 0x14]
call fcn.10011cc6
cmp dword [eax], 0
je 0x1002e87c
push 0
mov ecx, dword [ebp - 0x14]
call fcn.10011cc6
cmp dword [eax], 0
je 0x1002e87c
mov dword [ebp - 0x5c], 1
jmp 0x1002e880
and dword [ebp - 0x5c], 0
push 1
mov ecx, dword [ebp - 0x14]
call fcn.10011cc6
mov ecx, dword [ebp - 0x5c]
cmp ecx, dword [eax]
jle 0x1002e89d
mov dword [ebp - 0x84], 1
jmp 0x1002e8a4
and dword [ebp - 0x84], 0
push 0
mov ecx, dword [ebp - 0x14]
call fcn.10011cc6
mov ecx, dword [ebp - 0x84]
cmp ecx, dword [eax]
jl 0x1002e8c1
mov dword [ebp - 0x40], 1
jmp 0x1002e8c5
and dword [ebp - 0x40], 0
push 0
mov ecx, dword [ebp - 0x14]
call fcn.10011cc6
mov ecx, dword [ebp - 0x40]
cmp ecx, dword [eax]
jle 0x1002e8e2
mov dword [ebp - 0xc8], 1
jmp 0x1002e8e9
and dword [ebp - 0xc8], 0
push 0
mov ecx, dword [ebp - 0x14]
call fcn.10011cc6
push 1
mov ecx, dword [ebp - 0x14]
call fcn.10011cc6
push 0
mov ecx, dword [ebp - 0x14]
call fcn.10011cc6
mov esi, 0x50cfdfe9
sub esi, dword [eax]
push 0
mov ecx, dword [ebp - 0x14]
call fcn.10011cc6
cmp esi, dword [eax]
jl 0x1002e928
mov dword [ebp - 0x8c], 1
jmp 0x1002e92f
and dword [ebp - 0x8c], 0
cmp dword [ebp - 0x8c], 0xfffffffd
jne 0x1002e944
mov dword [ebp - 0xb8], 1
jmp 0x1002e94b
and dword [ebp - 0xb8], 0
push 1
mov ecx, dword [ebp - 0x14]
call fcn.10011cc6
xor eax, eax
inc eax
imul eax, eax, 0xbee6
test eax, eax
jne 0x1002e96b
mov dword [ebp - 0x2c], 1
jmp 0x1002e96f
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x94]
mov ecx, dword [ebp - 0x2c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0x2c]
mov dword [eax], ecx
jmp 0x1002e98f
push 0
call dword [sym.imp.USER32.dll_GetKeyboardState]
jmp 0x1002ed41
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0x10], 0xfffffffa
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x24], 0xfffffff6
mov dword [ebp - 0x20], 0x5610a143
push 3
lea ecx, [ebp - 0xe0]
call fcn.10011c5f
and dword [ebp - 4], 0
mov dword [ebp - 0x28], 0
jmp 0x1002e9e3
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 3
jge 0x1002e9ff
push dword [ebp - 0x28]
lea ecx, [ebp - 0xe0]
call fcn.10011cc6
mov dword [eax], 0xe708bee6
jmp 0x1002e9dc
mov dword [ebp - 0x18], 0xc1d6
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x10], eax
jge 0x1002ea73
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x18]
jge 0x1002ea22
mov dword [ebp - 0x48], 1
jmp 0x1002ea26
and dword [ebp - 0x48], 0
cmp dword [ebp - 0x48], 0xbc0d133f
ja 0x1002ea3b
mov dword [ebp - 0x88], 1
jmp 0x1002ea42
and dword [ebp - 0x88], 0
cmp dword [ebp - 0x88], 0xb288586f
jb 0x1002ea57
mov dword [ebp - 0x50], 1
jmp 0x1002ea5b
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x1002ea73
cmp dword [ebp - 0x18], 0
jne 0x1002ea73
and dword [ebp - 0x70], 0
jmp 0x1002ea7a
mov dword [ebp - 0x70], 1
mov eax, dword [ebp - 0x10]
imul eax, dword [ebp - 0x70]
cmp eax, dword [ebp - 0x10]
jge 0x1002ea8f
mov dword [ebp - 0x58], 1
jmp 0x1002ea93
and dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x58], eax
jl 0x1002eaa4
mov dword [ebp - 0x80], 1
jmp 0x1002eaa8
and dword [ebp - 0x80], 0
cmp dword [ebp - 0x80], 9
jb 0x1002eab7
mov dword [ebp - 0x60], 1
jmp 0x1002eabb
and dword [ebp - 0x60], 0
cmp dword [ebp - 0x60], 0xfffd
je 0x1002eacd
mov dword [ebp - 0x78], 1
jmp 0x1002ead1
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x78], eax
jl 0x1002eae2
mov dword [ebp - 0x68], 1
jmp 0x1002eae6
and dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x68], eax
je 0x1002eaf7
mov dword [ebp - 0x44], 1
jmp 0x1002eafb
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x20], eax
jl 0x1002eb19
push 6
pop eax
test eax, eax
je 0x1002eb19
mov dword [ebp - 0x4c], 1
jmp 0x1002eb1d
and dword [ebp - 0x4c], 0
cmp dword [ebp - 0x4c], 0xbefa
jge 0x1002eb2f
mov dword [ebp - 0x54], 1
jmp 0x1002eb33
and dword [ebp - 0x54], 0
cmp dword [ebp - 0x54], 0xec56
jge 0x1002eb45
mov dword [ebp - 0x34], 1
jmp 0x1002eb49
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x34], eax
jge 0x1002eb5a
mov dword [ebp - 0x64], 1
jmp 0x1002eb5e
and dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x64]
sub eax, 0xffff
cmp eax, dword [ebp - 0x10]
jne 0x1002eb74
mov dword [ebp - 0x6c], 1
jmp 0x1002eb78
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x6c]
je 0x1002ec93
mov dword [ebp - 0x74], 0x9080254f
mov dword [ebp - 0x20], 0
jmp 0x1002eb9b
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 2
jg 0x1002ebd7
mov dword [ebp - 0x10], 0
jmp 0x1002ebb1
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 2
jg 0x1002ebc0
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
jmp 0x1002ebaa
push dword [ebp - 0x20]
lea ecx, [ebp - 0xe0]
call fcn.10011cc6
cmp dword [eax], 0
je 0x1002ebd5
jmp 0x1002ebd7
jmp 0x1002eb94
mov byte [ebp - 0x19], 0
mov dword [ebp - 0xa4], 0x1938
cmp dword [ebp - 0xa4], 0x676
jge 0x1002ec83
lea eax, [ebp - 0x30]
push eax
push 0x1000b1cc
call fcn.10050d0b
pop ecx
pop ecx
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x30]
dec eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0xac], 0
je 0x1002ec83
mov dword [ebp - 0xe4], 0xbe
lea eax, [ebp - 0x7c]
push eax
push 0x1000b1cc
call fcn.10050d0b
pop ecx
pop ecx
mov eax, dword [ebp - 0x7c]
cdq
mov ecx, 0xbe
idiv ecx
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x7c]
cdq
mov ecx, 0xbe
idiv ecx
mov dword [ebp - 0xbc], edx
mov eax, dword [ebp - 0xb4]
cmp eax, dword [ebp - 0xbc]
jl 0x1002ec71
mov dword [ebp - 0x38], 0x1000b44c
jmp 0x1002ec78
mov dword [ebp - 0x38], 0x1000b450
push dword [ebp - 0x38]
call fcn.100510f6
pop ecx
jmp 0x1002ec05
movzx eax, byte [ebp - 0x19]
test eax, eax
je 0x1002ec91
call dword [sym.imp.USER32.dll_EndMenu]
jmp 0x1002eca7
mov byte [ebp - 0x1a], 0
movzx eax, byte [ebp - 0x1a]
test eax, eax
je 0x1002eca7
push 0
call dword [sym.imp.GDI32.dll_CreateRectRgnIndirect]
mov dword [ebp - 0x10], 0
jmp 0x1002ecb7
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 2
jg 0x1002ed12
mov dword [ebp - 0x24], 2
jmp 0x1002eccd
mov eax, dword [ebp - 0x24]
dec eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jl 0x1002ecfb
mov dword [ebp - 0x3c], 3
mov dword [ebp - 0x18], 0
jmp 0x1002ecea
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jg 0x1002ecf9
mov eax, dword [ebp - 0x3c]
dec eax
mov dword [ebp - 0x3c], eax
jmp 0x1002ece3
jmp 0x1002ecc6
push dword [ebp - 0x10]
lea ecx, [ebp - 0xe0]
call fcn.10011cc6
cmp dword [eax], 0
je 0x1002ed10
jmp 0x1002ed12
jmp 0x1002ecb0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe0]
call fcn.10011cc1
push dword [ebp - 0xc4]
push 0
push 0x6df
push dword [ebp - 0xcc]
push 0x2932
call fcn.10034ac4
add esp, 0x14
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret