Function at 0x420f1c
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 0x42108d
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
xor esi, esi
cmp dword [0x443d98], esi
mov ebx, 0x8000
je 0x420f56
push 1
call edi
test ebx, eax
jne 0x42108d
cmp dword [0x443d94], esi
je 0x420f6a
push 2
call edi
test ebx, eax
jne 0x42108d
cmp dword [0x443d90], esi
je 0x420f7f
call fcn.0040f565
test al, al
jne 0x42108d
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 0x42108d
mov eax, dword [0x47ec20]
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 0x420ff8
lea eax, [ebp - 0x820]
push str.static
push eax
call edi
test eax, eax
jne 0x421003
push dword [ebp - 8]
push dword [ebp - 0xc]
call esi
mov dword [ebp + 0xc], eax
xor esi, esi
cmp dword [0x4a70bc], esi
je 0x421094
push esi
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, eax
cmp edi, esi
je 0x421094
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x421094
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 0x421094
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 8]
shr eax, 0x10
movsx eax, ax
imul eax, eax, 0x19
push eax
call fcn.004209bf
cmp dword [0x4a6aec], esi
pop ecx
je 0x42108d
mov edi, 0x3ea
push edi
push dword [0x4a70b8]
call dword [sym.imp.USER32.dll_KillTimer]
push esi
push 0x14
push edi
push dword [0x4a70b8]
call dword [sym.imp.USER32.dll_SetTimer]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
cmp dword [0x4a70f4], esi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
jne 0x4210aa
push 0x10
call edi
test ebx, eax
jne 0x42108d
push 0x12
call edi
test ebx, eax
je 0x4210bf
push str.ALT_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x42108d
push 0x11
call edi
test ebx, eax
je 0x4210ce
push 0x4459dc
jmp 0x4210b7
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 [0x4a7a1c]
cmp dword [0x4a70a8], 0
jle 0x4210fa
cmp dword [0x4a7118], 0
je 0x42108d
mov eax, dword [ebp + 0xc]
cmp eax, esi
je 0x42108d
test eax, eax
mov dword [ebp - 4], eax
je 0x421118
push eax
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
je 0x421118
mov dword [ebp - 4], eax
jmp 0x421108
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 [0x4a70f4], 0
je 0x42115f
push 0x10
call edi
test ebx, eax
je 0x42115f
mov eax, dword [ebp + 0x10]
push 0
mov eax, dword [eax + 8]
shr eax, 0x10
test ax, ax
jge 0x421156
push 1
jmp 0x421158
push 0
push 0x114
jmp 0x421168
push esi
push dword [ebp - 0x10]
push 0x20a
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SendMessageW]
xor esi, esi
cmp dword [0x4a7118], esi
je 0x4211a2
cmp dword [ebp - 4], esi
je 0x421194
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp dword [ebp - 4], eax
je 0x421194
push dword [ebp - 4]
call fcn.00432e78
pop ecx
cmp dword [ebp + 0xc], esi
je 0x4211a2
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SetFocus]
push 1
pop eax
jmp 0x42108f