Function at 0x4aa2c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5288e7
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x56f28c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xd4], ecx
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0xa1
jne 0x4aa636
mov ecx, dword [ebp - 0xd4]
cmp dword [ecx + 0x54], 0
jne 0x4aa311
xor eax, eax
jmp 0x4aa6cb
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0xd4]
add ecx, 0x34
call fcn.004dab10
movzx edx, al
test edx, edx
je 0x4aa345
mov ecx, dword [ebp - 0xd4]
add ecx, 0x34
call fcn.004a1f10
mov ecx, eax
call fcn.004a08d0
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
and eax, 0x10000000
je 0x4aa631
lea ecx, [ebp - 0x18]
call fcn.00439b90
lea ecx, [ebp - 0x18]
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
lea edx, [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0xd4]
sub ecx, 0x30
call fcn.00426790
lea eax, [ebp - 0x74]
push eax
mov ecx, dword [ebp - 0xd4]
add ecx, 0x34
call fcn.004a1f10
mov ecx, eax
call fcn.0049c7a0
push eax
lea ecx, [ebp - 0x28]
call fcn.00434380
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x7c], ecx
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x78], edx
mov eax, dword [ebp - 0x78]
push eax
mov ecx, dword [ebp - 0x7c]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00417e60
test eax, eax
je 0x4aa609
mov dword [ebp - 0x2c], 0
mov ecx, dword [ebp - 0xd4]
add ecx, 0x28
call fcn.004dab10
movzx edx, al
test edx, edx
je 0x4aa445
lea eax, [ebp - 0x8c]
push eax
mov ecx, dword [ebp - 0xd4]
add ecx, 0x28
call fcn.004a1f10
mov ecx, eax
call fcn.0049c7a0
push eax
lea ecx, [ebp - 0x3c]
call fcn.00434380
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x94], ecx
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x90], edx
mov eax, dword [ebp - 0x90]
push eax
mov ecx, dword [ebp - 0x94]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.00417e60
test eax, eax
je 0x4aa445
mov edx, dword [ebp - 0xd4]
mov eax, dword [edx + 0x50]
neg eax
sbb eax, eax
and eax, 0xfffffff6
add eax, 0x14
mov dword [ebp - 0x2c], eax
jmp 0x4aa54c
mov ecx, dword [ebp - 0xd4]
add ecx, 0x2c
call fcn.004dab10
movzx ecx, al
test ecx, ecx
je 0x4aa4c6
lea edx, [ebp - 0xa4]
push edx
mov ecx, dword [ebp - 0xd4]
add ecx, 0x2c
call fcn.004a1f10
mov ecx, eax
call fcn.0049c7a0
push eax
lea ecx, [ebp - 0x4c]
call fcn.00434380
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xa8], ecx
mov edx, dword [ebp - 0xa8]
push edx
mov eax, dword [ebp - 0xac]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00417e60
test eax, eax
je 0x4aa4c6
mov ecx, dword [ebp - 0xd4]
mov edx, dword [ecx + 0x50]
neg edx
sbb edx, edx
and edx, 0xffffffe2
add edx, 0x3c
mov dword [ebp - 0x2c], edx
jmp 0x4aa54c
mov ecx, dword [ebp - 0xd4]
add ecx, 0x30
call fcn.004dab10
movzx eax, al
test eax, eax
je 0x4aa544
lea ecx, [ebp - 0xbc]
push ecx
mov ecx, dword [ebp - 0xd4]
add ecx, 0x30
call fcn.004a1f10
mov ecx, eax
call fcn.0049c7a0
push eax
lea ecx, [ebp - 0x5c]
call fcn.00434380
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0xc4], edx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc0], eax
mov ecx, dword [ebp - 0xc0]
push ecx
mov edx, dword [ebp - 0xc4]
push edx
lea ecx, [ebp - 0x5c]
call fcn.00417e60
test eax, eax
je 0x4aa544
mov eax, dword [ebp - 0xd4]
mov ecx, dword [eax + 0x50]
neg ecx
sbb ecx, ecx
and ecx, 0xffffffce
add ecx, 0x64
mov dword [ebp - 0x2c], ecx
jmp 0x4aa54c
xor edx, edx
jne 0x4aa3c4
cmp dword [ebp - 0x2c], 0
je 0x4aa5ff
lea ecx, [ebp - 0x60]
call fcn.004457d0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x2c]
push eax
push 0x53ec2c
lea ecx, [ebp - 0x60]
push ecx
call fcn.00428670
add esp, 0xc
lea ecx, [ebp - 0x60]
call fcn.0046ade0
push eax
mov ecx, dword [ebp - 0xd4]
add ecx, 0x60
call fcn.00426770
push 0
lea ecx, [ebp - 0x60]
call fcn.00418bd0
push eax
lea ecx, [ebp - 0x60]
call fcn.00418bd0
push eax
mov ecx, dword [ebp - 0xd4]
add ecx, 0x60
call fcn.004a0a60
push 0
mov edx, dword [ebp - 0xd4]
add edx, 0x34
push ecx
mov ecx, esp
mov dword [ebp - 0xc8], esp
push edx
call fcn.004a7bf0
mov dword [ebp - 0xd8], eax
call fcn.004d8c80
add esp, 8
mov dword [ebp - 0xcc], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call fcn.004458f0
mov eax, dword [ebp - 0xcc]
jmp 0x4aa6cb
mov eax, 1
jmp 0x4aa6cb
push 0
mov eax, dword [ebp - 0xd4]
add eax, 0x34
push ecx
mov ecx, esp
mov dword [ebp - 0xd0], esp
push eax
call fcn.004a7bf0
mov dword [ebp - 0xdc], eax
call fcn.004d8c80
add esp, 8
jmp 0x4aa6c9
mov ecx, dword [ebp + 8]
cmp dword [ecx + 4], 0x100
jne 0x4aa6c9
mov edx, dword [ebp + 8]
cmp dword [edx + 8], 0x1b
jne 0x4aa667
push 0
push 0
push 0x10
mov ecx, dword [ebp - 0xd4]
sub ecx, 0x30
call fcn.00417f90
xor eax, eax
jmp 0x4aa6cb
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x4aa67e
mov eax, 1
jmp 0x4aa6cb
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
and edx, 0x8000
mov dword [ebp - 0x64], edx
je 0x4aa69b
mov eax, 1
jmp 0x4aa6cb
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xd4]
mov edx, dword [eax]
cmp edx, dword [ecx + 0x60]
jne 0x4aa6c9
mov eax, dword [ebp + 8]
cmp dword [eax + 8], 0xd
jne 0x4aa6c9
mov ecx, dword [ebp - 0xd4]
sub ecx, 0x60
call fcn.004aa6e0
mov eax, 1
jmp 0x4aa6cb
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4