Function at 0x14007e8b0
Capabilities:
Log keystrokes via polling

Disassembly:
mov r11, rsp
push rbp
push r13
lea rbp, [r11 - 0x5f]
sub rsp, 0xb8
mov rax, qword [0x140122080]
xor rax, rsp
mov qword [rbp + 0x2f], rax
cmp qword [rcx], 0
mov r13, rcx
je 0x14007ec3b
mov qword [r11 - 0x18], r12
xorps xmm0, xmm0
mov qword [r11 + 0x10], rbx
xor r12d, r12d
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
mov qword [r11 - 0x20], r14
mov qword [r11 - 0x28], r15
movups xmmword [rbp + 0x1f], xmm0
nop
xorps xmm0, xmm0
mov dword [rsp + 0x20], 1
xor r9d, r9d
lea rcx, [rbp - 0x11]
xor r8d, r8d
xor edx, edx
movups xmmword [rbp - 0x11], xmm0
movups xmmword [rbp - 1], xmm0
movups xmmword [rbp + 0xf], xmm0
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x14007e94d
cmp dword [rbp - 9], 0x12
je 0x14007ec0b
lea rcx, [rbp - 0x11]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x11]
call qword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x14007e900
mov rbx, qword [0x140282e30]
test rbx, rbx
je 0x14007e962
mov rax, qword [rbx + 0xa0]
jmp 0x14007e965
mov rax, r12
cmp qword [rax + 0x48], r12
jne 0x14007e977
call fcn.140017f30
mov rbx, qword [0x140282e30]
test rbx, rbx
je 0x14007e985
mov rdi, qword [rbx + 0x98]
jmp 0x14007e988
mov rdi, r12
xorps xmm0, xmm0
lea rdx, [rbp - 0x39]
movdqu xmmword [rbp - 0x39], xmm0
mov rcx, qword [rdi]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rbp - 0x31]
lea rcx, [rbp - 0x19]
sub eax, dword [rbp - 0x39]
mov qword [rbp - 0x19], r12
movd xmm1, eax
mov eax, dword [rbp - 0x2d]
sub eax, dword [rbp - 0x35]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x10], xmm1
movss dword [rbx + 0x14], xmm0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rbp - 0x19]
xorps xmm1, xmm1
mov rsi, qword [0x140282e30]
mov rax, rcx
sub rax, qword [rdi + 0x18]
xorps xmm0, xmm0
cvtsi2ss xmm0, qword [rdi + 0x20]
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rbx + 0x18], xmm1
mov qword [rdi + 0x18], rcx
test rsi, rsi
je 0x14007ea0d
mov r14, qword [rsi + 0x98]
jmp 0x14007ea10
mov r14, r12
mov r15, qword [r14]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, r15
jne 0x14007eaa5
cmp byte [rsi + 0xdb], r12b
je 0x14007ea67
cvttss2si eax, dword [rsi + 0xdfc]
lea rdx, [rbp - 0x29]
mov rcx, r15
mov dword [rbp - 0x29], eax
cvttss2si eax, dword [rsi + 0xe00]
mov dword [rbp - 0x25], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
test eax, eax
je 0x14007ea5e
mov edx, dword [rbp - 0x25]
mov ecx, dword [rbp - 0x29]
call qword [sym.imp.USER32.dll_SetCursorPos]
cmp byte [rsi + 0xdb], r12b
jne 0x14007eaa5
cmp byte [r14 + 0x10], r12b
jne 0x14007eaa5
lea rcx, [rbp - 0x21]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x14007eaa5
mov rcx, qword [r14]
lea rdx, [rbp - 0x21]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x14007eaa5
movd xmm2, dword [rbp - 0x1d]
lea rcx, [rsi + 8]
movd xmm1, dword [rbp - 0x21]
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm1, xmm1
call fcn.14001a770
call fcn.140018700
cmp byte [rbx + 0x78], r12b
je 0x14007eab7
mov eax, 0xffffffff
jmp 0x14007eac4
mov rax, qword [0x140282e30]
mov eax, dword [rax + 0x4a58]
cmp dword [rdi + 0x28], eax
je 0x14007ead1
mov dword [rdi + 0x28], eax
call fcn.140018590
call fcn.1400188b0
call fcn.14001f2b0
call fcn.14007ec60
mov ecx, 0x24
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
and al, 1
je 0x14007eb0d
cmp byte [0x140283a49], r12b
jne 0x14007eb0d
cmp byte [reloc.WS2_32.dll_accept], r12b
sete cl
mov byte [reloc.WS2_32.dll_accept], cl
jmp 0x14007eb14
movzx ecx, byte [reloc.WS2_32.dll_accept]
mov byte [0x140283a49], al
test cl, cl
je 0x14007eb32
mov rcx, qword [0x140283ab0]
call fcn.14000ce50
mov rcx, r13
call fcn.140077640
call fcn.1400212f0
mov rcx, qword [r13 + 0x10]
lea r8, [r13 + 0x20]
xor r9d, r9d
mov rax, qword [rcx]
lea edx, [r9 + 1]
call qword [rax + 0x108]
mov rcx, qword [r13 + 0x10]
lea r8, [rbp + 0x1f]
mov rdx, qword [r13 + 0x20]
mov rax, qword [rcx]
call qword [rax + 0x190]
mov rax, qword [0x140282e30]
mov rcx, qword [rax + 0x48a8]
mov rax, qword [rcx]
mov rcx, r12
add rax, 0x48
cmp byte [rax], cl
cmovne rcx, rax
call fcn.1400174d0
mov rcx, qword [r13 + 0x18]
mov edx, r12d
cmp byte [0x1402832af], dl
setne dl
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x40]
cmp byte [0x1402832af], r12b
jne 0x14007e900
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rbx, 0x989680
jne 0x14007ebdb
imul rax, rax, 0x64
lea rcx, [rbp - 0x39]
mov qword [rbp - 0x39], rax
call fcn.140007c00
jmp 0x14007e900
cqo
idiv rbx
mov rcx, rax
imul rax, rdx, 0x3b9aca00
imul rcx, rcx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
lea rcx, [rbp - 0x39]
mov qword [rbp - 0x39], rax
call fcn.140007c00
jmp 0x14007e900
mov r15, qword [rsp + 0xa0]
mov r14, qword [rsp + 0xa8]
mov r12, qword [rsp + 0xb0]
mov rdi, qword [rsp + 0xe8]
mov rsi, qword [rsp + 0xe0]
mov rbx, qword [rsp + 0xd8]
xor al, al
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1400e9540
add rsp, 0xb8
pop r13
pop rbp
ret