Function at 0x1400bb2ce
Capabilities:
Connect socket

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x108
mov r14, r8
mov rsi, rdx
mov rdi, rcx
movzx eax, byte [rdx + 0x78]
test eax, eax
je 0x1400bb31e
cmp eax, 3
jne 0x1400bb4f1
lea r12, [rsi + 0x70]
movzx eax, byte [rsi + 0x70]
lea rbx, [rsi + 0x30]
test eax, eax
je 0x1400bb394
cmp eax, 3
jne 0x1400bb4fd
mov rax, qword [rsi + 0x68]
jmp 0x1400bb3f9
mov rbx, qword [rsi + 0x20]
mov qword [rsi + 0x28], rbx
lea r15, [rsp + 0x80]
mov rcx, r15
mov rdx, rsi
call sym._ZN109__LT_socket2..sockaddr..SockAddr_u20_as_u20_core..convert..From_LT_core..net..socket_addr..SocketAddr_GT__GT_4from17he30
mov r8d, dword [r15 + 0x80]
mov rcx, rbx
mov rdx, r15
call sub.WS2_32.dll_connect
test eax, eax
je 0x1400bb376
call sym.std::io::error::Error::last_os_error::h7402a1406e6967e3
mov r15, rax
mov qword [rsp + 0x20], rax
mov rcx, rax
call sym._ZN3std2io5error5Error4kind17h256353ff5241588cE.2687
cmp al, 0xd
jne 0x1400bb439
lea rcx, [rsp + 0x20]
call sym.core::ptr::drop_in_place_std::io::error::Error_::h2220c7366315de8f
mov rdx, qword [rsi + 0x28]
mov qword [rsi + 0x30], rdx
and qword [rsi + 0x38], 0
lea rbx, [rsi + 0x30]
lea r12, [rsi + 0x70]
mov byte [rsi + 0x70], 0
xor r8d, r8d
jmp 0x1400bb39c
mov rdx, qword [rsi + 0x30]
mov r8, qword [rsi + 0x38]
lea r15, [rsp + 0x80]
mov rcx, r15
call sym.tokio::net::tcp::stream::TcpStream::new::h1f61f7a92f4d7a49
mov rcx, qword [r15]
mov r15, qword [r15 + 8]
cmp rcx, 2
je 0x1400bb471
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x30], rax
movups xmm0, xmmword [rsp + 0x90]
movaps xmmword [rsp + 0x20], xmm0
lea rax, [rsi + 0x40]
mov qword [rsi + 0x40], rcx
mov qword [rsi + 0x48], r15
movaps xmm0, xmmword [rsp + 0x20]
movups xmmword [rsi + 0x50], xmm0
mov rcx, qword [rsp + 0x30]
mov qword [rsi + 0x60], rcx
mov qword [rsi + 0x68], rax
mov rdx, qword [rax + 0x10]
lea r15, [rsp + 0x80]
mov rcx, r15
mov r8, r14
call sym.tokio::runtime::io::registration::Registration::poll_write_ready::hcae52714c9466d1b
mov al, byte [r15 + 9]
cmp al, 3
jne 0x1400bb42b
mov byte [r12], 3
mov qword [rdi], 3
mov al, 3
jmp 0x1400bb4b3
cmp al, 2
jne 0x1400bb44a
mov r15, qword [rsp + 0x80]
jmp 0x1400bb468
mov rcx, qword [rsi + 0x28]
call sym.core::ptr::drop_in_place_std::net::tcp::TcpStream_::h85baf80b4c22edfd
mov r14d, 2
jmp 0x1400bb498
lea rcx, [rsi + 0x40]
call sym.__tokio::io::poll_evented::PollEvented_E__as_core::ops::deref::Deref_::deref::ha253db0ec5c47bca
mov rcx, qword [rax]
call sym.mio::net::tcp::stream::TcpStream::take_error::h7016c9cb6b1c62be
mov r15, rdx
test rax, rax
jne 0x1400bb468
test r15, r15
je 0x1400bb4c7
lea rcx, [rsi + 0x40]
call sym.core::ptr::drop_in_place_tokio::net::tcp::stream::TcpStream_::h8b64dc24d2da522d
mov byte [r12], 1
mov r14d, 2
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x50], rax
movaps xmm0, xmmword [rsp + 0x60]
movaps xmmword [rsp + 0x40], xmm0
mov rcx, rbx
call sym._ZN4core3ptr97drop_in_place_LT_tokio..net..tcp..stream..TcpStream..connect_mio.._u7b__u7b_closure_u7d__u7d__GT_17he9f3ed60d39d
mov qword [rdi], r14
mov qword [rdi + 8], r15
movaps xmm0, xmmword [rsp + 0x40]
movups xmmword [rdi + 0x10], xmm0
mov rax, qword [rsp + 0x50]
mov qword [rdi + 0x20], rax
mov al, 1
mov byte [rsi + 0x78], al
add rsp, 0x108
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov r14, qword [rsi + 0x40]
mov r15, qword [rsi + 0x48]
mov rax, qword [rsi + 0x60]
mov qword [rsp + 0x70], rax
movups xmm0, xmmword [rsi + 0x50]
movaps xmmword [rsp + 0x60], xmm0
mov byte [rsi + 0x70], 1
cmp r14, 3
je 0x1400bb41d
jmp 0x1400bb47c
lea rcx, str._home_ubuntu_.cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_1.38.0_src_net_tcp_socket.rs
call sym.core::panicking::panic_const::panic_const_async_fn_resumed::hc62b9b2ae760c1a8
lea rcx, [0x140232660]
call sym.core::panicking::panic_const::panic_const_async_fn_resumed::hc62b9b2ae760c1a8
int3