Function at 0x4163b0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4d8408
push eax
mov dword fs:[0], esp
sub esp, 0x7c
cmp dword [ebp + 8], 0xffffffff
push ebx
mov ebx, ecx
je 0x416754
push esi
push edi
lea ecx, [ebp - 0x2c]
call fcn.004bc8c0
lea eax, [ebp - 0x2c]
push 0
push eax
mov dword [ebp - 4], 0
call fcn.004b69a0
mov edi, dword [ebp + 0xc]
add esp, 8
test eax, eax
jl 0x41640c
test edi, edi
jne 0x416414
lea ecx, [ebp - 0x2c]
call fcn.004bc9d0
mov edi, eax
test edi, edi
je 0x41673c
lea ecx, [edi + 8]
call fcn.004b32e0
mov dword [ebp + 0xc], eax
test eax, eax
je 0x41673c
mov ecx, dword [0x52fe30]
cmp byte [ecx + 0x123a], 0
jne 0x41673c
call fcn.0044ec20
test al, al
jne 0x41673c
mov ecx, dword [0x52fe30]
cmp byte [ecx + 0x11273], 1
jbe 0x41673c
test byte [ebx + 0x4148], 0x40
je 0x41673c
cmp dword [ebx + 0x78a0], 0
jle 0x41673c
cmp dword [ebx + 0x7890], 0
je 0x41673c
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
mov edx, 0x8000
and ax, dx
mov ecx, edx
cmp ax, cx
sete al
test al, al
je 0x41673c
call dword [sym.imp.WINMM.dll_timeGetTime]
sub eax, dword [ebx + 0x416c]
mov esi, eax
cmp esi, 0xc8
jb 0x416743
cmp esi, 0x2710
ja 0x41673c
cmp dword [ebx + 0x78ac], 0
jne 0x4164f3
test edi, edi
je 0x4164f3
mov edx, dword [ebx + 0x4164]
push edx
mov ecx, edi
mov dword [ebx + 0x78ac], 1
call fcn.004bcc80
mov ecx, eax
call fcn.00489df0
mov ecx, dword [ebx + 0x78a0]
add esi, 0xffffff38
imul esi, ecx
mov eax, 0x51eb851f
mul esi
shr edx, 7
cmp edx, ecx
mov dword [ebp - 0x10], edx
jl 0x416517
dec ecx
mov dword [ebp - 0x10], ecx
mov ecx, 0xa
mov esi, str.ConEmu_RightClicking
lea edi, [ebp - 0x58]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
xor edi, edi
cmp dword [ebx + 0x78b0], edi
jne 0x4165ab
mov eax, dword [0x52fe10]
push 0x7f00
push edi
mov dword [ebp - 0x88], 0x30
mov dword [ebp - 0x84], 0x20
mov dword [ebp - 0x80], 0x40a660
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], edi
call dword [sym.imp.USER32.dll_LoadCursorW]
lea edx, [ebp - 0x88]
lea ecx, [ebp - 0x58]
push edx
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x5c], edi
call dword [sym.imp.USER32.dll_RegisterClassExW]
test ax, ax
jne 0x4165a1
push edi
push edi
push edi
push edi
push str.Regitser_class_failed
call fcn.004263e0
add esp, 0x14
jmp 0x4165ab
mov dword [ebx + 0x78b0], 1
mov esi, dword [ebx + 0x789c]
sar esi, 1
mov dword [ebp - 0x14], esi
cmp dword [ebx + 0x78b0], edi
je 0x416652
mov eax, dword [ebx + 0x78b4]
cmp eax, edi
je 0x4165d7
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x416652
mov eax, dword [ebx + 0x4800]
mov ecx, dword [ebx + 0x4804]
sub eax, esi
push 1
sub ecx, esi
lea edx, [ebp - 0x20]
mov dword [ebp - 0x20], eax
mov eax, dword [0x52fe14]
push edx
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov edx, dword [0x52fe10]
mov ecx, dword [0x52fe14]
mov eax, dword [ebx + 0x789c]
push edi
push edx
mov edx, dword [ebp - 0x1c]
push 0x270f
push ecx
push eax
push eax
mov eax, dword [ebp - 0x20]
push edx
push eax
push 0x5e000000
push 0x4e5034
lea ecx, [ebp - 0x58]
push ecx
push edi
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 3
push edi
push edi
push edi
push edi
push edi
push eax
mov dword [ebx + 0x78b4], eax
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x416674
mov edx, dword [ebx + 0x78b4]
push edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x416674
mov eax, dword [ebx + 0x78b4]
push 1
push eax
call fcn.004c57d0
add esp, 8
mov eax, dword [ebx + 0x78b4]
cmp eax, edi
je 0x416731
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
cmp esi, edi
je 0x416731
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [ebx + 0x7890]
mov edi, eax
push ecx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [ebp + 8], 0
mov dword [ebp - 0x18], eax
mov byte [ebp + 0xc], 0
mov byte [ebp + 0xd], 0
mov byte [ebp + 0xe], 0xff
mov byte [ebp + 0xf], 1
je 0x4166f4
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebx + 0x4804]
mov eax, dword [ebx + 0x789c]
push 0xcc0020
sub edx, ecx
push edx
mov edx, dword [ebx + 0x4800]
sub edx, ecx
mov ecx, dword [ebp + 8]
push edx
push ecx
push eax
push eax
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [ebx + 0x789c]
mov edx, dword [ebp + 0xc]
push edx
push eax
mov ecx, eax
imul ecx, dword [ebp - 0x10]
push eax
push 0
push ecx
push edi
push eax
push eax
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_GdiAlphaBlend]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x41672a
test edi, edi
je 0x41672a
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov edx, dword [ebp - 0x10]
mov dword [ebx + 0x78a4], edx
jmp 0x416743
mov ecx, ebx
call fcn.00410a00
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
call fcn.004bc960
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8