Function at 0x140065822
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 0x14006589b
cmp eax, 3
jne 0x1400660ca
lea r14, [rsi + 0x70]
lea rbx, [rsi + 0x30]
movzx eax, byte [rsi + 0x70]
test eax, eax
je 0x140065954
cmp eax, 3
jne 0x1400660de
mov rax, qword [rsi + 0x68]
mov rdx, qword [rax + 0x10]
lea rdi, [rsp + 0xb0]
mov rcx, rdi
mov r8, r15
call fcn.1400a312e
mov al, byte [rdi + 9]
cmp al, 3
jne 0x140065c55
mov byte [r14], 3
jmp 0x140065fb5
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 0x140065978
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 0x1400659bd
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 0x140065a3c
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, reloc.WS2_32.dll_recv
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 qword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x140065a09
call fcn.140034bc9
mov rdi, rax
mov qword [rsp + 0x78], rax
mov rcx, rax
call fcn.140017667
cmp al, 0xd
jne 0x140065c42
lea rcx, [rsp + 0x78]
call fcn.14002579f
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:Userspc.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.34.0_src_net_tcp_stream.rs
mov rcx, rbx
call fcn.1400a215f
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 + 0x138]
lea rax, [rdx + 0xd0]
test rbp, rbp
mov ecx, 0xd0
mov r12d, 0x138
cmove r12, rcx
cmove r14, rax
mov rcx, r14
mov rdx, rbx
call fcn.14009edfc
add r14, 0x20
mov rcx, r14
call fcn.1400a16c1
mov rbx, rax
mov r14d, edx
cmp byte [rax + 0x38], 0
je 0x140065ae9
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_state9T
mov r8d, 0x38
mov cl, 0x27
call fcn.140081d06
mov r15, rax
mov rcx, rbx
mov edx, r14d
call case.0x1400abaf0.155
mov r14, qword [rsp + 0x28]
mov r12, qword [rsp + 0x30]
jmp 0x140065f69
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, 0x80
call fcn.1400a0c61
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 0x1400660da
lea r15, [r13 + 0x80]
mov qword [rsp + 0x78], r15
mov rax, qword [rbx + 0x28]
cmp rax, r15
je 0x1400660f8
mov qword [r13 + 0xc8], rax
and qword [r13 + 0xc0], 0
test rax, rax
je 0x140065c09
mov qword [rax + 0x40], r15
mov qword [rbx + 0x28], r15
cmp qword [rbx + 0x30], 0
jne 0x140065c18
mov qword [rbx + 0x30], r15
mov qword [rsp + 0x160], r13
mov rcx, rbx
mov edx, r14d
call case.0x1400abaf0.155
cmp qword [rsp + 0x40], 0
je 0x140065c6f
movabs r15, 0xc00000003
jmp 0x140065f52
mov rcx, qword [rsi + 0x28]
call fcn.14005e244
mov ebx, 2
jmp 0x140065feb
cmp al, 2
mov qword [rsp + 0x38], rbx
jne 0x140065d01
mov rdi, qword [rsp + 0xb0]
jmp 0x140065e2c
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 fcn.14003413a
lea rdx, str.C:Userspc.cargo_registry_srcindex.crates.io_6f17d22bba15001fmio_0.8.9_src_syswindows_selector.rs
mov rcx, rbx
call fcn.140034b81
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 0x140065cd7
mov rcx, qword [r14]
mov rax, qword [rcx + rax*8 - 8]
mov rax, qword [rax]
cmp rax, 0x20
jbe 0x140065d73
mov rcx, qword [r15]
mov rdx, r14
call fcn.140035584
mov r15, rax
test rax, rax
je 0x140065d73
mov rcx, qword [rsp + 0x68]
mov dl, byte [rsp + 0x70]
call case.0x1400abaf0.155
jmp 0x140065f52
lea rcx, [rsi + 0x40]
call fcn.1400a20e0
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 qword [sym.imp.WS2_32.dll_getsockopt]
cmp eax, 0xffffffff
je 0x140065e1c
movsxd rdi, dword [rsp + 0x78]
test rdi, rdi
jne 0x140065e24
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 0x140065f8b
mov rax, qword [rbx + 0x20]
test rax, rax
je case.0x14003de1c.278
mov rcx, qword [r14]
mov rbx, qword [rcx + rax*8 - 8]
lock inc qword [rbx]
jle 0x1400660da
mov qword [rsp + 0x150], r12
mov rcx, qword [rsp + 0x68]
mov dl, byte [rsp + 0x70]
call case.0x1400abaf0.155
mov rbp, rbx
mov qword [rsp + 0x1f8], rbx
lea rbx, [rsp + 0x78]
mov rcx, rbx
mov rdx, qword [rsp + 0x48]
mov r8d, 0x48000022
call fcn.14003571a
cmp dword [rbx], 0
je 0x140065e3f
xor r15d, r15d
lea r12, [0x1401181a0]
lea rbx, [rsp + 0xb0]
cmp r15, 0xc
je 0x140065f38
mov r8d, dword [r15 + r12]
mov rcx, rbx
mov rdx, qword [rsp + 0x48]
call fcn.14003571a
add r15, 4
cmp dword [rsp + 0xb0], 0
jne 0x140065de2
mov r14, qword [rsp + 0xb8]
cmp r14, qword [rsp + 0x48]
je 0x140065de2
jmp 0x140065e47
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
shl rdi, 0x20
or rdi, 2
lea rcx, [rsi + 0x40]
call fcn.14005df9e
mov ebx, 2
jmp 0x140065f8b
mov r14, qword [rsp + 0x80]
mov ecx, 0x80
call fcn.1400340c2
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 fcn.1400a0cba
lea rdx, str.C:Userspc.cargo_registry_srcindex.crates.io_6f17d22bba15001fmio_0.8.9_src_syswindows_selector.rs
mov rcx, r14
call fcn.140034617
mov dword [rax + 0x60], 0x19d
mov r15, qword [rsp + 0x40]
mov qword [rax + 0x58], r15
mov rcx, rax
call case.0x1400abaf0.155
mov r12, qword [rsp + 0x150]
lock inc qword [r12]
jle 0x1400660da
lock inc qword [rbx]
jle 0x1400660da
lea r14, [r12 + 0x10]
mov qword [rsp + 0xb0], r12
mov qword [rsp + 0xc0], r15
mov byte [rsp + 0xc8], 3
mov qword [rsp + 0xb8], rbx
and al, 0xb8
add byte [rax], al
add byte [rcx + rcx*4 - 0xf], cl
mov rdx, rbx
call fcn.1400354d8
mov rcx, r14
call fcn.140035524
test rax, rax
je 0x140066028
mov r15, rax
lea rcx, [rsp + 0xb0]
call fcn.140035789
jmp 0x140065f52
mov r15d, dword [rsp + 0x7c]
shl r15, 0x20
or r15, 2
iretd
add cl, byte [rax - 0x73]
lea rcx, [rsp + 0x1f8]
call fcn.14003398e
lea rcx, [rsp + 0x160]
call fcn.14009d67c
mov r12, qword [rsp + 0x30]
mov r14, qword [rsp + 0x28]
and al, 0x28
lea rcx, [rsp + 0x170]
call fcn.14009ce9d
lea rcx, [rsp + 0x140]
call fcn.1400a173d
add eax, dword [rax]
mov ebx, 2
mov rdi, r15
mov rax, qword [rsp + 0x1d0]
mov qword [rsp + 0x190], rax
movaps xmm0, xmmword [rsp + 0x1c0]
add byte [rax], al
movaps xmmword [rsp + 0x180], xmm0
mov byte [r14], 1
cmp rbx, 3
sti
add esi, dword [rbp + 0xc]
mov qword [r12], 3
mov al, 3
jmp 0x140066011
mov rax, qword [rsp + 0x190]
mov qword [rsp + 0x1b0], rax
add byte [rax], al
movaps xmm0, xmmword [rsp + 0x180]
movaps xmmword [rsp + 0x1a0], xmm0
movabs al, byte [0x38244c8b48000001]
add byte [rax], al
mov rcx, qword [rsp + 0x38]
call fcn.140065807
mov qword [r12], rbx
mov qword [r12 + 8], rdi
and al, 8
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
add al, ch
jge 0x140066023
cld
dec dword [rcx - 0x77]
invalid
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 fcn.1400357be
mov ebx, 2
mov rbp, qword [rsp + 0x158]
cmp rbp, 2
jne 0x14006608a
mov r12, qword [rsp + 0x30]
mov r14, qword [rsp + 0x28]
jmp 0x140065f8b
invalid
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 dword [rsi + 0x68], eax
mov r12, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
cmp byte [rbx + rcx*4 + 0x74], cl
and al, 0x28
mov r15, qword [rsp + 0xa8]
jmp 0x140065870
idiv edi
invalid
lea rcx, str._async_fn__resumed_after_completionunable_to_find_any_user_specified_roots_in_the_final_cert_chainC:Userspc.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_util_0.7.10_srcutilpoll_buf.rs
lea r8, str.C:Userspc.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.34.0_src_net_tcp_socket.rs
add bl, ch
invalid
ud2
lea rcx, str._async_fn__resumed_after_completionunable_to_find_any_user_specified_roots_in_the_final_cert_chainC:Userspc.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_util_0.7.10_srcutilpoll_buf.rs
lea r8, str.C:Userspc.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.34.0_src_net_tcp_stream.rs
invalid
mov edx, 0x23
call fcn.1400e4650
ud2
add rbx, 0x28
lea rax, [rsp + 0x168]
lea rdx, [rsp + 0x1f8]
mov qword [rdx], rax
lea rax, [0x14003418e]
mov qword [rdx + 8], rax
lea rax, [rsp + 0x68]