Function at 0x140069d8c
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 0x140069e1a
cmp eax, 3
jne 0x14006a62a
lea rdi, [rsi + 0x70]
lea r15, [rsi + 0x30]
movzx eax, byte [rsi + 0x70]
test eax, eax
je 0x140069ed1
cmp eax, 3
jne 0x14006a63c
mov rax, qword [rsi + 0x68]
mov rdx, qword [rax + 0x10]
lea rbx, [rsp + 0xc0]
mov rcx, rbx
mov r8, r14
call fcn.14009a322
mov al, byte [rbx + 9]
cmp al, 3
jne 0x14006a1bf
mov byte [rdi], 3
mov qword [r13], 3
mov al, 3
jmp 0x14006a486
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 0x140069ee8
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 0x140069f44
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x30], rdi
mov rdi, qword [rsi + 0x30]
mov r14, qword [rsi + 0x38]
jmp 0x140069fbc
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 0x140069f96
call fcn.140031971
mov r12, rax
mov qword [rsp + 0x80], rax
mov rcx, rax
call fcn.1400152d8
cmp al, 0xd
jne 0x14006a1ae
lea rcx, [rsp + 0x80]
call fcn.140024b02
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.14009924d
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.1400971b0
lea rbx, [r14 + 0x20]
mov rcx, rbx
call fcn.1400943fc
cmp byte [r14 + 0x50], 0
je 0x14006a05e
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.140030f90
mov r15, rax
mov rcx, rbx
call fcn.14004822a
mov rdi, qword [rsp + 0x30]
jmp 0x14006a413
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.140095986
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.0x140025fb5.402
lea r15, [r13 + 0x80]
mov qword [rsp + 0x80], r15
mov rax, qword [r14 + 0x40]
cmp rax, r15
je case.0x140025fb5.403
mov qword [r13 + 0x88], rax
and qword [r13 + 0x80], 0
test rax, rax
je 0x14006a175
mov qword [rax], r15
mov qword [r14 + 0x40], r15
cmp qword [r14 + 0x48], 0
jne 0x14006a184
mov qword [r14 + 0x48], r15
mov qword [rsp + 0x190], r13
mov rcx, rbx
call fcn.14004822a
cmp qword [rsp + 0x178], 0
je 0x14006a1d4
movabs r15, 0xc00000003
jmp 0x14006a3fc
mov rcx, qword [rsi + 0x28]
call fcn.1400627a7
push 2
pop rdi
jmp 0x14006a463
cmp al, 2
jne 0x14006a286
mov r12, qword [rsp + 0xc0]
jmp 0x14006a3c7
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.1400310fb
cmp qword [r14], 0
jne 0x14006a672
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 0x14006a25c
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.140032379
mov r8d, edi
mov r15, rax
test rax, rax
je 0x14006a30c
mov rcx, rbx
mov edx, r8d
call fcn.140031348
jmp 0x14006a3fc
lea rcx, [rsi + 0x40]
call fcn.140099188
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 0x14006a3b6
movsxd r12, dword [rsp + 0x80]
test r12, r12
jne 0x14006a3bf
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 0x140069e0b
jmp 0x14006a43b
mov rax, qword [rbx + 0x20]
test rax, rax
je 0x14006a6af
mov rcx, qword [rbx + 0x18]
mov rdi, qword [rcx + rax*8 - 8]
lock inc qword [rdi]
jle case.0x140025fb5.402
mov rcx, rbx
mov edx, r8d
call fcn.140031348
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, [0x1400d7310]
lea rbx, [rsp + 0xc0]
cmp r15, 0xc
je 0x14006a3df
mov r8d, dword [r15 + rdi]
mov rcx, rbx
mov rdx, qword [rsp + 0x38]
call fcn.14003250f
cmp esp, 0x448b48ff
dec dword [rax - 0x75]
and al, 0x38
cmp dword [rsp + 0xc0], 0
jne 0x14006a3b0
mov r14, qword [rsp + 0xc8]
cmp r14, rax
jne 0x14006a49d
add r15, 4
jmp 0x14006a379
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov r12d, eax
shl r12, 0x20
or r12, 2
lea rcx, [rsi + 0x40]
call fcn.1400624b9
jmp 0x14006a435
mov r14, qword [rsp + 0x88]
jmp 0x14006a4a5
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.140094208
mov r13, qword [rsp + 0x40]
lea rcx, [rsp + 0x1a0]
call fcn.140037101
lea rcx, [rsp + 0x170]
lea ecx, [rsp + 0x170]
call fcn.140098a8d
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.140069d71
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.140030f62
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 0x14006a64a
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.1400a88d0
add r14, 0x40
lea r8, [rsp + 0xc0]
lea rax, [rsp + 0x198]
lea rdx, [rsp + 0x218]
mov qword [rdx], rax
lea rax, [0x1400311a7]