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

Disassembly:
push 0xffffffffffffffff
push 0x432728
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov eax, dword [0x43ce70]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x34], 0
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call edi
push 0x10
shr eax, 0xf
and eax, 1
mov dword [esp + 0x20], eax
call edi
mov ecx, dword [esi + 4]
mov ebp, dword [sym.imp.USER32.dll_GetClientRect]
shr eax, 0xf
and eax, 1
mov dword [esp + 0x20], eax
lea eax, [esp + 0x54]
push eax
push ecx
call ebp
or eax, 0xffffffff
lea edx, [esp + 0x14]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
push edx
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.0040dfd0
mov ebx, dword [esp + 0x74]
movzx eax, bx
add eax, 0xfffffff7
cmp eax, 0x1f
ja case.0x41724a.10
movzx ecx, byte [eax + 0x417aac]
jmp dword [ecx*4 + 0x417a84]
mov eax, dword [esi + 0x340]
mov ecx, dword [esp + 0x18]
add eax, 0xffffffff
add ecx, 1
cmp ecx, eax
jge 0x417267
mov eax, ecx
mov edx, dword [esp + 0x14]
push edx
push eax
mov ecx, esi
call fcn.004137f0
cmp dword [esp + 0x1c], 0
jne 0x417a6b
mov edi, dword [esp + 0x20]
mov eax, dword [esi + 0xe4]
mov ecx, dword [esi + 0xe0]
neg edi
sbb edi, edi
and edi, 4
push edi
push eax
push ecx
mov ecx, esi
call fcn.00415a50
jmp 0x417a6b
mov eax, dword [esp + 0x18]
add eax, 0xffffffff
xor ecx, ecx
test eax, eax
setle cl
sub ecx, 1
and eax, ecx
jmp 0x417267
mov ecx, dword [esi + 4]
lea eax, [esp + 0x34]
push eax
push ecx
call ebp
cmp dword [esi + 0x28], 0
je 0x4172d3
mov eax, dword [esi + 0xd8]
jmp 0x4172d5
xor eax, eax
mov edx, dword [esi + 0xd0]
mov ecx, dword [esp + 0x40]
push edx
sub ecx, eax
push ecx
mov dword [esp + 0x40], eax
call fcn.00420f0c
add esp, 8
cmp eax, 1
mov dword [esp + 0x38], edx
mov ecx, eax
jg 0x4172ff
mov ecx, 1
mov eax, dword [esi + 0x340]
mov edi, dword [esp + 0x18]
add eax, 0xffffffff
lea edx, [ecx + edi - 1]
cmp edx, eax
jge 0x417267
mov ecx, dword [esi + 4]
lea eax, [esp + 0x34]
push eax
push ecx
call ebp
cmp dword [esi + 0x28], 0
je 0x417331
mov eax, dword [esi + 0xd8]
jmp 0x417333
xor eax, eax
mov edx, dword [esi + 0xd0]
mov ecx, dword [esp + 0x40]
push edx
sub ecx, eax
push ecx
mov dword [esp + 0x40], eax
call fcn.00420f0c
add esp, 8
cmp eax, 1
mov dword [esp + 0x38], edx
jg 0x41735b
mov eax, 1
lea eax, [eax + edi - 1]
jmp 0x417267
mov ecx, dword [esi + 4]
lea eax, [esp + 0x34]
push eax
push ecx
call ebp
cmp dword [esi + 0x28], 0
je 0x41737d
mov eax, dword [esi + 0xd8]
jmp 0x41737f
xor eax, eax
mov edx, dword [esi + 0xd0]
mov ecx, dword [esp + 0x40]
push edx
sub ecx, eax
push ecx
mov dword [esp + 0x40], eax
call fcn.00420f0c
add esp, 8
cmp eax, 1
mov dword [esp + 0x38], edx
jg 0x4173a7
mov eax, 1
mov edi, dword [esp + 0x18]
mov edx, edi
sub edx, eax
add edx, 1
test edx, edx
jle 0x417409
mov ecx, dword [esi + 4]
lea eax, [esp + 0x34]
push eax
push ecx
call ebp
cmp dword [esi + 0x28], 0
je 0x4173cf
mov eax, dword [esi + 0xd8]
jmp 0x4173d1
xor eax, eax
mov edx, dword [esi + 0xd0]
mov ecx, dword [esp + 0x40]
push edx
sub ecx, eax
push ecx
mov dword [esp + 0x40], eax
call fcn.00420f0c
add esp, 8
cmp eax, 1
mov dword [esp + 0x38], edx
jg 0x4173f9
mov eax, 1
mov edx, dword [esp + 0x14]
sub edi, eax
add edi, 1
push edx
push edi
jmp 0x41726d
mov edx, dword [esp + 0x14]
xor edi, edi
push edx
push edi
jmp 0x41726d
mov eax, dword [esp + 0x14]
push eax
push 0
jmp 0x41726d
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 0x340]
push ecx
sub edx, 1
push edx
jmp 0x41726d
cmp dword [esi + 0x4c], 0
je 0x41745a
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
add eax, 0xffffffff
xor ecx, ecx
test eax, eax
setle cl
sub ecx, 1
and eax, ecx
push eax
push edx
jmp 0x41726d
mov edi, dword [esp + 0x1c]
mov eax, dword [esi + 4]
mov ebx, dword [sym.imp.USER32.dll_GetScrollPos]
neg edi
sbb edi, edi
push 0
and edi, 0x2d
push eax
add edi, 5
call ebx
sub eax, edi
test eax, eax
jle 0x41749a
mov ecx, dword [esi + 4]
push 0
push ecx
call ebx
mov edx, dword [esi + 4]
push 1
sub eax, edi
push eax
push 0
push edx
call dword [sym.imp.USER32.dll_SetScrollPos]
jmp 0x417274
mov edx, dword [esi + 4]
push 1
xor eax, eax
push eax
push eax
push edx
call dword [sym.imp.USER32.dll_SetScrollPos]
jmp 0x417274
cmp dword [esi + 0x4c], 0
je 0x4174d5
mov eax, dword [esi + 0x318]
mov ecx, dword [esp + 0x14]
add eax, 0xffffffff
add ecx, 1
cmp ecx, eax
jge 0x4174cb
mov eax, ecx
push eax
mov eax, dword [esp + 0x1c]
jmp 0x41726c
mov ecx, dword [esi + 4]
mov ebx, dword [sym.imp.USER32.dll_GetScrollPos]
push 0
push ecx
call ebx
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x5c]
neg edi
sbb edi, edi
sub ecx, dword [esp + 0x54]
and edi, 0x2d
add edi, 5
add eax, edi
cmp eax, ecx
jge 0x41751d
mov edx, dword [esi + 4]
push 0
push edx
call ebx
push 1
add eax, edi
push eax
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_SetScrollPos]
jmp 0x417274
push 1
mov eax, ecx
push eax
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_SetScrollPos]
jmp 0x417274
cmp dword [esp + 0x1c], 0
jne 0x417a6b
cmp dword [esi + 0x4c], 0
je 0x41727f
mov edi, dword [esp + 0x20]
test edi, edi
je 0x417575
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
add eax, 0xffffffff
xor ecx, ecx
test eax, eax
setle cl
sub ecx, 1
and eax, ecx
push eax
push edx
mov ecx, esi
call fcn.004137f0
jmp 0x417283
mov eax, dword [esi + 0x318]
mov ecx, dword [esp + 0x14]
add eax, 0xffffffff
add ecx, 1
cmp ecx, eax
jge 0x41758b
mov eax, ecx
mov edx, dword [esp + 0x18]
push eax
push edx
mov ecx, esi
call fcn.004137f0
jmp 0x417283
cmp bx, 0x20
mov ebp, dword [esp + 0x18]
jne 0x41769e
mov edx, dword [esp + 0x14]
push edx
mov ecx, esi
call fcn.0040b620
mov edi, eax
push edi
push ebp
mov ecx, esi
call fcn.004158a0
test al, 8
jne 0x41769e
push edi
push ebp
mov ecx, esi
call fcn.00416a70
sub eax, 4
je 0x417633
sub eax, 1
jne 0x41769e
push edi
push ebp
lea eax, [esp + 0x30]
push eax
mov ecx, esi
call fcn.00415790
mov eax, dword [eax]
push eax
call fcn.00420b97
add esp, 4
lea ecx, [esp + 0x28]
mov ebx, eax
call fcn.00402a50
test ebx, ebx
jge 0x417610
push 0x433a28
jmp 0x41761e
jle 0x417619
push 0x43401c
jmp 0x41761e
push 0x433a2c
push edi
push ebp
mov ecx, esi
call fcn.004093a0
mov ecx, dword [esp + 0x14]
push 0xfffffa1e
push ecx
jmp 0x417687
push edi
push ebp
lea edx, [esp + 0x34]
push edx
mov ecx, esi
call fcn.00415790
mov eax, dword [eax]
push eax
mov dword [esp + 0x70], 0
call fcn.00420b97
add esp, 4
test eax, eax
mov eax, 0x433a28
jg 0x417662
mov eax, 0x433a2c
push eax
push edi
push ebp
mov ecx, esi
call fcn.004093a0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x6c], 0xffffffff
call fcn.00402a50
mov eax, dword [esp + 0x14]
push 0xfffffa1e
push eax
push ebp
mov ecx, esi
call fcn.00410dc0
push 0xffffffffffffffff
push ebp
mov ecx, esi
call fcn.00413cb0
jmp 0x417a6b
cmp dword [esp + 0x1c], 0
je 0x417707
cmp bx, 0x41
jne 0x417a6b
cmp dword [esi + 0x48], 0
jne 0x417a6b
lea ebx, [esi + 0x320]
mov ecx, ebx
call fcn.00406160
xor edi, edi
cmp dword [esi + 0x340], edi
mov dword [esp + 0x74], edi
jle 0x4176f4
lea ecx, [esp + 0x74]
push ecx
lea edx, [esp + 0x38]
push edx
mov ecx, ebx
call fcn.0040ffc0
add edi, 1
cmp edi, dword [esi + 0x340]
mov dword [esp + 0x74], edi
jl 0x4176d4
mov eax, dword [esi + 4]
push 1
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x417a6b
push ebx
call fcn.00420b75
add esp, 4
test eax, eax
je 0x417a6b
push ebx
call fcn.00420b59
add esp, 4
test eax, eax
je 0x417a6b
mov ecx, dword [esi + 0x100]
push ecx
mov ecx, esi
call fcn.0040b620
lea edx, [ebp + 1]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [esp + 0x18]
mov edi, eax
call fcn.00405870
push ebx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x70], 1
call fcn.0040dc80
sub edi, dword [esi + 0x138]
push 1
cmp edi, 0x320
lea edi, [esi + 0x140]
mov ecx, edi
jae 0x41784f
lea eax, [esp + 0x34]
push eax
call fcn.004062a0
lea ecx, [esp + 0x18]
push ecx
push eax
call fcn.0040d0e0
add esp, 8
lea ecx, [esp + 0x30]
mov byte [esp + 0x74], al
call fcn.00402a50
cmp byte [esp + 0x74], 0
je 0x4177b5
push ebx
mov ecx, edi
call fcn.0040e110
mov edx, dword [esp + 0x20]
push edx
push ebp
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.00415790
mov ecx, dword [edi]
mov eax, dword [ecx - 0xc]
cmp eax, 1
mov byte [esp + 0x6c], 2
jle 0x4177fe
push eax
lea edx, [esp + 0x48]
push edx
lea ecx, [esp + 0x24]
call fcn.004062a0
mov eax, dword [eax]
push eax
mov ecx, edi
mov ebx, 1
call fcn.00405220
test eax, eax
jne 0x417802
mov byte [esp + 0x74], bl
jmp 0x417807
mov bl, byte [esp + 0x34]
mov byte [esp + 0x74], 0
test bl, 1
je 0x417815
lea ecx, [esp + 0x44]
call fcn.00402a50
cmp byte [esp + 0x74], 0
je 0x41783f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [esp + 0x1c]
mov dword [esi + 0x138], eax
call fcn.00402a50
lea ecx, [esp + 0x18]
call fcn.00402a50
jmp 0x417a6b
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6c], 1
call fcn.00402a50
jmp 0x41788a
lea eax, [esp + 0x4c]
push eax
call fcn.004062a0
lea ecx, [esp + 0x18]
push ecx
push eax
call fcn.0040d0e0
add esp, 8
lea ecx, [esp + 0x48]
mov bl, al
call fcn.00402a50
test bl, bl
je 0x41787e
mov dword [esp + 0x24], 0
lea edx, [esp + 0x18]
push edx
mov ecx, edi
call fcn.004072a0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebp, dword [esp + 0x24]
cmp ebp, dword [esi + 0x340]
mov dword [esi + 0x138], eax
jge 0x417940
mov eax, dword [esp + 0x20]
push eax
push ebp
lea ecx, [esp + 0x7c]
push ecx
mov ecx, esi
call fcn.00415790
mov edx, dword [edi]
mov eax, dword [edx - 0xc]
push eax
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x7c]
mov byte [esp + 0x74], 3
call fcn.004062a0
mov eax, dword [eax]
mov ecx, dword [edi]
push eax
push ecx
call fcn.0042026b
add esp, 8
test eax, eax
mov eax, dword [esp + 0x4c]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417904
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
jne 0x4179e8
mov eax, dword [esp + 0x74]
add eax, 0xfffffff0
mov byte [esp + 0x6c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417931
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebp, 1
cmp ebp, dword [esi + 0x340]
jl 0x4178a6
xor ebp, ebp
cmp dword [esi + 0x340], ebp
jle 0x417a43
mov edi, edi
mov ecx, dword [esp + 0x20]
push ecx
push ebp
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.00415790
mov eax, dword [edi]
mov eax, dword [eax - 0xc]
push eax
lea ecx, [esp + 0x54]
push ecx
lea ecx, [esp + 0x24]
mov byte [esp + 0x74], 4
call fcn.004062a0
mov eax, dword [eax]
mov ecx, dword [edi]
push eax
push ecx
call fcn.0042026b
add esp, 8
test eax, eax
mov eax, dword [esp + 0x50]
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4179ae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
jne 0x417a06
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x6c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4179d7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebp, 1
cmp ebp, dword [esi + 0x340]
jl 0x417950
jmp 0x417a43
mov edi, dword [esp + 0x14]
push 1
push edi
push ebp
mov ecx, esi
call fcn.00415a50
push edi
push ebp
mov ecx, esi
call fcn.00413600
mov eax, dword [esp + 0x74]
jmp 0x417a22
mov edi, dword [esp + 0x14]
push 1
push edi
push ebp
mov ecx, esi
call fcn.00415a50
push edi
push ebp
mov ecx, esi
call fcn.00413600
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x6c], 1
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417a43
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x6c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417a6b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 0xc