Function at 0x4d1ba0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x2d0]
cmp dword [ecx + 0x234], 0
jne 0x4d1c16
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
test edx, edx
jl 0x4d1c16
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jl 0x4d1c16
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x2d0]
add edx, 0x38
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x2d0]
add ecx, 8
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x2d0]
mov ecx, dword [eax + 0x23c]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x2d0]
mov edx, dword [eax + 0x23c]
mov eax, dword [ecx]
mov ecx, edx
mov edx, dword [eax + 0x24]
call edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x2d0]
mov edx, dword [ebp + 8]
cmp edx, dword [ecx + 0x24]
jne 0x4d1c2e
xor eax, eax
jmp 0x4d1d96
lea eax, [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
call fcn.004d0f00
test eax, eax
je 0x4d1c48
mov eax, 1
jmp 0x4d1d96
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x2d0]
mov eax, dword [ebp + 8]
cmp eax, dword [edx + 0x24]
jne 0x4d1c60
xor eax, eax
jmp 0x4d1d96
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x2d0]
mov eax, dword [edx + 0x5c]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x2d0]
mov ecx, dword [eax + 0x5c]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x2d0]
mov ecx, dword [eax + 0x24]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x2d0]
mov ecx, dword [eax + 0x22c]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x2d0]
mov edx, dword [eax + 0x22c]
mov eax, dword [ecx]
mov ecx, edx
mov edx, dword [eax + 0x84]
call edx
cmp eax, 1
je 0x4d1cc4
mov eax, 2
jmp 0x4d1d96
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x2d0]
mov edx, dword [ecx + 0x5c]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x2d0]
mov eax, dword [edx + 0x5c]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x2d0]
mov eax, dword [edx + 0x24]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0x180]
call eax
test eax, eax
jne 0x4d1d0d
mov eax, 2
jmp 0x4d1d96
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x2d0]
mov eax, dword [ebp + 8]
cmp eax, dword [edx + 0x20]
jge 0x4d1d2f
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x2d0]
mov eax, dword [ebp + 8]
cmp eax, dword [edx + 0x10]
jge 0x4d1d75
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x2d0]
mov eax, dword [edx + 0x40]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x2d0]
mov ecx, dword [eax + 0x40]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x2d0]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + 0x184]
call edx
test eax, eax
jne 0x4d1d75
mov eax, 2
jmp 0x4d1d96
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x2d0]
mov edx, dword [ebp + 8]
mov dword [ecx + 0x24], edx
mov ecx, dword [ebp - 4]
call fcn.004cfe10
mov ecx, dword [ebp - 4]
call fcn.004cffb0
xor eax, eax
mov esp, ebp
pop ebp
ret 4