Function at 0x140029ab8
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, 0xc8
movapd xmmword [rsp + 0xb0], xmm7
movapd xmmword [rsp + 0xa0], xmm6
mov rax, qword [rcx]
cmp byte [rax], 0
mov byte [rax], 0
je 0x140029d74
lea rdx, [0x1400a35ec]
lea rsi, [rsp + 0x40]
mov r8d, 0xb
mov rcx, rsi
call fcn.14005ad79
cmp qword [rsi], 0
je 0x140029cda
lea rax, [rsp + 0x40]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rsp + 0x90], xmm1
movaps xmmword [rsp + 0x80], xmm0
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x98]
mov qword [rsp + 0x78], rcx
xor r14d, r14d
xorpd xmm6, xmm6
cmp rax, qword [rsp + 0x78]
je 0x140029ce1
lea rdi, [rax + 0x20]
movzx esi, word [rax]
cmp si, 2
je 0x140029ce4
mov qword [rsp + 0x30], r14
mov r15d, dword [rax + 0x14]
mov r12d, dword [rax + 0x18]
movzx r13d, word [rax + 0x1c]
movzx ecx, word [rax + 0x12]
mov word [rsp + 0x70], cx
movups xmm0, xmmword [rax + 2]
movaps xmmword [rsp + 0x60], xmm0
call fcn.14005ac3e
test si, si
mov ebp, 0x17
mov eax, 2
cmove ebp, eax
mov dword [rsp + 0x28], 0x81
and 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 rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140029be5
test si, si
je 0x140029c49
rol r13w, 8
movupd xmm7, xmmword [rsp + 0x62]
mov r8d, 0x1c
mov ax, 0x17
jmp 0x140029c6c
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x2739
je 0x140029c00
mov r14d, eax
cmp eax, 0x2726
jne 0x140029cc6
mov dword [rsp + 0x28], 1
and 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 0x140029cd0
mov rbx, rax
mov rcx, rax
mov edx, 1
xor r8d, r8d
call qword [sym.imp.kernel32.dll_SetHandleInformation]
test eax, eax
jne 0x140029bc6
call fcn.140028fb0
jmp 0x140029ca8
movzx r13d, word [rsp + 0x64]
rol r13w, 8
mov r15d, dword [rsp + 0x60]
movsd xmm7, xmm6
mov r8d, 0x10
mov ax, 2
mov r12d, dword [rsp + 0x3c]
mov word [rsp + 0x40], ax
mov word [rsp + 0x42], r13w
mov dword [rsp + 0x44], r15d
movupd xmmword [rsp + 0x48], xmm7
mov dword [rsp + 0x3c], r12d
mov dword [rsp + 0x58], r12d
mov rcx, rbx
lea rdx, [rsp + 0x40]
call qword [sym.imp.ws2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x140029d2c
call fcn.140057aaa
mov r14, rax
mov rcx, rbx
call qword [sym.imp.ws2_32.dll_closesocket]
mov rcx, qword [rsp + 0x30]
call fcn.140003f7a
mov rax, rdi
jmp 0x140029b48
shl r14, 0x20
or r14, 2
jmp 0x140029cb4
call fcn.140057aaa
mov r14, rax
jmp 0x140029cb4
mov rcx, qword [rsp + 0x48]
jmp 0x140029d03
mov rdi, rax
lea rcx, [rsp + 0x80]
mov qword [rcx + 0x10], rdi
call fcn.140028a84
test r14, r14
lea rcx, str.could_not_resolve_to_any_addresses
cmovne rcx, r14
call fcn.1400038a6
movaps xmm6, xmmword [rsp + 0xa0]
movaps xmm7, xmmword [rsp + 0xb0]
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [rsp + 0x80]
mov qword [rcx + 0x10], rdi
call fcn.140028a84
mov rcx, qword [rsp + 0x30]
call fcn.140003f7a
mov rcx, rbx
movaps xmm6, xmmword [rsp + 0xa0]
movaps xmm7, xmmword [rsp + 0xb0]
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp qword [sym.imp.ws2_32.dll_closesocket]
ud2