Function at 0x42e28c
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x42e4df
call fcn.0042f00c
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 0x42e5b0
cmp eax, 0x200
je 0x42e2d6
cmp eax, 0xa0
je 0x42e2d6
cmp eax, 0x202
je 0x42e2d6
cmp eax, 0x205
je 0x42e2d6
cmp eax, 0x208
jne 0x42e5b0
push 1
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
call esi
test ax, ax
jl 0x42e5b0
push 2
call esi
test ax, ax
jl 0x42e5b0
push 4
call esi
test ax, ax
jl 0x42e5b0
mov eax, dword [ebp + 8]
push dword [eax]
call fcn.00442ff9
test eax, eax
je 0x42e32f
cmp eax, dword [ebp - 0x10]
je 0x42e338
test byte [eax + 0x24], 1
jne 0x42e32f
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.00442ff9
test eax, eax
jne 0x42e311
cmp eax, dword [ebp - 0x10]
jne 0x42e5b0
call fcn.0045844d
lea esi, [eax + 0xd0]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov ebx, dword [esi]
call fcn.004449c6
mov edi, eax
test ebx, ebx
je 0x42e38c
mov eax, dword [ebx + 0x20]
test eax, eax
jne 0x42e366
push dword [ebx + 0x1c]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.00442ff9
cmp eax, edi
je 0x42e388
mov ecx, ebx
mov eax, dword [ebx]
call dword [eax + 0x5c]
test ebx, ebx
je 0x42e384
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax + 4]
xor ebx, ebx
mov dword [esi], ebx
test ebx, ebx
jne 0x42e3f1
push 0x58
mov ebx, 0
call fcn.00447dd1
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x42e3b2
mov ecx, eax
call fcn.0042de75
mov ebx, eax
push 1
mov ecx, ebx
mov dword [ebp - 4], 0xffffffff
push edi
call fcn.0042defb
test eax, eax
jne 0x42e3dd
test ebx, ebx
je 0x42e5b0
push 1
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
jmp 0x42e5b0
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.0042f350
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 0x42e446
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.0042f350
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 0x42e4f2
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
cmp dword [eax + 0xd4], ecx
jne 0x42e4f2
cmp dword [ebp - 0x14], 0xffffffff
je 0x42e59f
push dword [ebp + 8]
push ebx
call fcn.0042e5c2
jmp 0x42e59f
cmp dword [ebp - 0x14], 0xffffffff
je 0x42e559
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 0x42e536
mov ecx, dword [ebp - 0x10]
call fcn.00444a0b
test eax, eax
je 0x42e559
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.0042e5c2
mov edi, dword [ebp - 0x18]
add edi, 0xdc
cmp dword [edi], 0x28
jne 0x42e581
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 0x42e5b0
push dword [ebp - 0x54]
call fcn.0042f5f0
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