Function at 0x41c160
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x539e81
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x583384]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x8c], esi
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x80]
lea edi, [esi + 4]
mov dword [ebp - 0x88], 0
push ecx
push eax
mov dword [ebp - 0x94], edi
mov dword [ebp - 0x84], eax
call dword [sym.imp.USER32.dll_BeginPaint]
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x30]
mov dword [ebp - 4], 0
push eax
push dword [edi]
xorps xmm0, xmm0
movups xmmword [ebp - 0x30], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x88]
lea ecx, [ebp - 0xcc]
call fcn.00412fc0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
push dword [ebp - 0x88]
xorps xmm0, xmm0
movups xmmword [ebp - 0x40], xmm0
call dword [sym.imp.GDI32.dll_GetClipBox]
test eax, eax
je 0x41c4cf
mov edi, dword [ebp - 0xcc]
push edi
call dword [sym.imp.GDI32.dll_SaveDC]
mov dword [ebp - 0xac], eax
lea eax, [esi + 0x54]
push eax
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
jne 0x41c2a9
mov eax, dword [ebp - 0x94]
push dword [eax]
call dword [sym.imp.USER32.dll_GetParent]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41c2a3
push 1
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
mov eax, dword [ebp - 0x94]
push esi
mov dword [ebp - 0x14], 0
push dword [eax]
call dword [sym.imp.USER32.dll_MapWindowPoints]
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push edi
call dword [sym.imp.GDI32.dll_OffsetWindowOrgEx]
push 0
push edi
push 0xf
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push edi
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
mov esi, dword [ebp - 0x8c]
call dword [sym.imp.USER32.dll_GetMessagePos]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [ebp - 0x9c], eax
lea eax, [ebp - 0xa0]
push eax
push dword [esi + 4]
mov dword [ebp - 0xa0], ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
push 0xfffffffffffffff0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongA]
cmp dword [esi + 0x3c], 0
mov dword [ebp - 0x90], eax
je 0x41c33b
push dword [ebp - 0x9c]
mov ecx, eax
lea eax, [ebp - 0x30]
push dword [ebp - 0xa0]
and ecx, 3
cmp cl, 3
je 0x41c305
lea eax, [esi + 0x54]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x41c33b
xor eax, eax
mov dword [ebp - 0xa4], 1
cmp dword [esi + 0x40], eax
setne al
inc eax
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x41c345
mov dword [ebp - 0x98], 1
jmp 0x41c34f
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0x98], 0
mov eax, dword [ebp - 0x90]
and eax, 3
cmp al, 3
jne 0x41c469
lea eax, [esi + 0x54]
push eax
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
jne 0x41c469
push dword [esi + 0x64]
push edi
call dword [sym.imp.GDI32.dll_SetBkColor]
push 0
push 0
push 0x54727d
lea eax, [esi + 0x44]
push eax
push 2
push dword [esi + 0x48]
mov dword [ebp - 0x14], eax
push dword [eax]
push edi
call dword [sym.imp.GDI32.dll_ExtTextOutA]
push 0
push 0
push 0x147
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0xa8], eax
cmp eax, 0xffffffff
je 0x41c469
lea ecx, [ebp - 0x90]
call fcn.00412b10
mov ecx, dword [ebp - 0x94]
lea eax, [ebp - 0x90]
push eax
push dword [ebp - 0xa8]
mov byte [ebp - 4], 2
call fcn.00418320
mov esi, dword [ebp - 0x90]
cmp dword [esi - 0xc], 0
je 0x41c447
mov eax, dword [ebp - 0x14]
push 1
push 1
movups xmm0, xmmword [eax]
lea eax, [ebp - 0x20]
push eax
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [ebp - 0x8c]
push dword [eax + 0x70]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebp - 0x8c]
push dword [eax + 0x68]
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
push 1
push edi
call dword [sym.imp.GDI32.dll_SetBkMode]
push 0x824
lea eax, [ebp - 0x20]
push eax
push dword [esi - 0xc]
push esi
push edi
call dword [sym.imp.USER32.dll_DrawTextA]
mov byte [ebp - 4], 1
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41c463
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x8c]
cmp dword [esi + 0x34], 0
je 0x41c4a0
mov edx, dword [esi + 0x6c]
test edx, edx
je 0x41c4a0
cmp dword [ebp - 0x98], 0
je 0x41c486
mov ecx, 3
jmp 0x41c48d
mov ecx, dword [ebp - 0xa4]
inc ecx
push 0
lea eax, [esi + 0x54]
push eax
push ecx
push 1
push edi
push edx
call dword [sym.imp.UxTheme.dll_DrawThemeBackground]
jmp 0x41c4c2
cmp dword [ebp - 0x98], 0
mov ecx, 0x4201
mov eax, 1
cmovne eax, ecx
push eax
push 3
lea eax, [esi + 0x54]
push eax
push edi
call dword [sym.imp.USER32.dll_DrawFrameControl]
push dword [ebp - 0xac]
push edi
call dword [sym.imp.GDI32.dll_RestoreDC]
lea ecx, [ebp - 0xcc]
call fcn.00413b40
lea eax, [ebp - 0x80]
push eax
push dword [ebp - 0x84]
call dword [sym.imp.USER32.dll_EndPaint]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00513512
mov esp, ebp
pop ebp
ret 4