Function at 0x41d9da
Capabilities:
Check for time delay via gettickcount
Get graphical window text
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.0042d800
mov eax, dword [0x43e030]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, 0x100
mov dword [ebp - 0x1008], ecx
cmp eax, edi
ja 0x41daf8
je 0x41db5f
sub eax, 7
je 0x41dae9
dec eax
je 0x41da6b
sub eax, 0xc
je 0x41da63
sub eax, 0x1c
jne 0x41dc9d
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push 0x30
push ecx
push dword [esi + 0xcc]
call dword [sym.imp.USER32.dll_CallWindowProcW]
push 0
push 3
push 0xd3
push dword [ebp - 0x1008]
mov esi, eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, esi
jmp 0x41dcb8
xor eax, eax
inc eax
jmp 0x41dcb8
xor ebx, ebx
push ebx
push dword [esi + 0xa8]
mov dword [esi + 0x148], ebx
call dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x41da9e
lea eax, [esi + 0xc8]
mov ecx, dword [eax]
mov dword [eax], ebx
mov eax, dword [esi + 0x14]
cmp eax, ebx
je 0x41da9e
cmp ecx, ebx
je 0x41da9e
call fcn.004186f4
xor eax, eax
push LockResource
mov word [ebp - reloc.ADVAPI32.dll_RegCloseKey], ax
lea eax, [ebp - 0x1002]
push ebx
push eax
call fcn.00421bc0
add esp, 0xc
push 0x800
lea eax, [ebp - 0x1004]
push eax
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x1004]
push eax
lea eax, [esi + 0x1c]
push eax
call fcn.00401bb0
jmp 0x41dc9d
mov dword [esi + 0x148], 1
jmp 0x41dc9d
sub eax, 0x102
je 0x41dc72
dec eax
dec eax
je 0x41db5f
sub eax, 0xfd
je 0x41db27
dec eax
dec eax
jne 0x41dc9d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0xe8], eax
jmp 0x41dc9d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
sub edi, dword [esi + 0xe8]
call dword [sym.imp.USER32.dll_GetDoubleClickTime]
cmp edi, eax
jae 0x41dc9d
push 0xffffffffffffffff
push 0
push 0xb1
push dword [ebp - 0x1008]
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
jmp 0x41dcb8
mov eax, dword [ebp + 0x14]
xor ebx, ebx
mov dword [esi + 0xe4], ebx
cmp eax, 9
je 0x41dc4a
cmp eax, 0xd
je 0x41dc03
cmp eax, 0x1b
je 0x41dbc8
cmp eax, 0x2e
je 0x41dc93
cmp eax, 0x41
jne 0x41dc9d
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
je 0x41dc9d
mov eax, dword [esi + 0xa8]
cmp eax, ebx
je 0x41dc9d
push 0xffffffffffffffff
push ebx
push 0xb1
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x41dc9d
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, dword [ebp - 0x1008]
jne 0x41dc9d
push dword [esi + 0x1c]
mov dword [esi + 0x28], 1
push dword [ebp - 0x1008]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0xffffffffffffffff
push ebx
push 0xb1
push dword [ebp - 0x1008]
mov dword [esi + 0x28], ebx
jmp 0x41dbbd
xor eax, eax
push LockResource
mov word [ebp - reloc.ADVAPI32.dll_RegCloseKey], ax
lea eax, [ebp - 0x1002]
push ebx
push eax
call fcn.00421bc0
add esp, 0xc
push 0x800
lea eax, [ebp - 0x1004]
push eax
push dword [ebp - 0x1008]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [esi]
push ebx
lea ecx, [ebp - 0x1004]
push ecx
mov ecx, esi
call dword [eax + 0x58]
jmp 0x41dc9d
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
jne 0x41dc9d
push dword [ebp + 0x18]
push 9
push edi
push 2
push dword [ebp - 0x1008]
call dword [sym.imp.USER32.dll_GetAncestor]
jmp 0x41dbbc
and dword [esi + 0xe4], 0
cmp dword [ebp + 0x14], 0xd
je 0x41db58
cmp dword [ebp + 0x14], 9
je 0x41db58
cmp dword [ebp + 0x14], 8
jne 0x41dc9d
mov dword [esi + 0xe4], 1
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0x1008]
push dword [esi + 0xcc]
call dword [sym.imp.USER32.dll_CallWindowProcW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041f23c
leave
ret 0x14