Function at 0x4a7589
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x4d1de4
call fcn.0045d534
sub esp, 0x64
push ebx
push esi
push edi
mov ebx, ecx
push 0x15
mov dword [ebp - 0x14], ebx
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov esi, dword [ebp + 0xc]
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x70]
movsd dword es:[edi], dword [esi]
push eax
lea eax, [ebp - 0x60]
push eax
mov ecx, ebx
movsd dword es:[edi], dword [esi]
call fcn.0049fe85
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x28]
sub eax, dword [ebp - 0x68]
push 1
pop esi
sub eax, dword [ebp - 0x60]
push esi
add eax, dword [ebp - 0x70]
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
sub ecx, dword [ebp - 0x10]
mov dword [ebp - 0x30], ecx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
and eax, 0x8000
mov dword [ebp + 0xc], eax
je 0x4a7616
lea eax, [ebp - 0x20]
mov ecx, ebx
push eax
call fcn.0049fe4e
push dword [ebp - 0x1c]
lea eax, [ebp - 0x30]
push dword [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4a7616
mov dword [ebp - 0x10], esi
jmp 0x4a762d
lea eax, [ebp - 0x30]
push 0
push eax
mov ecx, ebx
call fcn.0049fde1
neg eax
sbb eax, eax
and eax, 3
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp + 8]
and dword [ebp - 4], 0
push dword [ebx]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
lea esi, [ebp - 0x30]
lea edi, [ebp - 0x40]
movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x30]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x2c]
movsd dword es:[edi], dword [esi]
neg eax
movsd dword es:[edi], dword [esi]
neg ecx
push eax
lea eax, [ebp - 0x40]
push ecx
push eax
movsd dword es:[edi], dword [esi]
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
sub eax, dword [ebp - 0x3c]
sub ecx, dword [ebp - 0x40]
mov edx, dword [ebx]
mov byte [ebp - 4], 1
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov dword [ebp + 8], eax
push dword [ebp + 0xc]
call dword [sym.imp.GDI32.dll_SelectObject]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
imul esi, esi, 0x148
mov dword [ebp - 0x18], eax
mov eax, dword [edi + 0x70]
push 1
push 0xff00ff
lea eax, [esi + eax + 0x4a0]
push eax
lea eax, [ebp - 0x40]
push eax
push dword [ebp + 0xc]
call fcn.0048b9ec
mov eax, dword [edi + 0x70]
add esp, 0x14
cmp dword [esi + eax + 0x9c4], 0
lea ecx, [esi + eax]
je 0x4a774c
lea esi, [ebp - 0x40]
lea edi, [ebp - 0x50]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ecx + 0xacc]
push 1
sub eax, dword [ecx + 0xad4]
add ecx, 0x9c0
push 0xff00ff
push ecx
sub eax, dword [ebp - 0x40]
add eax, dword [ebp - 0x38]
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x40]
mov dword [ebp - 0x50], eax
mov edx, dword [ecx + 0x114]
sub edx, dword [ecx + 0x10c]
add edx, eax
mov dword [ebp - 0x48], edx
mov eax, dword [ecx + 0x110]
sub eax, dword [ecx + 0x118]
sub eax, dword [ebp - 0x4c]
add eax, dword [ebp - 0x44]
cdq
sub eax, edx
sar eax, 1
add dword [ebp - 0x4c], eax
mov eax, dword [ecx + 0x118]
sub eax, dword [ecx + 0x110]
add eax, dword [ebp - 0x4c]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x50]
push eax
push dword [ebp + 0xc]
call fcn.0048b9ec
add esp, 0x14
mov eax, dword [ebp - 0x24]
mov edi, dword [ebp + 0xc]
sub eax, dword [ebp - 0x2c]
push 0xcc0020
push 0
push 0
push edi
push eax
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x30]
push eax
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push dword [ebx]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x18]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
test edi, edi
je 0x4a7794
push edi
call esi
test eax, eax
je 0x4a7794
and dword [ebp + 0xc], 0
cmp dword [ebp + 8], 0
je 0x4a77a3
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [ebp + 0xc], 0
je 0x4a77ae
push dword [ebp + 0xc]
call esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8