Function at 0x14009fb30
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x218
mov rax, qword [0x1400dd010]
xor rax, rsp
mov qword [rsp + 0x200], rax
mov dword [rsp + 0xf8], 0
mov eax, dword [0x1400dd310]
mov rcx, qword [rsp + 0x230]
add rax, qword [rcx + 0x38]
lea r8, [rsp + 0xf8]
mov rdx, rax
lea rcx, [0x1400dd1b8]
call fcn.140010e30
movzx eax, al
test eax, eax
jne 0x14009fb90
jmp 0x14009fef9
cmp dword [rsp + 0xf8], 0xffffffff
jne 0x14009fb9f
jmp 0x14009fef9
mov qword [rsp + 0x40], 0
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x33]
call fcn.1400034d0
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0xf8]
shr eax, 9
lea eax, [rax*8 + 0x10]
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x4c], 0
lea rax, [rsp + 0x50]
mov r8, rax
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0xd0]
call fcn.140003390
lea rcx, [rsp + 0xa8]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xc0]
lea rcx, [rsp + 0xa8]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov r8, qword [rsp + 0x58]
lea rdx, [rsp + 0xc0]
mov rcx, qword [rsp + 0x60]
call fcn.14000c9a0
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x78], rax
lea rcx, [0x1400df020]
call fcn.140003cb0
mov qword [rsp + 0x80], rax
mov r8, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x80]
lea rcx, [0x1400dd1b8]
call fcn.14000f790
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x14009fc9c
jmp 0x14009fef9
mov qword [rsp + 0x100], 0
mov eax, dword [rsp + 0xf8]
and eax, 0x1ff
imul eax, eax, 0x78
mov eax, eax
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
lea r8, [rsp + 0x100]
mov rdx, rax
lea rcx, [0x1400dd1b8]
call fcn.140004840
movzx eax, al
test eax, eax
jne 0x14009fce7
jmp 0x14009fef9
mov edx, 0xe8
lea rcx, [rsp + 0x110]
call fcn.140003160
lea rcx, [rsp + 0x110]
call fcn.14000c400
nop
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x110]
call fcn.14000fa60
movzx eax, al
test eax, eax
jne 0x14009fd35
lea rcx, [rsp + 0x110]
call fcn.14000c5d0
jmp 0x14009fef9
mov byte [rsp + 0x30], 0
movzx eax, byte [0x1400dd088]
test eax, eax
je 0x14009fd83
mov rax, qword [rsp + 0x230]
mov ecx, dword [rsp + 0x1dc]
cmp dword [rax + 0xcc], ecx
je 0x14009fd70
cmp dword [rsp + 0x1d8], 0
jle 0x14009fd70
mov dword [rsp + 0x34], 1
jmp 0x14009fd78
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
mov byte [rsp + 0x30], al
jmp 0x14009fda8
cmp dword [rsp + 0x1d8], 0
jle 0x14009fd97
mov dword [rsp + 0x38], 1
jmp 0x14009fd9f
mov dword [rsp + 0x38], 0
movzx eax, byte [rsp + 0x38]
mov byte [rsp + 0x30], al
movzx eax, byte [rsp + 0x30]
test eax, eax
jne 0x14009fdc3
lea rcx, [rsp + 0x110]
call fcn.14000c5d0
jmp 0x14009fef9
mov eax, 4
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rax + rcx]
cmp dword [0x1400df240], eax
jle 0x14009fe0e
lea rcx, [0x1400df240]
call fcn.1400aeb78
cmp dword [0x1400df240], 0xffffffff
jne 0x14009fe0e
lea rcx, [0x1400df248]
call fcn.140007210
lea rcx, [0x1400df240]
call fcn.1400aeb18
lea rcx, [rsp + 0x108]
call fcn.140007210
lea rdx, [0x1400dd044]
lea rcx, [rsp + 0x98]
call fcn.14009ff20
mov qword [rsp + 0x88], rax
lea r8, [0x1400df248]
lea rdx, [rsp + 0x108]
lea rcx, [rsp + 0xa0]
call fcn.14000d700
mov qword [rsp + 0x90], rax
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x90]
call fcn.14000d980
movzx eax, al
test eax, eax
je 0x14009feec
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
jge 0x14009fe8e
mov byte [rsp + 0x31], 1
jmp 0x14009fe93
mov byte [rsp + 0x31], 0
movzx eax, byte [rsp + 0x31]
mov byte [rsp + 0x32], al
movzx eax, byte [rsp + 0x32]
test eax, eax
jne 0x14009fedd
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 2
call qword [sym.imp.USER32.dll_mouse_event]
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 4
call qword [sym.imp.USER32.dll_mouse_event]
mov rax, qword [rsp + 0x108]
mov qword [0x1400df248], rax
lea rcx, [rsp + 0x110]
call fcn.14000c5d0
mov rcx, qword [rsp + 0x200]
xor rcx, rsp
call fcn.1400ae9d0
add rsp, 0x218
pop rdi
pop rsi
ret