Function at 0x1401038a2
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, 0x128
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xa0], 0xfffffffffffffffe
mov rax, qword [rcx]
cmp byte [rax], 0
mov byte [rax], 0
je 0x140103f94
lea rsi, str.127.0.0.1:34254
lea rcx, [rbp + 0x80]
mov qword [rcx], rsi
mov qword [rcx + 8], 0xf
call fcn.140059230
mov rdi, rax
test dil, 1
je 0x140103995
mov r8, qword [rbp + 0x80]
mov r9, qword [rbp + 0x88]
test r9, r9
je 0x140103980
xor ebx, ebx
cmp byte [r8], 0x3a
jne 0x140103980
lea r10, [r8 + 1]
lea r11, [r9 - 1]
mov r15w, 0xa
mov r14, r11
mov r12, r10
xor ecx, ecx
test r14, r14
je 0x140103957
lea rdx, [r12 + 1]
movzx r13d, byte [r12]
add r13d, 0xffffffd0
xor eax, eax
cmp r13d, 0xa
setb al
cmovb r12, rdx
sub r14, rax
jmp 0x140103959
xor eax, eax
cmp eax, 1
jne 0x1401039ad
mov eax, ecx
mul r15w
jo 0x14010399b
add ax, r13w
setb dl
cmp r13d, 0xffff
ja 0x14010399b
test dl, dl
jne 0x14010399b
inc ebx
mov ecx, eax
jmp 0x140103932
xor eax, eax
mov qword [rbp + 0x80], r8
mov qword [rbp + 0x88], r9
test ax, ax
jne 0x1401039ca
xor edi, edi
xor eax, eax
jmp 0x1401039ec
xor eax, eax
mov qword [rbp + 0x80], r10
mov qword [rbp + 0x88], r11
jmp 0x1401039c4
mov qword [rbp + 0x80], r12
mov qword [rbp + 0x88], r14
xor eax, eax
test ebx, ebx
setne al
je 0x14010399d
cmp ax, 1
jne 0x140103982
movabs rax, 0xffffffff00
and rdi, rax
shr rdi, 8
movzx eax, cx
shl rax, 0x30
shl rdi, 0x10
or rdi, rax
push 1
pop rax
movzx ecx, di
or rcx, rax
cmp rcx, 1
jne 0x140103c2c
cmp qword [rbp + 0x88], 0
jne 0x140103c43
mov esi, edi
shr esi, 0x10
shr rdi, 0x18
xor r15d, r15d
mov al, byte [0x1403392d8]
push 0x20
pop rdx
xor ecx, ecx
call fcn.140110e60
test rax, rax
je 0x140103fa0
mov word [rax], r15w
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 [rbp - 8]
mov qword [rax + 8], rcx
mov ecx, dword [rbp]
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 [rbp + 0x50], rax
mov qword [rbp + 0x58], rax
mov qword [rbp + 0x60], 1
mov qword [rbp + 0x68], rcx
mov rax, qword [rbp + 0x50]
mov rcx, qword [rbp + 0x58]
mov rdx, qword [rbp + 0x60]
mov qword [rbp + 0x30], rdx
mov rdx, qword [rbp + 0x68]
mov qword [rbp + 0x38], rdx
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rcx
xor r12d, r12d
mov rax, qword [rbp + 0x28]
cmp rax, qword [rbp + 0x38]
je 0x140103e17
lea rcx, [rax + 0x20]
mov qword [rbp + 0x28], rcx
movzx esi, word [rax]
cmp si, 2
je 0x140103e17
mov ebx, dword [rax + 0x14]
mov r14d, dword [rax + 0x18]
movzx edi, word [rax + 0x1c]
movzx ecx, word [rax + 0x12]
mov word [rbp + 0x60], cx
movups xmm0, xmmword [rax + 2]
movaps xmmword [rbp + 0x50], xmm0
mov rax, qword [0x140339230]
cmp rax, 3
je 0x140103af8
mov qword [rbp + 0x18], r12
call fcn.14025ae30
mov qword [rbp + 0x78], r12
push 2
pop r13
test si, si
je 0x140103b09
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 0x140103b42
test si, si
je 0x140103ba4
mov ax, 0x17
movups xmm0, xmmword [rbp + 0x52]
push 0x1c
jmp 0x140103bb4
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x2739
je 0x140103b5d
mov r12d, eax
cmp eax, 0x2726
jne 0x140103c07
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 0x140103c21
mov r15, rax
mov rcx, rax
push 1
pop rdx
xor r8d, r8d
call qword [sym.imp.kernel32.dll_SetHandleInformation]
test eax, eax
jne 0x140103b31
call qword [sym.imp.kernel32.dll_GetLastError]
jmp 0x140103bfb
movzx edi, word [rbp + 0x54]
mov ebx, dword [rbp + 0x50]
xorps xmm0, xmm0
mov ax, 2
push 0x10
pop r8
rol di, 8
mov word [rbp + 0x80], ax
mov word [rbp + 0x82], di
mov dword [rbp + 0x84], ebx
movups xmmword [rbp + 0x88], xmm0
mov dword [rbp + 0x98], r14d
mov rcx, r15
lea rdx, [rbp + 0x80]
call qword [sym.imp.ws2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x140103e3f
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 + 0x18], r12
mov rcx, qword [rbp + 0x78]
call fcn.14008a0f4
jmp 0x140103aa4
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov r12d, eax
jmp 0x140103c07
mov qword [rbp + 0x80], rsi
mov qword [rbp + 0x88], 0xf
test rcx, rcx
je 0x140103cb7
mov qword [rbp + 0x20], rsi
mov qword [rbp + 0x28], 0xf
and qword [rbp + 0x30], 0
mov byte [rbp + 0x48], 1
movabs rax, 0x3a0000003a
mov qword [rbp + 0x40], rax
mov bl, 0x3a
push 0xf
pop rdi
mov cl, 0x3a
mov rdx, rsi
mov r8, rdi
call fcn.14005bdf0
cmp rax, 1
jne 0x140103c96
mov rdi, rdx
cmp rdx, 0xf
jae 0x140103c90
cmp byte [rdi + rsi], bl
je 0x140103da1
cmp rdi, 0xf
jbe 0x140103c6b
lea rcx, str._bF_
call fcn.14008a0fe
nop
add rsp, 0x128
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rax, qword [rbp + 0x88]
test rax, rax
je 0x140103c43
mov rcx, qword [rbp + 0x80]
dec rax
mov dl, byte [rcx]
inc rcx
mov qword [rbp + 0x80], rcx
mov qword [rbp + 0x88], rax
cmp dl, 0x5b
jne 0x140103c43
lea rdi, [rbp + 0x20]
lea rdx, [rbp + 0x80]
mov rcx, rdi
call fcn.1400595d0
cmp byte [rdi], 0
je 0x140103c43
mov edi, dword [rbp + 0x21]
mov rax, qword [rbp + 0x25]
mov qword [rbp - 0x18], rax
mov eax, dword [rbp + 0x2d]
mov dword [rbp - 0x10], eax
mov r8, qword [rbp + 0x80]
mov rcx, qword [rbp + 0x88]
xor r13d, r13d
test rcx, rcx
je 0x140103e6e
cmp byte [r8], 0x25
jne 0x140103e9a
lea r10, [r8 + 1]
lea r14, [rcx - 1]
xor ebx, ebx
push 0xa
pop r15
mov qword [rbp + 0x78], r14
mov r11, r10
xor r12d, r12d
xor r13d, r13d
test r14, r14
je 0x140103d78
lea rdx, [r11 + 1]
movzx r9d, byte [r11]
add r9d, 0xffffffd0
xor eax, eax
cmp r9d, 0xa
setb al
cmovb r11, rdx
sub r14, rax
jmp 0x140103d7d
xor r14d, r14d
xor eax, eax
cmp eax, 1
jne 0x140103e76
mov eax, ebx
mul r15d
jo 0x140103e70
add eax, r9d
jb 0x140103e70
inc r12d
mov ebx, eax
jmp 0x140103d55
push 0xe
pop rdx
sub rdx, rdi
lea rcx, [rdi + rsi]
inc rcx
call fcn.14005d2c0
test al, 1
jne 0x140103e33
shr eax, 0x10
lea rdx, [rbp + 0x20]
mov qword [rdx], rsi
mov qword [rdx + 8], rdi
mov word [rdx + 0x10], ax
lea rsi, [rbp + 0x80]
mov rcx, rsi
call fcn.14010f840
cmp qword [rsi], 0
mov rcx, qword [rsi + 8]
jne 0x140103c9d
movups xmm0, xmmword [rbp + 0x90]
lea rdx, [rbp - 0x30]
movups xmmword [rdx + 8], xmm0
mov qword [rdx], rcx
lea rsi, [rbp + 0x50]
mov rcx, rsi
call fcn.14010fa70
cmp qword [rsi], 0
jne 0x140103a81
mov rcx, qword [rbp + 0x58]
jmp 0x140103c9d
lea rcx, [rbp + 0x20]
call fcn.140103838
test r12, r12
lea rcx, str.could_not_resolve_to_any_addresses
cmovne rcx, r12
jmp 0x140103c9d
lea rcx, str.8F_
jmp 0x140103c9d
lea rcx, [rbp + 0x20]
call fcn.140103838
mov rcx, qword [rbp + 0x78]
call fcn.14008a0f4
mov rcx, r15
add rsp, 0x128
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
jmp qword [sym.imp.ws2_32.dll_closesocket]
jmp 0x140103e9a
mov rax, qword [rbp + 0x78]
jmp 0x140103e8c
xor r13d, r13d
test r12d, r12d
setne r13b
mov rax, qword [rbp + 0x78]
cmovne rax, r14
cmovne r10, r11
cmp r13d, 1
jne 0x140103e9a
mov r8, r10
mov rcx, rax
jmp 0x140103ea1
test r13d, r13d
cmove ebx, r13d
test rcx, rcx
je 0x140103c43
cmp byte [r8], 0x5d
jne 0x140103c43
lea r10, [r8 + 1]
mov r9, rcx
dec r9
je 0x140103f2b
xor r15d, r15d
cmp byte [r10], 0x3a
jne 0x140103f2b
add rcx, 0xfffffffffffffffe
add r8, 2
mov r12w, 0xa
mov r11, rcx
xor r14d, r14d
test r11, r11
je 0x140103eff
invalid
lea rdx, [r8 + 1]
movzx r13d, byte [r8]
add r13d, 0xffffffd0
xor eax, eax
cmp r13d, 0xa
setb al
cmovb r8, rdx
sub r11, rax
jmp 0x140103f01
xor eax, eax
cmp eax, 1
jne 0x140103f4f
mov eax, r14d
mul r12w
jo 0x140103f41
add ax, r13w
setb dl
cmp r13d, 0xffff
ja 0x140103f41
test dl, dl
jne 0x140103f41
inc r15d
mov r14d, eax
jmp 0x140103edc
xor eax, eax
mov qword [rbp + 0x80], r10
mov r11, r9
test ax, ax
jne 0x140103f5f
jmp 0x140103c43
xor eax, eax
mov qword [rbp + 0x88], rcx
mov r11, rcx
jmp 0x140103f59
xor eax, eax
test r15d, r15d
setne al
je 0x140103f43
cmp ax, 1
jne 0x140103f2d
mov eax, dword [rbp - 0x10]
mov rcx, qword [rbp - 0x18]
mov qword [rbp + 8], rcx
mov dword [rbp + 0x10], eax
test r11, r11
jne 0x140103c43
shl rdi, 8
mov eax, dword [rbp + 0x10]
mov dword [rbp], eax
mov rax, qword [rbp + 8]
mov qword [rbp - 8], rax
mov r15w, 1
xor esi, esi
jmp 0x140103a16
lea rcx, str._rustc_3f5fd8dd41153bc5fdca9427e9e05be2c767ba23library_std_src_synconce.rs
call fcn.140257110
push 4
pop rcx
push 0x20
pop rdx
call fcn.1402567d0
int3