Function at 0x49a9c7
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x84
mov eax, 0x575ade
call fcn.00550d66
mov ebx, ecx
mov dword [ebp - 0x7c], ebx
mov eax, dword [ebp + 8]
xor edi, edi
inc edi
mov dword [ebp - 0x74], eax
mov esi, dword [eax + 4]
cmp esi, 0x200
je 0x49aa13
cmp esi, 0xa0
je 0x49aa13
cmp esi, 0x202
je 0x49aa13
cmp esi, 0x205
je 0x49aa13
cmp esi, 0x208
jne 0x49ad35
push edi
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x49ad32
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x49ad32
push 4
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x49ad32
call fcn.0043156d
mov edi, eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x80], edi
push dword [eax]
jmp 0x49aa69
test dword [eax + 0x60], 0x401
jne 0x49aa72
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0042c6aa
test eax, eax
jne 0x49aa56
cmp eax, ebx
je 0x49aa8a
test eax, eax
jne 0x49adfe
and dword [edi + 0x40], eax
or dword [edi + 0x44], 0xffffffff
jmp 0x49adfe
mov esi, dword [ebp - 0x7c]
mov ecx, esi
mov ebx, dword [edi + 0x3c]
call fcn.0042c939
mov dword [ebp - 0x78], eax
test ebx, ebx
je 0x49aac4
mov ecx, ebx
call fcn.0042c8e3
cmp eax, dword [ebp - 0x78]
je 0x49aac0
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x60]
mov eax, dword [ebx]
mov ecx, ebx
push 1
call dword [eax + 4]
and dword [edi + 0x3c], 0
xor ebx, ebx
test ebx, ebx
jne 0x49ab24
push 0xa0
call fcn.00426758
pop ecx
mov dword [ebp - 0x84], eax
and dword [ebp - 4], 0
test eax, eax
je 0x49aae8
mov ecx, eax
call fcn.0049a6db
mov ebx, eax
jmp 0x49aaea
xor ebx, ebx
mov eax, dword [ebx]
mov ecx, ebx
or dword [ebp - 4], 0xffffffff
push 1
push dword [ebp - 0x78]
call dword [eax + 0x164]
test eax, eax
jne 0x49ab0f
mov eax, dword [ebx]
mov ecx, ebx
push 1
call dword [eax + 4]
jmp 0x49adfe
push 0
push 0
push 0x401
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [edi + 0x3c], ebx
push 0x30
lea eax, [ebp - 0x40]
push 0
push eax
call fcn.00553570
mov ecx, dword [ebp - 0x74]
add esp, 0xc
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x90], eax
mov eax, dword [ecx + 0x18]
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x90]
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_ScreenToClient]
push 0x30
lea eax, [ebp - 0x70]
push 0
push eax
call fcn.00553570
mov eax, dword [esi]
lea ecx, [ebp - 0x70]
add esp, 0xc
mov dword [ebp - 0x70], 0x2c
push ecx
push dword [ebp - 0x8c]
mov ecx, esi
push dword [ebp - 0x90]
call dword [eax + 0x74]
mov ecx, eax
mov dword [ebp - 0x84], ecx
lea eax, [ecx + 1]
neg eax
sbb eax, eax
and eax, esi
mov dword [ebp - 0x78], eax
cmp dword [edi + 0x44], ecx
jne 0x49abfc
cmp dword [edi + 0x40], eax
jne 0x49abfc
test dword [esi + 0x60], 0x400
je 0x49abe4
lea eax, [ebp - 0x88]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
movzx ecx, word [ebp - 0x84]
movzx eax, word [ebp - 0x88]
shl ecx, 0x10
or ecx, eax
push ecx
push 0
push 0x412
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x49ad10
cmp ecx, 0xffffffff
je 0x49ad10
mov eax, dword [ebp - 0x74]
push eax
push ebx
call fcn.0049b130
jmp 0x49ad10
cmp ecx, 0xffffffff
je 0x49ac9c
mov eax, dword [ebp - 0x6c]
lea esi, [ebp - 0x70]
push 0xc
pop ecx
lea edi, [ebp - 0x40]
and eax, 0x3fffffff
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x7c]
mov dword [ebp - 0x3c], eax
test dword [esi + 0x60], 0x400
je 0x49ac2d
or eax, 0x20
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x40]
push eax
push 0
push 0x404
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
test dword [ebp - 0x6c], 0x40000000
jne 0x49ac55
mov ecx, esi
call fcn.0042cf68
test eax, eax
je 0x49acb0
push 0
xor edi, edi
inc edi
push edi
push 0x401
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
test dword [esi + 0x60], 0x400
je 0x49ac85
lea eax, [ebp - 0x40]
push eax
push edi
push 0x411
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x213
xor esi, esi
push esi
push esi
push esi
push esi
push esi
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x49acb2
xor esi, esi
push esi
push esi
push 0x401
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x49acb5
xor esi, esi
mov edi, dword [ebp - 0x80]
mov eax, dword [ebp - 0x74]
push eax
push ebx
call fcn.0049b130
mov eax, dword [edi + 0x48]
test eax, eax
je 0x49acdb
cmp dword [eax], 0x2c
jb 0x49acdb
push eax
push esi
push 0x405
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 0x78]
mov dword [edi + 0x40], eax
mov eax, dword [ebp - 0x84]
mov dword [edi + 0x44], eax
cmp dword [edi + 0x48], esi
jne 0x49ad05
push 0x30
call fcn.00426758
push 0x30
push esi
push eax
mov dword [edi + 0x48], eax
call fcn.00553570
add esp, 0x10
mov edi, dword [edi + 0x48]
lea esi, [ebp - 0x70]
push 0xc
pop ecx
rep movsd dword es:[edi], dword [esi]
cmp dword [ebp - 0x4c], 0xffffffff
je 0x49adfe
cmp dword [ebp - 0x50], 0
jne 0x49adfe
push dword [ebp - 0x4c]
call fcn.00555ed7
pop ecx
jmp 0x49adfe
mov eax, dword [ebp - 0x74]
test dword [ebx + 0x60], 0x401
je 0x49adfe
push dword [eax]
jmp 0x49ad5d
cmp eax, ebx
je 0x49ad6e
test dword [eax + 0x60], 0x401
jne 0x49ad66
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0042c6aa
test eax, eax
jne 0x49ad46
cmp eax, ebx
jne 0x49adfe
cmp esi, 0x100
jb 0x49ad7e
cmp esi, 0x109
jbe 0x49ad8b
lea eax, [esi - 0x104]
cmp eax, 3
jbe 0x49ad8b
xor edi, edi
test dword [ebx + 0x60], 0x400
jne 0x49adfe
test edi, edi
jne 0x49adf8
cmp esi, 0x201
je 0x49adf8
cmp esi, 0x203
je 0x49adf8
cmp esi, 0x204
je 0x49adf8
cmp esi, 0x206
je 0x49adf8
cmp esi, 0x207
je 0x49adf8
cmp esi, 0x209
je 0x49adf8
cmp esi, 0xa1
je 0x49adf8
cmp esi, 0xa3
je 0x49adf8
cmp esi, 0xa4
je 0x49adf8
cmp esi, 0xa6
je 0x49adf8
cmp esi, 0xa7
je 0x49adf8
cmp esi, 0xa9
jne 0x49adfe
push edi
call fcn.0042bda8
call fcn.00550d10
ret 4