Function at 0x6d43a0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
push rbx
sub rsp, 0x298
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 + 0x2b0], rcx
mov dword [rbp + 0x2b8], edx
nop
cmp dword [rbp + 0x2b8], 1
jl 0x6d441a
mov rcx, qword [rbp + 0x2b0]
lea rdx, [rbp + 0x40]
call fcn.006d3b20
mov rcx, qword [rbp + 0x40]
mov edx, dword [rbp + 0x2b8]
call fcn.0043a9f0
cmp al, 1
jne 0x6d441a
sub dword [rbp + 0x2b8], 1
mov eax, dword [rbp + 0x2b8]
mov dword [rbp + 0x28c], eax
mov rcx, qword [rbp + 0x2b0]
call fcn.006d4080
test al, al
je 0x6d46b3
cmp dword [rbp + 0x28c], 0
jge 0x6d444d
mov dword [rbp + 0x28c], 0
mov rcx, qword [rbp + 0x2b0]
mov edx, dword [rbp + 0x28c]
call fcn.006d4ea0
mov dword [rbp + 0x28c], eax
mov eax, dword [rbp + 0x28c]
add eax, 1
mov dword [rbp + 0x288], eax
mov rcx, qword [rbp + 0x2b0]
lea rdx, [rbp + 0x38]
call fcn.006d3b20
mov rax, qword [rbp + 0x38]
mov qword [rbp + 0x78], rax
mov dword [rbp + 0x74], 0
cmp qword [rbp + 0x78], 0
je 0x6d44a4
mov rax, qword [rbp + 0x78]
mov eax, dword [rax - 4]
mov dword [rbp + 0x74], eax
mov eax, dword [rbp + 0x74]
cmp eax, dword [rbp + 0x288]
jle 0x6d44fb
mov rcx, qword [rbp + 0x2b0]
lea rdx, [rbp + 0x30]
call fcn.006d3b20
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rbp + 0x288]
movzx rax, word [rax + rcx*2 - 2]
mov word [rbp + 0x72], ax
cmp word [rbp + 0x72], 0xd800
jb 0x6d44e4
cmp word [rbp + 0x72], 0xdfff
jbe 0x6d44e9
xor rax, rax
jmp 0x6d44eb
mov al, 1
mov byte [rbp + 0x71], al
cmp byte [rbp + 0x71], 0
je 0x6d44fb
add dword [rbp + 0x288], 1
mov rax, qword [rbp + 0x2b0]
mov ecx, dword [rbp + 0x28c]
cmp ecx, dword [rax + 0x4b4]
jl 0x6d452f
mov rax, qword [rbp + 0x2b0]
mov eax, dword [rax + 0x4b4]
mov dword [rbp + 0x28c], eax
mov eax, dword [rbp + 0x28c]
mov dword [rbp + 0x288], eax
mov rcx, qword [rbp + 0x2b0]
mov edx, dword [rbp + 0x288]
mov r8d, dword [rbp + 0x288]
call fcn.006d4370
mov eax, dword [rbp + 0x28c]
cmp eax, dword [rbp + 0x288]
je 0x6d469b
lea rcx, [rbp + 0x188]
call sub.user32.dll_GetKeyboardState
mov dword [rbp + 0x84], 0
movsxd rax, dword [rbp + 0x84]
mov byte [rax + rbp + 0x88], 0
add dword [rbp + 0x84], 1
cmp dword [rbp + 0x84], 0x100
jne 0x6d4570
nop
mov byte [rbp + 0x98], 0x81
mov rcx, qword [rbp + 0x2b0]
mov dx, 0xffc7
call fcn.0040ac00
mov rcx, qword [rbp + 0x2b0]
call rax
lea rcx, [0x0073f5d8]
movzx rax, al
movzx rax, word [rcx + rax*2]
mov byte [rax + rbp + 0x88], 0x81
lea rcx, [rbp + 0x88]
call sub.user32.dll_SetKeyboardState
mov rax, qword [rbp + 0x2b0]
mov byte [rax + 0x4d0], 1
nop
mov rcx, qword [rbp + 0x2b0]
call fcn.005c2900
mov rbx, rax
mov rcx, qword [rbp + 0x2b0]
mov dx, 0xffc7
call fcn.0040ac00
mov rcx, qword [rbp + 0x2b0]
call rax
mov rcx, rbx
mov edx, pe_nt_image_headers64
lea r8, [0x0073f5d8]
movzx rax, al
movzx r8, word [r8 + rax*2]
mov r9d, 1
call sub.user32.dll_SendMessageW
mov rcx, qword [rbp + 0x2b0]
call fcn.005c2900
mov rbx, rax
mov rcx, qword [rbp + 0x2b0]
mov dx, 0xffc7
call fcn.0040ac00
mov rcx, qword [rbp + 0x2b0]
call rax
mov rcx, rbx
mov edx, 0x101
lea r8, [0x0073f5d8]
movzx rax, al
movzx r8, word [r8 + rax*2]
mov r9d, 1
call sub.user32.dll_SendMessageW
nop
mov rax, qword [rbp + 0x2b0]
mov byte [rax + 0x4d0], 0
lea rcx, [rbp + 0x188]
call sub.user32.dll_SetKeyboardState
mov rax, qword [rbp + 0x2b0]
mov ecx, dword [rbp + 0x28c]
mov dword [rax + 0x4bc], ecx
jmp 0x6d4753
cmp dword [rbp + 0x28c], 0
jge 0x6d46c6
mov dword [rbp + 0x28c], 0
mov rcx, qword [rbp + 0x2b0]
lea rdx, [rbp + 0x28]
call fcn.006d3b20
mov rax, qword [rbp + 0x28]
mov qword [rbp + 0x68], rax
mov dword [rbp + 0x64], 0
cmp qword [rbp + 0x68], 0
je 0x6d46f6
mov rax, qword [rbp + 0x68]
mov eax, dword [rax - 4]
mov dword [rbp + 0x64], eax
mov eax, dword [rbp + 0x28c]
cmp eax, dword [rbp + 0x64]
jl 0x6d473a
mov rcx, qword [rbp + 0x2b0]
lea rdx, [rbp + 0x20]
call fcn.006d3b20
mov rax, qword [rbp + 0x20]
mov qword [rbp + 0x58], rax
mov dword [rbp + 0x54], 0
cmp qword [rbp + 0x58], 0
je 0x6d4731
mov rax, qword [rbp + 0x58]
mov eax, dword [rax - 4]
mov dword [rbp + 0x54], eax
mov eax, dword [rbp + 0x54]
mov dword [rbp + 0x28c], eax
mov rcx, qword [rbp + 0x2b0]
mov edx, dword [rbp + 0x28c]
mov r8d, dword [rbp + 0x28c]
call fcn.006d4370
nop
lea rcx, [rbp + 0x20]
mov edx, 5
call fcn.0040da10
lea rsp, [rbp + 0x298]
pop rbx
pop rbp
ret