Function at 0x1401393a5
Capabilities:
Connect socket

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x338
lea rbp, [rsp + 0x80]
and rsp, 0xffffffffffffff80
mov rsi, rdx
mov rbx, rcx
movzx eax, byte [rdx + 0x78]
push 2
pop r14
test eax, eax
je 0x140139429
cmp eax, 3
jne 0x140139d29
lea r15, [rsi + 0x30]
lea r13, [rsi + 0x70]
movzx eax, byte [rsi + 0x70]
test eax, eax
je 0x1401394fa
cmp eax, 3
jne 0x140139d3d
mov rax, qword [rsi + 0x68]
mov rdx, qword [rax + 0x10]
lea rdi, [rsp + 0x1e0]
mov rcx, rdi
call fcn.1401939dd
mov al, byte [rdi + 9]
cmp al, 3
jne 0x140139829
mov byte [r13], 3
jmp 0x140139bff
mov qword [rsp + 0xf0], r8
mov rcx, qword [rsi + 0x20]
mov qword [rsi + 0x28], rcx
cmp word [rsi], 0
movzx eax, word [rsi + 0x12]
mov word [rsp + 0xe0], ax
movups xmm0, xmmword [rsi + 2]
movaps xmmword [rsp + 0xd0], xmm0
je 0x140139517
mov eax, dword [rsi + 0x14]
mov edx, dword [rsi + 0x18]
movzx r9d, word [rsi + 0x1c]
mov r8, qword [rsp + 0xd2]
mov r10d, dword [rsp + 0xda]
movzx r11d, word [rsp + 0xde]
movzx edi, word [rsp + 0xe0]
xorps xmm0, xmm0
movups xmmword [rsp + 0x1fc], xmm0
movups xmmword [rsp + 0x20c], xmm0
movups xmmword [rsp + 0x21c], xmm0
and dword [rsp + 0x25c], 0
movups xmmword [rsp + 0x22c], xmm0
movups xmmword [rsp + 0x23c], xmm0
rol r9w, 8
movups xmmword [rsp + 0x24c], xmm0
mov qword [rsp + 0x1e8], r8
mov dword [rsp + 0x1f0], r10d
mov word [rsp + 0x1f4], r11w
mov word [rsp + 0x1f6], di
mov dword [rsp + 0x1f8], edx
push 0x1c
pop r8
mov r10w, 0x17
jmp 0x140139560
mov qword [rsp + 0xf0], r8
mov qword [rsp + 0x90], r13
mov qword [rsp + 0xa0], r15
jmp 0x1401395da
lea rdx, [rsp + 0x1e8]
movzx r9d, word [rsp + 0xd4]
mov eax, dword [rsp + 0xd0]
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
push 0x10
pop r8
mov r10w, 2
lea rdx, [rsp + 0x1e0]
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 0x1401395b1
call fcn.140090a40
mov r15, rax
mov qword [rsp + 0x100], rax
mov rcx, rax
call fcn.1400913a6
cmp al, 0xd
jne 0x14013981b
lea rcx, [rsp + 0x100]
call fcn.1401082c3
mov rax, qword [rsi + 0x28]
mov qword [rsi + 0x30], rax
and qword [rsi + 0x38], 0
lea rax, [rsi + 0x30]
mov qword [rsp + 0xa0], rax
lea rax, [rsi + 0x70]
mov qword [rsp + 0x90], rax
mov byte [rsi + 0x70], 0
mov qword [rsp + 0xb0], rbx
mov rbx, qword [rsi + 0x30]
mov qword [rsp + 0x88], rsi
mov r12, qword [rsi + 0x38]
lea rdi, str._usr_local_cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_1.33.0_src_net_tcp_stream.rs
mov rcx, rdi
call fcn.1401929ad
mov r15, rax
mov r13, rdx
mov qword [rsp + 0x1b0], rbx
mov qword [rsp + 0x1b8], r12
mov qword [rsp + 0x290], rax
mov qword [rsp + 0x298], rdx
lea r14, [rdx + 0x120]
lea rax, [rdx + 0xc0]
test r15, r15
mov ecx, 0xc0
mov esi, 0x120
cmove rsi, rcx
cmove r14, rax
mov rcx, r14
mov rdx, rdi
call fcn.140190056
lea rdi, [r14 + 0x20]
mov rcx, rdi
call fcn.14010ca0d
cmp byte [r14 + 0x50], 0
je 0x14013969a
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
push 0x38
pop r8
mov cl, 0x27
call fcn.1400900e0
mov r15, rax
mov rcx, rdi
call fcn.14010ca1c
mov r13, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x88]
jmp 0x140139bae
mov qword [rsp + 0x1d0], rsi
mov qword [rsp + 0xa8], r13
mov qword [rsp + 0x98], r12
mov qword [rsp + 0xb8], rbx
mov qword [rsp + 0x1c8], r15
lea r15, [rsp + 0x1e0]
and qword [r15 + 0x17], 0
xorps xmm0, xmm0
movups xmmword [r15 + 7], xmm0
mov rax, qword [r15 + 0x1f]
mov qword [rsp + 0x138], rax
movups xmm1, xmmword [r15 + 0x10]
movups xmmword [rsp + 0x129], xmm1
movups xmm1, xmmword [r15]
movups xmmword [rsp + 0x119], xmm1
movups xmmword [rsp + 0x109], xmm0
movaps xmmword [rsp + 0x100], xmm0
mov rax, qword [rsp + 0x130]
mov qword [r15 + 0xa0], rax
mov rax, qword [rsp + 0x138]
mov qword [r15 + 0xa8], rax
movaps xmm0, xmmword [rsp + 0x120]
movaps xmmword [r15 + 0x90], xmm0
movaps xmm0, xmmword [rsp + 0x110]
movaps xmmword [r15 + 0x80], xmm0
movaps xmm0, xmmword [rsp + 0x100]
movaps xmmword [r15 + 0x70], xmm0
mov ecx, 0x100
mov edx, pe_nt_image_headers64
call fcn.14009ec09
push 1
pop rcx
mov qword [rax], rcx
mov qword [rax + 8], rcx
lea rcx, [rax + 0x10]
mov r8d, 0xb0
mov rdx, r15
mov r15, rax
call sub.msvcrt.dll_memcpy
and qword [r15 + 0xc0], 0
lock inc qword [r15]
jle 0x140139d39
lea rbx, [r15 + 0x80]
mov qword [rsp + 0x100], rbx
mov rax, qword [r14 + 0x40]
cmp rax, rbx
mov r12, qword [rsp + 0x1d0]
je 0x140139d55
mov qword [r15 + 0x88], rax
and qword [r15 + 0x80], 0
test rax, rax
je 0x1401397d2
mov qword [rax], rbx
mov qword [r14 + 0x40], rbx
cmp qword [r14 + 0x48], 0
jne 0x1401397e1
mov qword [r14 + 0x48], rbx
mov qword [rsp + 0x1d8], r15
mov rcx, rdi
call fcn.14010ca1c
cmp qword [rsp + 0x98], 0
je 0x140139846
movabs r15, 0xc00000003
mov r13, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x88]
jmp 0x140139ba1
mov rcx, qword [rsi + 0x28]
call fcn.140130a79
jmp 0x140139c37
cmp al, 2
mov qword [rsp + 0xa0], r15
jne 0x1401398e2
mov r15, qword [rsp + 0x1e0]
jmp 0x140139a66
mov qword [rsp + 0x98], rbx
mov rax, qword [rsp + 0xa8]
mov r14, qword [rax + r12]
lea rbx, [r14 + 0x18]
mov qword [rsp + 0xf8], rbx
lea rdx, [r14 + 0x20]
lea r12, [rsp + 0x1e0]
mov rcx, r12
call fcn.14009014f
lea rdx, str._usr_local_cargo_registry_src_index.crates.io_6f17d22bba15001f_mio_0.8.9_src_sys_windows_selector.rs
mov rcx, r12
call fcn.1400909f8
mov rdi, rax
mov qword [rsp + 0xc0], rax
mov byte [rsp + 0xc8], dl
lea rdx, [rax + 0x10]
mov rax, qword [rax + 0x20]
test rax, rax
mov qword [rsp + 0x1c0], r15
je 0x140139959
mov rcx, qword [rdx]
mov rax, qword [rcx + rax*8 - 8]
mov rax, qword [rax]
mov rdi, qword [rsp + 0xc0]
cmp rax, 0x20
jbe 0x140139992
mov rax, qword [rsp + 0xf8]
lea rdx, [rdi + 0x10]
mov rcx, qword [rax]
jmp 0x14013995c
lea rcx, [rsi + 0x40]
call fcn.14019257d
mov rcx, qword [rax]
lea r9, [rsp + 0x100]
and dword [r9], 0
mov dword [rsp + 0x1e0], 4
mov qword [rsp + 0x20], rdi
mov edx, 0xffff
mov r8d, 0x1007
call sub.ws2_32.dll_getsockopt
cmp eax, 0xffffffff
je 0x140139a56
movsxd r15, dword [rsp + 0x100]
test r15, r15
jne 0x140139a5e
mov r14, qword [rsi + 0x40]
mov r15, qword [rsi + 0x48]
mov rax, qword [rsi + 0x60]
mov qword [rsp + 0x2f0], rax
movups xmm0, xmmword [rsi + 0x50]
movaps xmmword [rsp + 0x2e0], xmm0
jmp 0x140139bd4
mov rcx, qword [rbx]
call fcn.1400913fe
mov r15, rax
test rax, rax
mov r13, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x88]
je 0x14013999a
mov rcx, qword [rsp + 0xc0]
mov dl, byte [rsp + 0xc8]
call fcn.1400650de
jmp 0x140139ba1
mov rsi, qword [rsp + 0x88]
mov rax, qword [rdi + 0x20]
test rax, rax
je 0x140139d77
mov rcx, qword [rdi + 0x10]
mov rbx, qword [rcx + rax*8 - 8]
lock inc qword [rbx]
jle 0x140139d39
mov qword [rsp + 0x88], r14
mov rcx, qword [rsp + 0xc0]
mov dl, byte [rsp + 0xc8]
call fcn.1400650de
mov qword [rsp + 0x318], rbx
lea rdi, [rsp + 0x100]
mov rcx, rdi
mov rdx, qword [rsp + 0xb8]
mov r8d, 0x48000022
call fcn.14009158f
cmp dword [rdi], 0
je 0x140139a74
xor r15d, r15d
lea r13, [0x1402abf50]
lea rdi, [rsp + 0x1e0]
cmp r15, 0xc
je 0x140139b7c
mov r8d, dword [r15 + r13]
mov rcx, rdi
mov rdx, qword [rsp + 0xb8]
call fcn.14009158f
mov rax, qword [rsp + 0xb8]
add r15, 4
cmp dword [rsp + 0x1e0], 0
jne 0x140139a13
mov r14, qword [rsp + 0x1e8]
cmp r14, rax
je 0x140139a13
jmp 0x140139a7c
call sub.ws2_32.dll_WSAGetLastError
mov r15d, eax
shl r15, 0x20
or r15, 2
lea rcx, [rsi + 0x40]
call fcn.1401307c4
jmp 0x140139bd4
mov r14, qword [rsp + 0x108]
mov ecx, pe_nt_image_headers64
call fcn.140090077
mov rdi, rax
push 1
pop rax
mov qword [rdi], rax
mov qword [rdi + 8], rax
and qword [rdi + 0x10], 0
mov byte [rdi + 0x18], 0
and dword [rdi + 0x20], 0
lea rdx, [rdi + 0x10]
mov qword [rdi + 0x28], rbx
xorps xmm0, xmm0
movups xmmword [rdi + 0x30], xmm0
movups xmmword [rdi + 0x40], xmm0
movups xmmword [rdi + 0x50], xmm0
mov qword [rdi + 0x60], r14
movups xmmword [rdi + 0x68], xmm0
and word [rdi + 0x78], 0
lea rbx, [rsp + 0x1e0]
mov rcx, rbx
call fcn.140080e1f
lea rdx, str._usr_local_cargo_registry_src_index.crates.io_6f17d22bba15001f_mio_0.8.9_src_sys_windows_selector.rs
mov rcx, rbx
call fcn.1400905ae
mov dword [rax + 0x60], 0x19d
mov rcx, qword [rsp + 0x98]
mov qword [rax + 0x58], rcx
mov rcx, rax
call fcn.1400650de
mov r14, qword [rsp + 0x88]
lock inc qword [r14]
jle 0x140139d39
lock inc qword [rdi]
mov r13, qword [rsp + 0x90]
jle 0x140139d39
lea rbx, [r14 + 0x10]
mov qword [rsp + 0x1e0], r14
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x1f0], rax
mov byte [rsp + 0x1f8], 3
mov qword [rsp + 0x1e8], rdi
mov rcx, rbx
mov rdx, rdi
call fcn.140091308
mov rcx, rbx
call fcn.140091354
test rax, rax
je 0x140139c6f
mov r15, rax
lea rcx, [rsp + 0x1e0]
call fcn.1400915fc
jmp 0x140139ba1
mov r15d, dword [rsp + 0x104]
shl r15, 0x20
or r15, 2
lea rcx, [rsp + 0x318]
call fcn.14008f8dd
mov r13, qword [rsp + 0x90]
lea rcx, [rsp + 0x1d8]
call fcn.14018d2aa
lea rcx, [rsp + 0x290]
call fcn.14010883d
lea rcx, [rsp + 0x1b0]
call fcn.1401918d1
mov rbx, qword [rsp + 0xb0]
push 2
pop r14
mov rax, qword [rsp + 0x2f0]
mov qword [rsp + 0x2b0], rax
movaps xmm0, xmmword [rsp + 0x2e0]
movaps xmmword [rsp + 0x2a0], xmm0
mov byte [r13], 1
cmp r14, 3
jne 0x140139c0a
mov qword [rbx], 3
mov al, 3
jmp 0x140139c58
mov rax, qword [rsp + 0x2b0]
mov qword [rsp + 0x2d0], rax
movaps xmm0, xmmword [rsp + 0x2a0]
movaps xmmword [rsp + 0x2c0], xmm0
mov rcx, qword [rsp + 0xa0]
call fcn.14013938a
mov qword [rbx], r14
mov qword [rbx + 8], r15
movaps xmm0, xmmword [rsp + 0x2c0]
movups xmmword [rbx + 0x10], xmm0
mov rax, qword [rsp + 0x2d0]
mov qword [rbx + 0x20], rax
mov al, 1
mov byte [rsi + 0x78], al
lea rsp, [rbp + 0x2b8]
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea rax, [rsp + 0x1f0]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x300], xmm0
push 0x20
pop rcx
call fcn.140090077
mov rbx, rax
mov qword [rax], r14
mov qword [rax + 8], rdi
movaps xmm0, xmmword [rsp + 0x300]
movups xmmword [rax + 0x10], xmm0
mov rcx, qword [rsp + 0x1b8]
call fcn.140091631
mov rdx, qword [rsp + 0x1c8]
cmp rdx, 2
jne 0x140139cd4
mov rbx, qword [rsp + 0xb0]
push 2
pop r14
mov r15, qword [rsp + 0xa8]
jmp 0x140139bd4
mov rcx, qword [rsp + 0x1b0]
lea rax, [rsi + 0x40]
mov qword [rsi + 0x40], rdx
mov rdx, qword [rsp + 0xa8]
mov qword [rsi + 0x48], rdx
mov rdx, qword [rsp + 0x1c0]
mov qword [rsi + 0x50], rdx
mov qword [rsi + 0x58], rcx
mov qword [rsi + 0x60], rbx
mov qword [rsi + 0x68], rax
mov rbx, qword [rsp + 0xb0]
push 2
pop r14
mov r15, qword [rsp + 0xa0]
mov r8, qword [rsp + 0xf0]
jmp 0x140139400
lea rcx, str._async_fn__resumed_after_completionunable_to_find_any_user_specified_roots_in_the_final_cert_chain_usr_local_cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_util_0.7.10_src_util_poll_buf.rs
lea r8, str._usr_local_cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_1.33.0_src_net_tcp_socket.rs
jmp 0x140139d4b
ud2
lea rcx, str._async_fn__resumed_after_completionunable_to_find_any_user_specified_roots_in_the_final_cert_chain_usr_local_cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_util_0.7.10_src_util_poll_buf.rs
lea r8, str._usr_local_cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_1.33.0_src_net_tcp_stream.rs
push 0x23
pop rdx
call fcn.140050c60
ud2
add r14, 0x40
lea r8, [rsp + 0x1e0]
and qword [r8], 0
lea rdx, [rsp + 0x100]
mov rcx, r14
call fcn.140191d24
ud2
lea rax, [rsp + 0xf8]
lea rdx, [rsp + 0x318]
mov qword [rdx], rax
lea rax, [0x1400904d3]
mov qword [rdx + 8], rax
lea rax, [rsp + 0xc0]
mov qword [rdx + 0x10], rax
lea rax, [0x140090a56]
mov qword [rdx + 0x18], rax
push 2
pop rax
mov qword [rsp + 0x1e0], rax
mov qword [rsp + 0x1f0], rax
and qword [rsp + 0x200], 0
movabs rcx, 0x400000020
mov qword [rsp + 0x208], rcx
mov r8b, 3
mov byte [rsp + 0x210], r8b
mov qword [rsp + 0x218], rax
mov qword [rsp + 0x228], rax
mov qword [rsp + 0x238], 1
mov qword [rsp + 0x240], rcx
mov byte [rsp + 0x248], r8b
lea r8, str.internal_error:_entered_unreachable_code:_Cannot_acquire_afd____afd_group:
lea rcx, [rsp + 0x100]
mov qword [rcx], r8
mov qword [rcx + 8], rax
mov qword [rcx + 0x20], r12
mov qword [rcx + 0x28], rax
mov qword [rcx + 0x10], rdx
mov qword [rcx + 0x18], rax
lea rdx, str._usr_local_cargo_registry_src_index.crates.io_6f17d22bba15001f_mio_0.8.9_src_sys_windows_selector.rs
call fcn.14004f100
ud2