Function at 0x551c80
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xc
push 0
push 0
dec ecx
jne 0x551c88
push ebx
push esi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5520f6
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x551cb4
mov byte [ebp - 5], 1
jmp 0x551cb8
mov byte [ebp - 5], 0
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x2f0]
mov eax, ebx
call fcn.00538590
mov edx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x2f0]
mov ecx, dword [eax]
call dword [ecx + 0x54]
inc eax
jne 0x551cfd
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x2f0]
mov eax, ebx
call fcn.00538590
mov edx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x2f0]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov byte [ebp - 6], 0
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x320]
test ebx, ebx
je 0x5520ce
mov eax, ebx
call fcn.00567b3c
test eax, eax
je 0x5520ce
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x320]
call fcn.00567b3c
cmp dword [eax + 0x30], 0
je 0x5520ce
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x320]
call fcn.00567b3c
mov eax, dword [eax + 0x30]
call fcn.004b0fb4
test al, al
je 0x5520ce
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x328]
cmp dword [eax + 8], 0
je 0x5520ce
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x320]
mov ebx, esi
mov eax, esi
call fcn.00567b3c
mov eax, dword [eax + 0x30]
call fcn.004b2880
mov eax, ebx
call fcn.005794f4
xor eax, eax
push ebp
push 0x55207e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x310]
cmp dword [eax + 0x2ec], 2
jne 0x551dcd
mov eax, dword [ebp - 4]
cmp byte [eax + 0x324], 0
je 0x551dcd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x320]
call fcn.00567b3c
mov eax, dword [eax + 0x30]
call fcn.004b3304
mov eax, dword [ebp - 4]
cmp byte [eax + 0x324], 0
jne 0x55203e
push ebp
call fcn.00551bb0
pop ecx
jmp 0x55203e
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x32c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x328]
call fcn.0057b3c8
mov edx, eax
lea ecx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.005523e4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x318]
mov edx, dword [eax]
call dword [edx + 0xc4]
test al, al
je 0x551f05
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
cmp dword [eax + 0x2ec], 0
jne 0x551e5c
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f0]
call fcn.00538590
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.00551b3c
test al, al
jne 0x551ef2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
cmp dword [eax + 0x2ec], 1
jne 0x551e8c
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f0]
call fcn.00538590
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.00404e30
je 0x551ef2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
cmp dword [eax + 0x2ec], 2
jne 0x552037
lea eax, [ebp - 0x20]
push eax
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f0]
call fcn.00538590
mov eax, dword [ebp - 0x24]
call fcn.00404cec
mov ecx, eax
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.00404f44
mov eax, dword [ebp - 0x20]
push eax
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f0]
call fcn.00538590
mov edx, dword [ebp - 0x28]
pop eax
call fcn.00404e30
jne 0x552037
mov byte [ebp - 6], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x324], 0
jmp 0x55204d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
cmp dword [eax + 0x2ec], 0
jne 0x551f3b
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f0]
call fcn.00538590
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0xc]
call fcn.00551acc
test al, al
jne 0x551ffb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
cmp dword [eax + 0x2ec], 1
jne 0x551f83
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0xc]
call fcn.00409a28
mov eax, dword [ebp - 0x30]
push eax
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f0]
call fcn.00538590
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x34]
call fcn.00409a28
mov edx, dword [ebp - 0x34]
pop eax
call fcn.00404e30
je 0x551ffb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
cmp dword [eax + 0x2ec], 2
jne 0x552037
lea eax, [ebp - 0x40]
push eax
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f0]
call fcn.00538590
mov eax, dword [ebp - 0x44]
call fcn.00404cec
mov ecx, eax
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.00404f44
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x3c]
call fcn.00409a28
mov eax, dword [ebp - 0x3c]
push eax
lea edx, [ebp - 0x4c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f0]
call fcn.00538590
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x48]
call fcn.00409a28
mov edx, dword [ebp - 0x48]
pop eax
call fcn.00404e30
jne 0x552037
mov byte [ebp - 6], 1
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x32c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x328]
call fcn.0057b3c8
call fcn.0041c470
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x320]
call fcn.0056e0fc
mov eax, dword [ebp - 4]
mov byte [eax + 0x324], 0
jmp 0x55204d
push ebp
call fcn.00551bb0
pop ecx
push ebp
call fcn.00551b54
pop ecx
test al, al
je 0x551de9
cmp byte [ebp - 6], 0
jne 0x55205a
mov eax, ebx
call fcn.005795c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x552085
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x320]
call fcn.00567b3c
mov eax, dword [eax + 0x30]
call fcn.004b28a0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5520fd
lea eax, [ebp - 0x60]
mov edx, 2
call fcn.00404a58
lea eax, [ebp - 0x50]
mov edx, 0x12
call fcn.00404a58
ret