Function at 0x1401fa264
Capabilities:
Connect socket

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x148
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
movzx eax, byte [rdx + 0x78]
test eax, eax
je 0x1401fa2b4
cmp eax, 3
jne 0x1401fa601
lea r14, [rsi + 0x30]
lea r12, [rsi + 0x70]
movzx eax, byte [rsi + 0x70]
test eax, eax
je 0x1401fa431
cmp eax, 3
jne 0x1401fa611
mov rax, qword [rsi + 0x68]
jmp 0x1401fa4a3
mov rcx, qword [rsi + 0x20]
mov qword [rsi + 0x28], rcx
cmp word [rsi], 0
movzx eax, word [rsi + 0x12]
mov word [rsp + 0x40], ax
movups xmm0, xmmword [rsi + 2]
movaps xmmword [rsp + 0x30], xmm0
je 0x1401fa36f
mov eax, dword [rsi + 0x14]
mov edx, dword [rsi + 0x18]
movzx r9d, word [rsi + 0x1c]
rol r9w, 8
mov r8, qword [rsp + 0x32]
mov qword [rsp + 0x90], r8
mov r8d, dword [rsp + 0x3a]
mov dword [rsp + 0x98], r8d
movzx r8d, word [rsp + 0x3e]
mov word [rsp + 0x9c], r8w
movzx r8d, word [rsp + 0x40]
mov word [rsp + 0x9e], r8w
mov dword [rsp + 0xa0], edx
xorps xmm0, xmm0
movups xmmword [rsp + 0xa4], xmm0
movups xmmword [rsp + 0xb4], xmm0
movups xmmword [rsp + 0xc4], xmm0
movups xmmword [rsp + 0xd4], xmm0
and dword [rsp + 0x104], 0
movups xmmword [rsp + 0xe4], xmm0
movups xmmword [rsp + 0xf4], xmm0
mov r8d, 0x1c
mov r10w, 0x17
jmp 0x1401fa3cd
movzx r9d, word [rsp + 0x34]
mov eax, dword [rsp + 0x30]
xorps xmm0, xmm0
movups xmmword [rsp + 0x98], xmm0
movups xmmword [rsp + 0xa8], xmm0
movups xmmword [rsp + 0xb8], xmm0
movups xmmword [rsp + 0xc8], xmm0
movups xmmword [rsp + 0xd8], xmm0
movups xmmword [rsp + 0xe8], xmm0
movups xmmword [rsp + 0xf8], xmm0
and qword [rsp + 0x90], 0
rol r9w, 8
mov r8d, 0x10
mov r10w, 2
lea rdx, [rsp + 0x88]
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 0x1401fa418
call fcn.1401e3333
mov r15, rax
mov qword [rsp + 0x70], rax
mov rcx, rax
call fcn.1401fa635
cmp al, 0xd
jne 0x1401fa4dd
lea rcx, [rsp + 0x70]
call fcn.14008d6e7
mov rax, qword [rsi + 0x28]
mov qword [rsi + 0x30], rax
and qword [rsi + 0x38], 0
lea r14, [rsi + 0x30]
lea r12, [rsi + 0x70]
mov byte [rsi + 0x70], 0
mov rdx, qword [rsi + 0x30]
mov r8, qword [rsi + 0x38]
lea r15, [rsp + 0x88]
mov rcx, r15
call fcn.140275373
mov rcx, qword [r15]
cmp rcx, 2
jne 0x1401fa45f
mov r15, qword [rsp + 0x90]
jmp 0x1401fa56c
mov rdx, qword [rsp + 0x90]
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x60], rax
movups xmm0, xmmword [rsp + 0x98]
movaps xmmword [rsp + 0x50], xmm0
lea rax, [rsi + 0x40]
mov qword [rsi + 0x40], rcx
mov qword [rsi + 0x48], rdx
movaps xmm0, xmmword [rsp + 0x50]
movups xmmword [rsi + 0x50], xmm0
mov rcx, qword [rsp + 0x60]
mov qword [rsi + 0x60], rcx
mov qword [rsi + 0x68], rax
mov rdx, qword [rax + 0x10]
lea r15, [rsp + 0x88]
mov rcx, r15
mov r8, rbx
call fcn.140278939
mov al, byte [r15 + 9]
cmp al, 3
jne 0x1401fa4cc
mov byte [r12], 3
jmp 0x1401fa599
cmp al, 2
jne 0x1401fa4f0
mov r15, qword [rsp + 0x88]
jmp 0x1401fa563
mov rcx, qword [rsi + 0x28]
call fcn.1401f8231
mov ebx, 2
jmp 0x1401fa5cc
lea rcx, [rsi + 0x40]
call fcn.140275282
mov rcx, qword [rax]
lea r9, [rsp + 0x50]
and dword [r9], 0
mov dword [rsp + 0x88], 4
mov qword [rsp + 0x20], r15
mov edx, 0xffff
mov r8d, 0x1007
call sub.ws2_32.dll_getsockopt
cmp eax, 0xffffffff
je 0x1401fa553
movsxd r15, dword [rsp + 0x50]
test r15, r15
jne 0x1401fa55b
mov rbx, qword [rsi + 0x40]
mov r15, qword [rsi + 0x48]
mov rax, qword [rsi + 0x60]
mov qword [rsp + 0x80], rax
movups xmm0, xmmword [rsi + 0x50]
movaps xmmword [rsp + 0x70], xmm0
jmp 0x1401fa571
call sub.ws2_32.dll_WSAGetLastError
mov r15d, eax
shl r15, 0x20
or r15, 2
lea rcx, [rsi + 0x40]
call fcn.1401f8180
mov ebx, 2
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x120], rax
movaps xmm0, xmmword [rsp + 0x70]
movaps xmmword [rsp + 0x110], xmm0
mov byte [r12], 1
cmp rbx, 3
jne 0x1401fa5a4
mov qword [rdi], 3
mov al, 3
jmp 0x1401fa5ed
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x140], rax
test byte [rax + rax*2], ah
add dword [rax], eax
add byte [rax], al
movaps xmm0, xmmword [rsp + 0x110]
movaps xmmword [rsp + 0x130], xmm0
mov rcx, r14
call fcn.1401fa249
invalid
mov qword [rdi], rbx
mov qword [rdi + 8], r15
movaps xmm0, xmmword [rsp + 0x130]
and al, 0x30
add dword [rax], eax
add byte [rdi], cl
adc dword [rdi + 0x10], eax
mov rax, qword [rsp + 0x140]
mov qword [rdi + 0x20], rax
mov al, 1
mov byte [rsi + 0x78], al
add rsp, 0x148
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rcx, str._async_fn__resumed_after_completionpolling_StreamFuture_twice_Users_spectrum_.cargo_registry_src_index.crates.io_6f17d22bba15001f_futures_util_0.3.29_src_stream_stream_into_future.rs
lea r8, str._Users_spectrum_.cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_1.33.0_src_net_tcp_socket.rs
jmp 0x1401fa61f
lea rcx, str._async_fn__resumed_after_completionpolling_StreamFuture_twice_Users_spectrum_.cargo_registry_src_index.crates.io_6f17d22bba15001f_futures_util_0.3.29_src_stream_stream_into_future.rs
lea r8, str._Users_spectrum_.cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_1.33.0_src_net_tcp_stream.rs
push rcx
invalid
sub eax, dword [rax]
mov edx, 0x23
call fcn.1400519b0
ud2