Function at 0x140164570
Capabilities:
Connect socket

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xe8
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
call sym.tokio::runtime::context::CONTEXT::__u7b__u7b_closure_u7d__u7d_::h95591c75332064ce
test rax, rax
je 0x1401645e3
cmp byte [rax + 0x44], 0
setne cl
cmp byte [rax + 0x45], 0
sete bpl
and bpl, cl
movzx eax, byte [rdi + 0xe0]
test eax, eax
je 0x1401645f0
cmp eax, 3
jne 0x14016495c
lea r15, [rdi + 0xd8]
movzx eax, byte [rdi + 0xd8]
test eax, eax
je 0x140164698
cmp eax, 3
jne 0x140164968
mov rax, qword [rdi + 0xd0]
jmp 0x1401647ad
xor ebp, ebp
movzx eax, byte [rdi + 0xe0]
test eax, eax
jne 0x1401645af
mov rcx, qword [rdi + 0x90]
mov qword [rdi + 0x98], rcx
mov eax, dword [rdi + 0x72]
movzx edx, word [rdi + 0x76]
shl rdx, 0x20
or rdx, rax
cmp word [rdi + 0x70], 0
je 0x1401646ab
mov r10d, dword [rdi + 0x84]
mov r8d, dword [rdi + 0x88]
movzx eax, word [rdi + 0x8c]
shr rdx, 0x10
mov dword [rsp + 0x50], edx
mov rdx, qword [rdi + 0x78]
mov qword [rsp + 0x54], rdx
mov edx, dword [rdi + 0x80]
mov dword [rsp + 0x5c], edx
xorps xmm0, xmm0
movups xmmword [rsp + 0x64], xmm0
movups xmmword [rsp + 0x74], xmm0
movups xmmword [rsp + 0x84], xmm0
movups xmmword [rsp + 0x94], xmm0
movups xmmword [rsp + 0xa4], xmm0
movups xmmword [rsp + 0xb4], xmm0
mov dword [rsp + 0xc4], 0
rol ax, 8
mov dword [rsp + 0x60], r8d
mov r8d, 0x1c
mov r9w, 0x17
mov edx, r10d
jmp 0x1401646ff
mov rdx, qword [rdi + 0xa0]
mov r8, qword [rdi + 0xa8]
jmp 0x14016475e
mov rax, rdx
shr rax, 0x20
rol ax, 8
xorps xmm0, xmm0
movups xmmword [rsp + 0xb0], xmm0
movups xmmword [rsp + 0xa0], xmm0
movups xmmword [rsp + 0x90], xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0xc0], 0
mov r8d, 0x10
mov r9w, 2
mov word [rsp + 0x48], r9w
mov word [rsp + 0x4a], ax
mov dword [rsp + 0x4c], edx
mov dword [rsp + 0xc8], r8d
lea rdx, [rsp + 0x48]
call sub.ws2_32.dll_connect
test eax, eax
je 0x140164734
call sub.kernel32.dll_GetLastError
cmp eax, 0x2733
jne 0x14016482b
mov rdx, qword [rdi + 0x98]
mov qword [rdi + 0xa0], rdx
mov qword [rdi + 0xa8], 0
lea r15, [rdi + 0xd8]
mov byte [rdi + 0xd8], 0
xor r8d, r8d
lea rcx, [rsp + 0x48]
call sym.tokio::net::tcp::stream::TcpStream::new::hedfa5447be10b220
mov rcx, qword [rsp + 0x48]
mov r14, qword [rsp + 0x50]
test rcx, rcx
je 0x1401648f3
movups xmm0, xmmword [rsp + 0x58]
movaps xmmword [rsp + 0x30], xmm0
lea rax, [rdi + 0xb0]
mov qword [rdi + 0xb0], rcx
mov qword [rdi + 0xb8], r14
movaps xmm0, xmmword [rsp + 0x30]
movups xmmword [rdi + 0xc0], xmm0
mov qword [rdi + 0xd0], rax
mov rdx, qword [rax + 8]
lea r14, [rsp + 0x48]
mov rcx, r14
mov r8, rbx
mov r9b, 1
call sym.tokio::runtime::io::registration::Registration::poll_ready::h2ef2010f8f6b75bd
movzx eax, byte [rsp + 0x51]
cmp al, 3
jne 0x14016481d
mov byte [rdi + 0xd8], 3
mov byte [rdi + 0xe0], 3
call sym.tokio::runtime::context::CONTEXT::__u7b__u7b_closure_u7d__u7d_::h95591c75332064ce
test rax, rax
je 0x1401647fe
cmp byte [rax + 0x44], 0
sete cl
cmp byte [rax + 0x45], 0
setne al
or al, cl
or bpl, al
je 0x1401648be
mov rcx, rdi
mov rdx, rbx
call sym.__tokio::time::sleep::Sleep_as_core::future::future::Future_::poll::hf96aaaa743f56dc6
test al, al
je 0x1401648b5
mov qword [rsi], 2
jmp 0x14016491b
cmp al, 2
jne 0x140164849
mov r14, qword [rsp + 0x48]
jmp 0x1401648e7
mov r14d, eax
shl r14, 0x20
or r14, 2
mov rcx, qword [rdi + 0x98]
call fcn.14021a4fc
xor eax, eax
jmp 0x1401648f9
mov rcx, qword [rdi + 0xc0]
cmp rcx, 0xffffffffffffffff
je 0x140164974
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x48], 4
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x30]
mov edx, 0xffff
mov r8d, 0x1007
call sub.ws2_32.dll_getsockopt
cmp eax, 0xffffffff
je 0x1401648d7
movsxd r14, dword [rsp + 0x30]
test r14, r14
jne 0x1401648df
lea rcx, [rdi + 0xc0]
mov rax, qword [rdi + 0xb0]
mov r14, qword [rdi + 0xb8]
movups xmm0, xmmword [rcx]
movaps xmmword [rsp + 0xd0], xmm0
jmp 0x1401648f5
mov qword [rsi], 1
jmp 0x14016491b
call sym.tokio::runtime::context::CONTEXT::__u7b__u7b_closure_u7d__u7d_::h95591c75332064ce
test rax, rax
je 0x14016492b
movzx ebp, byte [rax + 0x44]
movzx r14d, byte [rax + 0x45]
mov byte [rax + 0x44], 0
jmp 0x14016492e
call sub.ws2_32.dll_WSAGetLastError
mov r14d, eax
shl r14, 0x20
or r14, 2
lea rcx, [rdi + 0xb0]
call sym.core::ptr::drop_in_place_tokio::net::tcp::stream::TcpStream_::h7ffae51ef49070d3
xor eax, eax
mov byte [r15], 1
mov byte [rdi + 0xe0], 1
mov qword [rsi], 0
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], r14
movaps xmm0, xmmword [rsp + 0xd0]
movups xmmword [rsi + 0x18], xmm0
add rsp, 0xe8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov bpl, 2
mov rcx, rdi
mov rdx, rbx
call sym.__tokio::time::sleep::Sleep_as_core::future::future::Future_::poll::hf96aaaa743f56dc6
movzx eax, al
inc rax
mov qword [rsi], rax
cmp bpl, 2
je 0x14016491b
call sym.tokio::runtime::context::CONTEXT::__u7b__u7b_closure_u7d__u7d_::hc06e9de9ee1a8d21
test rax, rax
je 0x14016491b
mov byte [rax + 0x44], bpl
mov byte [rax + 0x45], r14b
jmp 0x14016491b
lea rcx, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.39.2_src_net_tcp_socket.rs
call sym.core::panicking::panic_const::panic_const_async_fn_resumed::h308c9c5e3fc5d0d1
lea rcx, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.39.2_src_net_tcp_stream.rs
call sym.core::panicking::panic_const::panic_const_async_fn_resumed::h308c9c5e3fc5d0d1
lea rcx, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.39.2_srciopoll_evented.rs
call sym.core::option::unwrap_failed::hec1ab125882a5e1e
int3