Function at 0x50e14c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
mov esi, ecx
cmp dword [ebx + 4], 0x20a
jne 0x50e1ac
mov eax, dword [esi + 0x80]
mov eax, dword [eax + 0xb8]
test eax, eax
je 0x50e1ac
push edi
push edi
push 0x157
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x50e1ac
mov eax, dword [esi + 0x80]
push dword [ebx + 0xc]
mov eax, dword [eax + 0xb8]
push dword [ebx + 8]
push dword [ebx + 4]
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
inc eax
jmp 0x50e40a
cmp dword [ebx + 4], 0x100
jne 0x50e402
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x50e2b3
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x50e2b3
mov eax, dword [esi + 0x80]
mov ecx, dword [eax + 0xb8]
test ecx, ecx
je 0x50e2b3
mov eax, dword [ebx + 8]
cmp eax, 0xd
je 0x50e22b
cmp eax, 0x20
jbe 0x50e2b3
cmp eax, 0x24
jbe 0x50e213
cmp eax, 0x26
je 0x50e213
cmp eax, 0x28
jne 0x50e2b3
push edi
push edi
push 0x157
push dword [ecx + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x50e2b3
mov ecx, esi
call fcn.0042ac94
mov eax, dword [esi + 0x80]
push edi
push edi
push 0x157
mov eax, dword [eax + 0xb8]
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
mov eax, dword [esi + 0x80]
jne 0x50e18c
mov ecx, dword [eax + 0xb8]
call fcn.0042e62b
test eax, eax
je 0x50e1a4
mov eax, dword [esi + 0x80]
mov ecx, esi
add eax, 0xbc
push eax
call fcn.0042e93e
mov eax, dword [esi + 0x80]
mov ecx, dword [eax + 0xb8]
test ecx, ecx
je 0x50e295
mov edi, dword [ecx + 0x20]
movzx esi, word [eax + 0x20]
call fcn.0042e62b
push edi
push esi
push 0x111
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x50e1a4
mov eax, dword [ebx + 8]
sub eax, 9
je 0x50e3cb
sub eax, 0x12
je 0x50e397
sub eax, 0xb
je 0x50e2d7
dec eax
sub eax, 1
jne 0x50e402
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x50e402
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x50e402
mov eax, dword [esi + 0x80]
mov eax, dword [eax + 0xb8]
test eax, eax
je 0x50e402
push edi
push edi
push 0x157
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x50e1a4
mov eax, dword [esi + 0x80]
push edi
push 1
push 0x14f
mov eax, dword [eax + 0xb8]
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi + 0x80]
mov eax, dword [eax + 0xb8]
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0042e3df
test eax, eax
je 0x50e1a4
mov eax, dword [esi + 0x80]
lea esi, [eax + 0x94]
mov eax, dword [eax + 0xb8]
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0042e3df
push 1
push esi
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x50e1a4
mov eax, dword [esi + 0x80]
mov eax, dword [eax + 0xb8]
test eax, eax
je 0x50e3b7
push edi
push edi
push 0x14f
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, esi
call fcn.0042e82f
test eax, eax
je 0x50e402
mov ecx, esi
call fcn.0042e82f
jmp 0x50e3f6
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0042e3df
test eax, eax
je 0x50e402
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0042e3df
push edi
push esi
mov ecx, eax
call fcn.004283de
mov ecx, eax
call fcn.0042ac94
jmp 0x50e1a4
push ebx
mov ecx, esi
call fcn.0043079a
pop edi
pop esi
pop ebx
pop ebp
ret 4