Function at 0x140011e48
Capabilities:
Initialize winsock library
Receive data
Receive data on socket
Send data
Send data on socket
Set socket configuration

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x258]
sub rsp, 0x350
mov rax, qword [0x1402809a0]
xor rax, rsp
mov qword [rbp + 0x240], rax
mov ecx, 0x202
lea rdx, [rbp - 0x70]
call qword [sym.imp.WS2_32.dll_WSAStartup]
xor ebx, ebx
test eax, eax
jne 0x140012126
movzx eax, word [rbp - 0x70]
lea esi, [rbx + 2]
cmp al, sil
jne 0x140012120
shr ax, 8
cmp al, sil
jne 0x140012120
xor r8d, r8d
mov edx, esi
mov ecx, esi
call qword [sym.imp.WS2_32.dll_socket]
lea r14d, [rbx + 4]
mov dword [rsp + 0x40], 1
mov rcx, rax
mov dword [rsp + 0x20], r14d
lea r9, [rsp + 0x40]
mov edx, 0xffff
lea r8d, [rbx + 0x20]
mov rdi, rax
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jns 0x140011ef5
or eax, 0xffffffff
jmp 0x140012128
lea r9, [rsp + 0x44]
mov dword [rsp + 0x44], 0x3e8
mov edx, 0xffff
mov dword [rsp + 0x20], r14d
mov r8d, 0x1006
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
js 0x140011eed
xor ecx, ecx
mov word [rsp + 0x50], si
call qword [sym.imp.WS2_32.dll_htons]
mov r14d, 0xff
mov dword [rsp + 0x54], ebx
mov r8d, r14d
mov word [rsp + 0x52], ax
xor edx, edx
lea rcx, [rbp + 0x140]
call fcn.14019ab40
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_bind]
test eax, eax
js 0x140011eed
mov ecx, 0xfc8
mov word [rsp + 0x60], si
call qword [sym.imp.WS2_32.dll_htons]
lea rcx, str.255.255.255.255
mov word [rsp + 0x62], ax
call qword [sym.imp.WS2_32.dll_inet_addr]
lea rcx, str.GET_n
mov dword [rsp + 0x64], eax
call fcn.14019d0a0
mov r8, rax
mov dword [rsp + 0x28], reloc.WS2_32.dll_recv
lea rax, [rsp + 0x60]
xor r9d, r9d
lea rdx, str.GET_n
mov qword [rsp + 0x20], rax
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_sendto]
test eax, eax
js 0x140011eed
mov r8d, r14d
mov dword [rsp + 0x48], reloc.WS2_32.dll_recv
xor edx, edx
lea rcx, [rbp + 0x140]
call fcn.14019ab40
lea rax, [rsp + 0x48]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rdx, [rbp + 0x140]
lea rax, [rsp + 0x30]
mov r8d, r14d
mov rcx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_recvfrom]
test eax, eax
jns 0x14001201b
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
jmp 0x140011eed
lea rdx, [0x1401d7e9c]
lea rcx, [rbp + 0x140]
call fcn.14019b698
lea rcx, [rbp + 0x140]
sub eax, ecx
test eax, eax
jle 0x14001210c
xor ecx, ecx
movsxd r8, eax
mov qword [rbp + 0x131], rcx
lea rdx, [rbp + 0x140]
mov byte [rbp + 0x139], cl
lea rcx, [rbp + 0x130]
mov byte [rbp + 0x130], bl
call fcn.14019a6f0
lea rdx, str.POST
lea rcx, [rbp + 0x130]
call fcn.1401a1460
test eax, eax
jne 0x14001210c
mov ecx, dword [rsp + 0x34]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov qword [rbp - 0x78], reloc.WS2_32.dll_ntohs
mov rsi, rax
mov qword [rbp - 0x80], rbx
mov byte [rsp + 0x70], bl
cmp byte [rax], bl
je 0x1400120b1
mov rcx, rax
call fcn.14019d0a0
mov rbx, rax
mov r8, rbx
lea rcx, [rsp + 0x70]
mov rdx, rsi
call fcn.140006714
movzx ecx, word [rsp + 0x32]
call qword [sym.imp.WS2_32.dll_ntohs]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
cmp qword [rbp - 0x78], 0x10
lea r8, [rsp + 0x70]
mov rdx, r14
lea rcx, [rbp + 0x140]
cmovae r8, qword [rsp + 0x70]
call fcn.1401a27a0
xor r8d, r8d
lea rcx, [rsp + 0x70]
mov dl, 1
call fcn.140005fcc
lea rax, [rbp + 0x140]
jmp 0x140012128
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
jmp 0x140011eed
call qword [sym.imp.WS2_32.dll_WSACleanup]
xor eax, eax
mov rcx, qword [rbp + 0x240]
xor rcx, rsp
call fcn.140194eb0
lea r11, [rsp + 0x350]
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