Function at 0x1400bb940
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
mov qword [rsp + 0x18], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov r15, r9
mov r14, r8
lea rcx, [rbp - 0x10]
call fcn.140004f60
xor r12d, r12d
mov dword [rbp - 0x3c], r12d
mov edx, dword [0x140228b30]
add rdx, qword [0x140228468]
lea r8, [rbp - 0x3c]
call fcn.1400281e0
test al, al
je 0x1400bbbf1
cmp dword [rbp - 0x3c], 0xffffffff
jne 0x1400bb9a5
mov rax, qword [rbp - 0x10]
mov qword [0x140227e68], rax
jmp 0x1400bbbf1
mov eax, dword [rbp - 0x3c]
shr eax, 9
lea eax, [rax*8 + 0x10]
mov dword [rbp - 0x30], eax
mov dword [rbp - 0x2c], r12d
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x18], r12
mov ecx, 8
call fcn.140128c60
mov qword [rbp - 0x28], rax
lea rdx, [rax + 8]
mov qword [rbp - 0x18], rdx
mov rcx, qword [rbp - 0x30]
mov qword [rax], rcx
mov qword [rbp - 0x20], rdx
lea rcx, [rbp - 0x28]
mov qword [rbp - 8], rcx
mov qword [rbp - 0x38], r12
sub rdx, rax
cmp rdx, 4
jae 0x1400bba07
mov rbx, qword [0x140227a60]
jmp 0x1400bba99
lea r8, [rbp - 0x38]
mov rdx, qword [0x140227a60]
call fcn.140003cb0
test al, al
je 0x1400bbbe8
mov edi, r12d
mov r8, qword [rbp - 0x20]
mov rax, r8
mov rdx, qword [rbp - 0x28]
sub rax, rdx
sar rax, 2
cmp rax, 1
je 0x1400bba7b
mov rbx, r12
nop dword [rax]
mov edx, dword [rdx + rbx]
add rdx, qword [rbp - 0x38]
lea r8, [rbp - 0x38]
call fcn.140003cb0
test al, al
je 0x1400bbbe8
inc edi
add rbx, 4
mov r8, qword [rbp - 0x20]
mov rcx, r8
mov rdx, qword [rbp - 0x28]
sub rcx, rdx
sar rcx, 2
dec rcx
movsxd rax, edi
cmp rax, rcx
jb 0x1400bba40
mov rax, qword ds:[rbp - 0x38]
test rax, rax
jne 0x1400bba8a
mov rbx, r12
jmp 0x1400bba99
sub r8, rdx
sar r8, 2
mov ebx, dword [rdx + r8*4 - 4]
add rbx, rax
lea rcx, ds:[rbp - 0x28]
call fcn.140060a40
test rbx, rbx
je 0x1400bbbf1
mov qword [rbp - 0x30], r12
mov eax, dword [rbp - 0x3c]
and eax, 0x1ff
imul rdx, rax, 0x78
add rdx, rbx
lea r8, [rbp - 0x30]
call fcn.140003cb0
test al, al
je 0x1400bbbf1
mov dword [rbp - 0x3c], r12d
mov edx, dword [0x140228428]
mov rbx, qword [rbp - 0x30]
add rdx, rbx
lea r8, [rbp - 0x3c]
call fcn.140025830
test rbx, rbx
je 0x1400bbb17
mov edx, dword [0x140228410]
add rdx, rbx
lea r8, [rbp - 0x40]
call fcn.140025810
mov edx, dword [0x140228b2c]
add rdx, rbx
lea r8, [rbp - 0x38]
call fcn.140025830
movzx ecx, byte ds:[rbp - 0x40]
mov edx, dword [rbp - 0x3c]
test edx, edx
jle 0x1400bbb2c
test cl, cl
jne 0x1400bbb2c
mov al, 1
jmp 0x1400bbb2e
xor al, al
cmp byte [reloc.WS2_32.dll_accept], 0
je 0x1400bbb58
mov eax, dword [rbp - 0x38]
cmp dword [0x1402284c4], eax
je 0x1400bbbf1
test edx, edx
jle 0x1400bbbf1
test cl, cl
jne 0x1400bbbf1
jmp 0x1400bbb68
nop dword [rax + rax]
test al, al
je 0x1400bbbf1
mov rbx, qword [rbp - 0x10]
mov rcx, rbx
sub rcx, qword [0x140227e68]
movsxd rax, dword [r15]
imul rdx, rax, 0xf4240
cmp rcx, rdx
je 0x1400bbb87
jl 0x1400bbbf1
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x1400bbbdf
mov rax, qword ds:[rbp + 0x40]
cmp byte [rax], 0
je 0x1400bbbb3
mov rax, qword [rbp + 0x48]
movd xmm0, dword [rax]
cvtdq2ps xmm0, xmm0
comiss xmm0, dword [r14]
jb 0x1400bbbf1
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.USER32.dll_mouse_event]
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 4]
call qword [sym.imp.USER32.dll_mouse_event]
mov qword [0x140227e68], rbx
jmp 0x1400bbbf1
lea rcx, [rbp - 0x28]
call fcn.140060a40
mov al, 1
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov r12, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret