Function at 0x4bd71a
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x3c
mov eax, 0x511a1f
call fcn.004f41e2
mov ebx, ecx
mov eax, dword [0x5a23ec]
mov ecx, dword [ebp + 0x20]
cmp byte [eax + 0x11014], 0
je 0x4bdad3
xor esi, esi
mov dword [ecx], esi
mov eax, dword [0x5a22a0]
push esi
lea ecx, [eax + 0x180]
call fcn.004323d7
test al, al
jne 0x4bdab8
push dword [ebp + 0x1c]
lea eax, [ebx + 0xe488]
push dword [ebp + 0x18]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4bdab8
lea ecx, [ebp - 0x48]
call fcn.004d840a
mov dword [ebp - 4], esi
mov esi, dword [ebp + 0xc]
cmp esi, 0x200
jb 0x4bdaac
cmp esi, 0x201
jbe 0x4bd7a6
lea eax, [esi - 0x203]
cmp eax, 2
ja 0x4bdaac
xor eax, eax
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
lea ecx, [ebx + 0x29c]
push 0x2c
mov dword [ebp - 0x28], ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0x24], eax
pop edi
cmp dword [ecx - 0x294], 0
je 0x4bd7e0
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x4bd858
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
inc eax
add ecx, 0x2a4
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
cmp eax, edi
jb 0x4bd7c0
push edi
mov ecx, ebx
call fcn.004bdc60
xor edi, edi
mov ecx, ebx
push edi
push 1
call fcn.004be2a6
cmp esi, 0x201
je 0x4bd8fa
cmp esi, 0x203
je 0x4bd8fa
cmp esi, 0x205
jne 0x4bdaac
push 2
lea eax, [ebp - 0x20]
push eax
push edi
push dword [0x5a22a4]
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebx + 0xe66c]
sub eax, 1
je 0x4bd8ab
sub eax, 0x25
je 0x4bd8ab
mov ecx, ebx
call fcn.004bddc4
jmp 0x4bdaac
mov esi, dword [ebp - 0x24]
test esi, esi
jne 0x4bd87c
mov eax, dword [ebx + 0x2a4]
cdq
sub eax, edx
sar eax, 1
push 0x50
pop ecx
cmp eax, ecx
cmovl ecx, eax
xor eax, eax
cmp dword [ebp + 0x18], ecx
cmovle edi, eax
jmp 0x4bd886
imul eax, esi, 0x2a4
mov edi, dword [eax + ebx + 0xc]
push edi
mov ecx, ebx
call fcn.004bdc60
imul eax, esi, 0x2a4
lea edi, [ebp - 0x20]
lea esi, [ebx + 0x29c]
add esi, eax
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 esi, dword [ebp + 0xc]
jmp 0x4bd7f9
lea ecx, [ebp - 0x38]
call fcn.004d840a
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 1
push edi
push eax
call fcn.004d3e20
pop ecx
pop ecx
test eax, eax
js 0x4bd8ed
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.004e6ac5
pop ecx
pop ecx
mov ecx, dword [0x5a22a0]
push edi
push 0x20
push edx
mov ecx, dword [ecx + 0x3e60]
push eax
push dword [ebp - 0x34]
call fcn.0045c3b3
lea ecx, [ebp - 0x38]
call fcn.004d84a5
jmp 0x4bdaac
push 2
lea eax, [ebp - 0x20]
push eax
push edi
push dword [0x5a22a4]
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebx + 0xe66c]
cmp eax, 8
jg 0x4bd9fb
je 0x4bd9d4
sub eax, 1
je 0x4bd9ad
sub eax, 1
je 0x4bd993
sub eax, 1
je 0x4bd979
sub eax, 1
je 0x4bd96f
sub eax, 1
jne 0x4bdaac
mov ecx, dword [0x5a22a0]
lea eax, [ebp - 0x48]
push edi
push eax
call fcn.0040ef51
test eax, eax
js 0x4bdaac
mov ecx, dword [ebp - 0x44]
call fcn.004de78b
mov ecx, eax
call fcn.00491a19
jmp 0x4bdaac
push edi
push edi
push edi
mov edi, 0x91
jmp 0x4bd981
push edi
push edi
push edi
mov edi, 0x90
mov esi, dword [sym.imp.USER32.dll_keybd_event]
push edi
call esi
push 0
push 2
push 0
push edi
jmp 0x4bd9a6
mov esi, dword [sym.imp.USER32.dll_keybd_event]
push edi
push edi
push edi
push 0x14
call esi
push edi
push 2
push edi
push 0x14
call esi
jmp 0x4bdaac
cmp esi, 0x201
jne 0x4bdaac
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.004e6ac5
pop ecx
pop ecx
push edx
push eax
mov ecx, ebx
call fcn.004be1ee
jmp 0x4bdaac
cmp esi, 0x201
jne 0x4bdaac
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
call fcn.004e6ac5
pop ecx
pop ecx
push edx
push eax
mov ecx, ebx
call fcn.004be0f4
jmp 0x4bdaac
sub eax, 0x15
je 0x4bda8e
sub eax, 0x10
je 0x4bda6e
sub eax, 1
je 0x4bda3c
sub eax, 1
jne 0x4bdaac
mov eax, dword [0x5a22a0]
mov ecx, dword [eax + 0x3e68]
test ecx, ecx
je 0x4bdaac
cmp byte [ecx + 0x219], 0
sete al
mov byte [ecx + 0x219], al
jmp 0x4bdaac
cmp esi, 0x201
jne 0x4bdaac
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, dword [0x5a22a0]
shr eax, 0xf
and al, 1
movzx eax, al
mov ecx, dword [ecx + 0x3e60]
push eax
push 0x20
lea eax, [ebp - 0x20]
push eax
call fcn.0045a4cf
jmp 0x4bdaac
cmp esi, 0x201
jne 0x4bdaac
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
call fcn.004e6ac5
pop ecx
pop ecx
push edx
push eax
mov ecx, ebx
call fcn.004be140
jmp 0x4bdaac
cmp esi, 0x201
jne 0x4bdaac
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
call fcn.004e6ac5
pop ecx
pop ecx
push edx
push eax
mov ecx, ebx
call fcn.004be223
lea ecx, [ebp - 0x48]
call fcn.004d84a5
mov al, 1
jmp 0x4bdad5
push 0x2c
pop edi
cmp dword [ebx + 0xe66c], edi
je 0x4bdad3
push esi
push 1
mov ecx, ebx
mov dword [ebx + 0xe66c], edi
call fcn.004be2a6
xor al, al
call fcn.004f418c
ret 0x1c