Function at 0x140007960
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x120]
sub rsp, 0x220
mov rax, qword [0x14001a040]
xor rax, rsp
mov qword [rbp + 0x110], rax
xor esi, esi
lea rcx, str.server_n
call fcn.140001160
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], rax
lea rcx, [rbp - 0x68]
call fcn.140004fc0
nop
xor edx, edx
mov r8d, 0xa0
lea rcx, [rbp + 0x70]
call sub.VCRUNTIME140.dll_memset
lea r8, reloc.WS2_32.dll_bind
lea rdx, [rbp - 0x68]
lea rcx, [rbp + 0x70]
call fcn.14000c200
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
mov dword [rbp - 0x10], esi
mov qword [rbp - 8], rsi
mov qword [rbp], rsi
lea ecx, [rsi + 0x30]
call fcn.14000f528
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rbp - 8], rax
mov qword [rbp + 8], rsi
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x20], 7
mov qword [rbp + 0x28], 8
mov dword [rbp - 0x10], 0x3f800000
mov r8, rax
lea edx, [rsi + 0x10]
lea rcx, [rbp + 8]
call fcn.1400098c0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
lea ecx, [rsi + 0x28]
call fcn.14000f528
mov rdi, rax
mov qword [rsp + 0x60], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_obj2_class_std::vector_char__class_std::allocator_char___.0
mov qword [rdi], rax
lea rbx, [rdi + 0x10]
mov edx, 0x400
mov rcx, rbx
call fcn.140009220
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x78], rbx
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x18], rsi
lea rax, [rbp + 0x70]
mov qword [rsp + 0x68], rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x70], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x78], rax
lea rax, [rbp - 0x50]
mov qword [rbp - 0x80], rax
lea rax, vtable.std::_Func_impl_no_alloc_class__void___cdecl_Server_void_::_2::_lambda_1___void___.0
mov qword [rsp + 0x20], rax
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [rsp + 0x28], xmm0
movups xmm1, xmmword [rsp + 0x78]
movups xmmword [rsp + 0x38], xmm1
lea rax, [rsp + 0x20]
mov qword [rsp + 0x58], rax
mov qword [rbp + 0x68], rsi
lea rdx, [rbp + 0x30]
lea rcx, [rsp + 0x20]
call fcn.14000ccc0
mov r8, rax
mov qword [rbp + 0x68], rax
mov r9, qword [rsp + 0x58]
test r9, r9
je 0x140007b29
mov rax, qword [r9]
lea rcx, [rsp + 0x20]
cmp r9, rcx
setne dl
mov rcx, r9
call qword [rax + 0x20]
mov r9d, esi
mov qword [rsp + 0x58], rsi
mov r8, qword [rbp + 0x68]
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x140007b87
lea rax, [rbp - 0x50]
cmp rcx, rax
jne 0x140007b78
mov rax, qword [rcx]
lea rdx, [rsp + 0x20]
call qword [rax + reloc.WS2_32.dll_htonl]
mov r9, rax
mov qword [rsp + 0x58], rax
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x140007b72
mov rax, qword [rcx]
lea rdx, [rbp - 0x50]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov r9, qword [rsp + 0x58]
mov r8, qword [rbp + 0x68]
jmp 0x140007b80
mov r8, qword [rbp + 0x68]
jmp 0x140007b87
mov r9, rcx
mov qword [rsp + 0x58], rcx
mov rcx, rsi
mov qword [rbp - 0x18], rcx
test r8, r8
je 0x140007c03
lea rax, [rbp + 0x30]
mov rcx, r8
cmp r8, rax
jne 0x140007bd7
mov rax, qword [r8]
lea rdx, [rbp - 0x50]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rcx, rax
mov qword [rbp - 0x18], rax
mov r8, qword [rbp + 0x68]
test r8, r8
je 0x140007bd0
mov rax, qword [r8]
lea rcx, [rbp + 0x30]
cmp r8, rcx
setne dl
mov rcx, r8
call qword [rax + 0x20]
mov rcx, qword [rbp - 0x18]
mov r9, qword [rsp + 0x58]
jmp 0x140007bdb
mov r9, qword [rsp + 0x58]
jmp 0x140007be2
mov qword [rbp - 0x18], rcx
mov qword [rbp + 0x68], rsi
mov r8, rsi
test r8, r8
je 0x140007c03
mov rax, qword [r8]
lea rcx, [rbp + 0x30]
cmp r8, rcx
setne dl
mov rcx, r8
call qword [rax + 0x20]
mov rcx, qword [rbp - 0x18]
mov r9, qword [rsp + 0x58]
test r9, r9
je 0x140007c20
mov rax, qword [r9]
lea rcx, [rsp + 0x20]
cmp r9, rcx
setne dl
mov rcx, r9
call qword [rax + 0x20]
mov rcx, qword [rbp - 0x18]
test rcx, rcx
jne 0x140007c2c
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_]
int3
mov rax, qword [rcx]
call qword [rax + select]
mov ecx, 0x23
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x140007c64
lea rcx, [rbp - 0x68]
call fcn.1400051e0
mov rcx, qword [rbp - 0x58]
mov eax, esi
xchg dword [rcx + 0x34], eax
mov ecx, 0x23
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140007c42
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x140007c81
mov rax, qword [rcx]
lea rdx, [rbp - 0x50]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rbp - 0x18], rsi
mov edi, 0xffffffff
mov rbx, qword [rbp - 0x70]
test rbx, rbx
je 0x140007cb9
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140007cb9
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140007cb9
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
nop
lea rcx, [rbp - 0x10]
call fcn.140008580
nop
lea rcx, [rbp + 0x70]
call fcn.140009a00
nop
mov rax, qword [rbp - 0x68]
mov rbx, qword [rax + 0x30]
test rbx, rbx
je 0x140007cf2
nop word [rax + rax]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov rbx, qword [rbx + 0x20]
test rbx, rbx
jne 0x140007ce0
lock xadd dword [0x14001b650], edi
cmp edi, 1
jne 0x140007d05
call qword [sym.imp.WS2_32.dll_WSACleanup]
lea rcx, [rbp - 0x68]
call fcn.1400036f0
nop
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.14000f490
lea r11, [rsp + 0x220]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret