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

Disassembly:
sub esp, 0x20
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4412f7
mov eax, dword [esi + 0x60]
mov ecx, dword [esi + 0x44]
push ebx
push ebp
cmp eax, ecx
push edi
jge 0x4410d4
xor ebp, ebp
cmp eax, ebp
jl 0x4410d6
mov ecx, dword [esi + 0x40]
mov eax, dword [ecx + eax*4]
cmp eax, ebp
mov dword [esp + 0x10], eax
je 0x441229
mov eax, dword [esi + 0x84]
mov ebx, dword [esi + 0x80]
mov ecx, dword [esi + 0x7c]
mov edi, dword [esi + 0x78]
sub eax, ebx
sub ecx, edi
cmp eax, ebp
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
jne 0x4410df
cmp ecx, ebp
jne 0x4410df
mov dword [esi + 0x88], ebp
mov dword [esi + 0x8c], ebp
jmp 0x441229
xor ebp, ebp
mov dword [esp + 0x10], ebp
jmp 0x441229
mov eax, dword [esi + 0xc]
lea edx, [esp + 0x20]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esp + 0x28]
mov eax, 0x66666667
imul ecx
sar edx, 2
mov ecx, edx
mov eax, 0x66666667
shr ecx, 0x1f
lea edi, [edx + ecx + 1]
mov ecx, dword [esp + 0x2c]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
lea ebp, [edx + eax + 1]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x88]
mov ebx, eax
test ecx, ecx
je 0x441152
mov edx, dword [esi + 0x8c]
lea eax, [edx*8]
sub eax, edx
sub eax, ecx
add eax, ebx
cdq
and edx, 7
add eax, edx
sar eax, 3
mov dword [esi + 0x8c], eax
jmp 0x44115c
mov dword [esi + 0x8c], 2
mov dword [esi + 0x88], ebx
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call ebx
test ah, 0x80
je 0x44118b
mov eax, edi
cdq
and edx, 0xf
add eax, edx
sar eax, 4
mov edi, eax
mov eax, ebp
cdq
and edx, 0xf
add eax, edx
sar eax, 4
mov ebp, eax
push 0x11
call ebx
test ah, 0x80
je 0x44119a
shl edi, 2
shl ebp, 2
mov ecx, dword [esi + 0x8c]
mov eax, 0x51eb851f
mov edx, ecx
imul edx, edi
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, edx
cmp eax, 0x3e8
jg 0x4411d2
cmp eax, 1
jge 0x4411cb
mov eax, 1
jmp 0x4411d7
cmp eax, 0x3e8
jle 0x4411d7
mov eax, 0x3e8
imul eax, dword [esp + 0x14]
imul ecx, ebp
mov edi, eax
mov eax, 0x51eb851f
imul ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
cmp edx, 0x3e8
jg 0x44120e
cmp edx, 1
jge 0x441206
mov edx, 1
jmp 0x441213
cmp edx, 0x3e8
jle 0x441213
mov edx, 0x3e8
imul edx, dword [esp + 0x18]
mov ecx, dword [esi + 8]
push edx
lea edx, [esp + 0x1c]
push edi
push edx
call fcn.004606c0
xor ebp, ebp
mov ecx, dword [esi + 0x58]
cmp ecx, ebp
je 0x4412ed
push 0xffffffffffffffff
call fcn.0045b0c0
test eax, eax
jne 0x4412ed
mov eax, dword [esi + 0x58]
cmp dword [eax + 0x28], ebp
jne 0x4412ed
mov ecx, dword [esp + 0x10]
call fcn.0045aeb0
test eax, eax
jne 0x4412ed
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
mov ecx, dword [esi + 0x1c0]
push ebp
push ebp
push ecx
mov ecx, dword [esi + 0x58]
mov edi, eax
call fcn.0045a6b0
test eax, eax
je 0x4412e0
call ebx
sub eax, edi
cmp eax, 0x5a
jbe 0x44129b
mov eax, dword [esi + 0x1c0]
dec eax
cmp eax, 1
jge 0x4412a4
mov eax, 1
jmp 0x4412a4
jae 0x4412aa
mov eax, dword [esi + 0x1c0]
inc eax
mov dword [esi + 0x1c0], eax
mov ecx, dword [esi + 0x58]
push 0xffffffffffffffff
call fcn.0045b0c0
test eax, eax
je 0x4412ed
mov ecx, dword [esi + 0x58]
push 1
call fcn.0045a850
cmp dword [esi + 0x5c], ebp
je 0x4412ed
mov ecx, esi
mov dword [esi + 0x5c], ebp
call fcn.00441b60
mov ecx, esi
call fcn.00448a10
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x20
ret
mov ecx, dword [esi + 0x58]
push 1
call fcn.0045a850
mov dword [esi + 0x58], ebp
mov ecx, esi
call fcn.00448a10
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x20
ret