Function at 0x140042c57
Capabilities:
Connect socket

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x218
mov r15, r8
mov rsi, rdx
mov r12, rcx
movzx eax, byte [rdx + 0x78]
test eax, eax
je 0x140042cd0
cmp eax, 3
jne 0x1400434fc
lea r14, [rsi + 0x70]
lea rbx, [rsi + 0x30]
movzx eax, byte [rsi + 0x70]
test eax, eax
je 0x140042d89
cmp eax, 3
jne 0x140043510
mov rax, qword [rsi + 0x68]
mov rdx, qword [rax + 0x10]
lea rdi, [rsp + 0xb0]
mov rcx, rdi
mov r8, r15
call sym.tokio::runtime::io::registration::Registration::poll_write_ready::h1aa2e54e709938e8
mov al, byte [rdi + 9]
cmp al, 3
jne 0x140043089
mov byte [r14], 3
jmp 0x1400433e7
mov rcx, qword [rsi + 0x20]
mov qword [rsi + 0x28], rcx
cmp word [rsi], 0
movzx eax, word [rsi + 0x12]
mov word [rsp + 0x60], ax
movups xmm0, xmmword [rsi + 2]
movaps xmmword [rsp + 0x50], xmm0
je 0x140042dad
mov eax, dword [rsi + 0x14]
mov edx, dword [rsi + 0x18]
movzx r9d, word [rsi + 0x1c]
mov r8, qword [rsp + 0x52]
mov r10d, dword [rsp + 0x5a]
movzx r11d, word [rsp + 0x5e]
movzx edi, word [rsp + 0x60]
xorps xmm0, xmm0
movups xmmword [rsp + 0xcc], xmm0
movups xmmword [rsp + 0xdc], xmm0
movups xmmword [rsp + 0xec], xmm0
and dword [rsp + 0x12c], 0
movups xmmword [rsp + 0xfc], xmm0
movups xmmword [rsp + 0x10c], xmm0
rol r9w, 8
movups xmmword [rsp + 0x11c], xmm0
mov qword [rsp + 0xb8], r8
mov dword [rsp + 0xc0], r10d
mov word [rsp + 0xc4], r11w
mov word [rsp + 0xc6], di
mov dword [rsp + 0xc8], edx
mov r8d, 0x1c
mov r10w, 0x17
jmp 0x140042df2
mov qword [rsp + 0x30], r12
mov qword [rsp + 0xa8], r15
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x38], rbx
mov r15, qword [rsi + 0x30]
mov r13, qword [rsi + 0x38]
jmp 0x140042e70
lea rdx, [rsp + 0xb8]
movzx r9d, word [rsp + 0x54]
mov eax, dword [rsp + 0x50]
rol r9w, 8
xorps xmm0, xmm0
movups xmmword [rdx + 0x60], xmm0
movups xmmword [rdx + 0x50], xmm0
movups xmmword [rdx + 0x40], xmm0
movups xmmword [rdx + 0x30], xmm0
movups xmmword [rdx + 0x20], xmm0
and qword [rdx + 0x70], 0
movups xmmword [rdx + 0x10], xmm0
movups xmmword [rdx], xmm0
mov r8d, 0x10
mov r10w, 2
lea rdx, [rsp + 0xb0]
mov word [rdx], r10w
mov word [rdx + 2], r9w
mov dword [rdx + 4], eax
mov dword [rdx + 0x80], r8d
call sub.ws2_32.dll_connect
test eax, eax
je 0x140042e3d
call sym.std::io::error::Error::last_os_error::hc76c3db19144688c
mov rdi, rax
mov qword [rsp + 0x78], rax
mov rcx, rax
call sym.std::io::error::Error::kind::h2dbaaf5e71201e15
cmp al, 0xd
jne 0x140043076
lea rcx, [rsp + 0x78]
call sym.core::ptr::drop_in_place_std::io::error::Error_::hca9b6f4caa29133d
mov qword [rsp + 0x30], r12
mov qword [rsp + 0xa8], r15
mov r15, qword [rsi + 0x28]
mov qword [rsi + 0x30], r15
and qword [rsi + 0x38], 0
lea rax, [rsi + 0x30]
mov qword [rsp + 0x38], rax
lea rax, [rsi + 0x70]
mov qword [rsp + 0x28], rax
mov byte [rsi + 0x70], 0
xor r13d, r13d
lea rbx, str.C:Users_fhnir.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.35.1_src_net_tcp_stream.rs
mov rcx, rbx
call sym.tokio::runtime::scheduler::Handle::current::h5fd5cebaa9797af0
mov rbp, rax
mov rdi, rdx
mov qword [rsp + 0x140], r15
mov qword [rsp + 0x148], r13
mov qword [rsp + 0x170], rax
mov qword [rsp + 0x178], rdx
lea r14, [rdx + 0x130]
lea rax, [rdx + 0xc8]
test rbp, rbp
mov ecx, 0xc8
mov r12d, 0x130
cmove r12, rcx
cmove r14, rax
mov rcx, r14
mov rdx, rbx
call sym.tokio::runtime::driver::Handle::io::habe57287d355c3bc
add r14, 0x20
mov rcx, r14
call sym.tokio::loom::std::mutex::Mutex_T_::lock::h1c4ea40a8ff8ebd0
mov rbx, rax
mov r14d, edx
cmp byte [rax + 0x38], 0
je 0x140042f1d
lea rdx, str.A_Tokio_1.x_context_was_found__but_it_is_being_shutdown._mark_pending_called_when_the_timer_entry_is_in_an_invalid_state
mov r8d, 0x38
mov cl, 0x27
call sym.std::io::error::Error::new::h01437f05ca19be94
mov r15, rax
mov rcx, rbx
mov edx, r14d
call sym._ZN4core3ptr101drop_in_place_LT_std..sync..mutex..MutexGuard_LT_tokio..runtime..io..registration_set..Synced_GT__GT_17h3eda982
mov r14, qword [rsp + 0x28]
mov r12, qword [rsp + 0x30]
jmp 0x14004339b
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x158], rbp
and qword [rsp + 0x8f], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x7f], xmm0
mov rax, qword [rsp + 0x97]
mov qword [rsp + 0xcf], rax
movups xmm1, xmmword [rsp + 0x88]
movaps xmmword [rsp + 0xc0], xmm1
movups xmm1, xmmword [rsp + 0x78]
movaps xmmword [rsp + 0xb0], xmm1
movups xmmword [rsp + 0x80], xmm0
and qword [rsp + 0x90], 0
mov ecx, 0x100
mov edx, pe_nt_image_headers64
call sym._ZN5alloc5alloc15exchange_malloc17hd75bdc3075ee380cE.1067
mov r13, rax
mov eax, 1
mov qword [r13], rax
mov qword [r13 + 8], rax
and qword [r13 + 0x80], 0
mov byte [r13 + 0x88], 0
movaps xmm0, xmmword [rsp + 0xb0]
movaps xmm1, xmmword [rsp + 0xc0]
movups xmmword [r13 + 0x89], xmm0
movups xmmword [r13 + 0x99], xmm1
mov rax, qword [rsp + 0xcf]
mov qword [r13 + 0xa8], rax
and qword [r13 + 0xb0], 0
movups xmm0, xmmword [rsp + 0x78]
movups xmm1, xmmword [rsp + 0x88]
movups xmmword [r13 + 0xb8], xmm0
movups xmmword [r13 + 0xc8], xmm1
lock inc qword [r13]
jle 0x14004350c
lea r15, [r13 + 0x80]
mov qword [rsp + 0x78], r15
mov rax, qword [rbx + 0x28]
cmp rax, r15
je 0x14004352a
mov qword [r13 + 0xc8], rax
and qword [r13 + 0xc0], 0
test rax, rax
je 0x14004303d
mov qword [rax + 0x40], r15
mov qword [rbx + 0x28], r15
cmp qword [rbx + 0x30], 0
jne 0x14004304c
mov qword [rbx + 0x30], r15
mov qword [rsp + 0x160], r13
mov rcx, rbx
mov edx, r14d
call sym._ZN4core3ptr101drop_in_place_LT_std..sync..mutex..MutexGuard_LT_tokio..runtime..io..registration_set..Synced_GT__GT_17h3eda982
cmp qword [rsp + 0x40], 0
je 0x1400430a3
movabs r15, 0xc00000003
jmp 0x140043384
mov rcx, qword [rsi + 0x28]
call sym.core::ptr::drop_in_place_std::net::tcp::TcpStream_::hf462f04932533a20
mov ebx, 2
jmp 0x14004341d
cmp al, 2
mov qword [rsp + 0x38], rbx
jne 0x140043135
mov rdi, qword [rsp + 0xb0]
jmp 0x14004325e
mov qword [rsp + 0x40], r15
mov r12, qword [rdi + r12]
lea r15, [r12 + 0x18]
mov qword [rsp + 0x168], r15
lea rdx, [r12 + 0x20]
lea rbx, [rsp + 0xb0]
mov rcx, rbx
call sym.std::sync::mutex::Mutex_T_::lock::h97dc72b82ffec5aa
lea rdx, str.C:Users_fhnir.cargo_registry_srcindex.crates.io_6f17d22bba15001fmio_0.8.10_src_syswindows_selector.rs
mov rcx, rbx
call sym.core::result::Result_T_E_::unwrap::h7e194026b6cc04e3
mov rbx, rax
mov qword [rsp + 0x68], rax
mov byte [rsp + 0x70], dl
lea r14, [rax + 0x10]
mov rax, qword [rax + 0x20]
test rax, rax
je 0x14004310b
mov rcx, qword [r14]
mov rax, qword [rcx + rax*8 - 8]
mov rax, qword [rax]
cmp rax, 0x20
jbe 0x1400431a6
mov rcx, qword [r15]
mov rdx, r14
call sym.mio::sys::windows::selector::AfdGroup::_alloc_afd_group::hbeac5836fde10b90
mov r15, rax
test rax, rax
je 0x1400431a6
mov rcx, qword [rsp + 0x68]
mov dl, byte [rsp + 0x70]
call sym._ZN4core3ptr101drop_in_place_LT_std..sync..mutex..MutexGuard_LT_tokio..runtime..io..registration_set..Synced_GT__GT_17h3eda982
jmp 0x140043384
lea rcx, [rsi + 0x40]
call sym.__tokio::io::poll_evented::PollEvented_E__as_core::ops::deref::Deref_::deref::h88829682f12346ca
mov rcx, qword [rax]
lea r9, [rsp + 0x78]
and dword [r9], 0
mov dword [rsp + 0xb0], 4
mov qword [rsp + 0x20], rdi
mov edx, 0xffff
mov r8d, 0x1007
call sub.ws2_32.dll_getsockopt
cmp eax, 0xffffffff
je 0x14004324f
movsxd rdi, dword [rsp + 0x78]
test rdi, rdi
jne 0x140043256
mov rbx, qword [rsi + 0x40]
mov rdi, qword [rsi + 0x48]
mov rax, qword [rsi + 0x60]
mov qword [rsp + 0x1d0], rax
movups xmm0, xmmword [rsi + 0x50]
movaps xmmword [rsp + 0x1c0], xmm0
jmp 0x1400433bd
mov rax, qword [rbx + 0x20]
test rax, rax
je 0x140043549
mov rcx, qword [r14]
mov rbx, qword [rcx + rax*8 - 8]
lock inc qword [rbx]
jle 0x14004350c
mov qword [rsp + 0x150], r12
mov rcx, qword [rsp + 0x68]
mov dl, byte [rsp + 0x70]
call sym._ZN4core3ptr101drop_in_place_LT_std..sync..mutex..MutexGuard_LT_tokio..runtime..io..registration_set..Synced_GT__GT_17h3eda982
mov rbp, rbx
mov qword [rsp + 0x1f8], rbx
lea rbx, [rsp + 0x78]
mov rcx, rbx
mov rdx, qword [rsp + 0x48]
mov r8d, 0x48000022
call sym.mio::sys::windows::selector::try_get_base_socket::h908fab94e1eed007
cmp dword [rbx], 0
je 0x140043271
xor r15d, r15d
lea r12, [0x1400ed0d0]
lea rbx, [rsp + 0xb0]
cmp r15, 0xc
je 0x14004336a
mov r8d, dword [r15 + r12]
mov rcx, rbx
mov rdx, qword [rsp + 0x48]
call sym.mio::sys::windows::selector::try_get_base_socket::h908fab94e1eed007
add r15, 4
cmp dword [rsp + 0xb0], 0
jne 0x140043215
mov r14, qword [rsp + 0xb8]
cmp r14, qword [rsp + 0x48]
je 0x140043215
jmp 0x140043279
call sub.ws2_32.dll_WSAGetLastError
mov edi, eax
shl rdi, 0x20
or rdi, 2
lea rcx, [rsi + 0x40]
call sym.core::ptr::drop_in_place_tokio::net::tcp::stream::TcpStream_::h0e9dffde87ffe686
mov ebx, 2
jmp 0x1400433bd
mov r14, qword [rsp + 0x80]
mov ecx, pe_nt_image_headers64
call sym._ZN5alloc5alloc15exchange_malloc17hd75bdc3075ee380cE.337
mov rbx, rax
mov eax, 1
mov qword [rbx], rax
mov qword [rbx + 8], rax
and qword [rbx + 0x10], 0
mov byte [rbx + 0x18], 0
and dword [rbx + 0x20], 0
lea rdx, [rbx + 0x10]
mov qword [rbx + 0x28], rbp
xorps xmm0, xmm0
movups xmmword [rbx + 0x30], xmm0
movups xmmword [rbx + 0x40], xmm0
movups xmmword [rbx + 0x50], xmm0
mov qword [rbx + 0x60], r14
movups xmmword [rbx + 0x68], xmm0
and word [rbx + 0x78], 0
lea r14, [rsp + 0xb0]
mov rcx, r14
call sym.std::sync::mutex::Mutex_T_::lock::h1b3e78e1c1c2341f
lea rdx, str.C:Users_fhnir.cargo_registry_srcindex.crates.io_6f17d22bba15001fmio_0.8.10_src_syswindows_selector.rs
mov rcx, r14
call sym.core::result::Result_T_E_::unwrap::h7765d0518c5e2d40
mov dword [rax + 0x60], 0x19d
mov r15, qword [rsp + 0x40]
mov qword [rax + 0x58], r15
mov rcx, rax
call sym._ZN4core3ptr101drop_in_place_LT_std..sync..mutex..MutexGuard_LT_tokio..runtime..io..registration_set..Synced_GT__GT_17h3eda982
mov r12, qword [rsp + 0x150]
lock inc qword [r12]
jle 0x14004350c
lock inc qword [rbx]
jle 0x14004350c
lea r14, [r12 + 0x10]
mov qword [rsp + 0xb0], r12
mov qword [rsp + 0xc0], r15
mov byte [rsp + 0xc8], 3
mov qword [rsp + 0xb8], rbx
mov rcx, r14
mov rdx, rbx
call sym.mio::sys::windows::selector::SelectorInner::queue_state::hf5d32e993ee9df24
mov rcx, r14
call sym.mio::sys::windows::selector::SelectorInner::update_sockets_events_if_polling::hb05d9431f8b53d45
test rax, rax
je 0x14004345a
mov r15, rax
lea rcx, [rsp + 0xb0]
call sym.core::ptr::drop_in_place_mio::sys::windows::InternalState_::ha71fd35bfb5e4013
jmp 0x140043384
mov r15d, dword [rsp + 0x7c]
shl r15, 0x20
or r15, 2
lea rcx, [rsp + 0x1f8]
call sym.core::ptr::drop_in_place_alloc::sync::Arc_mio::sys::windows::afd::Afd__::h0c75ef90d7008266
lea rcx, [rsp + 0x160]
call sym.core::ptr::drop_in_place_alloc::sync::Arc_tokio::runtime::io::scheduled_io::ScheduledIo__::h6976823b2f093fed
mov r12, qword [rsp + 0x30]
mov r14, qword [rsp + 0x28]
lea rcx, [rsp + 0x170]
call sym.core::ptr::drop_in_place_tokio::runtime::scheduler::Handle_::h17e3b8bbc7155e0b
lea rcx, [rsp + 0x140]
call sym.core::ptr::drop_in_place_mio::net::tcp::stream::TcpStream_::hba3541a08a330fd5
mov ebx, 2
mov rdi, r15
mov rax, qword [rsp + 0x1d0]
mov qword [rsp + 0x190], rax
movaps xmm0, xmmword [rsp + 0x1c0]
movaps xmmword [rsp + 0x180], xmm0
mov byte [r14], 1
cmp rbx, 3
jne 0x1400433f3
mov qword [r12], 3
mov al, 3
jmp 0x140043443
mov rax, qword [rsp + 0x190]
mov qword [rsp + 0x1b0], rax
movaps xmm0, xmmword [rsp + 0x180]
movaps xmmword [rsp + 0x1a0], xmm0
mov rcx, qword [rsp + 0x38]
call sym._ZN4core3ptr97drop_in_place_LT_tokio..net..tcp..stream..TcpStream..connect_mio.._u7b__u7b_closure_u7d__u7d__GT_17hb43ae4b519af
mov qword [r12], rbx
mov qword [r12 + 8], rdi
movaps xmm0, xmmword [rsp + 0x1a0]
movups xmmword [r12 + 0x10], xmm0
mov rax, qword [rsp + 0x1b0]
mov qword [r12 + 0x20], rax
mov al, 1
mov byte [rsi + 0x78], al
add rsp, 0x218
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rax, [rsp + 0xc0]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x1e0], xmm0
mov ecx, 0x20
call sym._ZN5alloc5alloc15exchange_malloc17hd75bdc3075ee380cE.337
mov r14, rax
mov qword [rax], r12
mov qword [rax + 8], rbx
movaps xmm0, xmmword [rsp + 0x1e0]
movups xmmword [rax + 0x10], xmm0
mov rcx, qword [rsp + 0x148]
call sym._ZN4core3ptr106drop_in_place_LT_core..option..Option_LT_alloc..boxed..Box_LT_mio..sys..windows..InternalState_GT__GT__GT_17hf8
mov ebx, 2
mov rbp, qword [rsp + 0x158]
cmp rbp, 2
jne 0x1400434bc
mov r12, qword [rsp + 0x30]
mov r14, qword [rsp + 0x28]
jmp 0x1400433bd
mov rcx, qword [rsp + 0x140]
lea rax, [rsi + 0x40]
mov qword [rsi + 0x40], rbp
mov qword [rsi + 0x48], rdi
mov qword [rsi + 0x50], r13
mov qword [rsi + 0x58], rcx
mov qword [rsi + 0x60], r14
mov qword [rsi + 0x68], rax
mov r12, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov r14, qword [rsp + 0x28]
mov r15, qword [rsp + 0xa8]
jmp 0x140042ca5
lea rcx, str._async_fn__resumed_after_completionunable_to_find_any_user_specified_roots_in_the_final_cert_chainC:Users_fhnir.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_util_0.7.10_srcutilpoll_buf.rs
lea r8, str.C:Users_fhnir.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.35.1_src_net_tcp_socket.rs
jmp 0x14004351e
ud2
lea rcx, str._async_fn__resumed_after_completionunable_to_find_any_user_specified_roots_in_the_final_cert_chainC:Users_fhnir.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_util_0.7.10_srcutilpoll_buf.rs
lea r8, str.C:Users_fhnir.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.35.1_src_net_tcp_stream.rs
mov edx, 0x23
call dbg.panic
ud2
add rbx, 0x28
lea r8, [rsp + 0xb0]
and qword [r8], 0
lea rdx, [rsp + 0x78]
mov rcx, rbx
call sym.core::panicking::assert_failed::hcb4e1e3c7d02342a
ud2
lea rax, [rsp + 0x168]
lea rdx, [rsp + 0x1f8]
mov qword [rdx], rax
lea rax, [sym.__T_as_core::fmt::Debug_::fmt::h7fdbf3b2e07b0d79]
mov qword [rdx + 8], rax
lea rax, [rsp + 0x68]
mov qword [rdx + 0x10], rax
lea rax, [sym.__std::sync::mutex::MutexGuard_T__as_core::fmt::Debug_::fmt::h5817596a424fbbc1]
mov qword [rdx + 0x18], rax
mov eax, 2
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xc0], rax
and qword [rsp + 0xd0], 0
movabs rcx, 0x400000020
mov qword [rsp + 0xd8], rcx
mov r8b, 3
mov byte [rsp + 0xe0], r8b
mov qword [rsp + 0xe8], rax
mov qword [rsp + 0xf8], rax
mov qword [rsp + 0x108], 1
mov qword [rsp + 0x110], rcx
mov byte [rsp + 0x118], r8b
lea r8, str.internal_error:_entered_unreachable_code:_Cannot_acquire_afd____afd_group:
lea rcx, [rsp + 0x78]
mov qword [rcx], r8
mov qword [rcx + 8], rax
lea r8, [rsp + 0xb0]
mov qword [rcx + 0x20], r8
mov qword [rcx + 0x28], rax
mov qword [rcx + 0x10], rdx
mov qword [rcx + 0x18], rax
lea rdx, str.C:Users_fhnir.cargo_registry_srcindex.crates.io_6f17d22bba15001fmio_0.8.10_src_syswindows_selector.rs
call dbg.panic_fmt
ud2