Function at 0x4aeea0
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x468
push ebp
mov ebp, ecx
mov dword [esp + 0xc], ebp
call fcn.004b2670
test eax, eax
jne 0x4aeec0
pop ebp
add esp, 0x468
ret 0x14
push esi
push edi
call fcn.004b2670
push eax
mov ecx, ebp
call fcn.004ae130
mov eax, dword [0x58bcc8]
push 0x821
push eax
xor esi, esi
call dword [0x5237c0]
mov edi, eax
cmp edi, esi
mov dword [esp + 0x48], edi
je 0x4af65e
push ebx
push esi
push edi
call dword [0x523730]
mov ebx, eax
cmp ebx, esi
je 0x4af656
push edi
mov ecx, 0x58c420
call fcn.004edc40
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x6a]
mov word [esp + 0x68], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebp + 8]
cmp eax, esi
jne 0x4aef2f
mov dword [esp + 0x14], esi
jmp 0x4aef3b
mov ecx, dword [ebp + 0xc]
sub ecx, eax
sar ecx, 2
mov dword [esp + 0x14], ecx
mov ecx, 0xb
xor eax, eax
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
mov eax, dword [0x5bd7bc]
mov dword [esp + 0x1c], 0x30
cmp eax, esi
mov dword [esp + 0x20], 0x42
je 0x4aefdc
push 0x5bd7c0
push str.3.Xdefault
call dword [0x523494]
add esp, 8
test eax, eax
jne 0x4aefdc
mov edx, dword [0x58bcc8]
mov edi, dword [0x52376c]
lea ecx, [esp + 0x68]
push 0x103
push ecx
push 0xc43d
push edx
call edi
mov ebp, dword [0x52345c]
lea ecx, [esp + 0x68]
lea eax, [esp + 0x68]
push ecx
mov dword [esp + 0x30], 0xcb34
mov dword [esp + 0x44], eax
call ebp
add esp, 4
lea edx, [esp + 0x1c]
mov esi, 1
mov ecx, 0x58c420
push 0
push 0
push 0xc
push 0
push edx
push esi
push 0
push ebx
mov dword [esp + 0x64], eax
call fcn.004ede70
jmp 0x4af042
mov ecx, dword [0x58bcc8]
lea eax, [esp + 0x68]
push 0x103
push eax
push 0xc43c
push ecx
call dword [0x52376c]
mov ebp, dword [0x52345c]
lea eax, [esp + 0x68]
lea edx, [esp + 0x68]
push eax
mov dword [esp + 0x30], 0xcb33
mov dword [esp + 0x44], edx
call ebp
add esp, 4
lea ecx, [esp + 0x1c]
mov esi, 1
mov dword [esp + 0x44], eax
push 0
push 0
push 0xb
push 0
push ecx
push esi
push 0
push ebx
mov ecx, 0x58c420
call fcn.004ede70
mov edi, dword [0x52376c]
mov ecx, dword [esp + 0x14]
xor eax, eax
test ecx, ecx
mov dword [esp + 0x10], eax
jle 0x4af0c8
mov edx, dword [esp + 0x18]
mov ecx, dword [edx + 8]
mov edi, dword [ecx + eax*4]
test edi, edi
je 0x4af0b1
mov ecx, edi
call fcn.00477220
test eax, eax
je 0x4af0b1
mov ecx, edi
call fcn.00477220
mov ecx, edi
mov dword [esp + 0x40], eax
call fcn.00477220
push eax
call ebp
mov edx, dword [esp + 0x14]
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x44], eax
push 0
push 0
push 8
push 0
mov eax, esi
push ecx
push 1
add edx, 0xcf08
push eax
push ebx
mov ecx, 0x58c420
mov dword [esp + 0x4c], edx
inc esi
call fcn.004ede70
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x4af050
mov edi, dword [0x52376c]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x18]
test ecx, ecx
jle 0x4af107
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x4af0e0
mov dword [esp + 0x14], ecx
jmp 0x4af0ec
mov eax, dword [eax + 0xc]
sub eax, ecx
sar eax, 2
mov dword [esp + 0x14], eax
call fcn.004b2670
mov ecx, eax
call fcn.004b2e10
mov edx, eax
mov eax, dword [esp + 0x14]
add edx, eax
mov eax, dword [esp + 0x18]
sub dword [eax + 0x18], edx
mov ecx, dword [0x58bcc8]
lea eax, [esp + 0x68]
push 0x103
push eax
push 0xc437
push ecx
call edi
lea eax, [esp + 0x68]
lea edx, [esp + 0x68]
push eax
mov dword [esp + 0x44], edx
call ebp
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x44], eax
mov eax, esi
push 0
push 0
push 9
push 0
push ecx
push 1
push eax
push ebx
mov ecx, 0x58c420
mov dword [esp + 0x4c], 0xcb30
inc esi
call fcn.004ede70
mov eax, dword [0x58bcc8]
lea edx, [esp + 0x68]
push 0x103
push edx
push 0xc438
push eax
call edi
push str.Crystal_Chrome
call fcn.004b2670
mov ecx, eax
call fcn.004b2eb0
cmp eax, 0xffffffff
jne 0x4af1c4
lea edx, [esp + 0x68]
lea ecx, [esp + 0x68]
push edx
mov dword [esp + 0x30], 0xcb32
mov dword [esp + 0x44], ecx
call ebp
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x44], eax
mov eax, esi
push 0
push 0
push 0xa
push 0
push ecx
push 1
push eax
push ebx
mov ecx, 0x58c420
inc esi
call fcn.004ede70
mov eax, dword [0x58bcc8]
lea edx, [esp + 0x68]
push 0x103
push edx
push 0xc440
push eax
call edi
push str.bigword
call fcn.004b2670
mov ecx, eax
call fcn.004b2eb0
cmp eax, 0xffffffff
jne 0x4af22d
lea edx, [esp + 0x68]
lea ecx, [esp + 0x68]
push edx
mov dword [esp + 0x30], 0xcb36
mov dword [esp + 0x44], ecx
call ebp
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x44], eax
mov eax, esi
push 0
push 0
push 0xd
push 0
push ecx
push 1
push eax
push ebx
mov ecx, 0x58c420
inc esi
call fcn.004ede70
mov eax, dword [0x58bcc8]
lea edx, [esp + 0x68]
push 0x103
push edx
push 0xc441
push eax
call edi
push str.simple
call fcn.004b2670
mov ecx, eax
call fcn.004b2eb0
cmp eax, 0xffffffff
jne 0x4af296
lea edx, [esp + 0x68]
lea ecx, [esp + 0x68]
push edx
mov dword [esp + 0x30], 0xcb35
mov dword [esp + 0x44], ecx
call ebp
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x44], eax
mov eax, esi
push 0
push 0
push 0xe
push 0
push ecx
push 1
push eax
push ebx
mov ecx, 0x58c420
inc esi
call fcn.004ede70
mov ecx, dword [esp + 0x18]
call fcn.004aee80
test eax, eax
je 0x4af2b1
push 8
push 0xcf1b
push ebx
call dword [0x5239ac]
xor edi, edi
call fcn.004b2670
mov ecx, eax
call fcn.004b2e10
test eax, eax
jle 0x4af48d
push edi
call fcn.004b2670
mov ecx, eax
call fcn.004b2e30
test eax, eax
mov dword [esp + 0x10], eax
je 0x4af478
mov ecx, eax
call fcn.00477220
test eax, eax
je 0x4af478
mov ecx, dword [esp + 0x10]
call fcn.00477220
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x40], eax
call fcn.00477220
push eax
call ebp
mov ecx, dword [esp + 0x14]
add esp, 4
lea edx, [edi + 0xcf1c]
mov dword [esp + 0x44], eax
push str.Crystal_Chrome
mov dword [esp + 0x30], edx
call fcn.004b43f0
push eax
call dword [0x523494]
add esp, 8
test eax, eax
jne 0x4af38c
mov ecx, dword [0x58bcc8]
lea eax, [esp + 0x68]
push 0x103
push eax
push 0xc438
push ecx
call dword [0x52376c]
lea eax, [esp + 0x68]
lea edx, [esp + 0x68]
push eax
mov dword [esp + 0x44], edx
call ebp
add esp, 4
mov dword [esp + 0x44], eax
push 0
push 0
push 0xa
lea ecx, [esp + 0x28]
mov edx, esi
push 0
push ecx
sub edx, edi
push 1
push edx
push ebx
mov ecx, 0x58c420
call fcn.004ede70
inc esi
jmp 0x4af459
mov ecx, dword [esp + 0x10]
push str.bigword
call fcn.004b43f0
push eax
call dword [0x523494]
add esp, 8
test eax, eax
jne 0x4af3e2
mov ecx, dword [0x58bcc8]
lea eax, [esp + 0x68]
push 0x103
push eax
push 0xc440
push ecx
call dword [0x52376c]
lea eax, [esp + 0x68]
lea edx, [esp + 0x68]
push eax
mov dword [esp + 0x44], edx
call ebp
add esp, 4
mov dword [esp + 0x44], eax
push 0
push 0
push 0xd
jmp 0x4af36d
mov ecx, dword [esp + 0x10]
push str.simple
call fcn.004b43f0
push eax
call dword [0x523494]
add esp, 8
test eax, eax
jne 0x4af43b
mov ecx, dword [0x58bcc8]
lea eax, [esp + 0x68]
push 0x103
push eax
push 0xc441
push ecx
call dword [0x52376c]
lea eax, [esp + 0x68]
lea edx, [esp + 0x68]
push eax
mov dword [esp + 0x44], edx
call ebp
add esp, 4
mov dword [esp + 0x44], eax
push 0
push 0
push 0xe
jmp 0x4af36d
push 0
push 0
push 0xffffffffffffffff
lea ecx, [esp + 0x28]
push 0
mov eax, esi
push ecx
push 1
push eax
push ebx
mov ecx, 0x58c420
inc esi
call fcn.004ede70
mov edx, dword [esp + 0x10]
push edx
call fcn.004aee50
add esp, 4
test eax, eax
je 0x4af478
mov eax, dword [esp + 0x2c]
push 8
push eax
push ebx
call dword [0x5239ac]
inc edi
call fcn.004b2670
mov ecx, eax
call fcn.004b2e10
cmp edi, eax
jl 0x4af2c7
mov edx, dword [0x58bcc8]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x272]
mov word [esp + 0x270], 0
push 0x103
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x274]
push ecx
push 0xc41b
push edx
stosw word es:[edi], ax
call dword [0x52376c]
mov edi, dword [esp + 0x18]
mov eax, dword [edi + 0x18]
test eax, eax
jle 0x4af4f6
push eax
lea eax, [esp + 0x274]
push eax
push str._s__d_
lea ecx, [esp + 0x74]
push 0x103
push ecx
call dword [0x52346c]
add esp, 0x14
jmp 0x4af516
lea edx, [esp + 0x270]
lea eax, [esp + 0x68]
push edx
push 0x5384a4
push 0x103
push eax
call dword [0x52346c]
add esp, 0x10
lea edx, [esp + 0x68]
lea ecx, [esp + 0x68]
push edx
mov dword [esp + 0x44], ecx
call ebp
add esp, 4
mov dword [esp + 0x44], eax
lea eax, [esp + 0x1c]
add esi, 2
push 0
push 0
push 2
push 0
push eax
push 1
push esi
push ebx
mov ecx, 0x58c420
mov dword [esp + 0x4c], 0x8054
call fcn.004ede70
lea ecx, [edi + 0x20]
mov dword [edi + 0x14], ebx
call fcn.004b4690
lea ecx, [edi + 0x488]
call fcn.004b49c0
mov ecx, dword [esp + 0x480]
mov edx, dword [esp + 0x48c]
mov eax, dword [esp + 0x488]
push 0
push ecx
push edx
push eax
push 0x108
push ebx
mov ecx, 0x58c420
call fcn.004ee2c0
mov ecx, dword [esp + 0x4c]
mov esi, eax
push ecx
mov ecx, 0x58c420
mov dword [edi + 0x14], 0
call fcn.004edcf0
lea edx, [esp + 0x50]
push edx
call dword [0x5238b0]
mov eax, dword [edi + 0x48c]
mov ebx, dword [0x5237ac]
push eax
call ebx
mov ebp, dword [0x523780]
test eax, eax
je 0x4af5fb
mov ecx, dword [edi + 0x48c]
lea eax, [esp + 0x58]
push eax
push ecx
call ebp
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
push edx
lea ecx, [esp + 0x5c]
push eax
push ecx
call dword [0x5238ac]
test eax, eax
je 0x4af5fb
mov esi, dword [edi + 0x1c]
add esi, 0x64
test esi, esi
jne 0x4af63d
push 1
call dword [0x523928]
test ax, ax
je 0x4af63d
mov eax, dword [edi + 0x24]
push eax
call ebx
test eax, eax
je 0x4af63d
mov eax, dword [edi + 0x24]
lea edx, [esp + 0x58]
push edx
push eax
call ebp
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
push ecx
lea eax, [esp + 0x5c]
push edx
push eax
call dword [0x5238ac]
test eax, eax
je 0x4af63d
mov esi, dword [edi + 0x1c]
mov ecx, dword [edi + 0x24]
mov ebx, dword [0x523898]
push ecx
call ebx
mov edx, dword [edi + 0x48c]
push edx
call ebx
mov edi, dword [esp + 0x4c]
push edi
call dword [0x52373c]
pop ebx
mov eax, esi
pop edi
pop esi
pop ebp
add esp, 0x468
ret 0x14