Function at 0x7cea60
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
push rbx
sub rsp, 0x2a8
mov rbp, rsp
mov qword [rbp + 0x20], 0
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x48], rbp
mov qword [rbp + 0x2c0], rcx
mov dword [rbp + 0x2c8], edx
nop
cmp dword [rbp + 0x2c8], 1
jl 0x7ceada
mov rcx, qword [rbp + 0x2c0]
lea rdx, [rbp + 0x40]
call fcn.007ce260
mov rcx, qword [rbp + 0x40]
mov edx, dword [rbp + 0x2c8]
call fcn.00442fc0
cmp al, 1
jne 0x7ceada
sub dword [rbp + 0x2c8], 1
mov eax, dword [rbp + 0x2c8]
mov dword [rbp + 0x29c], eax
mov rcx, qword [rbp + 0x2c0]
call fcn.007ce770
test al, al
je 0x7ced6e
cmp dword [rbp + 0x29c], 0
jge 0x7ceb0d
mov dword [rbp + 0x29c], 0
mov rcx, qword [rbp + 0x2c0]
mov edx, dword [rbp + 0x29c]
call fcn.007cf500
mov dword [rbp + 0x29c], eax
mov eax, dword [rbp + 0x29c]
add eax, 1
mov dword [rbp + 0x298], eax
mov rcx, qword [rbp + 0x2c0]
lea rdx, [rbp + 0x38]
call fcn.007ce260
mov rax, qword [rbp + 0x38]
mov qword [rbp + 0x88], rax
mov dword [rbp + 0x84], 0
mov rax, qword [rbp + 0x88]
test rax, rax
je 0x7ceb6e
mov eax, dword [rax - 4]
mov dword [rbp + 0x84], eax
mov eax, dword [rbp + 0x84]
cmp eax, dword [rbp + 0x298]
jle 0x7cebcb
mov rcx, qword [rbp + 0x2c0]
lea rdx, [rbp + 0x30]
call fcn.007ce260
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rbp + 0x298]
movzx rax, word [rax + rcx*2 - 2]
mov word [rbp + 0x82], ax
cmp word [rbp + 0x82], 0xd800
jb 0x7cebba
cmp word [rbp + 0x82], 0xdfff
jbe 0x7cebbe
xor eax, eax
jmp 0x7cebc0
mov al, 1
test al, al
je 0x7cebcb
add dword [rbp + 0x298], 1
mov rax, qword [rbp + 0x2c0]
mov eax, dword [rax + 0x4dc]
cmp dword [rbp + 0x29c], eax
jl 0x7cebf2
mov dword [rbp + 0x29c], eax
mov eax, dword [rbp + 0x29c]
mov dword [rbp + 0x298], eax
mov rcx, qword [rbp + 0x2c0]
mov edx, dword [rbp + 0x298]
mov r8d, dword [rbp + 0x298]
call fcn.007cea30
mov eax, dword [rbp + 0x29c]
cmp eax, dword [rbp + 0x298]
je 0x7ced56
lea rcx, [rbp + 0x198]
call sub.user32.dll_GetKeyboardState
mov eax, pe_nt_image_headers64
lea rcx, [rbp + 0x98]
mov qword [rbp + 0x58], rcx
mov rcx, qword [rbp + 0x58]
mov byte [rcx], 0
add qword [rbp + 0x58], 1
sub eax, 1
test eax, eax
jne 0x7cec3a
nop
mov byte [rbp + 0xa8], 0x81
mov rcx, qword [rbp + 0x2c0]
mov dx, 0xffc5
call fcn.0040d200
mov rcx, qword [rbp + 0x2c0]
call rax
lea rcx, [0x008cc984]
movzx rax, al
movzx rax, word [rcx + rax*2]
mov byte [rax + rbp + 0x98], 0x81
lea rcx, [rbp + 0x98]
call sub.user32.dll_SetKeyboardState
mov rax, qword [rbp + 0x2c0]
mov byte [rax + 0x4f8], 1
nop
mov rcx, qword [rbp + 0x2c0]
call fcn.005dd0c0
mov rbx, rax
mov rcx, qword [rbp + 0x2c0]
mov dx, 0xffc5
call fcn.0040d200
mov rcx, qword [rbp + 0x2c0]
call rax
mov rcx, rbx
mov edx, pe_nt_image_headers64
lea r8, [0x008cc984]
movzx rax, al
movzx r8, word [r8 + rax*2]
mov r9d, 1
call sub.user32.dll_SendMessageW
mov rcx, qword [rbp + 0x2c0]
call fcn.005dd0c0
mov rbx, rax
mov rcx, qword [rbp + 0x2c0]
mov dx, 0xffc5
call fcn.0040d200
mov rcx, qword [rbp + 0x2c0]
call rax
mov rcx, rbx
mov edx, 0x101
lea r8, [0x008cc984]
movzx rax, al
movzx r8, word [r8 + rax*2]
mov r9d, 1
call sub.user32.dll_SendMessageW
nop
mov rax, qword [rbp + 0x2c0]
mov byte [rax + 0x4f8], 0
lea rcx, [rbp + 0x198]
call sub.user32.dll_SetKeyboardState
mov rax, qword [rbp + 0x2c0]
mov ecx, dword [rbp + 0x29c]
mov dword [rax + 0x4e4], ecx
jmp 0x7cee0a
cmp dword [rbp + 0x29c], 0
jge 0x7ced81
mov dword [rbp + 0x29c], 0
mov rcx, qword [rbp + 0x2c0]
lea rdx, [rbp + 0x28]
call fcn.007ce260
mov rax, qword [rbp + 0x28]
mov qword [rbp + 0x78], rax
mov dword [rbp + 0x74], 0
mov rax, qword [rbp + 0x78]
test rax, rax
je 0x7cedaf
mov eax, dword [rax - 4]
mov dword [rbp + 0x74], eax
mov eax, dword [rbp + 0x29c]
cmp eax, dword [rbp + 0x74]
jl 0x7cedf1
mov rcx, qword [rbp + 0x2c0]
lea rdx, [rbp + 0x20]
call fcn.007ce260
mov rax, qword [rbp + 0x20]
mov qword [rbp + 0x68], rax
mov dword [rbp + 0x64], 0
mov rax, qword [rbp + 0x68]
test rax, rax
je 0x7cede8
mov eax, dword [rax - 4]
mov dword [rbp + 0x64], eax
mov eax, dword [rbp + 0x64]
mov dword [rbp + 0x29c], eax
mov rcx, qword [rbp + 0x2c0]
mov edx, dword [rbp + 0x29c]
mov r8d, dword [rbp + 0x29c]
call fcn.007cea30
nop
lea rcx, [rbp + 0x20]
mov edx, 5
call fcn.00410090
lea rsp, [rbp + 0x2a8]
pop rbx
pop rbp
ret