Function at 0x1400b7fe9
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, 0xa8
mov rax, qword [rcx]
cmp byte [rax], 0
mov byte [rax], 0
je 0x1400b826a
lea rdx, str.127.0.0.1:34254
lea rsi, [rsp + 0x40]
mov r8d, 0xf
mov rcx, rsi
call fcn.1400c4b40
cmp qword [rsi], 0
je 0x1400b8217
lea rax, [rsp + 0x40]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rsp + 0x90], xmm1
movaps xmmword [rsp + 0x80], xmm0
mov rdi, qword [rsp + 0x90]
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x78], rax
xor r14d, r14d
cmp rdi, qword [rsp + 0x78]
je 0x1400b81fa
mov rax, rdi
add rdi, 0x20
mov qword [rsp + 0x90], rdi
movzx esi, word [rax]
cmp si, 2
je 0x1400b81fa
mov r12d, dword [rax + 0x14]
mov r13d, dword [rax + 0x18]
movzx r15d, word [rax + 0x1c]
movzx eax, word [rdi - 0xe]
mov word [rsp + 0x70], ax
movups xmm0, xmmword [rdi - 0x1e]
movaps xmmword [rsp + 0x60], xmm0
mov rax, qword [0x1401dd2b0]
cmp rax, 3
jne 0x1400b81f0
mov qword [rsp + 0x38], r14
mov ebp, 2
test si, si
je 0x1400b80ce
mov ebp, 0x17
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 0x1400b810d
test si, si
je 0x1400b8172
mov r8d, 0x1c
mov ax, 0x17
movups xmm0, xmmword [rsp + 0x62]
jmp 0x1400b818a
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x2739
je 0x1400b8128
mov r14d, eax
cmp eax, 0x2726
jne 0x1400b81ce
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 0x1400b81e5
mov rbx, rax
mov rcx, rax
mov edx, 1
xor r8d, r8d
call qword [sym.imp.kernel32.dll_SetHandleInformation]
test eax, eax
jne 0x1400b80f7
call qword [sym.imp.kernel32.dll_GetLastError]
jmp 0x1400b81c2
movzx r15d, word [rsp + 0x64]
mov r12d, dword [rsp + 0x60]
xorps xmm0, xmm0
mov r8d, 0x10
mov ax, 2
rol r15w, 8
mov word [rsp + 0x40], ax
mov word [rsp + 0x42], r15w
mov dword [rsp + 0x44], r12d
movups xmmword [rsp + 0x48], xmm0
mov dword [rsp + 0x58], r13d
mov rcx, rbx
lea rdx, [rsp + 0x40]
call qword [sym.imp.ws2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x1400b8236
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov r14d, eax
mov rcx, rbx
call qword [sym.imp.ws2_32.dll_closesocket]
shl r14, 0x20
or r14, 2
mov rcx, qword [rsp + 0x38]
call fcn.1400b7fc5
jmp 0x1400b8063
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov r14d, eax
jmp 0x1400b81ce
call fcn.1400f4170
jmp 0x1400b80ba
lea rcx, [rsp + 0x80]
call fcn.1400b7faa
test r14, r14
lea rcx, [0x1401a81c0]
cmovne rcx, r14
jmp 0x1400b821c
mov rcx, qword [rsp + 0x48]
call fcn.14004cac5
nop
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [rsp + 0x80]
call fcn.1400b7faa
mov rcx, qword [rsp + 0x38]
call fcn.1400b7fc5
mov rcx, rbx
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp qword [sym.imp.ws2_32.dll_closesocket]
lea rcx, str.called__Option::unwrap____on_a__None__value
lea r8, str._rustc_8ede3aae28fe6e4d52b38157d7bfe0d3bceef225library_std_src_synconce.rs
mov edx, 0x2b
call fcn.1400f0410
ud2