Function at 0x42c09e
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
push ebx
push esi
push edi
mov edi, ecx
call fcn.0041b772
mov dword [ebp - 4], eax
lea eax, [ebp - 0x28]
push eax
push dword [edi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x21
call esi
mov ebx, eax
push 0x20
mov dword [ebp - 0xc], ebx
call esi
cmp dword [0x442184], 0
mov dword [ebp - 8], eax
je 0x42c1b0
mov ecx, edi
call fcn.004189a9
cmp dword [0x44217c], 0
push 2
mov esi, eax
pop edi
je 0x42c113
test byte [ebp - 3], 0x10
je 0x42c113
cmp esi, 3
jne 0x42c103
mov esi, edi
push edi
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x42c1c5
cmp esi, 0xa
jb 0x42c11d
cmp esi, 0x11
jbe 0x42c122
cmp esi, 4
jne 0x42c15e
test byte [ebp - 3], 8
je 0x42c12f
mov eax, edi
jmp 0x42c3a4
mov eax, dword [ebp - 8]
neg ebx
neg eax
push ebx
push eax
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
test byte [ebp - 3], 2
je 0x42c15e
mov eax, esi
sub eax, 4
je 0x42c199
sub eax, 9
je 0x42c183
dec eax
je 0x42c176
sub eax, edi
je 0x42c165
dec eax
je 0x42c199
mov eax, esi
jmp 0x42c3a4
mov ecx, dword [ebp + 0xc]
xor eax, eax
cmp ecx, dword [ebp - 0x1c]
setle al
dec eax
and eax, 5
jmp 0x42c191
mov ecx, dword [ebp + 0xc]
xor eax, eax
cmp ecx, dword [ebp - 0x24]
setl al
jmp 0x42c1a8
mov ecx, dword [ebp + 0xc]
xor eax, eax
cmp ecx, dword [ebp - 0x24]
setge al
dec eax
and eax, edi
add eax, 0xa
jmp 0x42c3a4
mov ecx, dword [ebp + 0xc]
xor eax, eax
cmp ecx, dword [ebp - 0x1c]
setle al
dec eax
and eax, 4
add eax, 0xb
jmp 0x42c3a4
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x28]
push ebx
push dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x42c1cc
xor eax, eax
jmp 0x42c3a4
push 6
call esi
push 5
mov dword [ebp - 0x10], eax
call esi
mov esi, eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x6c]
push eax
push 0
mov ecx, edi
call fcn.0042c038
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
push ebx
lea eax, [ebp - 0x38]
push dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x42c225
push 1
jmp 0x42c3a3
test dword [ebp - 4], 0x40600
je 0x42c363
lea eax, [esi + esi*2]
mov edi, dword [ebp - 0xc]
mov ecx, eax
mov eax, dword [ebp - 8]
mov esi, dword [ebp - 0x24]
sub eax, ecx
mov ecx, dword [ebp - 0x10]
and dword [ebp - 0x18], 0
add eax, dword [0x4423a8]
add ecx, ecx
mov edx, ecx
mov ecx, edi
sub ecx, edx
lea edx, [edi + esi]
add ecx, dword [0x4423ac]
cmp ebx, edx
jge 0x42c294
test byte [ebp - 3], 2
je 0x42c271
push 0xc
jmp 0x42c327
mov ecx, dword [ebp - 0x28]
add ecx, eax
cmp dword [ebp + 8], ecx
jle 0x42c2f4
mov ecx, dword [ebp - 0x20]
sub ecx, eax
xor eax, eax
cmp dword [ebp + 8], ecx
setl al
dec eax
and eax, 2
add eax, 0xc
jmp 0x42c33f
mov edx, dword [ebp - 0x1c]
mov ebx, edx
sub ebx, edi
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp - 0x14]
cmp ebx, edi
jl 0x42c2d6
test byte [ebp - 3], 2
je 0x42c2b2
push 0xf
jmp 0x42c327
mov ecx, dword [ebp - 0x28]
add ecx, eax
cmp dword [ebp + 8], ecx
jg 0x42c2c0
push 0x10
jmp 0x42c327
mov ecx, dword [ebp - 0x20]
sub ecx, eax
xor eax, eax
cmp dword [ebp + 8], ecx
setl al
dec eax
and eax, 2
add eax, 0xf
jmp 0x42c33f
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp - 8]
add edi, eax
cmp dword [ebp + 8], edi
jge 0x42c30a
test byte [ebp - 3], 2
je 0x42c2ed
push 0xa
jmp 0x42c327
lea eax, [ecx + esi]
cmp ebx, eax
jg 0x42c2f8
push 0xd
jmp 0x42c327
sub edx, ecx
xor eax, eax
cmp ebx, edx
setl al
dec eax
and eax, 6
add eax, 0xa
jmp 0x42c33f
mov edi, dword [ebp - 0x20]
sub edi, eax
cmp dword [ebp + 8], edi
jl 0x42c33c
test byte [ebp - 3], 2
je 0x42c31e
push 0xb
jmp 0x42c327
lea eax, [ecx + esi]
cmp ebx, eax
jg 0x42c32a
push 0xe
pop eax
jmp 0x42c33f
sub edx, ecx
xor eax, eax
cmp ebx, edx
setl al
dec eax
and eax, 6
add eax, 0xb
jmp 0x42c33f
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x42c34d
test byte [ebp - 3], 8
je 0x42c3a4
push 2
jmp 0x42c3a3
mov eax, dword [ebp - 0xc]
neg eax
push eax
mov eax, dword [ebp - 8]
neg eax
push eax
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x10]
push ebx
add ecx, eax
push dword [ebp + 8]
add ecx, dword [0x4423ac]
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x1c], ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x42c3a1
mov eax, dword [0x4423a8]
mov ecx, dword [ebp - 0x28]
lea eax, [ecx + eax - 2]
cmp dword [ebp + 8], eax
jge 0x42c349
test byte [ebp - 2], 8
je 0x42c349
push 3
jmp 0x42c3a3
push 0xfffffffffffffffe
pop eax
pop edi
pop esi
pop ebx
leave
ret 8