Function at 0x18000e370
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Initialize winsock library
Receive data
Receive data on socket
Send data
Send data on socket
Terminate process

Disassembly:
push rbp
push rdi
sub rsp, 0xa78
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x1d6
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x18021f400]
xor rax, rbp
mov qword [rbp + 0xa40], rax
lea rcx, [0x18023820a]
call fcn.180140630
lea rdx, [rbp + 0x10]
mov cx, 0x202
call sub.WS2_32.dll_WSAStartup
mov dword [rbp + 0x1c4], eax
cmp dword [rbp + 0x1c4], 0
je 0x18000e419
lea rdx, str.Winsock_ba
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.180007560
mov qword [rbp + 0xa28], rax
mov edx, dword [rbp + 0x1c4]
mov rcx, qword [rbp + 0xa28]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
mov qword [rbp + 0xa30], rax
lea rdx, [0x18000a510]
mov rcx, qword [rbp + 0xa30]
call qword [sym.imp.MSVCP140D.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]
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll_exit]
lea rax, str.45.141.150.207
mov qword [rbp + 0x1e8], rax
mov dword [rbp + 0x204], 0xa5e3
mov r8d, 6
mov edx, 1
mov ecx, 2
call sub.WS2_32.dll_socket
mov qword [rbp + 0x228], rax
cmp qword [rbp + 0x228], 0xffffffffffffffff
jne 0x18000e4b7
lea rdx, str.Soket_olu
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.180007560
mov qword [rbp + 0xa28], rax
call sub.WS2_32.dll_WSAGetLastError
mov dword [rbp + 0xa30], eax
mov edx, dword [rbp + 0xa30]
mov rcx, qword [rbp + 0xa28]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
mov qword [rbp + 0xa38], rax
lea rdx, [0x18000a510]
mov rcx, qword [rbp + 0xa38]
call qword [sym.imp.MSVCP140D.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]
call sub.WS2_32.dll_WSACleanup
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll_exit]
mov eax, 2
mov word [rbp + 0x248], ax
mov rcx, qword [rbp + 0x1e8]
call sub.WS2_32.dll_inet_addr
mov dword [rbp + 0x24c], eax
mov cx, 0xa5e3
call sub.WS2_32.dll_htons
mov word [rbp + 0x24a], ax
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rbp + 0x248]
mov rcx, qword [rbp + 0x228]
call sub.WS2_32.dll_connect
mov dword [rbp + 0x274], eax
cmp dword [rbp + 0x274], 0xffffffff
jne 0x18000e579
lea rdx, str.Sunucuya_ba
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.180007560
mov qword [rbp + 0xa28], rax
call sub.WS2_32.dll_WSAGetLastError
mov dword [rbp + 0xa30], eax
mov edx, dword [rbp + 0xa30]
mov rcx, qword [rbp + 0xa28]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
mov qword [rbp + 0xa38], rax
lea rdx, [0x18000a510]
mov rcx, qword [rbp + 0xa38]
call qword [sym.imp.MSVCP140D.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]
mov rcx, qword [rbp + 0x228]
call sub.WS2_32.dll_closesocket
call sub.WS2_32.dll_WSACleanup
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll_exit]
lea rax, str.nkfjskrowo
mov qword [rbp + 0x298], rax
mov rcx, qword [rbp + 0x298]
call sub.ucrtbased.dll_strlen
xor r9d, r9d
mov r8d, eax
mov rdx, qword [rbp + 0x298]
mov rcx, qword [rbp + 0x228]
call sub.WS2_32.dll_send
mov dword [rbp + 0x2b4], eax
cmp dword [rbp + 0x2b4], 0xffffffff
jne 0x18000e627
lea rdx, str.Mesaj_g
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.180007560
mov qword [rbp + 0xa28], rax
call sub.WS2_32.dll_WSAGetLastError
mov dword [rbp + 0xa30], eax
mov edx, dword [rbp + 0xa30]
mov rcx, qword [rbp + 0xa28]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
mov qword [rbp + 0xa38], rax
lea rdx, [0x18000a510]
mov rcx, qword [rbp + 0xa38]
call qword [sym.imp.MSVCP140D.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]
mov rcx, qword [rbp + 0x228]
call sub.WS2_32.dll_closesocket
call sub.WS2_32.dll_WSACleanup
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll_exit]
xor r9d, r9d
mov r8d, 0x400
lea rdx, [rbp + 0x2e0]
mov rcx, qword [rbp + 0x228]
call sub.WS2_32.dll_recv
mov dword [rbp + 0x6f4], eax
cmp dword [rbp + 0x6f4], 0
jle 0x18000e735
movsxd rax, dword [rbp + 0x6f4]
mov qword [rbp + 0xa18], rax
cmp qword [rbp + 0xa18], 0x400
jae 0x18000e673
jmp 0x18000e678
call fcn.1801410c0
mov rax, qword [rbp + 0xa18]
mov byte [rbp + rax + 0x2e0], 0
lea rdx, str.Sunucudan_gelen_cevap:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.180007560
lea rdx, [rbp + 0x2e0]
mov rcx, rax
call fcn.180007560
mov qword [rbp + 0xa28], rax
lea rdx, [0x18000a510]
mov rcx, qword [rbp + 0xa28]
call qword [sym.imp.MSVCP140D.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 rdx, str.dasgksdkhgkds
lea rcx, [rbp + 0x2e0]
call sub.ucrtbased.dll_strcmp
test eax, eax
je 0x18000e730
lea rdx, str.Beklenmeyen_bir_mesaj_al
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.180007560
mov qword [rbp + 0xa28], rax
lea rdx, [0x18000a510]
mov rcx, qword [rbp + 0xa28]
call qword [sym.imp.MSVCP140D.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]
mov rcx, qword [rbp + 0x228]
call sub.WS2_32.dll_closesocket
call sub.WS2_32.dll_WSACleanup
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll_exit]
mov dl, 1
lea rcx, [0x18021f9af]
call fcn.180012170
jmp 0x18000e7e5
cmp dword [rbp + 0x6f4], 0
jne 0x18000e77c
lea rdx, str.Sunucu_ba
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.180007560
mov qword [rbp + 0xa28], rax
lea rdx, [0x18000a510]
mov rcx, qword [rbp + 0xa28]
call qword [sym.imp.MSVCP140D.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]
mov dl, 1
lea rcx, [0x18021f9af]
call fcn.180012170
jmp 0x18000e7e5
lea rdx, str.Sunucudan_veri_al
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.180007560
mov qword [rbp + 0xa28], rax
call sub.WS2_32.dll_WSAGetLastError
mov dword [rbp + 0xa30], eax
mov edx, dword [rbp + 0xa30]
mov rcx, qword [rbp + 0xa28]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
mov qword [rbp + 0xa38], rax
lea rdx, [0x18000a510]
mov rcx, qword [rbp + 0xa38]
call qword [sym.imp.MSVCP140D.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]
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll_exit]
mov dl, 1
lea rcx, [0x18021f9af]
call fcn.180012170
mov rcx, qword [rbp + 0x228]
call sub.WS2_32.dll_closesocket
call sub.WS2_32.dll_WSACleanup
mov dl, 1
lea rcx, [0x18021f9af]
call fcn.180012170
mov al, 1
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, reloc.WS2_32.dll_closesocket
call fcn.180140400
mov rax, rdi
mov rcx, qword [rbp + 0xa40]
xor rcx, rbp
call fcn.180140880
lea rsp, [rbp + 0xa58]
pop rdi
pop rbp
ret