Function at 0x4d34f0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x546055
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x5d3b14]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x24], edi
cmp dword [edi + 0x70], 0
je 0x4d385f
mov eax, dword [ebp + 0x10]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], eax
cmp ecx, 0xffffffff
jne 0x4d35a0
cmp eax, ecx
jne 0x4d35a0
mov esi, dword [edi + 0x9c]
lea eax, [ebp - 0x58]
push eax
mov ecx, esi
mov dword [ebp - 0x20], esi
call fcn.004c6780
push eax
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [edi + 0x2c]
mov ecx, dword [edi + 0x28]
neg eax
movups xmm0, xmmword [ebp - 0x48]
push eax
neg ecx
lea eax, [ebp - 0x38]
push ecx
push eax
movups xmmword [ebp - 0x38], xmm0
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [ebp - 0x38]
add eax, dword [ebp - 0x30]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x34]
add eax, dword [ebp - 0x2c]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x14], eax
jmp 0x4d35c1
lea eax, [ebp - 0x18]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ScreenToClient]
push 1
push dword [ebp - 0x14]
mov ecx, edi
push dword [ebp - 0x18]
call fcn.004d2f70
mov esi, eax
mov dword [ebp - 0x20], eax
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0xffff8000
test cx, ax
jne 0x4d3613
test esi, esi
je 0x4d3608
mov eax, dword [esi]
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x55604c]
mov ecx, dword [ebp - 0x20]
call esi
mov ecx, eax
call dword [0x554e2c]
push eax
lea ecx, [edi + 0x8c]
call fcn.004d2ae0
test al, al
jne 0x4d3613
push dword [ebp - 0x20]
push 0
jmp 0x4d360c
push 0
push 5
mov ecx, edi
call fcn.004d67d0
xor eax, eax
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x19], al
cmp dword [edi + 0x98], eax
je 0x4d385f
mov ecx, dword [edi + 0x70]
test ecx, ecx
je 0x4d387e
call dword [0x5550ec]
test al, al
je 0x4d385f
cmp dword [edi + 0x98], 1
lea ecx, [edi + 0x8c]
jne 0x4d36ca
push 0
call fcn.004d2ae0
test al, al
je 0x4d3664
mov eax, 0x1ed
jmp 0x4d3719
mov edi, dword [edi + 0x9c]
mov eax, dword [edi]
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x55604c]
mov ecx, edi
call esi
mov ecx, eax
call dword [0x5550d8]
mov edi, dword [ebp - 0x24]
test al, al
mov eax, 0x4ca
mov edx, 0x1ee
mov dword [ebp - 0x28], eax
mov ecx, 0x1eb
cmovne ecx, edx
mov edi, dword [edi + 0x9c]
mov dword [ebp - 0x20], ecx
mov eax, dword [edi]
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x55604c]
mov ecx, edi
call esi
mov ecx, eax
call dword [0x5550d4]
mov edi, dword [ebp - 0x24]
mov byte [ebp - 0x19], al
mov eax, dword [ebp - 0x20]
jmp 0x4d3719
mov ecx, dword [ecx]
mov eax, dword [ecx]
mov dword [ebp - 0x20], eax
cmp eax, ecx
je 0x4d3714
mov edi, dword [eax + 0x10]
mov eax, dword [edi]
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x55604c]
mov ecx, edi
call esi
mov ecx, eax
call dword [0x5550d4]
test al, al
jne 0x4d370d
lea ecx, [ebp - 0x20]
call fcn.00410a10
mov edi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
cmp eax, dword [edi + 0x8c]
jne 0x4d36d5
jmp 0x4d3714
mov edi, dword [ebp - 0x24]
mov byte [ebp - 0x19], 1
mov eax, 0x1ec
push eax
push dword [0x5dee28]
mov dword [ebp - 0x20], 0
call dword [0x555cdc]
mov esi, eax
add esp, 8
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], 1
test esi, esi
je 0x4d3843
cmp byte [ebp - 0x19], 0
je 0x4d3756
mov ecx, dword [edi + 0x6c]
call fcn.004dbb20
test al, al
jne 0x4d3764
push 0
push 0x4f4
push esi
call dword [sym.imp.USER32.dll_DeleteMenu]
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x4d3775
push 0
push eax
push esi
call dword [sym.imp.USER32.dll_SetMenuDefaultItem]
mov ecx, dword [edi + 0x70]
test ecx, ecx
je 0x4d3897
call dword [0x554c0c]
mov edi, eax
lea ecx, [edi + 0x18]
call dword [0x5551fc]
xor ecx, ecx
test al, al
sete cl
push ecx
push 0x4c5
push esi
call dword [sym.imp.USER32.dll_EnableMenuItem]
lea ecx, [edi + 0x4c]
call dword [0x5551fc]
xor ecx, ecx
test al, al
sete cl
push ecx
push 0x4ca
push esi
call dword [sym.imp.USER32.dll_EnableMenuItem]
lea ecx, [edi + 0x80]
call dword [0x5551fc]
xor edx, edx
test al, al
sete dl
push edx
push 0x4c7
push esi
call dword [sym.imp.USER32.dll_EnableMenuItem]
lea ecx, [edi + 0x80]
call dword [0x5551fc]
xor ecx, ecx
test al, al
sete cl
push ecx
push 0x4d3
push esi
call dword [sym.imp.USER32.dll_EnableMenuItem]
mov edi, dword [ebp - 0x24]
lea eax, [ebp - 0x18]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ClientToScreen]
push 0
push dword [edi + 4]
push 0
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push 0x100
push esi
call dword [sym.imp.USER32.dll_TrackPopupMenu]
test eax, eax
je 0x4d3843
mov ecx, dword [edi + 0x6c]
push 0
push eax
push 0x111
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x4d385f
push esi
call dword [sym.imp.USER32.dll_DestroyMenu]
xor ecx, ecx
test eax, eax
cmovne esi, ecx
mov dword [ebp - 0x20], esi
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005150f0
mov esp, ebp
pop ebp
ret 0x10
lea ecx, [ebp - 0xa8]
call dword [0x55529c]
mov dword [ebp - 4], 0
push eax
call fcn.00405bf0
lea ecx, [ebp - 0xa8]
call dword [0x55529c]
mov byte [ebp - 4], 2
push eax
call fcn.00405bf0
int3