Function at 0x550d20
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x677f28
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x71d5e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x550f7e
mov ecx, esi
call fcn.0057bf60
mov edi, eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], edi
cmp eax, 0x12
jne 0x550e22
mov ecx, esi
call fcn.0054f870
test eax, eax
jle 0x550eb5
mov ecx, edi
call fcn.0051f990
push 1
mov ecx, edi
call fcn.0051f7d0
mov ecx, esi
mov dword [edi + 0x44], 1
call fcn.0054d370
test eax, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x164]
push 1
je 0x550dcd
push 1
push 1
call edx
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0
push 1
call edx
cmp dword [esi + 0x230], 0
je 0x550de7
mov eax, dword [esi + 0x254]
mov eax, dword [eax + 0x40]
jmp 0x550de9
xor eax, eax
mov edx, dword [esi]
push 1
push eax
mov eax, dword [edx + 0x16c]
mov ecx, esi
call eax
mov esi, dword [esi + 0x254]
mov edx, dword [esi]
mov eax, dword [edx + 0x70]
push 1
mov ecx, esi
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [eax - 0x31]
cmp ecx, 8
ja 0x550eb5
mov ecx, dword [esi + 0x250]
add eax, 0xffffffcf
push 0
push eax
call fcn.00557590
mov edi, eax
test edi, edi
je 0x550eb5
mov ecx, edi
call fcn.0055a660
test eax, eax
je 0x550eb5
mov ecx, dword [ebp - 0x10]
mov ebx, dword [edi + 0x40]
call fcn.0051f990
mov ecx, dword [ebp - 0x10]
push 1
call fcn.0051f7d0
mov edx, dword [ebp - 0x10]
push 1
mov dword [edx + 0x44], 2
mov eax, dword [esi]
mov edx, dword [eax + 0x164]
push 0
push 1
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x16c]
push 1
push ebx
mov ecx, esi
call edx
mov eax, dword [edi]
mov edx, dword [eax + 0xb0]
mov ecx, edi
call edx
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, esi
xor ebx, ebx
call fcn.0054f870
test eax, eax
jle 0x550f7e
push ebx
mov ecx, esi
call fcn.00550180
mov edi, eax
lea eax, [ebp - 0x14]
push eax
mov ecx, edi
call fcn.005d1730
mov ecx, dword [ebp - 0x14]
cmp dword [ecx - 0xc], 0
mov dword [ebp - 4], 0
je 0x550f4b
mov ecx, edi
call fcn.005d00c0
test eax, eax
je 0x550f48
mov ecx, edi
call fcn.005b4820
test eax, eax
je 0x550f48
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.005213d0
add esp, 4
cmp eax, 0xffffffff
jle 0x550f48
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx - 0xc]
lea edi, [edx - 1]
cmp eax, edi
jge 0x550f4b
inc eax
js 0x551042
cmp eax, edx
jg 0x551042
mov dl, byte [eax + ecx]
mov eax, dword [ebp + 8]
mov byte [ebp - 0x18], dl
mov ecx, dword [ebp - 0x18]
push eax
push ecx
call fcn.005214a0
add esp, 8
test eax, eax
jne 0x550f94
mov ecx, dword [ebp - 0x14]
lea eax, [ecx - 0x10]
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x550f6e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, esi
inc ebx
call fcn.0054f870
cmp ebx, eax
jl 0x550ec6
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0xbc], 0
mov edi, dword [ebp - 0x10]
jne 0x550fa7
mov ecx, edi
call fcn.0051f990
push 1
mov ecx, edi
call fcn.0051f7d0
mov eax, 1
mov dword [esi + 0x10c], eax
push ebx
mov ecx, esi
mov dword [edi + 0x44], eax
call fcn.0054ce80
mov edx, dword [esi]
mov eax, dword [edx + 0x164]
push 1
push 0
push 1
mov ecx, esi
call eax
mov eax, dword [esi + 0x254]
mov ecx, dword [eax + 0x40]
mov edx, dword [esi]
mov edx, dword [edx + 0x16c]
push 1
push ecx
mov ecx, esi
call edx
mov ecx, dword [esi + 0x254]
mov eax, dword [ecx]
mov edx, dword [eax + 0x70]
push 1
call edx
mov ecx, esi
call fcn.0054d370
test eax, eax
jne 0x551014
push 2
push esi
mov ecx, edi
call fcn.005205e0
mov ecx, dword [esi + 0x254]
push 1
call fcn.005da560
lea ecx, [ebp - 0x14]
call fcn.00578e60
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.00401b10
int3