Function at 0x4b7112
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x4e2d70
call fcn.0046d048
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.004afa71
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 0x4b719f
lea eax, [ebp - 0x20]
mov ecx, ebx
push eax
call fcn.004afa3a
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 0x4b719f
mov dword [ebp - 0x10], esi
jmp 0x4b71b6
lea eax, [ebp - 0x30]
push 0
push eax
mov ecx, ebx
call fcn.004af9cd
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.0049b666
mov eax, dword [edi + 0x70]
add esp, 0x14
cmp dword [esi + eax + 0x9c4], 0
lea ecx, [esi + eax]
je 0x4b72d5
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.0049b666
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 0x4b731d
push edi
call esi
test eax, eax
je 0x4b731d
and dword [ebp + 0xc], 0
cmp dword [ebp + 8], 0
je 0x4b732c
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [ebp + 0xc], 0
je 0x4b7337
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