Function at 0x4d27b0
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
push edi
push 0
mov eax, dword [esi + 0x11c]
push 0
push 0x37eb
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x4d2a4d
mov ecx, esi
call fcn.004d5180
cmp eax, 0x32
jge 0x4d27f7
mov dword [esi + 0x104], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
mov eax, dword [esp + 0x20]
mov edi, dword [sym.imp.USER32.dll_PtInRect]
movsx ebp, ax
shr eax, 0x10
movsx ebx, ax
push ebx
lea ecx, [esi + 0x348]
push ebp
mov dword [esi + 0xb4], ebp
push ecx
mov dword [esi + 0xb8], ebx
mov dword [esi + 0xe4], 1
call edi
test eax, eax
je 0x4d286a
mov edx, dword [esi]
push 0xffffffffffffffff
mov ecx, esi
mov byte [esi + 0x1e4], 2
call dword [edx + 0x28]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov eax, dword [esi]
push ecx
push edx
mov ecx, esi
call dword [eax + 0x44]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, esi
mov dword [esi + 0x44], eax
call fcn.004d2cc0
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esi + 4]
call fcn.004d6750
cmp dword [esi + 0xfc], 0xffffffff
jne 0x4d28c2
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
push eax
push edi
mov ecx, esi
call fcn.004d2140
cmp edi, 4
jne 0x4d2a4d
mov eax, dword [esi + 8]
push eax
push eax
call dword [sym.imp.USER32.dll_GetMenu]
mov ecx, dword [esi + 0x11c]
push eax
push 0x37e9
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
mov edx, dword [esi + 8]
push edx
call dword [sym.imp.USER32.dll_SetCapture]
lea ecx, [esi + 0x28]
call fcn.004d5fa0
mov eax, dword [esi + 0xfc]
mov ecx, dword [esi + 0xec]
push ebx
push ebp
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea edx, [ecx + eax*4 + 0x1a8]
push edx
call edi
test eax, eax
je 0x4d2a4d
mov eax, dword [esi]
push 0xffffffffffffffff
mov ecx, esi
mov byte [esi + 0x1e4], 4
call dword [eax + 0x28]
mov eax, dword [esi + 0xfc]
mov edx, dword [esi + 0xec]
lea ecx, [eax + eax*4]
lea ecx, [ecx + ecx*4]
lea ecx, [ecx + ecx*4]
cmp byte [edx + ecx*4 + 0x44], 0
jne 0x4d295c
cmp dword [esp + 0x1c], 4
jne 0x4d2a4d
mov eax, dword [esi + 8]
push eax
push eax
call dword [sym.imp.USER32.dll_GetMenu]
push eax
mov eax, dword [esi + 0x11c]
push 0x37e9
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
cmp dword [esi + 0x100], 0xffffffff
jne 0x4d296b
mov dword [esi + 0x100], eax
mov edx, dword [esi]
mov edi, 1
push eax
mov ecx, esi
mov dword [esi + 0x104], edi
call dword [edx + 0x28]
mov eax, dword [esi + 0x70]
test eax, eax
je 0x4d29fb
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [esi + 8]
lea ecx, [esp + 0x10]
push ecx
push edx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esi + 0xb4]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
sub eax, ecx
mov ecx, dword [esi + 0xb8]
sub ecx, edx
test eax, eax
jge 0x4d29c5
neg eax
test ecx, ecx
jge 0x4d29cb
neg ecx
mov edx, dword [esi + 0x100]
cmp edx, dword [esi + 0xfc]
jne 0x4d2a2d
cmp eax, ecx
jle 0x4d2a2d
push edi
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
je 0x4d2a2d
mov dword [esi + 0xb0], edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
mov eax, dword [esi + 0xfc]
mov ecx, dword [esi + 0xec]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
test byte [ecx + eax*4 + 0x48], 2
je 0x4d2a2d
mov edx, dword [esi + 8]
push 0
push 0x96
push 0x100
push edx
call dword [sym.imp.USER32.dll_SetTimer]
mov edi, dword [esp + 0x1c]
cmp edi, 5
je 0x4d2a43
mov ecx, dword [esp + 0x20]
mov eax, dword [esi]
push ecx
push edi
mov ecx, esi
call dword [eax + 0x44]
push edi
push ebx
push ebp
mov ecx, esi
call fcn.004d51a0
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8