Function at 0x6525e0
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 0x652659
mov rcx, qword [rbp + 0x2c0]
lea rdx, [rbp + 0x40]
call fcn.00651dd0
mov rcx, qword [rbp + 0x40]
mov edx, dword [rbp + 0x2c8]
call fcn.00447da0
cmp al, 1
jne 0x652659
sub dword [rbp + 0x2c8], 1
mov eax, dword [rbp + 0x2c8]
mov dword [rbp + 0x29c], eax
mov rcx, qword [rbp + 0x2c0]
call fcn.006522e0
test al, al
je 0x6528de
cmp dword [rbp + 0x29c], 0
jge 0x65268c
mov dword [rbp + 0x29c], 0
mov rcx, qword [rbp + 0x2c0]
mov edx, dword [rbp + 0x29c]
call fcn.00653030
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.00651dd0
mov rax, qword [rbp + 0x38]
mov qword [rbp + 0x88], rax
mov dword [rbp + 0x84], 0
mov rax, qword [rbp + 0x88]
test rax, rax
je 0x6526ed
mov eax, dword [rax - 4]
mov dword [rbp + 0x84], eax
mov eax, dword [rbp + 0x84]
cmp eax, dword [rbp + 0x298]
jle 0x652740
mov rcx, qword [rbp + 0x2c0]
lea rdx, [rbp + 0x30]
call fcn.00651dd0
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 0x652740
cmp word [rbp + 0x82], 0xdfff
ja 0x652740
add dword [rbp + 0x298], 1
mov rax, qword [rbp + 0x2c0]
mov eax, dword [rax + 0x52c]
cmp dword [rbp + 0x29c], eax
jl 0x652767
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.006525b0
mov eax, dword [rbp + 0x29c]
cmp eax, dword [rbp + 0x298]
je 0x6528c6
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 0x6527ae
nop
mov byte [rbp + 0xa8], 0x81
mov rcx, qword [rbp + 0x2c0]
mov dx, 0xffc6
call fcn.0040f880
mov rcx, qword [rbp + 0x2c0]
call rax
lea rcx, [0x008acd9c]
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 + 0x548], 1
nop
mov rcx, qword [rbp + 0x2c0]
call fcn.00612120
mov rbx, rax
mov rcx, qword [rbp + 0x2c0]
mov dx, 0xffc6
call fcn.0040f880
mov rcx, qword [rbp + 0x2c0]
call rax
mov rcx, rbx
mov edx, pe_nt_image_headers64
lea r8, [0x008acd9c]
movzx rax, al
movzx r8, word [r8 + rax*2]
mov r9d, 1
call sub.user32.dll_SendMessageW
mov rcx, qword [rbp + 0x2c0]
call fcn.00612120
mov rbx, rax
mov rcx, qword [rbp + 0x2c0]
mov dx, 0xffc6
call fcn.0040f880
mov rcx, qword [rbp + 0x2c0]
call rax
mov rcx, rbx
mov edx, 0x101
lea r8, [0x008acd9c]
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 + 0x548], 0
lea rcx, [rbp + 0x198]
call sub.user32.dll_SetKeyboardState
mov rax, qword [rbp + 0x2c0]
mov ecx, dword [rbp + 0x29c]
mov dword [rax + 0x534], ecx
jmp 0x65297a
cmp dword [rbp + 0x29c], 0
jge 0x6528f1
mov dword [rbp + 0x29c], 0
mov rcx, qword [rbp + 0x2c0]
lea rdx, [rbp + 0x28]
call fcn.00651dd0
mov rax, qword [rbp + 0x28]
mov qword [rbp + 0x78], rax
mov dword [rbp + 0x74], 0
mov rax, qword [rbp + 0x78]
test rax, rax
je 0x65291f
mov eax, dword [rax - 4]
mov dword [rbp + 0x74], eax
mov eax, dword [rbp + 0x29c]
cmp eax, dword [rbp + 0x74]
jl 0x652961
mov rcx, qword [rbp + 0x2c0]
lea rdx, [rbp + 0x20]
call fcn.00651dd0
mov rax, qword [rbp + 0x20]
mov qword [rbp + 0x68], rax
mov dword [rbp + 0x64], 0
mov rax, qword [rbp + 0x68]
test rax, rax
je 0x652958
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.006525b0
nop
lea rcx, [rbp + 0x20]
mov edx, 5
call fcn.004124e0
lea rsp, [rbp + 0x2a8]
pop rbx
pop rbp
ret