Function at 0x1400800d0
Capabilities:
Log keystrokes via polling

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], rbx
push rbp
mov rbp, rsp
sub rsp, 0x70
cmp byte [reloc.WS2_32.dll_accept], 0
mov rbx, rcx
jne 0x1400804fb
cmp dword [rcx + 0x3c], 0
je 0x1400804fb
mov rcx, qword [0x1401ac080]
test rcx, rcx
je 0x1400804fb
mov eax, dword [0x1401ac078]
test eax, eax
je 0x1400804fb
mov dword [rbp - 0x30], eax
lea r8, [rbp - 0x30]
mov eax, dword [0x1401ac358]
mov r9d, 0x20
add rax, qword [rbx + 0x88]
mov edx, 0x800111cb
mov qword [rbp - 0x28], rax
lea rax, [0x1401a9aab]
mov qword [r11 + 0x18], rdi
xor edi, edi
mov qword [r11 - 0x40], rdi
mov qword [r11 - 0x48], rdi
mov qword [rbp - 0x18], rax
lea rax, [rbp - 0x30]
mov dword [rsp + 0x28], 0x20
mov qword [r11 - 0x58], rax
mov qword [rbp - 0x20], 1
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
cmp eax, 1
jne 0x1400804f3
mov rcx, qword [0x1401ac080]
test rcx, rcx
je 0x1400804f3
mov eax, dword [0x1401ac078]
test eax, eax
je 0x1400804f3
mov dword [rbp - 0x30], eax
lea r8, [rbp - 0x30]
mov eax, dword [0x1401ac340]
mov r9d, 0x20
add rax, qword [rbx + 0x88]
mov edx, 0x800111cb
mov qword [rbp - 0x28], rax
lea rax, [0x1401a9b94]
mov qword [rsp + 0x38], rdi
mov qword [rbp - 0x18], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x20
mov qword [rsp + 0x20], rax
mov qword [rbp - 0x20], 4
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
cmp eax, 1
jne 0x1400804f3
mov eax, dword [0x1401a9b94]
cmp eax, 0xffffffff
je 0x1400804f3
shr eax, 9
xorps xmm0, xmm0
mov ecx, 8
mov dword [rbp + 0x1c], edi
movdqu xmmword [rbp - 0x30], xmm0
lea eax, [rax*8 + 0x10]
mov dword [rbp + 0x18], eax
call fcn.1400f40c0
mov qword [rbp - 0x30], rax
lea r8, [rbp - 0x30]
lea rcx, [rax + 8]
mov qword [rbp - 0x20], rcx
mov rcx, qword [rbp + 0x18]
mov qword [rax], rcx
add rax, 8
mov rdx, qword [0x1401ac0b8]
mov qword [rbp - 0x28], rax
call fcn.1400f27b0
mov qword [0x1401a9be0], rax
mov r8, rax
test rax, rax
je 0x1400804f3
mov rcx, qword [0x1401ac080]
test rcx, rcx
je 0x1400804f3
mov edx, dword [0x1401ac078]
test edx, edx
je 0x1400804f3
mov eax, dword [0x1401a9b94]
mov r9d, 0x20
mov dword [rbp - 0x30], edx
and eax, 0x1ff
imul edx, eax, 0x78
lea rax, [rbp - 0x30]
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x80], rsi
lea rsi, [0x1401a9be8]
mov dword [rsp + 0x28], 0x20
add rdx, r8
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x28], rdx
lea r8, [rbp - 0x30]
mov edx, 0x800111cb
mov qword [rbp - 0x20], 8
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
cmp eax, 1
jne 0x1400804eb
mov rdx, rsi
lea rcx, [0x1401626e0]
call fcn.140081260
test al, al
je 0x1400804eb
mov rcx, rbx
call fcn.140080840
test al, al
je 0x1400804eb
cmp byte [0x1401a9854], dil
jne 0x140080335
movss xmm1, dword [rbx + 0x144]
xorps xmm0, xmm0
comiss xmm1, xmm0
ja 0x1400804eb
cmp byte [reloc.WS2_32.dll_accept], dil
je 0x1400803c2
mov rcx, qword [0x1401ac080]
test rcx, rcx
je 0x1400803ac
mov eax, dword [0x1401ac078]
test eax, eax
je 0x1400803ac
mov dword [rbp - 0x30], eax
lea r8, [rbp - 0x30]
mov eax, dword [0x1401ac304]
mov r9d, 0x20
add rax, qword [rbx + 0x88]
mov edx, 0x800111cb
mov qword [rbp - 0x28], rax
lea rax, [rbp + 0x18]
mov qword [rsp + 0x38], rdi
mov qword [rbp - 0x18], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x20
mov qword [rsp + 0x20], rax
mov qword [rbp - 0x20], 1
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
cmp byte [rbp + 0x18], dil
jne 0x1400803c2
mov rcx, rbx
call fcn.140080510
test al, al
jne 0x1400804eb
cmp byte [reloc.WS2_32.dll_accept], dil
je 0x1400803e9
mov eax, dword [0x140162810]
cmp dword [rbx + 0x130], eax
je 0x1400803e5
cmp dword [0x140162800], edi
jle 0x1400803e5
mov al, 1
jmp 0x1400803f2
xor al, al
jmp 0x1400803f2
cmp dword [0x140162800], edi
setg al
mov byte [0x1401a9aac], al
test al, al
je 0x1400804eb
movaps xmmword [rsp + 0x60], xmm6
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
xorps xmm6, xmm6
mov rcx, rax
sub rcx, qword [0x1401ac3f0]
mov rbx, rax
cmp byte [0x1401ac038], dil
cvtsi2sd xmm6, rcx
divsd xmm6, qword [0x140112208]
jne 0x140080457
movd xmm0, dword [0x14016289c]
cvtdq2pd xmm0, xmm0
comisd xmm6, xmm0
jb 0x140080457
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
mov qword [0x1401ac3f8], rax
mov byte [0x1401ac038], 1
sub rbx, qword [0x1401ac3f8]
xorps xmm1, xmm1
movd xmm0, dword [0x14016289c]
cvtdq2pd xmm0, xmm0
cvtsi2sd xmm1, rbx
comisd xmm6, xmm0
movaps xmm6, xmmword [rsp + 0x60]
jb 0x1400804eb
divsd xmm1, qword [0x140112208]
movd xmm0, dword [0x140162890]
cvtdq2pd xmm0, xmm0
comisd xmm1, xmm0
jb 0x1400804eb
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x1400804eb
xor r9d, r9d
mov qword [rsp + 0x20], rdi
xor r8d, r8d
xor edx, edx
mov ecx, 2
call qword [sym.imp.USER32.dll_mouse_event]
xor r9d, r9d
mov qword [rsp + 0x20], rdi
xor r8d, r8d
xor edx, edx
mov ecx, 4
call qword [sym.imp.USER32.dll_mouse_event]
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
mov qword [0x1401ac3f0], rax
mov byte [0x1401ac038], dil
mov rsi, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x98]
add rsp, 0x70
pop rbp
ret