Function at 0x4d0828
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x553e98
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
mov esi, ecx
mov al, byte [esi + 0x248]
test al, al
je 0x4d083c
mov byte [esi + 0x248], 0
mov eax, dword [esi + 0x2dc]
test eax, eax
je 0x4d0b05
mov eax, dword [esi]
push ebx
push ebp
push edi
mov ecx, esi
call dword [eax + 0x160]
push eax
mov ecx, 0x5a4808
call fcn.004eab40
mov edx, dword [esi]
mov ebp, dword [esi + 0x2d8]
mov edi, dword [esi + 0x2dc]
mov ecx, esi
mov dword [esp + 0x3c], eax
call dword [edx + 0x300]
mov eax, dword [esi + 0x2d0]
push eax
call fcn.00522236
push eax
push 0x57e6c0
call fcn.00526a01
add esp, 8
cmp ebp, edi
mov ebx, eax
mov dword [esp + 0x40], ebx
jne 0x4d08b9
cmp edi, 9
je 0x4d0970
cmp edi, 0x13
je 0x4d08d5
mov edx, dword [esi]
push edi
mov ecx, esi
call dword [edx + 0x2f4]
mov ecx, esi
call fcn.0052216c
pop edi
pop ebp
pop ebx
pop esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 0xc
mov edi, dword [0x5a7e88]
test edi, edi
jne 0x4d08ec
mov ecx, esi
call fcn.00522c58
mov edi, eax
test edi, edi
je 0x4d0961
push edi
push 0x579bf0
call fcn.00526a01
add esp, 8
test eax, eax
je 0x4d090b
mov edx, dword [eax]
push esi
mov ecx, eax
call dword [edx + 0x1b4]
jmp 0x4d0959
push edi
push 0x5797e0
call fcn.00526a01
add esp, 8
test eax, eax
je 0x4d092a
mov edx, dword [eax]
push esi
mov ecx, eax
call dword [edx + 0x1a8]
jmp 0x4d0959
push edi
push 0x579430
call fcn.00526a01
add esp, 8
test eax, eax
jne 0x4d094e
push edi
push 0x5790d8
call fcn.00526a01
add esp, 8
test eax, eax
je 0x4d0961
mov edx, dword [eax]
mov ecx, eax
push esi
call dword [edx + 0x1c0]
test eax, eax
je 0x4d08b9
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x2f0]
jmp 0x4d08b9
push 0x11
call dword [sym.imp.user32.dll_GetAsyncKeyState]
test ax, ax
je 0x4d0a9d
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x2c4]
test eax, eax
je 0x4d0a9d
mov ecx, dword [esi + 0x70]
push 0
call fcn.004044c0
mov eax, dword [esi + 0x27c]
test eax, eax
jne 0x4d0a3f
push 0xa
lea ecx, [esp + 0x14]
call fcn.0051ec73
lea eax, [esp + 0x10]
push eax
mov ecx, ebx
mov dword [esp + 0x38], 0
call fcn.004f3980
mov ebp, dword [esp + 0x14]
test ebp, ebp
je 0x4d0a27
test ebp, ebp
mov eax, ebp
je 0x4d0a3a
mov ecx, dword [eax + 8]
mov ebp, dword [ebp]
push ecx
push 0x5a46a0
call fcn.00526a01
mov edi, eax
mov edx, dword [edi]
add esp, 8
mov ecx, edi
call dword [edx + 0x2c4]
test eax, eax
je 0x4d0a23
mov eax, dword [edi]
mov edx, dword [ebx]
push 0
push 0
mov ecx, ebx
mov dword [esp + 0x44], eax
call dword [edx + 0x158]
push eax
mov eax, dword [esp + 0x48]
push 1
mov ecx, edi
call dword [eax + 0x2dc]
mov ebx, dword [esp + 0x40]
test ebp, ebp
jne 0x4d09d2
lea ecx, [esp + 0x10]
mov dword [esp + 0x34], 0xffffffff
call fcn.0051ec96
jmp 0x4d0a68
call fcn.0051c508
mov ecx, dword [esi + 0x2b4]
mov eax, dword [ecx]
call dword [eax + 0x164]
push eax
push 0x57e98c
call fcn.00526a01
add esp, 8
test eax, eax
je 0x4d0a68
push 0
mov ecx, eax
call fcn.004f4cf0
mov ecx, dword [esi + 0x70]
push 1
call fcn.004044c0
mov esi, dword [esi + 0x70]
mov ecx, dword [esi + 0x1c]
push 0x181
push 0
push 0
push ecx
call dword [sym.imp.user32.dll_RedrawWindow]
pop edi
pop ebp
pop ebx
pop esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 0xc
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4d08c0
test ebx, ebx
je 0x4d08c0
mov edx, dword [ebx]
mov edi, dword [eax + 0x10c]
mov ecx, ebx
call dword [edx + 0x158]
test edi, eax
je 0x4d08c0
mov eax, dword [ebx]
mov edi, dword [esi]
push 1
push 0
mov ecx, ebx
call dword [eax + 0x158]
mov edx, dword [esi + 0x27c]
xor ecx, ecx
test edx, edx
sete cl
push eax
push ecx
mov ecx, esi
call dword [edi + 0x2dc]
pop edi
pop ebp
pop ebx
pop esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 0xc
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
push edx
push eax
push ecx
mov ecx, esi
call fcn.004a07e0
mov ecx, dword [esp + 0x20]
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret 0xc