Function at 0x140001290
Capabilities:
Execute command

Disassembly:
push rbp
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov rax, qword [0x140007010]
xor rax, rsp
mov qword [rbp + 0x40], rax
lea rdx, str.Enter_a_message_to_send_to_server:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400017f0
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
movdqa xmm1, xmmword [0x1400046a0]
movdqu xmmword [rsp + 0x70], xmm1
mov byte [rsp + 0x60], 0
lea rdx, [rsp + 0x60]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.1400019c0
lea rcx, [rbp - 0x80]
call qword [sym.imp.sfml_network_2.dll_public:_void___cdecl_sf::TcpSocket::constructor_void____ptr64]
nop
lea rdx, str.93.180.133.217
lea rcx, [rsp + 0x38]
call qword [sym.imp.sfml_network_2.dll_public:_void___cdecl_sf::IpAddress::constructor_char_const____ptr64____ptr64]
mov r8d, 0xd3f4
mov r9, qword [sym.imp.sfml_system_2.dll_class_sf::Time_const_sf::Time::Zero]
mov r9, qword [r9]
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x80]
call qword [sym.imp.sfml_network_2.dll_public:_enum_sf::Socket::Status___cdecl_sf::TcpSocket::connect_class_sf::IpAddress_const____ptr64__unsigned_short_int__class_sf::Time____ptr64]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
test eax, eax
je 0x140001360
lea rdx, str.Couldnt_connect_to_server_
call fcn.1400017f0
mov rcx, rax
lea rdx, [0x140001ba0]
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]
lea rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
jmp 0x140001617
lea rdx, str.Connected_to_server_
call fcn.1400017f0
mov rcx, rax
lea rdx, [0x140001ba0]
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]
lea rcx, [rbp + 8]
call qword [sym.imp.sfml_network_2.dll_public:_void___cdecl_sf::Packet::constructor_void____ptr64]
nop
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 8]
call qword [sym.imp.sfml_network_2.dll_public:_class_sf::Packet____ptr64___cdecl_sf::Packet::operator___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64____ptr64]
lea rdx, [rbp + 8]
lea rcx, [rbp - 0x80]
call qword [sym.imp.sfml_network_2.dll_public:_enum_sf::Socket::Status___cdecl_sf::TcpSocket::send_class_sf::Packet____ptr64____ptr64]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
test eax, eax
je 0x1400013d0
lea rdx, str.Error_sending_the_messsage_to_server_
call fcn.1400017f0
mov rcx, rax
lea rdx, [0x140001ba0]
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]
jmp 0x1400015fe
lea rdx, str.The_messsage_is_sent_to_server__Waiting_response_
call fcn.1400017f0
mov rcx, rax
lea rdx, [0x140001ba0]
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]
lea rcx, [rsp + 0x30]
call qword [sym.imp.sfml_network_2.dll_public:_void___cdecl_sf::SocketSelector::constructor_void____ptr64]
nop
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x30]
call qword [sym.imp.sfml_network_2.dll_public:_void___cdecl_sf::SocketSelector::add_class_sf::Socket____ptr64____ptr64]
lea rcx, [rsp + 0x38]
call qword [sym.imp.sfml_system_2.dll_public:_void___cdecl_sf::Clock::constructor_void____ptr64]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x38]
call qword [sym.imp.sfml_system_2.dll_public:_class_sf::Time___cdecl_sf::Clock::getElapsedTime_void____ptr64]
mov rcx, rax
call qword [sym.imp.sfml_system_2.dll_public:_int___cdecl_sf::Time::asMilliseconds_void_const___ptr64]
cmp eax, 0x3e8
ja 0x1400015cf
mov edx, 0x63
lea rcx, [rsp + 0x28]
call qword [sym.imp.sfml_system_2.dll_class_sf::Time___cdecl_sf::milliseconds_int_]
mov rdx, qword [rax]
lea rcx, [rsp + 0x30]
call qword [sym.imp.sfml_network_2.dll_public:_bool___cdecl_sf::SocketSelector::wait_class_sf::Time____ptr64]
test al, al
je 0x140001412
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x30]
call qword [sym.imp.sfml_network_2.dll_public:_bool___cdecl_sf::SocketSelector::isReady_class_sf::Socket____ptr64_const___ptr64]
test al, al
je 0x140001412
lea rcx, [rbp - 0x30]
call qword [sym.imp.sfml_network_2.dll_public:_void___cdecl_sf::Packet::constructor_void____ptr64]
nop
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x80]
call qword [sym.imp.sfml_network_2.dll_public:_enum_sf::Socket::Status___cdecl_sf::TcpSocket::receive_class_sf::Packet____ptr64____ptr64]
test eax, eax
je 0x1400014bd
lea rdx, str.Error_receiving_the_messsage_from_server_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400017f0
mov rcx, rax
lea rdx, [0x140001ba0]
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]
lea rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
jmp 0x1400015b7
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], 0
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x30]
call qword [sym.imp.sfml_network_2.dll_public:_class_sf::Packet____ptr64___cdecl_sf::Packet::operator___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______ptr64____ptr64]
mov rcx, rax
call qword [sym.imp.sfml_network_2.dll_public:_bool_____thiscall_sf::Packet::__unsigned_long_long_unsigned___int64_____cdecl_sf::Packet::operator_bool_____thiscall_sf::Packet::__unsigned_long_long_unsigned___int64___void_const___ptr64]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
test rax, rax
je 0x140001536
lea rdx, str.Response_received_from_the_server:_
call fcn.1400017f0
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x50]
mov rcx, rax
call fcn.140001e00
lea rdx, [0x1400045dc]
mov rcx, rax
jmp 0x14000153d
lea rdx, str.Response_received_from_the_server_but_it_has_an_unkown_type_
call fcn.1400017f0
lea rdx, [0x140001ba0]
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]
lea rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x1400015a0
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000159b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000159b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000207c
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], 0
lea rcx, [rbp - 0x30]
call qword [sym.imp.sfml_network_2.dll_public_virtual:_void___cdecl_sf::Packet::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.sfml_network_2.dll_public:_void___cdecl_sf::SocketSelector::destructor_void____ptr64]
jmp 0x14000160c
lea rdx, str.The_response_from_the_server_didnt_received__Timedout_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400017f0
mov rcx, rax
lea rdx, [0x140001ba0]
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]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.sfml_network_2.dll_public:_void___cdecl_sf::SocketSelector::destructor_void____ptr64]
lea rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
nop
lea rcx, [rbp + 8]
call qword [sym.imp.sfml_network_2.dll_public_virtual:_void___cdecl_sf::Packet::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x80]
call qword [sym.imp.sfml_network_2.dll_public_virtual:_void___cdecl_sf::TcpSocket::destructor_void____ptr64]
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x140001662
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000165d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000165d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000207c
mov eax, 0xffffffff
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.140002020
add rsp, 0x150
pop rbp
ret