Function at 0x1400086c0
Capabilities:
Create thread
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x130]
sub rsp, 0x230
mov rax, qword [0x14001a040]
xor rax, rsp
mov qword [rbp + 0x120], rax
xor esi, esi
lea rdx, str.client
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140009f60
lea rdx, [0x14000a160]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x38], xmm0
mov qword [rbp + 0x48], rax
lea rcx, [rbp + 0x38]
call fcn.140004fc0
nop
xor edx, edx
mov r8d, 0xa0
lea rcx, [rbp + 0x80]
call sub.VCRUNTIME140.dll_memset
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov dword [rsp + 0x58], esi
mov r14d, 2
mov word [rsp + 0x40], r14w
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_htons]
mov word [rsp + 0x42], ax
mov dword [rsp + 0x44], esi
lea r8, [rsp + 0x40]
lea rdx, [rbp + 0x38]
lea rcx, [rbp + 0x80]
call fcn.14000c200
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x18], xmm0
mov qword [rbp + 0x28], rsi
mov qword [rbp + 0x30], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x18], sil
lea rdx, str.Enter_server_IP_address:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140009f60
lea rdx, [rbp + 0x18]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.14000a1a0
lea rdx, str.Enter_server_port_number:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140009f60
lea rdx, [rbp - 0x4c]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___unsigned_short_int____ptr64____ptr64]
movzx edi, word [rbp - 0x4c]
lea rdx, [rbp + 0x18]
cmp qword [rbp + 0x30], 0xf
cmova rdx, qword [rbp + 0x18]
lea rcx, [rbp - 0x70]
call fcn.140007660
nop
xorps xmm0, xmm0
movdqu xmmword [rbp], xmm0
mov dword [rbp + 0x10], esi
mov ebx, dword [rbp - 0x70]
movzx ecx, di
test ebx, ebx
jne 0x140008841
mov word [rbp - 8], r14w
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp - 6], ax
test ebx, ebx
jne 0x140008c37
mov ecx, dword [rbp - 0x6c]
call qword [sym.imp.WS2_32.dll_ntohl]
mov ecx, eax
call qword [sym.imp.WS2_32.dll_htonl]
mov dword [rbp - 4], eax
jmp 0x14000886e
mov eax, 0x17
mov word [rbp - 8], ax
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp - 6], ax
mov dword [rbp - 4], esi
cmp ebx, 1
jne 0x140008c24
movups xmm0, xmmword [rbp - 0x68]
movups xmmword [rbp], xmm0
mov eax, dword [rbp - 0x58]
mov dword [rbp + 0x10], eax
mov ecx, 8
call fcn.14000f528
lea rcx, [rbp + 0x80]
mov qword [rax], rcx
mov qword [rbp + 0x78], rax
lea rcx, [rbp + 0x58]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x14000cbe0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x50], rax
test rax, rax
je 0x140008c15
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], rsi
mov qword [rbp - 0x30], rsi
mov r8d, 1
lea rdx, [0x14001220c]
lea rcx, [rbp - 0x48]
call fcn.14000a640
nop
lea rax, [rbp - 0x48]
cmp qword [rbp - 0x30], 0xf
cmova rax, qword [rbp - 0x48]
mov qword [rsp + 0x60], rax
mov rax, qword [rbp - 0x38]
mov qword [rsp + 0x68], rax
lea rax, [rbp + 0xe8]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], esi
lea r9, [rbp - 8]
lea r8, [rsp + 0x60]
lea rdx, [rbp + 0x88]
mov rcx, qword [rbp + 0x80]
call fcn.14000d150
mov ecx, 0x23
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x140008a8d
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x10], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x28], 0
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
add rcx, rbx
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
movzx r8d, al
lea rdx, [rbp - 0x28]
mov rcx, rbx
call fcn.14000c740
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 0xf
seta r9b
mov rdx, qword [rbp - 0x28]
cmova rcx, rdx
mov r8, qword [rbp - 0x18]
cmp r8, 1
jne 0x1400089b1
cmp byte [rcx], 0x5c
jne 0x1400089a8
mov eax, esi
jmp 0x1400089ad
sbb eax, eax
or eax, 1
test eax, eax
je 0x1400089d4
lea rax, [rbp - 0x28]
test r9b, r9b
cmovne rax, rdx
cmp r8, 1
jne 0x1400089e2
cmp byte [rax], 0x2f
jne 0x1400089cb
mov eax, esi
jmp 0x1400089d0
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1400089e2
lea rcx, str.cant_send__or___n
call fcn.140001160
jmp 0x140008a3e
lea rax, [rbp - 0x28]
test r9b, r9b
cmovne rax, rdx
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], r8
lea rax, [rbp + 0xe8]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x4f]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], esi
lea r9, [rbp - 8]
lea r8, [rsp + 0x70]
lea rdx, [rbp + 0x88]
mov rcx, qword [rbp + 0x80]
call fcn.14000d150
lea rcx, [rbp + 0x38]
call fcn.1400051e0
mov rcx, qword [rbp + 0x48]
mov eax, esi
xchg dword [rcx + 0x34], eax
mov rdx, qword [rbp - 0x10]
cmp rdx, 0xf
jbe 0x140008a79
inc rdx
mov rcx, qword [rbp - 0x28]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140008a74
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008b24
call fcn.14000f7ac
mov ecx, 0x23
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140008940
mov r8d, 1
lea rcx, [rbp - 0x48]
call fcn.140009ae0
lea rax, [rbp - 0x48]
cmp qword [rbp - 0x30], 0xf
cmova rax, qword [rbp - 0x48]
mov qword [rbp - 0x80], rax
mov rax, qword [rbp - 0x38]
mov qword [rbp - 0x78], rax
lea rax, [rbp + 0xe8]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x4e]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], esi
lea r9, [rbp - 8]
lea r8, [rbp - 0x80]
lea rdx, [rbp + 0x88]
mov rcx, qword [rbp + 0x80]
call fcn.14000d150
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 0xf
jbe 0x140008b30
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008b2b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008b2b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.14000f7ac
mov qword [rbp - 0x38], rsi
mov qword [rbp - 0x30], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x48], 0
cmp dword [rbp + 0x58], 0
je 0x140008b4d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov rdx, qword [rbp + 0x30]
cmp rdx, 0xf
jbe 0x140008b8b
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008b86
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008b86
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000f7ac
mov qword [rbp + 0x28], rsi
mov qword [rbp + 0x30], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x18], 0
lea rcx, [rbp + 0x80]
call fcn.140009a00
nop
mov rax, qword [rbp + 0x38]
mov rbx, qword [rax + 0x30]
test rbx, rbx
je 0x140008bc7
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov rbx, qword [rbx + 0x20]
test rbx, rbx
jne 0x140008bb5
mov eax, 0xffffffff
lock xadd dword [0x14001b650], eax
cmp eax, 1
jne 0x140008bdf
call qword [sym.imp.WS2_32.dll_WSACleanup]
lea rcx, [rbp + 0x38]
call fcn.1400036f0
nop
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.14000f490
lea r11, [rsp + 0x230]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
mov dword [rbp + 0x58], esi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
lea rcx, [rbp + 0x60]
call fcn.1400075e0
lea rcx, [rbp + 0x60]
call fcn.14000a130
int3
lea rcx, [rbp + 0x60]
call fcn.1400075e0
lea rcx, [rbp + 0x60]
call fcn.14000a130
int3