Function at 0x44abab
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, 0x108
mov rax, qword [rcx]
cmp byte [rax], 0
mov byte [rax], 0
je 0x44b3a1
lea rsi, str.127.0.0.1:34254capacity_overflow
lea rcx, [rsp + 0x30]
mov qword [rcx], rsi
mov qword [rcx + 8], 0xf
call fcn.00429bb0
mov rdi, rax
test dil, 1
je 0x44aca4
mov rcx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x38]
test r8, r8
je 0x44ac93
cmp byte [rcx], 0x3a
jne 0x44ac93
lea r9, [rcx + 1]
lea r10, [r8 - 1]
xor r11d, r11d
mov bx, 0xa
mov rdx, r10
mov r12, r9
xor eax, eax
mov r13d, 0
test rdx, rdx
je 0x44ac5b
lea r14, [r12 + 1]
lea r15, [rdx - 1]
movzx ebp, byte [r12]
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r15
add ebp, 0xffffffd0
xor r13d, r13d
cmp ebp, 0xa
setb r13b
jb 0x44ac6b
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], rdx
mov r15, rdx
mov r14, r12
cmp r13d, 1
jne 0x44acaa
mul bx
jo 0x44acb5
add ax, bp
setb dl
cmp ebp, 0xffff
ja 0x44acb5
test dl, dl
jne 0x44acb5
dec r11
mov rdx, r15
mov r12, r14
jmp 0x44ac29
xor edx, edx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], r8
test dx, dx
jne 0x44acc7
xor edi, edi
xor eax, eax
jmp 0x44aceb
test r11, r11
je 0x44acb5
mov dx, 1
jmp 0x44acc1
mov qword [rsp + 0x30], r9
mov qword [rsp + 0x38], r10
xor edx, edx
cmp dx, 1
jne 0x44ac95
movabs rcx, 0xffffffff00
and rdi, rcx
shr rdi, 8
movzx eax, ax
shl rax, 0x30
shl rdi, 0x10
or rdi, rax
mov eax, 1
movzx ecx, di
or rcx, rax
cmp rcx, 1
jne 0x44aff2
cmp qword [rsp + 0x38], 0
jne 0x44b009
mov rsi, rdi
shr rsi, 0x10
shr rdi, 0x18
xor ebp, ebp
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0xc0], eax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0xb8], rax
mov ecx, 0x20
mov edx, 4
call fcn.004242f0
test rax, rax
je 0x44b3bb
mov word [rax], bp
mov rcx, rdi
shl rcx, 8
movzx edx, sil
or rdx, rcx
shr rdi, 0x18
mov word [rax + 6], di
mov dword [rax + 2], edx
mov rcx, qword [rsp + 0xb8]
mov qword [rax + 8], rcx
mov ecx, dword [rsp + 0xc0]
mov dword [rax + 0x10], ecx
and dword [rax + 0x14], 0
mov dword [rax + 0x18], ebx
mov word [rax + 0x1c], r14w
mov rcx, rax
add rcx, 0x20
mov qword [rsp + 0x88], 1
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], rcx
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x98]
mov qword [rsp + 0x60], rdx
mov rdx, qword [rsp + 0xa0]
mov qword [rsp + 0x68], rdx
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rcx
mov r13, qword [rsp + 0x58]
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xe8], rax
xor r14d, r14d
cmp r13, qword [rsp + 0xe8]
je 0x44b1d6
mov rax, r13
add r13, 0x20
mov qword [rsp + 0x58], r13
movzx edi, word [rax]
cmp di, 2
je 0x44b1d6
mov qword [rsp + 0xb0], r14
mov r12d, dword [rax + 2]
movzx r15d, word [rax + 6]
mov ecx, dword [rax + 0x14]
mov dword [rsp + 0xac], ecx
mov r14d, dword [rax + 0x18]
movzx esi, word [rax + 0x1c]
mov eax, dword [r13 - 0x10]
mov dword [rsp + 0x90], eax
mov rax, qword [r13 - 0x18]
mov qword [rsp + 0x88], rax
mov rax, qword [0x004b4130]
cmp rax, 3
jne 0x44afe1
mov ebp, 2
test di, di
je 0x44ae77
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 sub.WS2_32.dll_WSASocketW
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x44aef1
shl r15, 0x20
or r12, r15
test di, di
je 0x44af64
shr r12, 0x10
mov dword [rsp + 0x30], r12d
mov eax, dword [rsp + 0x90]
lea rcx, [rsp + 0x34]
mov dword [rcx + 8], eax
mov rax, qword [rsp + 0x88]
rol si, 8
mov qword [rcx], rax
movaps xmm0, xmmword [rsp + 0x30]
mov r8d, 0x1c
mov ax, 0x17
mov ecx, dword [rsp + 0xac]
jmp 0x44af7f
mov dword [rsp + 0xa8], r14d
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2739
je 0x44af13
mov r14d, eax
cmp eax, 0x2726
jne 0x44afbd
mov dword [rsp + 0x28], 1
and dword [rsp + 0x20], 0
mov ecx, ebp
mov edx, 2
xor r8d, r8d
xor r9d, r9d
call sub.WS2_32.dll_WSASocketW
cmp rax, 0xffffffffffffffff
je 0x44afd7
mov rbx, rax
mov rcx, rax
mov edx, 1
xor r8d, r8d
call sub.KERNEL32.dll_SetHandleInformation
test eax, eax
je 0x44afeb
mov r14d, dword [rsp + 0xa8]
jmp 0x44ae9f
mov rsi, r12
shr rsi, 0x20
rol si, 8
xorps xmm0, xmm0
mov r8d, 0x10
mov ax, 2
mov ecx, r12d
mov word [rsp + 0x30], ax
mov word [rsp + 0x32], si
mov dword [rsp + 0x34], ecx
movups xmmword [rsp + 0x38], xmm0
mov dword [rsp + 0x48], r14d
mov rcx, rbx
lea rdx, [rsp + 0x30]
call sub.WS2_32.dll_bind
cmp eax, 0xffffffff
jne 0x44b1ff
call sub.WS2_32.dll_WSAGetLastError
mov r14d, eax
mov rcx, rbx
call fcn.0048e130
shl r14, 0x20
or r14, 2
mov rcx, qword [rsp + 0xb0]
call fcn.0044a91c
jmp 0x44adf6
call sub.WS2_32.dll_WSAGetLastError
mov r14d, eax
jmp 0x44afbd
call fcn.0046fbe0
jmp 0x44ae68
call sub.KERNEL32.dll_GetLastError
jmp 0x44afb2
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], 0xf
test rcx, rcx
je 0x44b0a8
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], 0xf
and qword [rsp + 0x60], 0
mov qword [rsp + 0x70], 1
movabs rax, 0x3a0000003a
mov qword [rsp + 0x78], rax
mov edi, 0xf
mov cl, 0x3a
mov rdx, rsi
mov r8, rdi
call fcn.0042cfb0
cmp rax, 1
jne 0x44b06e
mov rdi, rdx
cmp rdx, 0xf
jae 0x44b063
mov al, byte [rdi + rsi]
cmp al, byte [rsp + 0x78]
je 0x44b18e
mov qword [rsp + 0x68], rdi
cmp rdi, 0xf
jbe 0x44b03a
lea rax, str.invalid_socket_address
mov qword [rsp + 0x88], rax
and qword [rsp + 0xa0], 0
mov rcx, qword [rsp + 0x88]
call fcn.0044a926
nop
add rsp, 0x108
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x44b009
mov rcx, qword [rsp + 0x30]
dec rax
mov dl, byte [rcx]
inc rcx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rax
cmp dl, 0x5b
jne 0x44b009
lea rdi, [rsp + 0x50]
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.0042a1f0
cmp byte [rdi], 0
je 0x44b009
mov edi, dword [rsp + 0x51]
mov rax, qword [rsp + 0x55]
mov qword [rsp + 0xd8], rax
mov eax, dword [rsp + 0x5d]
mov dword [rsp + 0xe0], eax
mov r8, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
xor r12d, r12d
test rcx, rcx
je 0x44b26a
cmp byte [r8], 0x25
jne 0x44b290
lea r10, [r8 + 1]
lea r9, [rcx - 1]
xor r15d, r15d
mov ebp, 0xa
mov r11, r9
mov r14, r10
xor ebx, ebx
xor r12d, r12d
mov eax, 0
test r11, r11
je 0x44b16b
movzx r13d, byte [r14]
add r13d, 0xffffffd0
xor eax, eax
cmp r13d, 0xa
setb al
jae 0x44b16b
inc r14
dec r11
cmp eax, 1
jne 0x44b26c
mov eax, ebx
mul ebp
jo 0x44b282
mov ebx, eax
add ebx, r13d
jb 0x44b282
dec r15
jmp 0x44b148
lea rcx, [rdi + rsi]
inc rcx
mov edx, 0xe
sub rdx, rdi
call fcn.0042e690
test al, 1
jne 0x44b1f3
shr eax, 0x10
lea rdx, [rsp + 0x50]
mov qword [rdx], rsi
mov qword [rdx + 8], rdi
mov word [rdx + 0x10], ax
lea rsi, [rsp + 0x30]
mov rcx, rsi
call fcn.0046f520
cmp qword [rsi], 0
je 0x44b231
mov rax, qword [rsp + 0x38]
jmp 0x44b075
lea rcx, [rsp + 0x50]
call fcn.0044a90d
test r14, r14
lea rcx, str.could_not_resolve_to_any_addresses
cmovne rcx, r14
jmp 0x44b08e
lea rax, str.invalid_port_value
jmp 0x44b075
lea rcx, [rsp + 0x50]
call fcn.0044a90d
mov rcx, qword [rsp + 0xb0]
call fcn.0044a91c
mov rcx, rbx
add rsp, 0x108
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp fcn.0048e130
mov rax, qword [rsp + 0x38]
movups xmm0, xmmword [rsp + 0x40]
lea rdx, [rsp + 0xf0]
movups xmmword [rdx + 8], xmm0
mov qword [rdx], rax
lea rsi, [rsp + 0x88]
mov rcx, rsi
call fcn.0046f680
cmp qword [rsi + 0x18], 0
jne 0x44adad
jmp 0x44b086
jmp 0x44b290
test r15, r15
je 0x44b27f
mov r12d, 1
mov r9, r11
mov r10, r14
jmp 0x44b282
xor r12d, r12d
cmp r12d, 1
jne 0x44b290
mov r8, r10
mov rcx, r9
jmp 0x44b297
test r12d, r12d
cmove ebx, r12d
test rcx, rcx
je 0x44b009
cmp byte [r8], 0x5d
jne 0x44b009
mov r9, rcx
dec r9
je 0x44b329
cmp byte [r8 + 1], 0x3a
jne 0x44b329
add r8, 2
add rcx, 0xfffffffffffffffe
xor r11d, r11d
mov bp, 0xa
mov r10, rcx
mov r15, r8
xor r14d, r14d
mov eax, 0
test r10, r10
je 0x44b2f6
movzx r12d, byte [r15]
add r12d, 0xffffffd0
xor eax, eax
cmp r12d, 0xa
setb al
jae 0x44b2f6
inc r15
dec r10
jmp 0x44b300
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], r10
cmp eax, 1
jne 0x44b338
mov eax, r14d
mul bp
jo 0x44b346
mov r14d, eax
add r14w, r12w
setb al
cmp r12d, 0xffff
ja 0x44b346
test al, al
jne 0x44b346
dec r11
jmp 0x44b2d1
xor eax, eax
mov rcx, r9
test ax, ax
jne 0x44b353
jmp 0x44b009
test r11, r11
je 0x44b346
mov ax, 1
mov rcx, r10
jmp 0x44b34d
mov qword [rsp + 0x30], r8
xor eax, eax
cmp ax, 1
jne 0x44b32b
mov eax, dword [rsp + 0xe0]
mov dword [rsp + 0xd0], eax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0xc8], rax
test rcx, rcx
jne 0x44b009
shl rdi, 8
mov eax, dword [rsp + 0xd0]
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x50], rax
mov bp, 1
xor esi, esi
jmp 0x44ad14
lea rcx, str.called__Option::unwrap____on_a__None__value_rustc_90c541806f23a127002de5b4038be731ba1458calibrary_std_src_threadmod.rs
lea r8, str._rustc_90c541806f23a127002de5b4038be731ba1458calibrary_std_src_synconce.rs
mov edx, 0x2b
call fcn.00428e20
ud2
mov ecx, 0x20
mov edx, 4
call fcn.00425ea0
ud2