Function at 0x140069dac
Capabilities:
Connect socket

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x238
lea rbp, [rsp + 0x80]
and rsp, 0xffffffffffffff80
mov r14, r8
mov rsi, rdx
mov r13, rcx
movzx eax, byte [rdx + 0x78]
test eax, eax
je 0x140069e3a
cmp eax, 3
jne 0x14006a64a
lea rdi, [rsi + 0x70]
lea r15, [rsi + 0x30]
movzx eax, byte [rsi + 0x70]
test eax, eax
je 0x140069ef1
cmp eax, 3
jne 0x14006a65c
mov rax, qword [rsi + 0x68]
mov rdx, qword [rax + 0x10]
lea rbx, [rsp + 0xc0]
mov rcx, rbx
mov r8, r14
call fcn.14009a326
mov al, byte [rbx + 9]
cmp al, 3
jne 0x14006a1df
mov byte [rdi], 3
mov qword [r13], 3
mov al, 3
jmp 0x14006a4a6
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 0x140069f08
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]
rol r9w, 8
mov qword [rsp + 0xc8], r8
mov dword [rsp + 0xd0], r10d
mov word [rsp + 0xd4], r11w
mov word [rsp + 0xd6], di
mov dword [rsp + 0xd8], edx
xorps xmm0, xmm0
movups xmmword [rsp + 0xdc], xmm0
movups xmmword [rsp + 0xec], xmm0
movups xmmword [rsp + 0xfc], xmm0
movups xmmword [rsp + 0x10c], xmm0
and dword [rsp + 0x13c], 0
movups xmmword [rsp + 0x11c], xmm0
movups xmmword [rsp + 0x12c], xmm0
push 0x1c
pop r8
mov r10w, 0x17
jmp 0x140069f64
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x30], rdi
mov rdi, qword [rsi + 0x30]
mov r14, qword [rsi + 0x38]
jmp 0x140069fdc
movzx r9d, word [rsp + 0x54]
mov eax, dword [rsp + 0x50]
rol r9w, 8
xorps xmm0, xmm0
movups xmmword [rsp + 0xc8], xmm0
movups xmmword [rsp + 0xd8], xmm0
movups xmmword [rsp + 0xe8], xmm0
movups xmmword [rsp + 0xf8], xmm0
movups xmmword [rsp + 0x108], xmm0
and qword [rsp + 0x138], 0
movups xmmword [rsp + 0x118], xmm0
movups xmmword [rsp + 0x128], xmm0
push 0x10
pop r8
mov r10w, 2
lea rdx, [rsp + 0xc0]
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 0x140069fb6
call fcn.140031991
mov r12, rax
mov qword [rsp + 0x80], rax
mov rcx, rax
call fcn.1400152f8
cmp al, 0xd
jne 0x14006a1ce
lea rcx, [rsp + 0x80]
call fcn.140024b22
mov qword [rsp + 0x78], r14
mov rdi, qword [rsi + 0x28]
mov qword [rsi + 0x30], rdi
and qword [rsi + 0x38], 0
lea r15, [rsi + 0x30]
lea rax, [rsi + 0x70]
mov qword [rsp + 0x30], rax
mov byte [rsi + 0x70], 0
xor r14d, r14d
mov qword [rsp + 0x48], r15
lea rbx, str.C:Users_fhnir.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.36.0_src_net_tcp_stream.rs
mov rcx, rbx
call fcn.140099251
mov r15, rax
mov r12, rdx
mov qword [rsp + 0x170], rdi
mov qword [rsp + 0x178], r14
mov qword [rsp + 0x1a0], rax
mov qword [rsp + 0x1a8], rdx
lea r14, [rdx + 0x120]
lea rax, [rdx + 0xc0]
test r15, r15
mov ecx, 0xc0
mov edi, 0x120
cmove rdi, rcx
cmove r14, rax
mov rcx, r14
mov rdx, rbx
call fcn.1400971b4
lea rbx, [r14 + 0x20]
mov rcx, rbx
call fcn.14009441c
cmp byte [r14 + 0x50], 0
je 0x14006a07e
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.140030fb0
mov r15, rax
mov rcx, rbx
call fcn.14004824a
mov rdi, qword [rsp + 0x30]
jmp 0x14006a433
mov qword [rsp + 0x188], r15
mov qword [rsp + 0x40], r13
lea r15, [rsp + 0xc0]
and qword [r15 + 0x17], 0
xorps xmm0, xmm0
movups xmmword [r15 + 7], xmm0
movaps xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x89], xmm0
mov rax, qword [r15 + 0x1f]
mov qword [rsp + 0xb8], rax
movups xmm0, xmmword [r15 + 0x10]
movups xmmword [rsp + 0xa9], xmm0
movups xmm0, xmmword [r15]
movups xmmword [rsp + 0x99], xmm0
mov rax, qword [rsp + 0xb0]
mov qword [r15 + 0xa0], rax
mov rax, qword [rsp + 0xb8]
mov qword [r15 + 0xa8], rax
movaps xmm0, xmmword [rsp + 0xa0]
movaps xmmword [r15 + 0x90], xmm0
movaps xmm0, xmmword [rsp + 0x90]
movaps xmmword [r15 + 0x80], xmm0
movaps xmm0, xmmword [rsp + 0x80]
movaps xmmword [r15 + 0x70], xmm0
mov ecx, 0x100
mov edx, 0x80
call fcn.1400959a6
mov r13, rax
push 1
pop rax
mov qword [r13], rax
mov qword [r13 + 8], rax
lea rcx, [r13 + 0x10]
mov r8d, 0xb0
mov rdx, r15
call sub.VCRUNTIME140.dll_memcpy
and qword [r13 + 0xc0], 0
lock inc qword [r13]
jle case.0x140025fd5.402
lea r15, [r13 + 0x80]
mov qword [rsp + 0x80], r15
mov rax, qword [r14 + 0x40]
cmp rax, r15
je case.0x140025fd5.403
mov qword [r13 + 0x88], rax
and qword [r13 + 0x80], 0
test rax, rax
je 0x14006a195
mov qword [rax], r15
mov qword [r14 + 0x40], r15
cmp qword [r14 + 0x48], 0
jne 0x14006a1a4
mov qword [r14 + 0x48], r15
mov qword [rsp + 0x190], r13
mov rcx, rbx
call fcn.14004824a
cmp qword [rsp + 0x178], 0
je 0x14006a1f4
movabs r15, 0xc00000003
jmp 0x14006a41c
mov rcx, qword [rsi + 0x28]
call fcn.1400627c7
push 2
pop rdi
jmp 0x14006a483
cmp al, 2
jne 0x14006a2a6
mov r12, qword [rsp + 0xc0]
jmp 0x14006a3e7
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0x38], rax
mov rax, qword [r12 + rdi]
lea rdi, [rax + 0x18]
mov qword [rsp + 0x198], rdi
mov qword [rsp + 0x68], rax
lea rdx, [rax + 0x20]
lea r14, [rsp + 0xc0]
mov rcx, r14
call fcn.14003111b
cmp qword [r14], 0
jne 0x14006a692
mov qword [rsp + 0x70], r15
mov rbx, qword [rsp + 0xc8]
mov r8b, byte [rsp + 0xd0]
mov qword [rsp + 0x1b0], rbx
mov byte [rsp + 0x1b8], r8b
lea rdx, [rbx + 0x10]
mov rax, qword [rbx + 0x20]
test rax, rax
je 0x14006a27c
mov rcx, qword [rbx + 0x18]
mov rax, qword [rcx + rax*8 - 8]
mov rax, qword [rax]
cmp rax, 0x20
and byte [rdi], cl
invalid
mov al, 0
add byte [rax], al
mov rcx, qword [rdi]
mov edi, r8d
call fcn.140032399
mov r8d, edi
mov r15, rax
test rax, rax
je 0x14006a32c
mov rcx, rbx
mov edx, r8d
call fcn.140031368
jmp 0x14006a41c
lea rcx, [rsi + 0x40]
call fcn.14009918c
mov rcx, qword [rax]
lea r9, [rsp + 0x80]
lea ecx, [rsp + 0x80]
and dword [r9], 0
mov dword [rsp + 0xc0], 4
mov qword [rsp + 0x20], rbx
mov edx, 0xffff
mov r8d, 0x1007
add byte [rax], al
call qword [sym.imp.ws2_32.dll_getsockopt]
cmp eax, 0xffffffff
je 0x14006a3d6
movsxd r12, dword [rsp + 0x80]
test r12, r12
jne 0x14006a3df
mov rdi, qword [rsi + 0x40]
mov r12, qword [rsi + 0x48]
mov rax, qword [rsi + 0x60]
mov qword [rsp + 0x1f0], rax
movups xmm0, xmmword [rsi + 0x50]
movaps xmmword [rsp + 0x1e0], xmm0
mov byte [rsi + 0x70], 1
cmp rdi, 3
je 0x140069e2b
jmp 0x14006a45b
mov rax, qword [rbx + 0x20]
test rax, rax
je 0x14006a6cf
mov rcx, qword [rbx + 0x18]
mov rdi, qword [rcx + rax*8 - 8]
lock inc qword [rdi]
jle case.0x140025fd5.402
mov rcx, rbx
mov edx, r8d
call fcn.140031368
mov qword [rsp + 0x218], rdi
lea rbx, [rsp + 0x80]
mov rcx, rbx
mov rdx, qword [rsp + 0x38]
mov r8d, 0x48000022
add byte [rax - 0x18], cl
mov ch, 0x81
cld
inc dword [rbx + 0x7374003b]
mov qword [rsp + 0x180], rdi
xor r15d, r15d
lea rdi, [0x1400d72e8]
lea rbx, [rsp + 0xc0]
cmp r15, 0xc
je 0x14006a3ff
mov r8d, dword [r15 + rdi]
mov rcx, rbx
mov rdx, qword [rsp + 0x38]
call fcn.14003252f
cmp esp, 0x448b48ff
dec dword [rax - 0x75]
and al, 0x38
cmp dword [rsp + 0xc0], 0
jne 0x14006a3d0
mov r14, qword [rsp + 0xc8]
cmp r14, rax
jne 0x14006a4bd
add r15, 4
jmp 0x14006a399
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov r12d, eax
shl r12, 0x20
or r12, 2
lea rcx, [rsi + 0x40]
call fcn.1400624d9
jmp 0x14006a455
mov r14, qword [rsp + 0x88]
jmp 0x14006a4c5
mov r15d, dword [rsp + 0x84]
shl r15, 0x20
or r15, 2
lea rcx, [rsp + 0x218]
mov word [rax + rbx], fs
add al, byte [rax]
add al, ch
xchg edi, eax
invalid
cld
invalid
mov rdi, qword [rsp + 0x30]
lea rcx, [rsp + 0x190]
call fcn.140094228
mov r13, qword [rsp + 0x40]
lea rcx, [rsp + 0x1a0]
call fcn.140037121
lea rcx, [rsp + 0x170]
lea ecx, [rsp + 0x170]
call fcn.140098a91
mov r12, r15
cld
mov r15, qword [rsp + 0x48]
mov byte [rdi], 1
push 2
pop rdi
mov rax, qword [rsp + 0x1f0]
mov qword [rsp + 0x1d0], rax
movaps xmm0, xmmword [rsp + 0x1e0]
movaps xmmword [rsp + 0x1c0], xmm0
mov rcx, r15
call fcn.140069d91
invalid
stc
invalid
invalid
mov qword [r13], rdi
mov qword [r13 + 8], r12
movaps xmm0, xmmword [rsp + 0x1c0]
movups xmmword [r13 + 0x10], xmm0
adc dword [rbp + 0x10], eax
mov rax, qword [rsp + 0x1d0]
mov qword [r13 + 0x20], rax
mov al, 1
mov byte [rsi + 0x78], al
lea rsp, [rbp + 0x1b8]
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rdi, qword [rsp + 0x180]
mov ecx, 0x80
call fcn.140030f82
mov rbx, rax
push 1
add dword [rax + 0x48], ebx
mov dword [rbx], eax
mov qword [rbx + 8], rax
and qword [rbx + 0x10], 0
mov byte [rbx + 0x18], 0
and dword [rbx + 0x20], 0
invalid
and byte [rax], al
lea rdx, [rbx + 0x10]
mov qword [rbx + 0x28], rdi
xorps xmm0, xmm0
ror byte [rdi], 0x11
xor byte [r15], cl
adc dword [rbx + 0x40], eax
movups xmmword [rbx + 0x50], xmm0
push r8
mov qword [rbx + 0x60], r14
mov dword [rbx + 0x60], esi
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.36.0_src_net_tcp_socket.rs
jmp 0x14006a66a
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.36.0_src_net_tcp_stream.rs
push 0x23
pop rdx
call fcn.1400a88e0
add r14, 0x40
lea r8, [rsp + 0xc0]
lea rax, [rsp + 0x198]
lea rdx, [rsp + 0x218]
mov qword [rdx], rax
lea rax, [0x1400311c7]