Function at 0x42cf2a
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x42d17d
call fcn.0042de5c
sub esp, 0x6c
mov eax, dword [ebp + 8]
test byte [ecx + 0x24], 1
push ebx
mov eax, dword [eax + 4]
push esi
mov dword [ebp - 0x10], ecx
push edi
je 0x42d24e
cmp eax, 0x200
je 0x42cf74
cmp eax, 0xa0
je 0x42cf74
cmp eax, 0x202
je 0x42cf74
cmp eax, 0x205
je 0x42cf74
cmp eax, 0x208
jne 0x42d24e
push 1
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
call esi
test ax, ax
jl 0x42d24e
push 2
call esi
test ax, ax
jl 0x42d24e
push 4
call esi
test ax, ax
jl 0x42d24e
mov eax, dword [ebp + 8]
push dword [eax]
call fcn.004416b2
test eax, eax
je 0x42cfcd
cmp eax, dword [ebp - 0x10]
je 0x42cfd6
test byte [eax + 0x24], 1
jne 0x42cfcd
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.004416b2
test eax, eax
jne 0x42cfaf
cmp eax, dword [ebp - 0x10]
jne 0x42d24e
call fcn.00457208
lea esi, [eax + 0xd0]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov ebx, dword [esi]
call fcn.0044307f
mov edi, eax
test ebx, ebx
je 0x42d02a
mov eax, dword [ebx + 0x20]
test eax, eax
jne 0x42d004
push dword [ebx + 0x1c]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.004416b2
cmp eax, edi
je 0x42d026
mov ecx, ebx
mov eax, dword [ebx]
call dword [eax + 0x5c]
test ebx, ebx
je 0x42d022
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax + 4]
xor ebx, ebx
mov dword [esi], ebx
test ebx, ebx
jne 0x42d08f
push 0x58
mov ebx, 0
call fcn.00444558
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x42d050
mov ecx, eax
call fcn.0042cb13
mov ebx, eax
push 1
mov ecx, ebx
mov dword [ebp - 4], 0xffffffff
push edi
call fcn.0042cb99
test eax, eax
jne 0x42d07b
test ebx, ebx
je 0x42d24e
push 1
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
jmp 0x42d24e
push 0
push 0
push 0x401
push dword [ebx + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esi], ebx
push 0x28
xor esi, esi
push esi
lea eax, [ebp - 0x50]
push eax
call fcn.0042e150
add esp, 0xc
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x50], 0x28
mov dword [ebp - 0x4c], 1
mov eax, dword [ecx + 0x1c]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x50]
push eax
push esi
push 0x408
push dword [ebx + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
jne 0x42d0e4
lea eax, [ebp - 0x50]
push eax
push esi
push 0x404
push dword [ebx + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp + 8]
add eax, 0x14
mov esi, dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x28], ecx
lea ecx, [ebp - 0x28]
push ecx
mov dword [ebp - 0x24], edx
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_ScreenToClient]
push 0x28
lea eax, [ebp - 0x78]
push 0
push eax
call fcn.0042e150
add esp, 0xc
lea eax, [ebp - 0x78]
mov dword [ebp - 0x78], 0x28
push eax
mov esi, dword [ebp - 0x10]
push dword [ebp - 0x24]
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x28]
call dword [eax + 0x68]
mov dword [ebp - 0x14], eax
inc eax
cmp eax, 1
mov eax, 0
adc eax, 0xffffffff
mov ecx, dword [ebp - 0x14]
and eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
add eax, 0xd8
mov dword [ebp - 0x1c], eax
cmp dword [eax], ecx
jne 0x42d190
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
cmp dword [eax + 0xd4], ecx
jne 0x42d190
cmp dword [ebp - 0x14], 0xffffffff
je 0x42d23d
push dword [ebp + 8]
push ebx
call fcn.0042d260
jmp 0x42d23d
cmp dword [ebp - 0x14], 0xffffffff
je 0x42d1f7
lea esi, [ebp - 0x78]
lea edi, [ebp - 0x50]
mov ecx, 0xa
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x74]
and eax, 0x3fffffff
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x50]
push eax
push 0
push 0x404
push dword [ebx + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageA]
test byte [ebp - 0x71], 0x40
jne 0x42d1d4
mov ecx, dword [ebp - 0x10]
call fcn.004430c4
test eax, eax
je 0x42d1f7
xor esi, esi
push esi
push 1
push 0x401
push dword [ebx + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x13
push esi
push esi
push esi
push esi
push esi
push dword [ebx + 0x1c]
call dword [sym.imp.USER32.dll_SetWindowPos]
push dword [ebp + 8]
push ebx
call fcn.0042d260
mov edi, dword [ebp - 0x18]
add edi, 0xdc
cmp dword [edi], 0x28
jne 0x42d21f
push edi
push 0
push 0x405
push dword [ebx + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
lea esi, [ebp - 0x78]
mov dword [eax + 0xd4], ecx
mov eax, dword [ebp - 0x14]
mov ecx, 0xa
mov dword [edx], eax
rep movsd dword es:[edi], dword [esi]
cmp dword [ebp - 0x54], 0xffffffff
je 0x42d24e
push dword [ebp - 0x54]
call fcn.0042e300
add esp, 4
mov eax, dword [ebp - 0xc]
pop edi
mov dword fs:[0], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4