Function at 0x10066220
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], 0x28b33ac
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
add ecx, 0x1c
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
mov dword [ebp - 4], eax
push 4
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1006646d
mov edx, dword [ebp + 8]
mov eax, dword [edx]
add eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
push 4
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1006646d
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
add eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
push 4
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1006646d
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
add eax, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
push 4
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1006646d
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
add eax, dword [ebp + 0x18]
mov dword [ebp - 0x10], eax
push 4
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1006646d
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
add eax, dword [ebp + 0x1c]
mov dword [ebp - 0x10], eax
push 4
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1006646d
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
add eax, dword [ebp + 0x20]
mov dword [ebp - 0x10], eax
push 4
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1006646d
mov edx, dword [ebp + 8]
mov dword [ebp - 0x14], edx
push 4
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1006646d
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
add edx, dword [ebp + 0xc]
mov dword [ebp - 0x18], edx
push 4
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1006646d
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
add edx, dword [ebp + 0x10]
mov dword [ebp - 0x1c], edx
push 4
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1006646d
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
add edx, dword [ebp + 0x14]
mov dword [ebp - 0x20], edx
push 4
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1006646d
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx]
add edx, 0x2e0
mov dword [ebp - 0x24], edx
push 4
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1006646d
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
add ecx, 0x32c
mov dword [ebp - 0x28], ecx
push 4
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1006646d
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x30]
cmp ecx, dword [0x100c9480]
jne 0x10066424
mov edx, dword [ebp - 0x30]
cmp edx, dword [0x100c6a6c]
jne 0x10066424
push 1
push 0x1009b93c
mov eax, dword [ebp - 0x10]
push eax
call fcn.10064090
add esp, 0xc
push 1
push 0x1009b940
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.10064090
add esp, 0xc
mov edx, dword [ebp - 0x30]
cmp edx, dword [0x100c9480]
je 0x1006646d
mov eax, dword [ebp - 0x30]
cmp eax, dword [0x100c6a6c]
je 0x1006646d
push 0x7a
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx ecx, ax
and ecx, 1
je 0x1006646d
push 0x1f4
push 0x320
call dword [sym.imp.KERNEL32.dll_Beep]
push 1
push 0x1009b944
mov edx, dword [ebp - 0x10]
push edx
call fcn.10064090
add esp, 0xc
xor eax, eax
mov esp, ebp
pop ebp
ret