Function at 0x180072ad0
Capabilities:
Connect socket
Get local ipv4 addresses
Get socket information
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
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
mov rax, qword [0x180364978]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r13d, reloc.WS2_32.dll_recv
mov rdi, r9
mov dword [rbp - 0x59], r13d
lea r15d, [r13 - 0xf]
lea esi, [r13 - 0xe]
mov edx, r15d
mov ecx, esi
lea r8d, [r13 - 0xa]
call qword [sym.imp.WS2_32.dll_socket]
or r12, 0xffffffffffffffff
mov rbx, rax
cmp rax, r12
je 0x180072d5c
mov r8d, r13d
lea rcx, [rbp - 0x19]
xor edx, edx
call fcn.1800ade70
mov ecx, 0x7f000001
mov word [rbp - 0x19], si
call qword [sym.imp.WS2_32.dll_htonl]
xor r14d, r14d
mov qword [rdi + 8], r12
lea r9, [rbp - 0x55]
mov dword [rbp - 0x15], eax
mov edx, 0xffff
mov word [rbp - 0x17], r14w
lea r8d, [r13 - 0x15]
mov qword [rdi], r12
mov rcx, rbx
mov dword [rbp - 0x55], r15d
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, r12d
je 0x180072d40
mov r8d, r13d
lea rdx, [rbp - 0x19]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_bind]
cmp eax, r12d
je 0x180072d40
lea r8, [rbp - 0x59]
mov rcx, rbx
lea rdx, [rbp - 0x19]
call qword [sym.imp.WS2_32.dll_getsockname]
cmp eax, r12d
je 0x180072d40
cmp dword [rbp - 0x59], r13d
jl 0x180072d40
mov edx, r15d
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_listen]
cmp eax, r12d
je 0x180072d40
xor r8d, r8d
mov edx, r15d
mov ecx, esi
call qword [sym.imp.WS2_32.dll_socket]
mov qword [rdi], rax
cmp rax, r12
je 0x180072d40
mov r8d, r13d
lea rdx, [rbp - 0x19]
mov rcx, rax
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, r12d
je 0x180072d40
mov edx, r15d
mov rcx, rbx
call fcn.1800837e4
test eax, eax
js 0x180072d40
mov r8d, 0x3e8
mov qword [rbp + 0x17], rbx
mov edx, r15d
mov dword [rbp + 0x1f], 0x300
lea rcx, [rbp + 0x17]
call fcn.180071610
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_accept]
mov qword [rdi + 8], rax
cmp rax, r12
je 0x180072d40
lea rcx, [rbp - 0x49]
call fcn.1800591ac
mov rcx, qword [rdi]
lea rdx, [rbp - 9]
xor r9d, r9d
lea rsi, [rbp + 7]
mov r8d, r13d
mov r14d, r13d
movups xmm0, xmmword [rax]
movdqu xmmword [rbp - 9], xmm0
call qword [sym.imp.WS2_32.dll_send]
mov rax, qword [rdi + 8]
lea rcx, [rbp + 0x17]
mov r8d, 0x3e8
mov qword [rbp + 0x17], rax
mov edx, r15d
mov dword [rbp + 0x1f], 0x300
call fcn.180071610
mov rcx, qword [rdi + 8]
xor r9d, r9d
mov r8d, r14d
mov rdx, rsi
call qword [sym.imp.WS2_32.dll_recv]
movsxd rcx, eax
cmp rcx, r12
jne 0x180072d12
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
movaps xmm0, xmmword [rbp - 9]
lea rcx, [rbp - 0x29]
movdqa xmmword [rbp - 0x39], xmm0
mov r15d, eax
call fcn.1800591ac
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x49]
movups xmm0, xmmword [rax]
movdqu xmmword [rbp - 0x49], xmm0
call fcn.180059224
cmp rax, 0xea60
jg 0x180072d40
cmp r15d, 0x2733
jne 0x180072d40
mov r15d, 1
jmp 0x180072c8a
sub r14, rcx
je 0x180072d1f
add rsi, rcx
jmp 0x180072c8a
mov r8, r13
lea rdx, [rbp + 7]
lea rcx, [rbp - 9]
call fcn.1800af0b0
test eax, eax
jne 0x180072d40
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_closesocket]
xor eax, eax
jmp 0x180072d5f
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_closesocket]
mov rcx, qword [rdi]
call qword [sym.imp.WS2_32.dll_closesocket]
mov rcx, qword [rdi + 8]
call qword [sym.imp.WS2_32.dll_closesocket]
mov eax, r12d
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1800ac760
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret