Function at 0x41d3c4
Capabilities:
Check for unmoving mouse cursor
Get keyboard layout
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov esi, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x18]
mov byte [ebp - 9], 1
mov eax, dword [0x44f110]
cmp dword [eax], 2
jne 0x41d49e
cmp ebx, dword [ebp + 0x2c]
jne 0x41d49e
cmp esi, dword [ebp + 0x28]
jne 0x41d49e
push 1
push 1
mov eax, dword [ebp + 0x24]
push eax
call sub.user32.dll_BeginPaint
call fcn.0041d220
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp + 0x10]
push eax
call sub.user32.dll_GetClientRect
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x41d497
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0xcc0020
mov eax, 0xaa0029
call fcn.004066d0
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0x20]
push eax
mov eax, dword [ebp + 0x24]
push eax
mov eax, dword [ebp + 0x28]
push eax
mov eax, dword [ebp + 0x2c]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
push edi
call sub.user32.dll_FillRect
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41d64b
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp + 0x10]
push eax
call sub.user32.dll_GetClientRect
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_DefWindowProcA
ret
xor eax, eax
mov dword [ebp - 0x24], eax
push 0
call sub.user32.dll_CallNextHookEx
call fcn.0041d220
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x41d644
push dword fs:[eax]
mov dword fs:[eax], esp
push esi
push ebx
mov eax, dword [ebp + 0x24]
push eax
call sub.user32.dll_BeginPaint
call fcn.0041d220
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.user32.dll_GetClientRect
mov dword [ebp - 0x18], eax
push 0
mov eax, dword [0x45088c]
push eax
mov eax, dword [ebp + 0x24]
push eax
call sub.user32.dll_GetCursor
mov dword [ebp - 0x24], eax
push 0
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp + 0x24]
push eax
call sub.user32.dll_GetCursor
cmp dword [ebp - 0x24], 0
je 0x41d520
push 0xffffffffffffffff
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.user32.dll_GetCursor
mov dword [ebp - 0x24], eax
jmp 0x41d534
push 0xffffffffffffffff
mov eax, dword [0x45088c]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.user32.dll_GetCursor
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x10]
push eax
call sub.user32.dll_GetActiveWindow
push 0xcc0020
push esi
push ebx
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x10]
push eax
push esi
push ebx
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
call sub.user32.dll_GetKeyboardLayoutList
push 0x440328
push esi
push ebx
mov eax, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0x20]
push eax
mov eax, dword [ebp + 0x24]
push eax
push esi
push ebx
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
call sub.user32.dll_GetKeyboardLayoutList
push 0
push edi
call sub.user32.dll_GetKeyNameTextA
mov dword [ebp - 0x1c], eax
push 0xffffff
push edi
call sub.user32.dll_GetCursorPos
mov dword [ebp - 0x20], eax
push 0x8800c6
push esi
push ebx
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0x28]
push eax
mov eax, dword [ebp + 0x2c]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
push edi
call sub.user32.dll_GetKeyboardLayoutList
push 0x660046
push esi
push ebx
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp + 0x28]
push eax
mov eax, dword [ebp + 0x2c]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
push edi
call sub.user32.dll_GetKeyboardLayoutList
mov eax, dword [ebp - 0x1c]
push eax
push edi
call sub.user32.dll_GetKeyNameTextA
mov eax, dword [ebp - 0x20]
push eax
push edi
call sub.user32.dll_GetCursorPos
cmp dword [ebp - 0x18], 0
je 0x41d60f
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.user32.dll_GetClientRect
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_DefWindowProcA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41d64b
cmp dword [ebp - 0x24], 0
je 0x41d63a
push 0
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.user32.dll_GetCursor
mov eax, dword [ebp - 0x10]
push eax
call sub.user32.dll_DefMDIChildProcA
ret