Function at 0x42c9fa
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
push esi
push edi
mov ebx, ecx
call fcn.00419c43
mov esi, eax
lea eax, [ebp - 0x10]
push eax
push dword [ebx + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0x21
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edi, eax
push 0x20
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cmp dword [0x4451a8], 0
mov dword [ebp - 0x14], eax
je 0x42cb46
mov ecx, ebx
call fcn.0041a2fa
cmp dword [0x4451a0], 0
mov ebx, eax
je 0x42ca73
test esi, 0x1000
je 0x42ca73
cmp ebx, 3
jne 0x42ca5f
mov ebx, 2
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x42ca73
xor eax, eax
jmp 0x42cd85
cmp ebx, 0xa
jb 0x42ca7d
cmp ebx, 0x11
jbe 0x42ca89
cmp ebx, 4
je 0x42ca89
mov eax, ebx
jmp 0x42cd85
test esi, 0x800
je 0x42ca9b
mov eax, 2
jmp 0x42cd85
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
neg edi
neg eax
push edi
push eax
push ecx
call dword [sym.imp.USER32.dll_InflateRect]
test esi, 0x200
je 0x42cb3f
cmp ebx, 4
je 0x42cad3
cmp ebx, 0xd
je 0x42caee
cmp ebx, 0xe
je 0x42cb09
cmp ebx, 0x10
je 0x42cb24
cmp ebx, 0x11
jne 0x42cb3f
mov eax, dword [ebp + 0xc]
cmp dword [ebp - 4], eax
mov eax, 0xf
jl 0x42cd85
mov eax, 0xb
jmp 0x42cd85
mov eax, dword [ebp + 0xc]
cmp dword [ebp - 0xc], eax
mov eax, 0xa
jle 0x42cd85
mov eax, 0xc
jmp 0x42cd85
mov eax, dword [ebp + 0xc]
cmp dword [ebp - 0xc], eax
mov eax, 0xb
jle 0x42cd85
mov eax, 0xc
jmp 0x42cd85
mov eax, dword [ebp + 0xc]
cmp dword [ebp - 4], eax
mov eax, 0xf
jl 0x42cd85
mov eax, 0xa
jmp 0x42cd85
mov eax, ebx
jmp 0x42cd85
push dword [ebp + 0xc]
push dword [ebp + 8]
lea edx, [ebp - 0x10]
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x42cb61
xor eax, eax
jmp 0x42cd85
push 6
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 5
mov dword [ebp - 0x18], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x60], ecx
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 0x60]
push ecx
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 8]
push 0
mov ecx, ebx
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x58], eax
call fcn.0042c98c
lea ecx, [ebp - 0x60]
lea edx, [ebp - 0x2c]
push ecx
push edx
call dword [sym.imp.USER32.dll_CopyRect]
push dword [ebp + 0xc]
push dword [ebp + 8]
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x42cbc8
mov eax, 1
jmp 0x42cd85
test esi, 0x40600
je 0x42cd38
xor ebx, ebx
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
imul eax, eax, 3
sub ecx, eax
add edx, edx
add ecx, dword [0x4453f8]
mov eax, dword [0x4453fc]
sub eax, edx
lea edx, [eax + edi]
mov eax, dword [ebp - 0xc]
add eax, edi
cmp eax, dword [ebp + 0xc]
jle 0x42cc43
test esi, 0x200
je 0x42cc12
mov ebx, 0xc
jmp 0x42cd10
mov eax, dword [ebp - 0x10]
add eax, ecx
cmp eax, dword [ebp + 8]
jl 0x42cc26
mov ebx, 0xd
jmp 0x42cd10
mov eax, dword [ebp - 8]
mov ebx, 0xe
sub eax, ecx
cmp eax, dword [ebp + 8]
jle 0x42cd10
mov ebx, 0xc
jmp 0x42cd10
mov eax, dword [ebp - 4]
sub eax, edi
cmp eax, dword [ebp + 0xc]
jg 0x42cc90
test esi, 0x200
je 0x42cc5f
mov ebx, 0xf
jmp 0x42cd10
mov eax, dword [ebp - 0x10]
add eax, ecx
cmp eax, dword [ebp + 8]
jl 0x42cc73
mov ebx, 0x10
jmp 0x42cd10
mov eax, dword [ebp - 8]
mov ebx, 0x11
sub eax, ecx
cmp eax, dword [ebp + 8]
jle 0x42cd10
mov ebx, 0xf
jmp 0x42cd10
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 8]
jle 0x42ccd1
test esi, 0x200
je 0x42ccaa
mov ebx, 0xa
jmp 0x42cd10
mov eax, dword [ebp - 0xc]
add eax, edx
cmp eax, dword [ebp + 0xc]
jl 0x42ccbb
mov ebx, 0xd
jmp 0x42cd10
mov eax, dword [ebp - 4]
mov ebx, 0x10
sub eax, edx
cmp eax, dword [ebp + 0xc]
jle 0x42cd10
mov ebx, 0xa
jmp 0x42cd10
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 8]
jg 0x42cd10
test esi, 0x200
je 0x42cceb
mov ebx, 0xb
jmp 0x42cd10
mov eax, dword [ebp - 0xc]
add eax, edx
cmp eax, dword [ebp + 0xc]
jl 0x42ccfc
mov ebx, 0xe
jmp 0x42cd10
mov eax, dword [ebp - 4]
mov ebx, 0x11
sub eax, edx
cmp eax, dword [ebp + 0xc]
jle 0x42cd10
mov ebx, 0xb
test ebx, ebx
je 0x42cd25
test esi, 0x800
mov eax, 2
jne 0x42cd85
mov eax, ebx
jmp 0x42cd85
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
neg edi
neg eax
push edi
push eax
push ecx
call dword [sym.imp.USER32.dll_InflateRect]
push dword [ebp + 0xc]
push dword [ebp + 8]
mov eax, dword [0x4453fc]
add eax, dword [ebp - 0x18]
add eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x42cd80
mov eax, dword [0x4453f8]
add eax, dword [ebp - 0x10]
sub eax, 2
cmp eax, dword [ebp + 8]
jle 0x42cd79
test esi, 0x80000
je 0x42cd79
mov eax, 3
jmp 0x42cd85
mov eax, 2
jmp 0x42cd85
mov eax, 0xfffffffe
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8