Function at 0x140001080
Capabilities:
Create tcp socket
Initialize winsock library
Receive data
Receive data on socket
Resolve dns
Start tcp server

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x9a0]
sub rsp, 0xaa0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x990], rax
xor r15d, r15d
lea rdx, [rbp - 0x70]
mov ecx, 0x202
mov qword [rsp + 0x38], r15
call qword [sym.imp.WS2_32.dll_WSAStartup]
xorps xmm0, xmm0
mov dword [rsp + 0x6c], 6
xorps xmm1, xmm1
lea r9, [rsp + 0x38]
mov r14d, 1
lea r8, [rsp + 0x60]
mov esi, 2
mov dword [rsp + 0x68], r14d
lea rdx, str.27015
mov dword [rsp + 0x64], esi
xor ecx, ecx
mov dword [rsp + 0x60], r14d
movdqu xmmword [rsp + 0x70], xmm0
movdqu xmmword [rbp - 0x80], xmm1
call qword [sym.imp.WS2_32.dll_getaddrinfo]
mov rcx, qword [rsp + 0x38]
mov r8d, dword [rcx + 0xc]
mov edx, dword [rcx + 8]
mov ecx, dword [rcx + 4]
call qword [sym.imp.WS2_32.dll_socket]
mov rdx, qword [rsp + 0x38]
mov rcx, rax
mov rdi, rax
mov r8d, dword [rdx + 0x10]
mov rdx, qword [rdx + 0x20]
call qword [sym.imp.WS2_32.dll_bind]
mov edx, 0x7fffffff
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_listen]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_accept]
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.WS2_32.dll_closesocket]
mov eax, 4
mov dword [rsp + 0x28], 0x30000
mov word [rsp + 0x54], ax
lea r9, section..text
lea rax, [rsp + 0x40]
mov qword [rsp + 0x40], rbx
lea r8, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov edx, 0xffffffff
mov dword [rsp + 0x56], reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x48], 0x20001
mov dword [rsp + 0x4c], 0xac44
mov dword [rsp + 0x50], 0x2b110
call qword [sym.imp.WINMM.dll_waveOutOpen]
mov rcx, qword [rsp + 0x30]
lea rax, [rbp + 0x190]
lea r8d, [r15 + 0x30]
mov qword [rbp + 0x130], rax
lea rdx, [rbp + 0x130]
mov dword [rbp + 0x138], 0x400
mov dword [rbp + 0x148], r15d
mov dword [rbp + 0x14c], r14d
call qword [sym.imp.WINMM.dll_waveOutPrepareHeader]
mov rdx, qword [rbp + 0x130]
xor r9d, r9d
mov rcx, qword [rsp + 0x40]
mov r8d, 0x400
call qword [sym.imp.WS2_32.dll_recv]
mov rcx, qword [rsp + 0x30]
lea r8d, [r15 + 0x30]
lea rdx, [rbp + 0x130]
call qword [sym.imp.WINMM.dll_waveOutWrite]
lea rax, [rbp + 0x590]
mov dword [rbp + 0x168], 0x400
mov qword [rbp + 0x160], rax
mov dword [rbp + 0x178], r15d
mov dword [rbp + 0x17c], r14d
mov rcx, qword [rsp + 0x30]
lea r8d, [r15 + 0x30]
lea rdx, [rbp + 0x160]
call qword [sym.imp.WINMM.dll_waveOutPrepareHeader]
mov rdx, qword [rbp + 0x160]
xor r9d, r9d
mov rcx, qword [rsp + 0x40]
mov r8d, 0x400
call qword [sym.imp.WS2_32.dll_recv]
mov rcx, qword [rsp + 0x30]
lea r8d, [r15 + 0x30]
lea rdx, [rbp + 0x160]
call qword [sym.imp.WINMM.dll_waveOutWrite]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400013a0
mov rcx, rax
lea rdx, [0x140001550]
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]
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:_int___cdecl_std::basic_istream_char__struct_std::char_traits_char__::get_void____ptr64]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.WINMM.dll_waveOutClose]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
xor eax, eax
mov rcx, qword [rbp + 0x990]
xor rcx, rsp
call fcn.1400015a0
lea r11, [rsp + 0xaa0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret