Function at 0x1400bda30
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x118
mov rax, qword [0x1400f4040]
xor rax, rsp
mov qword [rsp + 0x108], rax
mov eax, dword [0x1400f454c]
mov rcx, qword [rsp + 0x130]
add rax, qword [rcx + 0x48]
lea r8, [0x140166f5c]
mov rdx, rax
lea rcx, [0x140168618]
call fcn.14001c880
movzx eax, al
test eax, eax
jne 0x1400bda84
jmp 0x1400bde49
cmp dword [0x140166f5c], 0xffffffff
jne 0x1400bda92
jmp 0x1400bde49
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x37]
call fcn.140005c70
mov qword [rsp + 0x50], rax
mov eax, dword [0x140166f5c]
shr eax, 9
lea eax, [rax*8 + 0x10]
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x44], 0
lea rax, [rsp + 0x48]
mov r8, rax
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0xc0]
call fcn.140006bb0
lea rcx, [rsp + 0xa0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xb0]
lea rcx, [rsp + 0xa0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov r8, qword [rsp + 0x50]
lea rdx, [rsp + 0xb0]
mov rcx, qword [rsp + 0x58]
call fcn.14000b0b0
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x70], rax
lea rcx, [0x140168650]
call fcn.1400202f0
mov qword [rsp + 0x78], rax
mov r8, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x78]
lea rcx, [0x140168618]
call fcn.1400222c0
mov qword [0x140166f60], rax
cmp qword [0x140166f60], 0
jne 0x1400bdb83
jmp 0x1400bde49
mov eax, dword [0x140166f5c]
and eax, 0x1ff
imul eax, eax, 0x78
mov eax, eax
mov rcx, qword [0x140166f60]
add rcx, rax
mov rax, rcx
lea r8, [0x140166f68]
mov rdx, rax
lea rcx, [0x140168618]
call fcn.140007cc0
movzx eax, al
test eax, eax
jne 0x1400bdbc2
jmp 0x1400bde49
lea rdx, [0x140166f68]
lea rcx, [0x140167f30]
call fcn.1400226c0
movzx eax, al
test eax, eax
jne 0x1400bdbe1
jmp 0x1400bde49
movzx eax, byte [0x140168521]
test eax, eax
jne 0x1400bdc05
mov rax, qword [rsp + 0x130]
xorps xmm0, xmm0
comiss xmm0, dword [rax + 0x104]
jae 0x1400bdc05
jmp 0x1400bde49
movzx eax, byte [0x140168520]
test eax, eax
je 0x1400bdc4a
mov eax, dword [0x1400f450c]
mov rcx, qword [rsp + 0x130]
add rax, qword [rcx + 0x48]
lea r8, [rsp + 0xe8]
mov rdx, rax
lea rcx, [0x140168618]
call fcn.14001bf90
movzx eax, byte [rsp + 0xe8]
test eax, eax
jne 0x1400bdc4a
jmp 0x1400bde49
movzx eax, byte [0x1400f40e9]
test eax, eax
je 0x1400bdc93
mov rax, qword [rsp + 0x130]
mov ecx, dword [0x140168020]
cmp dword [rax + 0xf0], ecx
je 0x1400bdc7e
cmp dword [0x140168010], 0
jle 0x1400bdc7e
mov dword [rsp + 0x38], 1
jmp 0x1400bdc86
mov dword [rsp + 0x38], 0
movzx eax, byte [rsp + 0x38]
mov byte [0x140166f46], al
jmp 0x1400bdcb9
cmp dword [0x140168010], 0
jle 0x1400bdca6
mov dword [rsp + 0x3c], 1
jmp 0x1400bdcae
mov dword [rsp + 0x3c], 0
movzx eax, byte [rsp + 0x3c]
mov byte [0x140166f46], al
movzx eax, byte [0x140166f46]
test eax, eax
jne 0x1400bdcc9
jmp 0x1400bde49
mov eax, 4
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rax + rcx]
cmp dword [0x1401689d0], eax
jle 0x1400bdd14
lea rcx, [0x1401689d0]
call fcn.1400c0728
cmp dword [0x1401689d0], 0xffffffff
jne 0x1400bdd14
lea rcx, [0x1401689d8]
call fcn.140009f00
lea rcx, [0x1401689d0]
call fcn.1400c06bc
lea rcx, [rsp + 0xf0]
call fcn.140009f00
lea rax, [rsp + 0x31]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx eax, byte [rsp + 0x31]
mov byte [rsp + 0x32], al
movzx eax, byte [rsp + 0x32]
mov byte [rsp + 0x34], al
lea rdx, [0x1400f4094]
lea rcx, [rsp + 0x90]
call fcn.14001c030
mov qword [rsp + 0x80], rax
lea r8, [0x1401689d8]
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0x98]
call fcn.140020d40
mov qword [rsp + 0x88], rax
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x88]
call fcn.14001e850
mov byte [rsp + 0x33], al
movzx eax, byte [rsp + 0x33]
mov byte [rsp + 0x35], al
movzx edx, byte [rsp + 0x34]
movzx ecx, byte [rsp + 0x35]
call fcn.140009e90
movzx eax, al
test eax, eax
je 0x1400bde49
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
jge 0x1400bddd7
mov byte [rsp + 0x30], 1
jmp 0x1400bdddc
mov byte [rsp + 0x30], 0
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x36], al
movzx eax, byte [rsp + 0x36]
test eax, eax
jne 0x1400bde3a
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]
lea rdx, [0x1400bd9f0]
lea rcx, [rsp + 0xf8]
call fcn.1400be050
nop
lea rcx, [rsp + 0xf8]
call fcn.1400bd960
nop
lea rcx, [rsp + 0xf8]
call fcn.1400bd900
mov rax, qword [rsp + 0xf0]
mov qword [0x1401689d8], rax
mov rcx, qword [rsp + 0x108]
xor rcx, rsp
call fcn.1400c0660
add rsp, 0x118
pop rdi
pop rsi
ret