Function at 0x4bf32e
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x4f24c4
call fcn.0047b598
sub esp, 0x58
push ebx
push esi
push edi
mov esi, ecx
push 1
mov dword [ebp - 0x10], esi
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
and eax, 0x8000
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x1c]
test eax, eax
jne 0x4bf367
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
call fcn.004c0bbc
jmp 0x4bf372
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], eax
push dword [esi + 4]
xor ebx, ebx
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
jne 0x4bf384
push 2
pop ebx
push dword [ebp + 8]
and dword [ebp - 4], 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
lea esi, [ebp + 0xc]
lea edi, [ebp - 0x54]
movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0xc]
mov dword [ebp + 0x1c], eax
mov eax, dword [ebp + 0x10]
movsd dword es:[edi], dword [esi]
neg eax
add dword [ebp - 0x30], eax
push eax
movsd dword es:[edi], dword [esi]
neg ecx
add dword [ebp - 0x34], ecx
lea eax, [ebp - 0x54]
push ecx
push eax
movsd dword es:[edi], dword [esi]
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
sub eax, dword [ebp + 0x10]
sub ecx, dword [ebp + 0xc]
push eax
push ecx
push dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov dword [ebp - 0x14], eax
push dword [ebp + 0x1c]
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], eax
push 0xf
mov byte [ebp - 4], 2
call fcn.00491647
pop ecx
push eax
push dword [ebp + 0x1c]
call dword [sym.imp.GDI32.dll_SetBkColor]
xor eax, eax
lea ecx, [ebp - 0x54]
push eax
push eax
push eax
push ecx
push 2
push eax
push eax
push dword [ebp + 0x1c]
call dword [sym.imp.GDI32.dll_ExtTextOutA]
lea esi, [ebp - 0x54]
lea edi, [ebp - 0x44]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor esi, esi
cmp dword [ebp + 0x20], esi
je 0x4bf43a
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x50]
add eax, ecx
cdq
sub eax, edx
sar eax, 1
dec eax
mov dword [ebp - 0x38], eax
jmp 0x4bf44b
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x4c]
add eax, ecx
cdq
sub eax, edx
sar eax, 1
dec eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x20], esi
je 0x4bf46b
push dword [ebp - 0x30]
lea eax, [ebp - 0x44]
push dword [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
mov dword [ebp - 0x18], 1
jne 0x4bf46e
mov dword [ebp - 0x18], esi
cmp ebx, 2
je 0x4bf496
cmp dword [ebp - 0x18], esi
je 0x4bf47d
push 1
pop ebx
jmp 0x4bf496
push dword [ebp - 0x30]
lea eax, [ebp - 0x44]
push dword [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
mov ebx, eax
neg ebx
sbb ebx, ebx
and ebx, 3
cmp dword [ebp + 0x20], esi
mov eax, ebx
je 0x4bf4ba
mov ecx, dword [ebp - 0x10]
imul eax, eax, 0x148
mov ecx, dword [ecx + 0x70]
lea esi, [eax + ecx]
lea eax, [esi + 0x1690]
add esi, 0x1bb0
jmp 0x4bf4d5
mov ecx, dword [ebp - 0x10]
imul eax, eax, 0x148
mov ecx, dword [ecx + 0x70]
lea esi, [eax + ecx]
lea eax, [esi + 0x210]
add esi, 0x730
mov edi, 0xff00ff
push 1
push edi
push eax
lea eax, [ebp - 0x44]
push eax
push dword [ebp + 0x1c]
call fcn.004a9dee
add esp, 0x14
cmp dword [esi + 4], 0
je 0x4bf562
mov eax, dword [ebp - 0x3c]
mov ecx, dword [esi + 0x114]
sub eax, dword [esi + 0x114]
sub ecx, dword [esi + 0x10c]
push 1
push edi
sub eax, dword [ebp - 0x44]
push esi
add eax, dword [esi + 0x10c]
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x44]
mov dword [ebp - 0x64], eax
add ecx, eax
mov eax, dword [esi + 0x110]
mov dword [ebp - 0x5c], ecx
sub eax, dword [esi + 0x118]
mov ecx, dword [esi + 0x118]
sub ecx, dword [esi + 0x110]
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 - 0x60], eax
add ecx, eax
lea eax, [ebp - 0x64]
mov dword [ebp - 0x58], ecx
push eax
push dword [ebp + 0x1c]
call fcn.004a9dee
add esp, 0x14
xor eax, eax
cmp dword [ebp + 0x20], eax
je 0x4bf578
mov ecx, dword [ebp - 0x38]
inc ecx
mov dword [ebp - 0x40], ecx
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x38], ecx
jmp 0x4bf585
mov ecx, dword [ebp - 0x3c]
inc ecx
mov dword [ebp - 0x44], ecx
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x3c], ecx
cmp dword [ebp - 0x20], eax
je 0x4bf5a8
cmp dword [ebp - 0x18], eax
jne 0x4bf5a8
push dword [ebp - 0x30]
lea eax, [ebp - 0x44]
push dword [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4bf5a8
push 1
pop eax
jmp 0x4bf5aa
xor eax, eax
cmp ebx, 2
je 0x4bf5d1
test eax, eax
je 0x4bf5b8
push 1
pop ebx
jmp 0x4bf5d1
push dword [ebp - 0x30]
lea eax, [ebp - 0x44]
push dword [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
mov ebx, eax
neg ebx
sbb ebx, ebx
and ebx, 3
cmp dword [ebp + 0x20], 0
je 0x4bf5f4
mov eax, dword [ebp - 0x10]
imul ebx, ebx, 0x148
mov eax, dword [eax + 0x70]
lea esi, [ebx + eax]
lea eax, [esi + 0x20d0]
add esi, 0x25f0
jmp 0x4bf60f
mov eax, dword [ebp - 0x10]
imul ebx, ebx, 0x148
mov eax, dword [eax + 0x70]
lea esi, [ebx + eax]
lea eax, [esi + 0xc50]
add esi, 0x1170
mov ebx, dword [ebp + 0x1c]
push 1
push edi
push eax
lea eax, [ebp - 0x44]
push eax
push ebx
call fcn.004a9dee
add esp, 0x14
cmp dword [esi + 4], 0
je 0x4bf696
mov eax, dword [esi + 0x10c]
mov ecx, dword [esi + 0x114]
sub eax, dword [esi + 0x114]
sub ecx, dword [esi + 0x10c]
push 1
push edi
sub eax, dword [ebp - 0x44]
push esi
add eax, dword [ebp - 0x3c]
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x44]
mov dword [ebp - 0x64], eax
add ecx, eax
mov eax, dword [esi + 0x110]
mov dword [ebp - 0x5c], ecx
sub eax, dword [esi + 0x118]
mov ecx, dword [esi + 0x118]
sub ecx, dword [esi + 0x110]
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 - 0x60], eax
add ecx, eax
lea eax, [ebp - 0x64]
mov dword [ebp - 0x58], ecx
push eax
push ebx
call fcn.004a9dee
add esp, 0x14
push 0xffffffffffffffff
push 0xcc0020
push 0
push 0
push ebx
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004a9127
add esp, 0x28
push dword [ebp - 0x1c]
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov edi, dword [sym.imp.GDI32.dll_DeleteDC]
test ebx, ebx
je 0x4bf6db
push ebx
call edi
test eax, eax
je 0x4bf6db
and dword [ebp + 0x1c], 0
mov ebx, dword [ebp + 0x1c]
push dword [ebp - 0x14]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
call esi
test eax, eax
je 0x4bf6ee
and dword [ebp - 0x14], 0
cmp dword [ebp - 0x1c], 0
je 0x4bf6f9
push dword [ebp - 0x1c]
call esi
cmp dword [ebp - 0x14], 0
je 0x4bf704
push dword [ebp - 0x14]
call esi
test ebx, ebx
je 0x4bf70b
push ebx
call edi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x1c