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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10012b2b
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x10017030]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
lea eax, [ebp + 8]
push eax
mov dword [0x10018ef0], 1
call fcn.100032a0
mov esi, dword [eax]
xor ebx, ebx
cmp esi, ebx
jne 0x1000274b
push 0x4c
call fcn.10004dce
add esp, 4
mov dword [esp + 0x10], eax
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x28], ebx
cmp eax, ebx
je 0x10002730
mov ebx, dword [ebp + 8]
mov esi, eax
call fcn.10002660
mov esi, eax
xor ebx, ebx
jmp 0x10002732
xor esi, esi
lea ecx, [ebp + 8]
push ecx
mov dword [esp + 0x2c], 0xffffffff
call fcn.100032a0
mov dword [eax], esi
mov dword [0x10018ef8], edi
mov eax, esi
call fcn.10001e00
mov dword [0x10018ef0], ebx
cmp dword [esi + 0x20], ebx
je 0x1000278d
mov edx, dword [esi + 0x18]
mov eax, dword [0x10018ef8]
mov dword [eax + 0x468], edx
mov dword [eax + 0x478], ebx
mov eax, dword [eax + 0x45c]
mov ecx, dword [0x10018ef8]
mov edx, dword [ecx + 0x460]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov dword [esi + 0x20], ebx
mov eax, dword [0x10018ef8]
mov ecx, dword [eax + 0x478]
test ecx, ecx
je 0x10002928
mov edx, dword [0x10018ef8]
mov eax, dword [edx + 0x454]
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, dword [sym.imp.USER32.dll_GetAsyncKeyState]
test eax, eax
je 0x10002804
call edi
mov ecx, dword [esi + 0x1c]
add ecx, 0xfa
cmp eax, ecx
jbe 0x10002804
mov edx, dword [0x10018ef8]
mov eax, dword [edx + 0x454]
push eax
call ebx
movzx eax, ax
test al, 1
jne 0x100027ec
test eax, 0x8000
jne 0x100027ec
xor eax, eax
jmp 0x100027f1
mov eax, 1
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], 0
test eax, eax
je 0x10002804
call edi
mov dword [esi + 0x1c], eax
cmp dword [esi + 0x20], 0
jne 0x100028f6
mov ecx, dword [0x10018ef8]
mov edx, dword [ecx + 0x458]
test edx, edx
je 0x100028f0
call edi
mov ecx, dword [esi + 0x1c]
add ecx, 0xfa
cmp eax, ecx
jbe 0x100028f0
mov edx, dword [0x10018ef8]
mov eax, dword [edx + 0x428]
test eax, eax
je 0x100028f0
mov ecx, dword [0x10018ef8]
mov edx, dword [ecx + 0x458]
push edx
call ebx
movzx eax, ax
test al, 1
jne 0x1000286a
test eax, 0x8000
jne 0x1000286a
xor eax, eax
jmp 0x1000286f
mov eax, 1
mov dword [esi + 0x20], eax
test eax, eax
je 0x100028f0
mov dword [esi + 0x24], 1
call edi
mov dword [esi + 0x1c], eax
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [0x10018ef8]
mov eax, dword [edx + 0x428]
lea ecx, [esp + 0x14]
push ecx
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [0x10018ef8]
mov dword [esi + 0x28], ecx
mov dword [esi + 0x2c], edx
mov ecx, dword [eax + 0x428]
lea edi, [esi + 0x38]
push edi
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
fild dword [esi + 0x28]
mov edx, dword [esi + 0x40]
sub edx, dword [edi]
mov eax, dword [esi + 0x44]
mov dword [esp + 0x10], edx
fidiv dword [esp + 0x10]
sub eax, dword [esi + 0x3c]
mov dword [esp + 0x10], eax
fstp dword [esi + 0x30]
fild dword [esi + 0x2c]
fidiv dword [esp + 0x10]
fstp dword [esi + 0x34]
cmp dword [esi + 0x20], 0
je 0x10002928
mov eax, dword [esi + 0x48]
fld1
mov ecx, dword [eax]
mov edx, dword [ecx + 0xac]
push 0
push ecx
fstp dword [esp]
push 0xffff00ff
push 1
push 0
push 0
push eax
mov dword [0x10018efc], 1
call edx
mov dword [esi + 0x18], 0
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8