Function at 0x4d0cec
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x4d0cf4
push ebx
push esi
push edi
mov byte [ebp - 1], dl
mov esi, eax
xor eax, eax
push ebp
push 0x4d108e
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov ebx, dword [esi + 0x3cc]
cmp dword [ebx + 0xc], 0
jne 0x4d0f98
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.00461820
mov eax, dword [ebp - 0x10]
mov edx, dword [0x4d90ec]
call fcn.00404c0c
je 0x4d0f98
mov byte [ebp - 9], 1
mov eax, dword [esi + 0x310]
mov eax, dword [eax + 0x68]
mov edx, dword [0x4daf30]
call fcn.00426624
lea edx, [ebp - 0x14]
mov eax, dword [esi + 0x3cc]
call fcn.00461820
mov edx, dword [ebp - 0x14]
mov eax, 0x4d90ec
call fcn.00404854
lea edx, [ebp - 0x18]
mov eax, dword [esi + 0x3cc]
call fcn.00461820
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 8]
call fcn.004b7878
mov eax, dword [esi + 0x3cc]
mov edx, dword [eax]
call dword [edx + 0xcc]
mov ebx, eax
mov eax, dword [esi + 0x3cc]
mov edx, dword [eax]
call dword [edx + 0xcc]
test eax, eax
jl 0x4d0dd7
mov eax, dword [esi + 0x3cc]
mov edx, dword [eax]
call dword [edx + 0xcc]
mov edi, eax
mov eax, dword [esi + 0x3cc]
mov eax, dword [eax + 0x23c]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
cmp edi, eax
jle 0x4d0df7
lea edx, [ebp - 0x1c]
mov ebx, dword [esi + 0x3cc]
mov eax, ebx
call fcn.00461820
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebx + 0x23c]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov ebx, eax
mov eax, dword [ebp - 8]
call fcn.0049b964
test al, al
je 0x4d0e24
lea eax, [ebp - 0x20]
mov ecx, dword [ebp - 8]
mov edx, dword [0x4d9140]
call fcn.00404b0c
mov edx, dword [ebp - 0x20]
mov eax, dword [esi + 0x310]
call fcn.00461850
jmp 0x4d0e58
push dword [0x4d9140]
push dword [ebp - 8]
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.004b8c7c
push dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.00404b80
mov edx, dword [ebp - 0x24]
mov eax, dword [esi + 0x310]
call fcn.00461850
cmp byte [ebp - 1], 0
je 0x4d0e84
lea edx, [ebp - 0x2c]
mov edi, dword [esi + 0x310]
mov eax, edi
call fcn.00461820
mov eax, dword [ebp - 0x2c]
call fcn.00404ac0
mov edx, eax
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0xdc]
jmp 0x4d0ecc
cmp dword [0x4d90c8], 0xffffffff
jle 0x4d0ec1
mov edx, dword [0x4d90c8]
add edx, dword [0x4d9144]
mov eax, dword [esi + 0x310]
mov ecx, dword [eax]
call dword [ecx + 0xdc]
mov eax, dword [ebp - 8]
call fcn.00404ac0
mov edx, eax
mov eax, dword [esi + 0x310]
mov ecx, dword [eax]
call dword [ecx + 0xd8]
jmp 0x4d0ecc
mov eax, dword [esi + 0x310]
call fcn.004559b0
xor eax, eax
mov dword [0x4d90cc], eax
mov byte [0x4d90c0], 1
lea edx, [ebp - 0x34]
mov eax, dword [esi + 0x310]
call fcn.00461820
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x30]
call fcn.00408d80
mov edx, dword [ebp - 0x30]
mov eax, 0x4d90e0
call fcn.00404854
lea edx, [ebp - 0x38]
mov eax, dword [esi + 0x310]
call fcn.00461820
mov edx, dword [ebp - 0x38]
mov eax, 0x4d90e4
call fcn.00404854
mov al, 1
call fcn.004b61ac
cmp ebx, 0xffffffff
je 0x4d0f5b
mov eax, dword [esi + 0x3cc]
mov eax, dword [eax + 0x23c]
mov edx, ebx
mov ecx, dword [eax]
call dword [ecx + 0x18]
test eax, eax
je 0x4d0f5b
mov eax, dword [esi + 0x3cc]
mov eax, dword [eax + 0x23c]
mov edx, ebx
mov ecx, dword [eax]
call dword [ecx + 0x18]
call fcn.004b62bc
mov dword [0x4d91dc], eax
lea edx, [ebp - 0x3c]
mov eax, dword [esi + 0x310]
call fcn.00461820
mov edx, dword [ebp - 0x3c]
mov ecx, dword [0x4d91dc]
mov eax, esi
call fcn.004c5950
cmp dword [0x4d91dc], 0
je 0x4d0f98
cmp byte [ebp - 1], 0
jne 0x4d0f98
mov eax, dword [0x4dadd8]
mov eax, dword [eax + 0x310]
call fcn.004559b0
mov eax, dword [esi + 0x310]
mov edx, dword [eax]
call dword [edx + 0xc4]
push 0x12
call sub.user32.dll_GetKeyState
movsx eax, ax
call fcn.00407764
test ax, ax
jne 0x4d0fd2
push 0x11
call sub.user32.dll_GetKeyState
movsx eax, ax
call fcn.00407764
test ax, ax
jne 0x4d0fd2
xor eax, eax
jmp 0x4d0fd4
mov al, 1
cmp byte [ebp - 1], 0
jne 0x4d0fed
cmp byte [ebp - 9], 0
je 0x4d0fed
cmp byte [0x4daec1], 0
je 0x4d0fed
test al, al
je 0x4d1006
cmp byte [ebp - 1], 0
jne 0x4d1041
cmp byte [ebp - 9], 0
je 0x4d1041
cmp byte [0x4daec1], 0
jne 0x4d1041
cmp al, 1
jne 0x4d1041
lea edx, [ebp - 0x40]
mov eax, dword [esi + 0x310]
call fcn.00461820
mov eax, dword [ebp - 0x40]
push eax
push 0x10
call sub.user32.dll_GetKeyState
movsx eax, ax
call fcn.00407764
test ax, ax
setne al
push eax
push 0
push 0
push 0
push 0
xor ecx, ecx
xor edx, edx
mov eax, esi
call fcn.004be834
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d1095
lea eax, [ebp - 0x40]
mov edx, 4
call fcn.00404824
lea eax, [ebp - 0x30]
call fcn.00404800
lea eax, [ebp - 0x2c]
call fcn.00404800
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.00404824
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.00404824
lea eax, [ebp - 8]
call fcn.00404800
ret