Function at 0x1402896f8
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, 0xd0
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x14042f068]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov esi, 0x10
mov rdi, r9
mov dword [rbp - 0x69], esi
lea r13d, [rsi - 0xf]
lea r14d, [rsi - 0xe]
mov edx, r13d
mov ecx, r14d
lea r8d, [rsi - 0xa]
call qword [sym.imp.ws2_32.dll_socket]
or r12, 0xffffffffffffffff
mov rbx, rax
cmp rax, r12
je 0x140289996
mov r8d, esi
lea rcx, [rbp - 0x29]
xor edx, edx
call fcn.1402b0760
mov ecx, 0x7f000001
mov word [rbp - 0x29], r14w
call qword [sym.imp.ws2_32.dll_htonl]
xor r15d, r15d
mov qword [rdi + 8], r12
lea r9, [rbp - 0x65]
mov dword [rbp - 0x25], eax
mov edx, 0xffff
mov word [rbp - 0x27], r15w
lea r8d, [rsi - 0x15]
mov qword [rdi], r12
mov rcx, rbx
mov dword [rbp - 0x65], r13d
mov dword [rsp + 0x20], 4
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, r12d
je 0x14028997a
mov r8d, esi
lea rdx, [rbp - 0x29]
mov rcx, rbx
call qword [sym.imp.ws2_32.dll_bind]
cmp eax, r12d
je 0x14028997a
lea r8, [rbp - 0x69]
mov rcx, rbx
lea rdx, [rbp - 0x29]
call qword [sym.imp.ws2_32.dll_getsockname]
cmp eax, r12d
je 0x14028997a
cmp dword [rbp - 0x69], esi
jl 0x14028997a
mov edx, r13d
mov rcx, rbx
call qword [sym.imp.ws2_32.dll_listen]
cmp eax, r12d
je 0x14028997a
xor r8d, r8d
mov edx, r13d
mov ecx, r14d
call qword [sym.imp.ws2_32.dll_socket]
mov qword [rdi], rax
cmp rax, r12
je 0x14028997a
mov r8d, esi
lea rdx, [rbp - 0x29]
mov rcx, rax
call qword [sym.imp.ws2_32.dll_connect]
cmp eax, r12d
je 0x14028997a
mov edx, r13d
mov rcx, rbx
call fcn.14029b288
test eax, eax
js 0x14028997a
mov r8d, 0x3e8
mov qword [rbp - 0x19], rbx
mov edx, r13d
mov dword [rbp - 0x11], 0x300
lea rcx, [rbp - 0x19]
call fcn.14027cbc8
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 0x14028997a
lea rcx, [rbp - 0x59]
call fcn.14026a098
lea rdx, [rbp - 9]
xor ecx, ecx
lea rsi, [rbp + 7]
movups xmm6, xmmword [rax]
lea eax, [r13 + 8]
mov r8d, eax
mov r14d, eax
call fcn.14028a054
test eax, eax
jne 0x14028997a
mov rcx, qword [rdi]
lea rdx, [rbp - 9]
xor r9d, r9d
mov r8d, r14d
call qword [sym.imp.ws2_32.dll_send]
mov rax, qword [rdi + 8]
lea rcx, [rbp - 0x19]
mov r8d, 0x3e8
mov qword [rbp - 0x19], rax
mov edx, r13d
mov dword [rbp - 0x11], 0x300
call fcn.14027cbc8
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 0x140289949
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
lea rcx, [rbp - 0x39]
movdqa xmmword [rbp - 0x49], xmm6
mov r15d, eax
call fcn.14026a098
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x59]
movups xmm0, xmmword [rax]
movdqu xmmword [rbp - 0x59], xmm0
call fcn.14026a110
cmp rax, 0xea60
jg 0x14028997a
cmp r15d, 0x2733
jne 0x14028997a
xor r15d, r15d
jmp 0x1402898cb
sub r14, rcx
je 0x140289956
add rsi, rcx
jmp 0x1402898cb
mov r8d, 9
lea rdx, [rbp + 7]
lea rcx, [rbp - 9]
call fcn.1402b0b00
test eax, eax
jne 0x14028997a
mov rcx, rbx
call qword [sym.imp.ws2_32.dll_closesocket]
xor eax, eax
jmp 0x140289999
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 + 0x17]
xor rcx, rsp
call fcn.1402af300
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret