Function at 0x511e06
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
push edi
mov dword [ebp - 4], ebx
mov eax, dword [ebx]
call dword [eax + 0xec]
mov edx, dword [ebp + 8]
test al, al
jne 0x511e4b
mov eax, dword [edx]
sub eax, 9
cmp eax, 9
ja 0x511e4b
mov ecx, dword [ebx + 0x54]
push edx
test ecx, ecx
je 0x511e3f
mov eax, dword [ecx]
call dword [eax + 0x11c]
jmp 0x5120d2
mov ecx, ebx
call fcn.0050e2b1
jmp 0x5120d2
cmp dword [edx], 0x15
jne 0x511e5c
mov byte [ebx + 0x1b1], 1
jmp 0x5120d2
cmp dword [edx], 0x14
jne 0x511e6d
mov byte [ebx + 0x1b1], 0
jmp 0x5120d2
cmp dword [edx], 3
push esi
je 0x511f23
cmp dword [edx], 0x12
jne 0x511f60
movzx eax, word [edx + 0x18]
xor ecx, ecx
sub eax, ecx
je 0x511ed2
sub eax, 1
jne 0x511f60
cmp byte [ebx + 0x6cc], cl
je 0x511ec3
cmp byte [ebx + 0x6d4], cl
je 0x511ec3
mov eax, dword [ebp - 4]
lea edi, [ebx + 0x6c4]
mov ebx, dword [edi]
push 1
push 1
mov esi, dword [eax]
push ecx
lea ecx, [eax + 0x6d8]
call fcn.004da43e
inc eax
jmp 0x511eff
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x180]
jmp 0x5120d1
cmp byte [ebx + 0x6cc], cl
je 0x511f14
cmp byte [ebx + 0x6d4], cl
je 0x511f14
mov eax, dword [ebp - 4]
lea edi, [ebx + 0x6c4]
mov ebx, dword [edi]
push 1
push ecx
mov esi, dword [eax]
push ecx
lea ecx, [eax + 0x6d8]
call fcn.004da43e
dec eax
mov ecx, dword [ebp - 4]
push eax
call dword [esi + 0x16c]
push eax
mov ecx, edi
call dword [ebx + 8]
jmp 0x5120d1
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x17c]
jmp 0x5120d1
movzx eax, word [edx + 0x14]
sub eax, 0x21
je 0x5120c7
sub eax, 1
je 0x5120bb
sub eax, 1
je 0x512082
sub eax, 1
je 0x51205c
dec eax
sub eax, 1
je 0x511ff7
dec eax
sub eax, 1
je 0x511fa0
sub eax, 0x19
je 0x511f6d
push edx
mov ecx, ebx
call fcn.0050e2b1
jmp 0x5120d1
cmp byte [ebx + 0x6d4], 0
jne 0x5120d1
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x5120d1
lea ecx, [ebx + 0x6c4]
mov eax, dword [ecx]
call dword [eax + 0x3c]
jmp 0x5120d1
lea esi, [ebx + 0x6c4]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x44]
test eax, eax
jle 0x5120d1
mov ecx, ebx
call fcn.00513d00
mov edx, dword [esi]
inc eax
mov ecx, esi
mov dword [ebp + 8], eax
call dword [edx + 0x40]
mov ecx, dword [ebx + 0x6ec]
add ecx, 0x670
mov edx, dword [ecx]
call dword [edx + 0xc]
mov edx, dword [ebp + 8]
mov edi, dword [esi]
push 1
lea ecx, [edx + 1]
cmp ecx, eax
jle 0x511ff1
lea ecx, [ebx + 0x670]
jmp 0x5120ad
push edx
jmp 0x5120b4
lea edi, [ebx + 0x6c4]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x44]
test eax, eax
jle 0x5120d1
mov ecx, ebx
call fcn.00513d51
mov ecx, dword [edi]
mov edx, dword [ecx + 0x40]
mov ecx, edi
test eax, eax
jne 0x512041
call edx
mov ecx, dword [ebx + 0x6ec]
mov esi, dword [edi]
add ecx, 0x670
push 1
mov eax, dword [ecx]
call dword [eax + 0xc]
dec eax
mov ecx, edi
push eax
call dword [esi + 8]
jmp 0x5120d1
lea esi, [eax - 1]
call edx
mov eax, dword [edi]
mov ecx, edi
push 1
mov eax, dword [eax + 8]
test esi, esi
jle 0x512056
push esi
jmp 0x512058
push 0
call eax
jmp 0x5120d1
mov ecx, dword [ebx + 0x6ec]
add ecx, 0x670
mov eax, dword [ecx]
call dword [eax + 0xc]
test eax, eax
jle 0x5120d1
lea ecx, [ebx + 0x6c4]
mov eax, dword [ecx]
push 1
push 0
call dword [eax + 8]
jmp 0x5120d1
mov ecx, dword [ebx + 0x6ec]
add ecx, 0x670
mov eax, dword [ecx]
call dword [eax + 0xc]
test eax, eax
jle 0x5120d1
mov ecx, dword [ebx + 0x6ec]
lea esi, [ebx + 0x6c4]
mov edi, dword [esi]
add ecx, 0x670
push 1
mov eax, dword [ecx]
call dword [eax + 0xc]
dec eax
push eax
mov ecx, esi
call dword [edi + 8]
jmp 0x5120d1
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x188]
jmp 0x5120d1
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x184]
pop esi
pop edi
pop ebx
leave
ret 4