Function at 0x44db73
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 0x44e369
lea rsi, str.127.0.0.1:34254capacity_overflow
lea rcx, [rsp + 0x30]
mov qword [rcx], rsi
mov qword [rcx + 8], 0xf
call fcn.00429cf0
mov rdi, rax
test dil, 1
je 0x44dc6c
mov rcx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x38]
test r8, r8
je 0x44dc5b
cmp byte [rcx], 0x3a
jne 0x44dc5b
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 0x44dc23
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 0x44dc33
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], rdx
mov r15, rdx
mov r14, r12
cmp r13d, 1
jne 0x44dc72
mul bx
jo 0x44dc7d
add ax, bp
setb dl
cmp ebp, 0xffff
ja 0x44dc7d
test dl, dl
jne 0x44dc7d
dec r11
mov rdx, r15
mov r12, r14
jmp 0x44dbf1
xor edx, edx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], r8
test dx, dx
jne 0x44dc8f
xor edi, edi
xor eax, eax
jmp 0x44dcb3
test r11, r11
je 0x44dc7d
mov dx, 1
jmp 0x44dc89
mov qword [rsp + 0x30], r9
mov qword [rsp + 0x38], r10
xor edx, edx
cmp dx, 1
jne 0x44dc5d
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 0x44dfba
cmp qword [rsp + 0x38], 0
jne 0x44dfd1
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.00424450
test rax, rax
je 0x44e383
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 0x44e19e
mov rax, r13
add r13, 0x20
mov qword [rsp + 0x58], r13
movzx edi, word [rax]
cmp di, 2
je 0x44e19e
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 [0x004b8130]
cmp rax, 3
jne 0x44dfa9
mov ebp, 2
test di, di
je 0x44de3f
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 0x44deb9
shl r15, 0x20
or r12, r15
test di, di
je 0x44df2c
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 0x44df47
mov dword [rsp + 0xa8], r14d
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2739
je 0x44dedb
mov r14d, eax
cmp eax, 0x2726
jne 0x44df85
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 0x44df9f
mov rbx, rax
mov rcx, rax
mov edx, 1
xor r8d, r8d
call sub.KERNEL32.dll_SetHandleInformation
test eax, eax
je 0x44dfb3
mov r14d, dword [rsp + 0xa8]
jmp 0x44de67
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 0x44e1c7
call sub.WS2_32.dll_WSAGetLastError
mov r14d, eax
mov rcx, rbx
call fcn.00491788
shl r14, 0x20
or r14, 2
mov rcx, qword [rsp + 0xb0]
call fcn.0044d91d
jmp 0x44ddbe
call sub.WS2_32.dll_WSAGetLastError
mov r14d, eax
jmp 0x44df85
call fcn.00472ba0
jmp 0x44de30
call sub.KERNEL32.dll_GetLastError
jmp 0x44df7a
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], 0xf
test rcx, rcx
je 0x44e070
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.0042d0f0
cmp rax, 1
jne 0x44e036
mov rdi, rdx
cmp rdx, 0xf
jae 0x44e02b
mov al, byte [rdi + rsi]
cmp al, byte [rsp + 0x78]
je 0x44e156
mov qword [rsp + 0x68], rdi
cmp rdi, 0xf
jbe 0x44e002
lea rax, str.invalid_socket_address
mov qword [rsp + 0x88], rax
and qword [rsp + 0xa0], 0
mov rcx, qword [rsp + 0x88]
call fcn.0044d927
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 0x44dfd1
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 0x44dfd1
lea rdi, [rsp + 0x50]
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.0042a330
cmp byte [rdi], 0
je 0x44dfd1
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 0x44e232
cmp byte [r8], 0x25
jne 0x44e258
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 0x44e133
movzx r13d, byte [r14]
add r13d, 0xffffffd0
xor eax, eax
cmp r13d, 0xa
setb al
jae 0x44e133
inc r14
dec r11
cmp eax, 1
jne 0x44e234
mov eax, ebx
mul ebp
jo 0x44e24a
mov ebx, eax
add ebx, r13d
jb 0x44e24a
dec r15
jmp 0x44e110
lea rcx, [rdi + rsi]
inc rcx
mov edx, 0xe
sub rdx, rdi
call fcn.0042e7d0
test al, 1
jne 0x44e1bb
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.004724e0
cmp qword [rsi], 0
je 0x44e1f9
mov rax, qword [rsp + 0x38]
jmp 0x44e03d
lea rcx, [rsp + 0x50]
call fcn.0044d901
test r14, r14
lea rcx, [0x004a29c8]
cmovne rcx, r14
jmp 0x44e056
lea rax, str.invalid_port_value
jmp 0x44e03d
lea rcx, [rsp + 0x50]
call fcn.0044d901
mov rcx, qword [rsp + 0xb0]
call fcn.0044d91d
mov rcx, rbx
add rsp, 0x108
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp fcn.00491788
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.00472640
cmp qword [rsi + 0x18], 0
jne 0x44dd75
jmp 0x44e04e
jmp 0x44e258
test r15, r15
je 0x44e247
mov r12d, 1
mov r9, r11
mov r10, r14
jmp 0x44e24a
xor r12d, r12d
cmp r12d, 1
jne 0x44e258
mov r8, r10
mov rcx, r9
jmp 0x44e25f
test r12d, r12d
cmove ebx, r12d
test rcx, rcx
je 0x44dfd1
cmp byte [r8], 0x5d
jne 0x44dfd1
mov r9, rcx
dec r9
je 0x44e2f1
cmp byte [r8 + 1], 0x3a
jne 0x44e2f1
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 0x44e2be
movzx r12d, byte [r15]
add r12d, 0xffffffd0
xor eax, eax
cmp r12d, 0xa
setb al
jae 0x44e2be
inc r15
dec r10
jmp 0x44e2c8
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], r10
cmp eax, 1
jne 0x44e300
mov eax, r14d
mul bp
jo 0x44e30e
mov r14d, eax
add r14w, r12w
setb al
cmp r12d, 0xffff
ja 0x44e30e
test al, al
jne 0x44e30e
dec r11
jmp 0x44e299
xor eax, eax
mov rcx, r9
test ax, ax
jne 0x44e31b
jmp 0x44dfd1
test r11, r11
je 0x44e30e
mov ax, 1
mov rcx, r10
jmp 0x44e315
mov qword [rsp + 0x30], r8
xor eax, eax
cmp ax, 1
jne 0x44e2f3
mov eax, dword [rsp + 0xe0]
mov dword [rsp + 0xd0], eax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0xc8], rax
test rcx, rcx
jne 0x44dfd1
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 0x44dcdc
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.00428f60
ud2
mov ecx, 0x20
mov edx, 4
call fcn.00426000
ud2