Function at 0x4d5564
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
push esi
push edi
mov ebx, ecx
mov esi, eax
push 0x17
call sub.user32.dll_GetSystemMetrics
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jle 0x4d558a
mov dword [ebp - 0x18], 2
jmp 0x4d5591
mov dword [ebp - 0x18], 1
cmp bl, 1
jne 0x4d55ac
mov eax, dword [esi + 0x2f8]
call fcn.004d5264
mov eax, dword [esi + 0x2f8]
call fcn.0047e160
test bl, bl
jne 0x4d58af
mov eax, dword [esi + 0x2f8]
call fcn.00461a80
mov eax, dword [0x4d92b4]
cmp byte [eax], 0
jne 0x4d58af
mov dl, 1
mov eax, dword [0x425654]
call fcn.0042bb88
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x2f8]
mov edx, dword [eax + 0x48]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [esi + 0x2f8]
mov edx, dword [eax + 0x4c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov dl, 6
mov eax, dword [ebp - 4]
call fcn.0042d248
mov eax, dword [esi + 0x2f8]
call fcn.0047b87c
lea edx, [ebp - 0x2c]
call fcn.00427958
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 4]
call fcn.0042c158
lea edx, [ebp - 0x3c]
call fcn.00427958
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [esi + 0x2f8]
call fcn.0047b87c
push eax
mov eax, dword [ebp - 4]
call fcn.0042c158
pop ecx
pop edx
call fcn.00427328
mov dl, 1
mov eax, dword [0x425654]
call fcn.0042bb88
mov dword [ebp - 8], eax
mov edx, dword [0x4dafd8]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 8]
mov dl, 7
mov eax, dword [ebp - 8]
call fcn.0042d248
lea edx, [ebp - 0x13]
mov eax, dword [esi + 0x2f8]
mov eax, dword [eax + 0x2ec]
call fcn.004a1180
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x20]
dec eax
test eax, eax
jl 0x4d5758
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp + 8], 0
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 8]
call fcn.0042c2c8
mov dword [ebp - 0xc], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.0042c2c8
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, eax
dec edx
test edx, edx
jl 0x4d574c
inc edx
xor ebx, ebx
lea eax, [ebx + ebx*2]
mov ecx, dword [ebp - 0x10]
mov cl, byte [ecx + eax + 2]
cmp cl, byte [ebp - 0x13]
jne 0x4d56f9
mov ecx, dword [ebp - 0x10]
mov cl, byte [ecx + eax + 1]
cmp cl, byte [ebp - 0x12]
jne 0x4d56f9
mov ecx, dword [ebp - 0x10]
mov cl, byte [ecx + eax]
cmp cl, byte [ebp - 0x11]
je 0x4d5748
mov ecx, dword [ebp - 0x10]
mov cl, byte [ecx + eax]
push ecx
mov ecx, ebx
shl ecx, 2
mov edi, dword [ebp - 0xc]
add edi, ecx
pop ecx
mov byte [edi], cl
mov ecx, dword [ebp - 0x10]
mov cl, byte [ecx + eax + 1]
push ecx
mov ecx, ebx
shl ecx, 2
mov edi, dword [ebp - 0xc]
lea edi, [edi + ecx + 1]
pop ecx
mov byte [edi], cl
mov ecx, dword [ebp - 0x10]
mov al, byte [ecx + eax + 2]
push eax
mov eax, ebx
shl eax, 2
mov ecx, dword [ebp - 0xc]
lea ecx, [ecx + eax + 2]
pop eax
mov byte [ecx], al
mov eax, ebx
shl eax, 2
mov ecx, dword [ebp - 0xc]
mov byte [ecx + eax + 3], 0xff
inc ebx
dec edx
jne 0x4d56d3
inc dword [ebp + 8]
dec dword [ebp - 0x1c]
jne 0x4d56a5
mov eax, dword [ebp - 4]
call fcn.004039b0
mov edx, dword [ebp - 8]
mov eax, dword [0x4d9278]
call fcn.004d5180
mov eax, dword [0x4d9278]
call fcn.00461a80
mov eax, dword [ebp - 8]
call fcn.004039b0
mov eax, dword [0x4d98b4]
mov eax, dword [eax]
mov dx, 0xffea
call fcn.0047f754
lea edx, [ebp - 0x4c]
mov eax, dword [0x4d9864]
mov eax, dword [eax]
call fcn.0046c928
lea edx, [ebp - 0x4c]
lea ecx, [ebp - 0x44]
mov eax, esi
call fcn.00461364
mov ebx, dword [ebp - 0x44]
lea edx, [ebp - 0x4c]
mov eax, dword [0x4d9864]
mov eax, dword [eax]
call fcn.0046c928
lea edx, [ebp - 0x4c]
lea ecx, [ebp - 0x44]
mov eax, esi
call fcn.00461364
mov eax, dword [ebp - 0x40]
mov dword [ebp + 8], eax
mov eax, dword [esi + 0x2f8]
call fcn.0047e158
mov eax, dword [0x4d96c0]
mov eax, dword [eax]
call fcn.0048159c
lea edx, [ebp - 0x4c]
mov eax, dword [0x4d9864]
mov eax, dword [eax]
call fcn.0046c928
lea edx, [ebp - 0x4c]
lea ecx, [ebp - 0x44]
mov eax, esi
call fcn.00461364
mov edx, dword [ebp - 0x44]
add edx, dword [esi + 0x40]
sub edx, ebx
mov eax, esi
call fcn.00460f90
lea edx, [ebp - 0x4c]
mov eax, dword [0x4d9864]
mov eax, dword [eax]
call fcn.0046c928
lea edx, [ebp - 0x4c]
lea ecx, [ebp - 0x44]
mov eax, esi
call fcn.00461364
mov edx, dword [ebp - 0x40]
add edx, dword [esi + 0x44]
sub edx, dword [ebp + 8]
mov eax, esi
call fcn.00460fb4
push 4
call sub.kernel32.dll_Sleep_1
mov eax, dword [ebp - 0x18]
push eax
call sub.user32.dll_GetAsyncKeyState
movsx eax, ax
test ah, 0x80
jne 0x4d57e7
mov eax, dword [esi + 0x2f8]
call fcn.00468018
push eax
call sub.user32.dll_LockWindowUpdate
mov edx, dword [esi + 0x40]
mov eax, dword [esi + 0x2f8]
call fcn.00460f90
mov edx, dword [esi + 0x44]
mov eax, dword [esi + 0x2f8]
call fcn.00460fb4
mov eax, dword [0x4d96c0]
mov eax, dword [eax]
call fcn.0048159c
mov eax, dword [esi + 0x2f8]
call fcn.0047e160
push 0
call sub.user32.dll_LockWindowUpdate
mov eax, dword [0x4d98b4]
mov eax, dword [eax]
xor edx, edx
call fcn.0047f754
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc