Function at 0x10001580
Capabilities:
Check for time delay via gettickcount
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0x18]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
add esi, 0xfffffff8
mov eax, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x20], eax
add edi, 0xc
lea eax, [ebp - 0x10]
mov dword [ebp - 0x24], ecx
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [ebp - 0x10]
cmp ecx, edi
jl 0x10001649
lea eax, [edi + 0xf]
cmp ecx, eax
jg 0x10001649
mov ecx, dword [ebp - 0xc]
cmp ecx, esi
jl 0x10001649
lea eax, [esi + 0xf]
cmp ecx, eax
jg 0x10001649
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
shr eax, 0x10
test eax, eax
je 0x10001642
cmp byte [0x10006680], 0
mov eax, dword [sym.imp.KERNEL32.dll_GetTickCount]
je 0x10001626
cmp dword [0x10006684], 0
je 0x10001649
call eax
mov ecx, dword [0x10006684]
add ecx, 0x3e8
cmp ecx, eax
ja 0x10001649
mov eax, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov byte [0x10006680], 1
call eax
mov ecx, dword [ebp - 0x1c]
mov dword [0x10006684], eax
xor eax, eax
cmp dword [ecx], eax
sete al
mov dword [ecx], eax
jmp 0x1000164c
mov byte [0x10006680], 0
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx], 0
je 0x10001742
push ebx
push 0xffffff00
push 0xf
push 1
push esi
push edi
call fcn.10001040
push ebx
push 0xffffff00
push 1
push 0xf
lea eax, [esi + 0xf]
push eax
push edi
call fcn.10001040
push ebx
push 0xffffff00
push 1
push 0xf
push esi
push edi
call fcn.10001040
push ebx
push 0xffffff00
push 0x10
push 1
push esi
lea eax, [edi + 0xf]
push eax
call fcn.10001040
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
push 0x144
push ebx
lea eax, [edi + 0xf]
mov dword [ebp - 0x18], eax
lea ecx, [esi - 5]
add eax, 0xa
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], eax
lea eax, [ecx + 0xa]
mov dword [ebp - 0xc], eax
mov eax, dword [ebx]
call dword [eax + 0x164]
mov eax, dword [ebx]
push 1
push 0x1b
push ebx
call dword [eax + 0xe4]
mov eax, dword [ebx]
push 6
push 0x14
push ebx
call dword [eax + 0xe4]
mov eax, dword [ebx]
push 5
push 0x1b
push ebx
call dword [eax + 0xe4]
mov eax, dword [ebx]
push 1
push ecx
mov dword [esp], 0x3f800000
lea ecx, [ebp - 0x18]
push 0xffffff00
push 1
push ecx
push 1
push ebx
call dword [eax + 0xac]
mov ecx, dword [ebp - 0x24]
lea eax, [esi - 6]
push 0x100
push dword [ebp - 0x20]
push 0xffffff00
push eax
lea eax, [edi + 0x23]
push eax
call fcn.10001170
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1000272d
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x24]
add eax, 0xfffffffa
push 0x100
push dword [ebp - 0x20]
push 0xffdadada
push eax
mov eax, dword [ebp + 8]
add eax, 0x23
push eax
call fcn.10001170
push ebx
push 0xff626262
push 0xf
push 1
push esi
push edi
call fcn.10001040
push ebx
push 0xff626262
push 1
push 0xf
lea eax, [esi + 0xf]
push eax
push edi
call fcn.10001040
push ebx
push 0xff626262
push 1
push 0xf
push esi
push edi
call fcn.10001040
push ebx
push 0xff626262
push 0x10
push 1
push esi
lea eax, [edi + 0xf]
push eax
call fcn.10001040
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000272d
mov esp, ebp
pop ebp
ret 0x14