Function at 0x70dd10
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 0x70dd8a
mov rcx, qword [rbp + 0x2c0]
lea rdx, [rbp + 0x40]
call fcn.0070d510
mov rcx, qword [rbp + 0x40]
mov edx, dword [rbp + 0x2c8]
call fcn.00442bb0
cmp al, 1
jne 0x70dd8a
sub dword [rbp + 0x2c8], 1
mov eax, dword [rbp + 0x2c8]
mov dword [rbp + 0x29c], eax
mov rcx, qword [rbp + 0x2c0]
call fcn.0070da20
test al, al
je 0x70e01e
cmp dword [rbp + 0x29c], 0
jge 0x70ddbd
mov dword [rbp + 0x29c], 0
mov rcx, qword [rbp + 0x2c0]
mov edx, dword [rbp + 0x29c]
call fcn.0070e7b0
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.0070d510
mov rax, qword [rbp + 0x38]
mov qword [rbp + 0x88], rax
mov dword [rbp + 0x84], 0
mov rax, qword [rbp + 0x88]
test rax, rax
je 0x70de1e
mov eax, dword [rax - 4]
mov dword [rbp + 0x84], eax
mov eax, dword [rbp + 0x84]
cmp eax, dword [rbp + 0x298]
jle 0x70de7b
mov rcx, qword [rbp + 0x2c0]
lea rdx, [rbp + 0x30]
call fcn.0070d510
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 0x70de6a
cmp word [rbp + 0x82], 0xdfff
jbe 0x70de6e
xor eax, eax
jmp 0x70de70
mov al, 1
test al, al
je 0x70de7b
add dword [rbp + 0x298], 1
mov rax, qword [rbp + 0x2c0]
mov eax, dword [rax + 0x4dc]
cmp dword [rbp + 0x29c], eax
jl 0x70dea2
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.0070dce0
mov eax, dword [rbp + 0x29c]
cmp eax, dword [rbp + 0x298]
je 0x70e006
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 0x70deea
nop
mov byte [rbp + 0xa8], 0x81
mov rcx, qword [rbp + 0x2c0]
mov dx, 0xffc5
call fcn.0040e5b0
mov rcx, qword [rbp + 0x2c0]
call rax
lea rcx, [0x007dc248]
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.005db1d0
mov rbx, rax
mov rcx, qword [rbp + 0x2c0]
mov dx, 0xffc5
call fcn.0040e5b0
mov rcx, qword [rbp + 0x2c0]
call rax
mov rcx, rbx
mov edx, pe_nt_image_headers64
lea r8, [0x007dc248]
movzx rax, al
movzx r8, word [r8 + rax*2]
mov r9d, 1
call sub.user32.dll_SendMessageW
mov rcx, qword [rbp + 0x2c0]
call fcn.005db1d0
mov rbx, rax
mov rcx, qword [rbp + 0x2c0]
mov dx, 0xffc5
call fcn.0040e5b0
mov rcx, qword [rbp + 0x2c0]
call rax
mov rcx, rbx
mov edx, 0x101
lea r8, [0x007dc248]
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 0x70e0ba
cmp dword [rbp + 0x29c], 0
jge 0x70e031
mov dword [rbp + 0x29c], 0
mov rcx, qword [rbp + 0x2c0]
lea rdx, [rbp + 0x28]
call fcn.0070d510
mov rax, qword [rbp + 0x28]
mov qword [rbp + 0x78], rax
mov dword [rbp + 0x74], 0
mov rax, qword [rbp + 0x78]
test rax, rax
je 0x70e05f
mov eax, dword [rax - 4]
mov dword [rbp + 0x74], eax
mov eax, dword [rbp + 0x29c]
cmp eax, dword [rbp + 0x74]
jl 0x70e0a1
mov rcx, qword [rbp + 0x2c0]
lea rdx, [rbp + 0x20]
call fcn.0070d510
mov rax, qword [rbp + 0x20]
mov qword [rbp + 0x68], rax
mov dword [rbp + 0x64], 0
mov rax, qword [rbp + 0x68]
test rax, rax
je 0x70e098
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.0070dce0
nop
lea rcx, [rbp + 0x20]
mov edx, 5
call fcn.00411440
lea rsp, [rbp + 0x2a8]
pop rbx
pop rbp
ret