Function at 0x419ffa
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x88
mov eax, 0x50d7e1
call fcn.004f41e2
mov ebx, ecx
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x50], eax
cmp eax, 0xffffffff
je 0x41a36f
lea ecx, [ebp - 0x94]
call fcn.004d840a
and dword [ebp - 4], 0
lea eax, [ebp - 0x94]
push 0
push eax
call fcn.004d3e20
pop ecx
pop ecx
test eax, eax
js 0x41a04a
test esi, esi
jne 0x41a04e
mov esi, dword [ebp - 0x90]
test esi, esi
je 0x41a058
lea ecx, [esi + 0xc]
call fcn.004cfc3f
jmp 0x41a05a
xor eax, eax
mov dword [ebp - 0x40], eax
test eax, eax
je 0x41a35d
mov ecx, dword [0x5a23ec]
cmp byte [ecx + 0x10fa9], 0
jne 0x41a35d
call fcn.0046751e
test al, al
jne 0x41a35d
mov eax, dword [0x5a23ec]
cmp byte [eax + 0x10fe3], 1
jle 0x41a35d
test byte [ebx + 0x3ebc], 0x40
je 0x41a35d
cmp dword [ebx + 0x77ec], 0
jle 0x41a35d
cmp dword [ebx + 0x77dc], 0
je 0x41a35d
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
je 0x41a35d
call dword [sym.imp.WINMM.dll_timeGetTime]
mov edi, eax
sub edi, dword [ebx + 0x3ee0]
cmp edi, 0xc8
jb 0x41a364
cmp edi, 0x2710
ja 0x41a35d
cmp byte [ebx + 0x77f5], 0
jne 0x41a11f
test esi, esi
je 0x41a11f
push dword [ebx + 0x3ed8]
mov ecx, esi
mov byte [ebx + 0x77f5], 1
call fcn.004de78b
mov ecx, eax
call fcn.0048da69
mov ecx, dword [ebx + 0x77ec]
lea eax, [edi - 0xc8]
imul eax, ecx
xor edx, edx
mov esi, 0x190
div esi
mov edx, eax
mov dword [ebp - 0x44], edx
cmp edx, ecx
jl 0x41a146
lea eax, [ecx - 1]
mov dword [ebp - 0x44], eax
mov al, byte [ebx + 0x77f6]
lea edi, [ebp - 0x3c]
mov esi, str.ConEmu_RightClicking
push 0xa
pop ecx
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
test al, al
jne 0x41a1e4
mov eax, dword [0x5a229c]
xor ecx, ecx
push 0x7f00
push ecx
mov dword [ebp - 0x84], 0x30
mov dword [ebp - 0x80], 0x20
mov dword [ebp - 0x7c], 0x41a377
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], ecx
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [ebp - 0x68], eax
xor ecx, ecx
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x84]
push eax
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x58], ecx
call dword [sym.imp.USER32.dll_RegisterClassExW]
test ax, ax
jne 0x41a1db
xor eax, eax
push eax
push eax
push eax
push eax
push str.Register_class_failed
call fcn.00420ad9
mov al, byte [ebx + 0x77f6]
add esp, 0x14
jmp 0x41a1e4
mov byte [ebx + 0x77f6], 1
mov al, 1
mov edi, dword [ebx + 0x77e8]
lea esi, [ebx + 0x77f8]
sar edi, 1
mov dword [ebp - 0x54], edi
test al, al
je 0x41a284
cmp dword [esi], 0
je 0x41a20e
push dword [esi]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x41a284
mov eax, dword [ebx + 0x457c]
sub eax, edi
mov dword [ebp - 0x4c], eax
mov eax, dword [ebx + 0x4580]
sub eax, edi
push 1
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x4c]
push eax
push dword [0x5a22a4]
push dword [ebp - 0x40]
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebx + 0x77e8]
push 0
push dword [0x5a229c]
push 0x270f
push dword [0x5a22a4]
push eax
push eax
push dword [ebp - 0x48]
lea eax, [ebp - 0x3c]
push dword [ebp - 0x4c]
push 0x5e000000
push 0x514870
push eax
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 3
xor ecx, ecx
mov dword [esi], eax
push ecx
push ecx
push ecx
push ecx
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x41a29d
mov edi, esi
push dword [edi]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x41a29d
push 1
push dword [edi]
call fcn.004ea453
pop ecx
pop ecx
cmp dword [esi], 0
je 0x41a352
push dword [esi]
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
test edi, edi
je 0x41a352
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [ebx + 0x77dc]
mov esi, eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
xor edx, edx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x40], 0x1ff0000
cmp dword [ebp - 0x50], edx
je 0x41a30e
mov eax, dword [ebx + 0x4580]
sub eax, dword [ebp - 0x54]
mov ecx, dword [ebx + 0x77e8]
push 0xcc0020
push eax
mov eax, dword [ebx + 0x457c]
sub eax, dword [ebp - 0x54]
push eax
push dword [ebp - 0x50]
push ecx
push ecx
push edx
push edx
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
xor edx, edx
push dword [ebp - 0x40]
mov ecx, dword [ebx + 0x77e8]
mov eax, ecx
imul eax, dword [ebp - 0x44]
push ecx
push ecx
push edx
push eax
push esi
push ecx
push ecx
push edx
push edx
push edi
call dword [sym.imp.GDI32.dll_GdiAlphaBlend]
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x41a340
test esi, esi
je 0x41a34b
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
test esi, esi
je 0x41a34b
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebp - 0x44]
mov dword [ebx + 0x77f0], eax
jmp 0x41a364
mov ecx, ebx
call fcn.0041bdcb
lea ecx, [ebp - 0x94]
call fcn.004d84a5
call fcn.004f418c
ret 8