Function at 0x4237a6
Capabilities:
Find taskbar
Log keystrokes via polling
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x820
cmp dword [ebp + 0xc], 0x20a
push ebx
push esi
push edi
jne 0x423917
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
xor esi, esi
cmp dword [0x45a010], esi
mov ebx, 0x8000
je 0x4237e0
push 1
call edi
test ebx, eax
jne 0x423917
cmp dword [0x45a00c], esi
je 0x4237f4
push 2
call edi
test ebx, eax
jne 0x423917
cmp dword [0x45a008], esi
je 0x423809
call fcn.00410e08
test al, al
jne 0x423917
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
push dword [ebp - 8]
mov esi, dword [sym.imp.USER32.dll_WindowFromPoint]
push dword [ebp - 0xc]
call esi
test eax, eax
mov dword [ebp + 0xc], eax
je 0x423917
mov eax, dword [0x4a16f0]
mov ecx, 0x1ff
mov dword [ebp - 0x820], eax
xor eax, eax
lea edi, [ebp - 0x81c]
push 0x7c
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x820]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_GetClassNameW]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
lea eax, [ebp - 0x820]
push str.button
push eax
call edi
test eax, eax
je 0x423882
lea eax, [ebp - 0x820]
push str.static
push eax
call edi
test eax, eax
jne 0x42388d
push dword [ebp - 8]
push dword [ebp - 0xc]
call esi
mov dword [ebp + 0xc], eax
xor esi, esi
cmp dword [0x4ca474], esi
je 0x42391e
push esi
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, eax
cmp edi, esi
je 0x42391e
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x42391e
lea eax, [ebp - 0x20]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [ebp - 8]
lea eax, [ebp - 0x20]
push dword [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x42391e
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 8]
shr eax, 0x10
movsx eax, ax
imul eax, eax, 0x19
push eax
call fcn.00423249
cmp dword [0x4c9e9c], esi
pop ecx
je 0x423917
mov edi, 0x3ea
push edi
push dword [0x4ca470]
call dword [sym.imp.USER32.dll_KillTimer]
push esi
push 0x14
push edi
push dword [0x4ca470]
call dword [sym.imp.USER32.dll_SetTimer]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
cmp dword [0x4ca4ac], esi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
jne 0x423934
push 0x10
call edi
test ebx, eax
jne 0x423917
push 0x12
call edi
test ebx, eax
je 0x423949
push str.ALT_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x423917
push 0x11
call edi
test ebx, eax
je 0x423958
push 0x45bd38
jmp 0x423941
call dword [sym.imp.USER32.dll_GetFocus]
mov esi, eax
call dword [sym.imp.USER32.dll_GetActiveWindow]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
inc dword [0x4cadd8]
cmp dword [0x4ca460], 0
jle 0x423984
cmp dword [0x4ca4d0], 0
je 0x423917
mov eax, dword [ebp + 0xc]
cmp eax, esi
je 0x423917
test eax, eax
mov dword [ebp - 4], eax
je 0x4239a2
push eax
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
je 0x4239a2
mov dword [ebp - 4], eax
jmp 0x423992
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp - 8]
shl esi, 0x10
mov eax, dword [eax + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
and eax, 0xffff
or esi, eax
cmp dword [0x4ca4ac], 0
je 0x4239e9
push 0x10
call edi
test ebx, eax
je 0x4239e9
mov eax, dword [ebp + 0x10]
push 0
mov eax, dword [eax + 8]
shr eax, 0x10
test ax, ax
jge 0x4239e0
push 1
jmp 0x4239e2
push 0
push 0x114
jmp 0x4239f2
push esi
push dword [ebp - 0x10]
push 0x20a
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SendMessageW]
xor esi, esi
cmp dword [0x4ca4d0], esi
je 0x423a2c
cmp dword [ebp - 4], esi
je 0x423a1e
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp dword [ebp - 4], eax
je 0x423a1e
push dword [ebp - 4]
call fcn.0043657a
pop ecx
cmp dword [ebp + 0xc], esi
je 0x423a2c
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SetFocus]
push 1
pop eax
jmp 0x423919