Function at 0x41ea97
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x54
mov eax, 0x51dafe
call fcn.00505841
mov ebx, ecx
push dword [ebp + 0x10]
mov eax, dword [ebx]
push dword [ebp + 0xc]
call dword [eax + 0x36c]
mov dword [ebp - 0x10], eax
mov eax, dword [0x57fd88]
xor edi, edi
cmp eax, ebx
je 0x41eae6
cmp dword [0x57fd5c], edi
je 0x41eaee
mov ecx, eax
mov dword [0x57fd88], ebx
cmp ecx, edi
je 0x41eae6
lea eax, [ecx + 0xac0]
mov edx, dword [eax]
or dword [eax], 0xffffffff
push edx
call fcn.0042f7b4
cmp dword [0x57fd5c], edi
jne 0x41eb22
push dword [ebx + 0x20]
mov esi, dword [sym.imp.USER32.dll_GetParent]
call esi
push eax
call fcn.00489fa3
push eax
push 0x537f78
call fcn.004300c1
pop ecx
pop ecx
test eax, eax
je 0x41eb22
push dword [ebx + 0x20]
call esi
push eax
call fcn.00489fa3
mov ecx, eax
call fcn.00495c70
cmp dword [ebp - 0x10], edi
jge 0x41eb99
or esi, 0xffffffff
mov dword [ebx + 0xab8], esi
cmp dword [0x57fd5c], edi
je 0x41eb6a
cmp dword [ebx + 0xa44], edi
jne 0x41eb6a
lea eax, [ebx + 0xac0]
mov ecx, dword [eax]
mov dword [eax], esi
cmp ecx, esi
je 0x41eb5f
push ecx
mov ecx, ebx
call fcn.0042f7b4
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [ebx]
push esi
mov ecx, ebx
call dword [eax + 0x38c]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1a4]
test eax, eax
je 0x41eb84
push dword [0x57fbd8]
call dword [sym.imp.USER32.dll_SetCursor]
push dword [ebp + 0x10]
mov ecx, ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004f835d
jmp 0x41f0d7
push dword [ebp - 0x10]
mov ecx, ebx
call fcn.00453d47
mov esi, eax
cmp esi, edi
je 0x41f0d7
push dword [ebp - 0x10]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x234]
mov dword [0x57fd60], edi
cmp dword [0x57fd84], edi
je 0x41ec10
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x3f8]
test eax, eax
je 0x41ec10
cmp dword [0x57fd5c], edi
jne 0x41ec24
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x41ec10
mov eax, dword [ebp - 0x10]
mov dword [0x57fd60], 1
or dword [ebx + 0xabc], 0xffffffff
mov dword [ebx + 0xac0], eax
mov dword [0x57fd88], ebx
cmp dword [0x57fd5c], edi
jne 0x41ec24
cmp dword [0x57fd60], edi
je 0x41efe7
cmp dword [ebx + 0xa44], edi
jne 0x41efe7
cmp dword [ebx + 0xa84], edi
jne 0x41efe7
mov eax, dword [ebx + 0xac0]
mov edx, dword [ebx]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
push ecx
push eax
mov ecx, ebx
mov dword [ebx + 0xac0], eax
call dword [edx + 0x348]
cmp dword [ebp - 0x14], 0xffffffff
je 0x41ec6d
push dword [ebp - 0x14]
mov ecx, ebx
call fcn.0042f7b4
push dword [ebx + 0xac0]
mov ecx, ebx
call fcn.00453d47
xor ecx, ecx
cmp eax, edi
setne cl
mov dword [ebx + 0xbd4], eax
cmp ecx, edi
jne 0x41ec90
call fcn.00470a7a
mov ecx, dword [ebp + 8]
and ecx, 8
mov dword [ebx + 0xa6c], ecx
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x60]
test eax, eax
jne 0x41eccd
or dword [ebx + 0xac0], 0xffffffff
cmp dword [ebp - 0x14], 0xffffffff
mov dword [ebx + 0xbd4], edi
je 0x41f0d7
push dword [ebp - 0x14]
mov ecx, ebx
call fcn.0042f7b4
jmp 0x41f0d7
push dword [ebp - 0x10]
mov ecx, ebx
call fcn.0042f7b4
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, dword [ebx + 0xbd4]
mov eax, dword [ecx]
call dword [eax + 0x3c]
test eax, eax
je 0x41ed68
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp - 0x24]
push eax
call fcn.0050498a
cmp eax, 6
pop ecx
jg 0x41ed68
cmp dword [0x57fd60], edi
jne 0x41ed68
mov ecx, dword [ebx + 0xbd4]
mov dword [ebx + 0xa70], 1
lea esi, [ecx + 0x54]
lea edi, [ebx + 0xba4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ecx]
call dword [eax + 0x38]
test eax, eax
je 0x41ed40
push 2
push 2
lea eax, [ebx + 0xba4]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.00489fa3
mov dword [ebx + 0xbcc], eax
push dword [0x57fbcc]
call dword [sym.imp.USER32.dll_SetCursor]
xor edi, edi
jmp 0x41f0ad
mov ecx, dword [ebx + 0xbd4]
mov eax, dword [ecx]
call dword [eax + 0x50]
test eax, eax
je 0x41efdc
mov ecx, dword [ebx + 0xbd4]
mov eax, dword [ecx]
call dword [eax + 0x74]
test eax, eax
je 0x41efdc
lea ecx, [ebp - 0x60]
call fcn.004c1955
mov ecx, dword [ebx + 0xbd4]
mov eax, dword [ecx]
lea edx, [ebp - 0x60]
push edx
mov dword [ebp - 4], edi
call dword [eax + 0xc]
push dword [esi + 0x20]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x3f0]
mov eax, dword [ebp + 0xc]
mov dword [0x57fe48], edi
mov esi, dword [ebx + 0x20]
mov dword [ebx + 0xbbc], eax
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0xbc0], eax
cmp dword [0x57fd60], edi
je 0x41ede2
mov dword [0x57fd5c], 1
push 0x57fe00
lea eax, [ebp - 0x2c]
push eax
push 3
lea ecx, [ebp - 0x60]
call fcn.00447d65
push esi
mov dword [ebp + 8], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x41ee2e
cmp dword [0x57fd60], edi
je 0x41ee1d
mov dword [0x57fd5c], edi
mov dword [0x57fd60], edi
mov dword [0x57fd88], edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call fcn.0047eb4e
jmp 0x41f0d7
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x1c]
push eax
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_ScreenToClient]
cmp dword [0x57fe48], edi
je 0x41efa1
push dword [ebp - 0x18]
lea eax, [ebp - 0x2c]
push dword [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x41efa1
cmp dword [ebp + 8], 1
je 0x41ef86
mov eax, dword [ebx + 0xbd4]
cmp eax, edi
je 0x41ef86
cmp dword [0x57fe44], edi
jne 0x41ef86
push dword [ebp + 8]
mov edx, dword [ebx]
push eax
mov ecx, ebx
call dword [edx + 0x358]
test eax, eax
je 0x41ef86
push dword [ebx + 0xbd4]
mov esi, dword [ebx]
mov ecx, ebx
call fcn.00438f6f
push eax
mov ecx, ebx
call dword [esi + 0x328]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x3bc]
push 0x505
push edi
push edi
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_RedrawWindow]
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax + 0x2b0]
push dword [ebx + 0x20]
mov esi, dword [sym.imp.USER32.dll_GetParent]
call esi
push eax
call fcn.00489fa3
cmp eax, edi
je 0x41ef16
cmp dword [eax + 0x20], edi
je 0x41ef16
push dword [ebx + 0x20]
call esi
push eax
call fcn.00489fa3
push 0x505
push edi
push edi
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_RedrawWindow]
cmp dword [0x57fd60], edi
jne 0x41ef38
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1e4]
push 0x505
push edi
push edi
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_RedrawWindow]
push dword [ebx + 0x20]
call esi
push eax
call fcn.00489fa3
push 0x541668
mov ecx, eax
call fcn.0046af53
test eax, eax
je 0x41efb5
push dword [ebx + 0x20]
call esi
push eax
call fcn.00489fa3
push dword [eax + 0x20]
call esi
push eax
call fcn.00489fa3
push eax
push 0x579048
call fcn.004300c1
pop ecx
pop ecx
cmp eax, edi
je 0x41efb5
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x1e8]
jmp 0x41efb5
mov eax, dword [ebx + 0xbd4]
cmp eax, edi
je 0x41efb5
push 1
add eax, 0x54
push eax
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x41efb5
mov eax, dword [ebp - 0x10]
mov edx, dword [ebx]
push eax
mov ecx, ebx
mov dword [ebx + 0xabc], eax
call dword [edx + 0x38c]
or ecx, 0xffffffff
mov eax, ecx
mov dword [ebx + 0xbc0], ecx
mov dword [ebp - 4], ecx
lea ecx, [ebp - 0x60]
mov dword [ebx + 0xbd4], edi
mov dword [ebx + 0xbbc], eax
call fcn.0047eb4e
jmp 0x41f0ad
mov dword [ebx + 0xbd4], edi
jmp 0x41f0ad
mov eax, dword [ebp - 0x10]
push eax
mov ecx, ebx
mov dword [ebx + 0xab8], eax
call fcn.0045d14b
test dword [esi + 0x24], 0x40000
je 0x41f01d
push 0x579fd0
mov ecx, esi
call fcn.0046af53
test eax, eax
jne 0x41f01d
or dword [ebx + 0xab8], 0xffffffff
jmp 0x41f0d7
push dword [ebp - 0x10]
or dword [esi + 0x24], 0x20000
mov ecx, ebx
call fcn.0042f7b4
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_UpdateWindow]
push dword [esi + 0x20]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x3f0]
mov eax, dword [esi]
push edi
push ebx
mov ecx, esi
call dword [eax + 0x20]
test eax, eax
je 0x41f098
push edi
push esi
lea ecx, [ebx + 0xb04]
call fcn.004f7e10
test eax, eax
je 0x41f069
and dword [esi + 0x24], 0xfffdffff
mov eax, dword [ebx]
or dword [ebx + 0xab8], 0xffffffff
or dword [ebx + 0xabc], 0xffffffff
push 0xffffffffffffffff
mov ecx, ebx
call dword [eax + 0x38c]
push dword [ebp - 0x10]
mov ecx, ebx
call fcn.0042f7b4
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_UpdateWindow]
jmp 0x41f0ad
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.00489fa3
mov dword [ebx + 0xbcc], eax
cmp dword [0x57fd60], edi
je 0x41f0d7
push edi
mov dword [0x57fd60], edi
mov dword [0x57fd88], edi
call fcn.004f6f26
push 0x505
push edi
push edi
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_RedrawWindow]
call fcn.00505919
ret 0xc