Function at 0x544a19
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x62a040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov ebx, edx
push edi
mov edi, ecx
cmp ebx, 0x26
je 0x5449cc
lea esp, [esp]
cmp ebx, 0x28
je 0x5449cc
cmp ebx, 0x24
je 0x5449cc
cmp ebx, 0x23
je 0x5449cc
cmp ebx, 0x21
je 0x5449cc
cmp ebx, 0x22
je 0x5449cc
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057c26f
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0xcc]
mov ecx, dword [eax]
test ecx, ecx
je 0x544b84
lea eax, ds:[ebx - 0x21]
cmp eax, 7
ja case.0x5449e9.37
jmp dword [eax*4 + 0x544b98]
mov eax, dword [edi + 0x6c]
test eax, eax
je case.0x5449e9.36
mov esi, dword [eax + 0x20]
test esi, esi
je case.0x5449e9.36
dec esi
jmp 0x544a90
mov esi, dword [edi + 0x6c]
test esi, esi
je case.0x5449e9.36
mov esi, dword [esi + 0x20]
inc esi
cmp esi, ecx
jb 0x544a90
lea esi, [ecx - 1]
jmp 0x544a90
mov esi, dword ds:[edi + 0x6c]
test esi, esi
je 0x544a29
mov esi, dword [esi + 0x20]
jmp 0x544a2b
xor esi, esi
test byte [edi + 0x20], 8
je 0x544a36
mov edx, dword [edi + 0x54]
jmp 0x544a38
xor edx, edx
mov eax, dword [edi + 0x44]
sub eax, dword [edi + 0x48]
sub eax, edx
js 0x544b84
cdq
idiv dword [edi + 0x4c]
sub eax, 1
js 0x544b84
mov edx, dword [edi + 0x58]
cmp ebx, 0x21
jne 0x544a6f
cmp esi, edx
jbe 0x544a63
mov esi, edx
jmp 0x544a90
cmp esi, eax
jb case.0x5449e9.36
sub esi, eax
jmp 0x544a90
xor esi, esi
jmp 0x544a90
add edx, eax
cmp edx, ecx
jb 0x544a78
lea edx, [ecx - 1]
cmp esi, edx
jae 0x544a82
mov esi, edx
jmp 0x544a90
add esi, eax
cmp esi, ecx
jb 0x544a90
lea esi, [ecx - 1]
jmp 0x544a90
mov esi, dword [ebp - 0x1c]
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr ax, 0xf
push 0x10
mov word [ebp - 0x16], ax
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, dword ds:[edi + 0xcc]
mov bx, ax
push 0
mov ecx, dword [ecx + 8]
mov edx, dword [ecx + esi*4]
mov ecx, edi
mov dword [edi + 0x6c], edx
call fcn.00544100
shr bx, 0xf
test bl, bl
je 0x544af9
mov eax, dword [edi + 0x74]
cmp eax, 0xffffffff
je 0x544af9
cmp esi, eax
jbe 0x544aea
lea ecx, [ebp - 0x18]
mov edx, eax
push ecx
lea ecx, [ebp - 0x1c]
mov eax, esi
push ecx
push 4
push eax
jmp 0x544b15
lea ecx, [ebp - 0x18]
mov edx, esi
push ecx
lea ecx, [ebp - 0x1c]
push ecx
push 4
push eax
jmp 0x544b15
cmp byte [ebp - 0x16], 0
jne 0x544b46
mov eax, dword [edi + 0x6c]
mov edx, esi
mov eax, dword [eax + 0x20]
mov dword [edi + 0x74], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
push 4
push esi
mov ecx, edi
call fcn.00543f60
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
push eax
push 1
push dword [ebp - 0x18]
mov ecx, edi
call fcn.00543ca0
test al, al
je 0x544b46
push 0
lea eax, [ebp - 0x14]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov edx, esi
mov ecx, edi
call fcn.005442e0
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x544b84
push 0
push 0
push 0x41c
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [edi + 0xf0], 0xffffffff
mov dword [edi + 0xf4], 0xffffffff
mov dword [edi + 0x114], 0xffffffff
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0057c26f
mov esp, ebp
pop ebp
ret