Function at 0x1400016d0
Capabilities:
Convert ip address from string
Create udp socket
Initialize winsock library
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push rbp
sub rsp, 0x5f0
lea rbp, [rsp + 0x80]
call sym.__main
lea rax, [rbp + 0x3d0]
mov rdx, rax
mov ecx, 0x202
mov rax, qword [sym.imp.WS2_32.dll_WSAStartup]
call rax
test eax, eax
je 0x140001725
mov rax, qword [sym.imp.WS2_32.dll_WSAGetLastError]
call rax
mov edx, eax
lea rax, str.WSAStartup_hata_kodu:__d_n
mov rcx, rax
call sym.printf
mov eax, 1
jmp 0x14000197d
mov r8d, 0
mov edx, 2
mov ecx, 2
mov rax, qword [sym.imp.WS2_32.dll_socket]
call rax
mov dword [rbp + 0x56c], eax
cmp dword [rbp + 0x56c], 0
jns 0x14000176f
lea rax, str.Socket_oluturulamad
mov rcx, rax
call sym.perror
mov rax, qword [sym.imp.WS2_32.dll_WSACleanup]
call rax
mov eax, 1
jmp 0x14000197d
lea rax, [rbp + 0x3c0]
mov r8d, 0x10
mov edx, 0
mov rcx, rax
call sym.memset
mov word [rbp + 0x3c0], 2
mov ecx, 0x17
mov rax, qword [sym.imp.WS2_32.dll_htons]
call rax
mov word [rbp + 0x3c2], ax
lea rax, [rbp + 0x3c0]
add rax, 4
mov r8, rax
lea rax, str.127.0.0.1
mov rdx, rax
mov ecx, 2
mov rax, qword [sym.imp.WS2_32.dll_inet_pton]
call rax
test eax, eax
jg 0x140001807
lea rax, str.Geersiz_adres_Adres_desteklenmiyor
mov rcx, rax
call sym.perror
mov eax, dword [rbp + 0x56c]
cdqe
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_closesocket]
call rax
mov rax, qword [sym.imp.WS2_32.dll_WSACleanup]
call rax
mov eax, 1
jmp 0x14000197d
lea rax, str.Gndermek_istediiniz_mesaj_girin:
mov rcx, rax
call sym.printf
mov ecx, 0
mov rax, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
call rax
mov rdx, rax
lea rax, [rbp - 0x40]
mov r8, rdx
mov edx, 0x400
mov rcx, rax
call sym.fgets
lea rax, [rbp - 0x40]
mov rcx, rax
call sym.strlen
mov r8d, eax
mov eax, dword [rbp + 0x56c]
cdqe
lea rdx, [rbp - 0x40]
mov dword [rsp + 0x28], 0x10
lea rcx, [rbp + 0x3c0]
mov qword [rsp + 0x20], rcx
mov r9d, 0
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_sendto]
call rax
test eax, eax
jns 0x1400018b6
lea rax, str.Mesaj_gnderilemedi
mov rcx, rax
call sym.perror
mov eax, dword [rbp + 0x56c]
cdqe
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_closesocket]
call rax
mov rax, qword [sym.imp.WS2_32.dll_WSACleanup]
call rax
mov eax, 1
jmp 0x14000197d
mov dword [rbp - 0x44], 0x10
mov eax, dword [rbp + 0x56c]
cdqe
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x44]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x3c0]
mov qword [rsp + 0x20], rcx
mov r9d, 0
mov r8d, 0x400
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_recvfrom]
call rax
mov dword [rbp + 0x568], eax
cmp dword [rbp + 0x568], 0
jns 0x140001938
lea rax, str.Yant_alnamad
mov rcx, rax
call sym.perror
mov eax, dword [rbp + 0x56c]
cdqe
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_closesocket]
call rax
mov rax, qword [sym.imp.WS2_32.dll_WSACleanup]
call rax
mov eax, 1
jmp 0x14000197d
mov eax, dword [rbp + 0x568]
cdqe
mov byte [rbp + rax - 0x40], 0
lea rax, [rbp - 0x40]
mov rdx, rax
lea rax, str.Serverdan_gelen:__s_n
mov rcx, rax
call sym.printf
mov eax, dword [rbp + 0x56c]
cdqe
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_closesocket]
call rax
mov rax, qword [sym.imp.WS2_32.dll_WSACleanup]
call rax
mov eax, 0
add rsp, 0x5f0
pop rbp
ret