Function at 0x14002e0a3
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x98
mov rsi, rcx
lea rdx, [0x1400b1564]
lea rdi, [rsp + 0x50]
mov r8d, 0xb
mov rcx, rdi
call fcn.140066ae0
mov rax, qword [rdi]
test rax, rax
je 0x14002e2c2
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rsi
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov rbx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x90], rax
cmp rbx, rax
je 0x14002e2d4
xor r14d, r14d
movzx esi, word [rbx]
cmp si, 2
je 0x14002e2d9
mov edi, dword [rbx + 0x14]
mov r13d, dword [rbx + 0x18]
movzx r15d, word [rbx + 0x1c]
movzx eax, word [rbx + 0x12]
mov word [rsp + 0x80], ax
movups xmm0, xmmword [rbx + 2]
movaps xmmword [rsp + 0x70], xmm0
mov rax, qword [0x1400f5ae8]
cmp rax, 3
jne 0x14002e2b0
mov ebp, 2
test si, si
je 0x14002e15f
mov ebp, 0x17
mov dword [rsp + 0x28], 0x81
mov dword [rsp + 0x20], 0
mov ecx, ebp
mov edx, 2
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_WSASocketW]
mov r12, rax
cmp rax, 0xffffffffffffffff
je 0x14002e1a8
test si, si
je 0x14002e21b
mov r8d, 0x1c
mov ax, 0x17
movups xmm0, xmmword [rsp + 0x72]
jmp 0x14002e232
mov dword [rsp + 0x34], r13d
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x2739
je 0x14002e1c8
mov r13d, eax
cmp eax, 0x2726
jne 0x14002e279
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 0
mov ecx, ebp
mov edx, 2
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_WSASocketW]
cmp rax, 0xffffffffffffffff
je 0x14002e2a5
mov r12, rax
mov rcx, rax
mov edx, 1
xor r8d, r8d
call qword [sym.imp.kernel32.dll_SetHandleInformation]
test eax, eax
je 0x14002e2ba
mov r13d, dword [rsp + 0x34]
jmp 0x14002e18b
movzx r15d, word [rsp + 0x74]
mov edi, dword [rsp + 0x70]
mov r8d, 0x10
mov ax, 2
xorps xmm0, xmm0
rol r15w, 8
mov word [rsp + 0x50], ax
mov word [rsp + 0x52], r15w
mov dword [rsp + 0x54], edi
movups xmmword [rsp + 0x58], xmm0
mov dword [rsp + 0x68], r13d
mov rcx, r12
lea rdx, [rsp + 0x50]
call qword [sym.imp.ws2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x14002e31d
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov r13d, eax
mov rcx, r12
call qword [sym.imp.ws2_32.dll_closesocket]
test r14, r14
je 0x14002e286
mov rcx, r14
call fcn.1400621a6
shl r13, 0x20
or r13, 2
add rbx, 0x20
mov r14, r13
cmp rbx, qword [rsp + 0x90]
jne 0x14002e111
jmp 0x14002e2dc
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov r13d, eax
jmp 0x14002e279
call fcn.1400aa3e8
jmp 0x14002e150
call qword [sym.imp.kernel32.dll_GetLastError]
jmp 0x14002e26d
mov rax, qword [rsp + 0x58]
mov qword [rsi + 8], rax
mov qword [rsi], 1
jmp 0x14002e309
xor r13d, r13d
jmp 0x14002e2dc
mov r13, r14
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x38]
call fcn.140068c99
test r13, r13
lea rax, str.could_not_resolve_to_any_addresses
cmovne rax, r13
mov rcx, qword [rsp + 0x48]
mov qword [rcx + 8], rax
mov qword [rcx], 1
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [rsp + 0x48]
mov qword [rax + 8], r12
mov qword [rax], 0
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x38]
call fcn.140068c99
test r14, r14
je 0x14002e309
mov rcx, r14
call fcn.1400621a6
jmp 0x14002e309