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

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x20], 0xfffffffffffffffe
mov rax, qword [rcx]
cmp byte [rax], 0
mov byte [rax], 0
je 0x14001b322
lea rdx, str.127.0.0.1:0C:Usersdiddy.cargo_registry_srcindex.crates.io_6f17d22bba15001fmio_1.0.2_src_syswindowsmod.rs
lea rsi, [rbp - 0x10]
push 0xb
pop r8
mov rcx, rsi
call fcn.14002a4b0
cmp qword [rsi], 0
je 0x14001b2d5
lea rax, [rbp - 0x10]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rbp - 0x40], xmm1
movaps xmmword [rbp - 0x50], xmm0
xor r12d, r12d
mov rax, qword [rbp - 0x48]
cmp rax, qword [rbp - 0x38]
je 0x14001b2bc
lea rcx, [rax + 0x20]
mov qword [rbp - 0x48], rcx
movzx esi, word [rax]
cmp si, 2
je 0x14001b2bc
mov r14d, dword [rax + 0x14]
mov edi, dword [rax + 0x18]
movzx ebx, word [rax + 0x1c]
movzx ecx, word [rax + 0x12]
mov word [rbp - 0x20], cx
movups xmm0, xmmword [rax + 2]
movaps xmmword [rbp - 0x30], xmm0
mov rax, qword [0x14005d250]
cmp rax, 3
je 0x14001b19d
mov qword [rbp + 0x10], r12
call fcn.140041820
mov qword [rbp + 0x18], r12
push 2
pop r13
test si, si
je 0x14001b1ae
push 0x17
pop r13
mov dword [rsp + 0x28], 0x81
and dword [rsp + 0x20], 0
mov ecx, r13d
push 2
pop rdx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_WSASocketW]
mov r15, rax
cmp rax, 0xffffffffffffffff
je 0x14001b1e7
test si, si
je 0x14001b249
mov ax, 0x17
movups xmm0, xmmword [rbp - 0x2e]
push 0x1c
jmp 0x14001b25a
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x2739
je 0x14001b202
mov r12d, eax
cmp eax, 0x2726
jne 0x14001b297
mov dword [rsp + 0x28], 1
and dword [rsp + 0x20], 0
mov ecx, r13d
push 2
pop rdx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_WSASocketW]
cmp rax, 0xffffffffffffffff
je 0x14001b2b1
mov r15, rax
mov rcx, rax
push 1
pop rdx
xor r8d, r8d
call qword [sym.imp.kernel32.dll_SetHandleInformation]
test eax, eax
jne 0x14001b1d6
call qword [sym.imp.kernel32.dll_GetLastError]
jmp 0x14001b28b
movzx ebx, word [rbp - 0x2c]
mov r14d, dword [rbp - 0x30]
xorps xmm0, xmm0
mov ax, 2
push 0x10
pop r8
rol bx, 8
mov word [rbp - 0x10], ax
mov word [rbp - 0xe], bx
mov dword [rbp - 0xc], r14d
movups xmmword [rbp - 8], xmm0
mov dword [rbp + 8], edi
mov rcx, r15
lea rdx, [rbp - 0x10]
call qword [sym.imp.ws2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x14001b2f3
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov r12d, eax
mov rcx, r15
call qword [sym.imp.ws2_32.dll_closesocket]
shl r12, 0x20
or r12, 2
mov qword [rbp + 0x10], r12
mov rcx, qword [rbp + 0x18]
call fcn.140018dc0
jmp 0x14001b149
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov r12d, eax
jmp 0x14001b297
lea rcx, [rbp - 0x50]
call fcn.140023288
test r12, r12
lea rcx, str.could_not_resolve_to_any_addresses
cmovne rcx, r12
jmp 0x14001b2d9
mov rcx, qword [rbp - 8]
call fcn.1400184dd
nop
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea rcx, [rbp - 0x50]
call fcn.140023288
mov rcx, qword [rbp + 0x18]
call fcn.140018dc0
mov rcx, r15
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
jmp qword [sym.imp.ws2_32.dll_closesocket]
lea rcx, str._rustc_3f5fd8dd41153bc5fdca9427e9e05be2c767ba23library_std_src_synconce.rs
call fcn.1400405f0
int3