Function at 0x14014d3a6
Capabilities:
Connect socket

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x2b8
lea rbp, [rsp + 0x80]
and rsp, 0xffffffffffffff80
mov r15, r8
mov rsi, rdx
mov rdi, rcx
movzx eax, byte [rdx + 0x78]
test eax, eax
je 0x14014d434
cmp eax, 3
jne 0x14014dc24
lea r14, [rsi + 0x70]
movzx eax, byte [rsi + 0x70]
lea r13, [rsi + 0x30]
test eax, eax
je 0x14014d4eb
cmp eax, 3
jne 0x14014dc36
mov rax, qword [rsi + 0x68]
mov rdx, qword [rax + 0x10]
lea rbx, [rsp + 0x130]
mov rcx, rbx
mov r8, r15
call fcn.1401aba84
mov al, byte [rbx + 9]
cmp al, 3
jne 0x14014d7c9
mov byte [r14], 3
mov qword [rdi], 3
mov al, 3
jmp 0x14014db7e
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 0x14014d507
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 ebx, word [rsp + 0x60]
rol r9w, 8
mov qword [rsp + 0x138], r8
mov dword [rsp + 0x140], r10d
mov word [rsp + 0x144], r11w
mov word [rsp + 0x146], bx
mov dword [rsp + 0x148], edx
xorps xmm0, xmm0
movups xmmword [rsp + 0x14c], xmm0
movups xmmword [rsp + 0x15c], xmm0
movups xmmword [rsp + 0x16c], xmm0
movups xmmword [rsp + 0x17c], xmm0
and dword [rsp + 0x1ac], 0
movups xmmword [rsp + 0x18c], xmm0
movups xmmword [rsp + 0x19c], xmm0
push 0x1c
pop r8
mov r10w, 0x17
jmp 0x14014d563
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x78], r15
mov qword [rsp + 0x40], r14
mov rbx, qword [rsi + 0x30]
mov r15, qword [rsi + 0x38]
jmp 0x14014d5df
movzx r9d, word [rsp + 0x54]
mov eax, dword [rsp + 0x50]
rol r9w, 8
xorps xmm0, xmm0
movups xmmword [rsp + 0x138], xmm0
movups xmmword [rsp + 0x148], xmm0
movups xmmword [rsp + 0x158], xmm0
movups xmmword [rsp + 0x168], xmm0
movups xmmword [rsp + 0x178], xmm0
and qword [rsp + 0x1a8], 0
movups xmmword [rsp + 0x188], xmm0
movups xmmword [rsp + 0x198], xmm0
push 0x10
pop r8
mov r10w, 2
lea rdx, [rsp + 0x130]
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 0x14014d5b4
call fcn.1400bdc45
mov r12, rax
mov qword [rsp + 0x80], rax
mov rcx, rax
call fcn.14014de31
cmp al, 0xd
jne 0x14014d7b8
lea rcx, [rsp + 0x80]
call fcn.140120aaf
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x78], r15
mov rbx, qword [rsi + 0x28]
mov qword [rsi + 0x30], rbx
and qword [rsi + 0x38], 0
lea r13, [rsi + 0x30]
lea rax, [rsi + 0x70]
mov qword [rsp + 0x40], rax
mov byte [rsi + 0x70], 0
xor r15d, r15d
lea r14, str._root_.cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_1.36.0_src_net_tcp_stream.rs
mov rcx, r14
call fcn.1401aa977
mov rdi, rax
mov r12, rdx
mov qword [rsp + 0x1e8], rbx
mov qword [rsp + 0x1f0], r15
mov qword [rsp + 0x220], rax
mov qword [rsp + 0x228], rdx
lea rbx, [rdx + 0x118]
lea rax, [rdx + 0xb8]
test rdi, rdi
cmove rbx, rax
mov rcx, rbx
mov rdx, r14
call fcn.1401a8415
lea r14, [rbx + 0x20]
mov rcx, r14
call fcn.140125127
cmp byte [rbx + 0x50], 0
je 0x14014d668
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.1400bd1d4
mov r15, rax
mov rcx, r14
call fcn.14012507d
jmp 0x14014db07
mov qword [rsp + 0x208], rdi
mov qword [rsp + 0x48], r13
lea r15, [rsp + 0x130]
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, pe_nt_image_headers64
call fcn.1400cc513
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.msvcrt.dll_memcpy
and qword [r13 + 0xc0], 0
lock inc qword [r13]
jle 0x14014dc34
lea rdi, [r13 + 0x80]
mov qword [rsp + 0x80], rdi
mov rax, qword [rbx + 0x40]
cmp rax, rdi
je 0x14014dc4c
mov qword [r13 + 0x88], rax
and qword [r13 + 0x80], 0
test rax, rax
je 0x14014d77f
mov qword [rax], rdi
mov qword [rbx + 0x40], rdi
cmp qword [rbx + 0x48], 0
jne 0x14014d78e
mov qword [rbx + 0x48], rdi
mov qword [rsp + 0x210], r13
mov rcx, r14
call fcn.14012507d
cmp qword [rsp + 0x1f0], 0
je 0x14014d7de
movabs r15, 0xc00000003
jmp 0x14014daf5
mov rcx, qword [rsi + 0x28]
call fcn.14014ac69
push 2
pop rbx
jmp 0x14014db5d
cmp al, 2
jne 0x14014d88d
mov r12, qword [rsp + 0x130]
jmp 0x14014d9c2
mov qword [rsp + 0x70], rdi
mov rdi, qword [rsp + 0x1e8]
mov rax, qword [rbx]
lea r15, [rax + 0x18]
mov qword [rsp + 0x218], r15
mov qword [rsp + 0x200], rax
lea rdx, [rax + 0x20]
lea r14, [rsp + 0x130]
mov rcx, r14
call fcn.1400bd2a6
cmp qword [r14], 0
jne 0x14014dc6c
mov rbx, qword [rsp + 0x138]
mov r8b, byte [rsp + 0x140]
mov qword [rsp + 0x230], rbx
mov byte [rsp + 0x238], r8b
lea rdx, [rbx + 8]
mov rax, qword [rbx + 0x18]
test rax, rax
je 0x14014d863
mov rcx, qword [rbx + 0x10]
mov rax, qword [rcx + rax*8 - 8]
mov rax, qword [rax]
cmp rax, 0x20
jbe 0x14014d912
mov rcx, qword [r15]
mov r15d, r8d
call fcn.1400be925
mov r8d, r15d
mov r15, rax
test rax, rax
je 0x14014d912
mov rcx, rbx
mov edx, r8d
call fcn.14008e616
jmp 0x14014daf5
lea rcx, [rsi + 0x40]
call fcn.1401aa4e1
mov rcx, qword [rax]
lea r9, [rsp + 0x80]
and dword [r9], 0
mov dword [rsp + 0x130], 4
mov qword [rsp + 0x20], rbx
mov edx, 0xffff
mov r8d, 0x1007
call sub.ws2_32.dll_getsockopt
cmp eax, 0xffffffff
je 0x14014d9b2
movsxd r12, dword [rsp + 0x80]
test r12, r12
jne 0x14014d9ba
mov rbx, qword [rsi + 0x40]
mov r12, qword [rsi + 0x48]
mov rax, qword [rsi + 0x60]
mov qword [rsp + 0x270], rax
movups xmm0, xmmword [rsi + 0x50]
movaps xmmword [rsp + 0x260], xmm0
mov byte [rsi + 0x70], 1
cmp rbx, 3
je 0x14014d426
jmp 0x14014db35
mov rax, qword [rbx + 0x18]
test rax, rax
je 0x14014dca9
mov rcx, qword [rbx + 0x10]
mov r15, qword [rcx + rax*8 - 8]
lock inc qword [r15]
jle 0x14014dc34
mov rcx, rbx
mov edx, r8d
call fcn.14008e616
mov qword [rsp + 0x298], r15
lea rbx, [rsp + 0x80]
mov rcx, rbx
mov rdx, rdi
mov r8d, 0x48000022
call fcn.1400beab6
cmp dword [rbx], 0
je 0x14014d9d0
mov qword [rsp + 0x1f8], r15
xor r15d, r15d
lea rbx, [rsp + 0x130]
cmp r15, 0xc
je 0x14014d9da
lea rax, [0x1402bc470]
mov r8d, dword [r15 + rax]
mov rcx, rbx
mov rdx, rdi
call fcn.1400beab6
cmp dword [rsp + 0x130], 0
jne 0x14014d9ac
mov rax, rdi
mov r14, qword [rsp + 0x138]
cmp r14, rdi
jne 0x14014d9fc
add r15, 4
jmp 0x14014d976
call sub.ws2_32.dll_WSAGetLastError
mov r12d, eax
shl r12, 0x20
or r12, 2
lea rcx, [rsi + 0x40]
call fcn.14014aa3b
jmp 0x14014db2e
mov r14, qword [rsp + 0x88]
jmp 0x14014da04
mov r15d, dword [rsp + 0x84]
shl r15, 0x20
or r15, 2
lea rcx, [rsp + 0x298]
call fcn.1400bca64
jmp 0x14014daf5
mov r15, qword [rsp + 0x1f8]
push 0x78
pop rcx
call fcn.1400bd1a6
mov rbx, rax
push 1
pop rax
mov qword [rbx], rax
mov qword [rbx + 8], rax
and word [rbx + 0x10], 0
and dword [rbx + 0x18], 0
lea rdx, [rbx + 0x10]
mov qword [rbx + 0x20], r15
xorps xmm0, xmm0
movups xmmword [rbx + 0x28], xmm0
movups xmmword [rbx + 0x38], xmm0
movups xmmword [rbx + 0x48], xmm0
mov qword [rbx + 0x58], r14
movups xmmword [rbx + 0x60], xmm0
and word [rbx + 0x70], 0
lea r15, [rsp + 0x130]
mov rcx, r15
call fcn.1400ade6c
cmp qword [r15], 0
jne 0x14014dd75
mov rcx, qword [rsp + 0x138]
mov dl, byte [rsp + 0x140]
mov dword [rcx + 0x58], 0x19d
mov rax, qword [rsp + 0x70]
mov qword [rcx + 0x50], rax
call fcn.14008e616
mov r14, qword [rsp + 0x200]
lock inc qword [r14]
jle 0x14014dc34
lock inc qword [rbx]
jle 0x14014dc34
lea r15, [r14 + 0x10]
mov qword [rsp + 0x130], r14
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x140], rax
mov byte [rsp + 0x148], 3
mov qword [rsp + 0x138], rbx
mov rcx, r15
mov rdx, rbx
call fcn.1400be551
mov rcx, r15
call fcn.1400be5d2
test rax, rax
je 0x14014db95
mov r15, rax
lea rcx, [rsp + 0x130]
call fcn.1400beb23
lea rcx, [rsp + 0x210]
call fcn.1401a5672
mov r13, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x38]
lea rcx, [rsp + 0x220]
call fcn.140121045
lea rcx, [rsp + 0x1e8]
call fcn.1401a9daa
mov r12, r15
mov r14, qword [rsp + 0x40]
mov byte [r14], 1
push 2
pop rbx
mov rax, qword [rsp + 0x270]
mov qword [rsp + 0x250], rax
movaps xmm0, xmmword [rsp + 0x260]
movaps xmmword [rsp + 0x240], xmm0
mov rcx, r13
call fcn.14014d38b
mov qword [rdi], rbx
mov qword [rdi + 8], r12
movaps xmm0, xmmword [rsp + 0x240]
movups xmmword [rdi + 0x10], xmm0
mov rax, qword [rsp + 0x250]
mov qword [rdi + 0x20], rax
mov al, 1
mov byte [rsi + 0x78], al
lea rsp, [rbp + 0x238]
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea rax, [rsp + 0x140]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x280], xmm0
push 0x20
pop rcx
call fcn.1400bd1a6
mov r15, rax
mov qword [rax], r14
mov qword [rax + 8], rbx
movaps xmm0, xmmword [rsp + 0x280]
movups xmmword [rax + 0x10], xmm0
xor ecx, ecx
call fcn.1400beb58
mov rcx, qword [rsp + 0x208]
cmp rcx, 2
jne 0x14014dbef
mov r13, qword [rsp + 0x48]
mov r14, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x38]
jmp 0x14014db2e
lea rax, [rsi + 0x40]
mov qword [rsi + 0x40], rcx
mov qword [rsi + 0x48], r12
mov qword [rsi + 0x50], r13
mov qword [rsi + 0x58], rdi
mov qword [rsi + 0x60], r15
mov qword [rsi + 0x68], rax
mov r13, qword [rsp + 0x48]
mov r14, qword [rsp + 0x40]
mov r15, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x38]
jmp 0x14014d400
lea rcx, str._async_fn__resumed_after_completionMiddleware_error:
lea r8, str.P_r2_
jmp 0x14014dc44
ud2
lea rcx, str._async_fn__resumed_after_completionMiddleware_error:
lea r8, str._root_.cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_1.36.0_src_net_tcp_stream.rs
push 0x23
pop rdx
call fcn.140080ec0
add rbx, 0x40
lea r8, [rsp + 0x130]
and qword [r8], 0
lea rdx, [rsp + 0x80]
mov rcx, rbx
call fcn.1401a9b82
mov rax, qword [rsp + 0x138]
mov cl, byte [rsp + 0x140]
lea r8, [rsp + 0x80]
mov qword [r8], rax
mov byte [r8 + 8], cl
lea rax, str._root_.cargo_registry_src_index.crates.io_6f17d22bba15001f_mio_0.8.10_src_sys_windows_selector.rs
mov qword [rsp + 0x20], rax
lea rcx, str.called__Result::unwrap____on_an__Err__value
lea r9, [0x1402bbc88]
jmp 0x14014ddad
lea rax, [rsp + 0x218]
lea rdx, [rsp + 0x298]
mov qword [rdx], rax
lea rax, [0x1400bd35e]
mov qword [rdx + 8], rax
lea rax, [rsp + 0x230]
mov qword [rdx + 0x10], rax
lea rax, [0x1400bdc5b]
mov qword [rdx + 0x18], rax
push 2
pop rax
mov qword [rsp + 0x130], rax
mov qword [rsp + 0x140], rax
and qword [rsp + 0x150], 0
movabs rcx, 0x400000020
mov qword [rsp + 0x158], rcx
mov r8b, 3
mov byte [rsp + 0x160], r8b
mov qword [rsp + 0x168], rax
mov qword [rsp + 0x178], rax
mov qword [rsp + 0x188], 1
mov qword [rsp + 0x190], rcx
mov byte [rsp + 0x198], r8b
lea r8, str.internal_error:_entered_unreachable_code:_Cannot_acquire_afd____afd_group:
lea rcx, [rsp + 0x80]
mov qword [rcx], r8
mov qword [rcx + 8], rax
mov qword [rcx + 0x20], r14
mov qword [rcx + 0x28], rax
mov qword [rcx + 0x10], rdx
mov qword [rcx + 0x18], rax
lea rdx, str._root_.cargo_registry_src_index.crates.io_6f17d22bba15001f_mio_0.8.10_src_sys_windows_selector.rs
call fcn.14007fc50
mov rax, qword [rsp + 0x138]
mov cl, byte [rsp + 0x140]
lea r8, [rsp + 0x80]
mov qword [r8], rax
mov byte [r8 + 8], cl
lea rax, str._root_.cargo_registry_src_index.crates.io_6f17d22bba15001f_mio_0.8.10_src_sys_windows_selector.rs
mov qword [rsp + 0x20], rax
lea rcx, str.called__Result::unwrap____on_an__Err__value
lea r9, [0x1402bbca8]
push 0x2b
pop rdx
call fcn.140082ec0
int3