Function at 0x14015e3ae
Capabilities:
Connect socket

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x338
lea rbp, [rsp + 0x80]
and rsp, 0xffffffffffffff80
mov rsi, rdx
mov r12, rcx
movzx eax, byte [rdx + 0x78]
push 2
pop rbx
test eax, eax
je 0x14015e431
cmp eax, 3
jne 0x14015ed0f
lea r13, [rsi + 0x70]
lea r14, [rsi + 0x30]
movzx eax, byte [rsi + 0x70]
test eax, eax
je 0x14015e502
cmp eax, 3
jne 0x14015ed23
mov rax, qword [rsi + 0x68]
mov rdx, qword [rax + 0x10]
lea rdi, [rsp + 0x1e0]
mov rcx, rdi
call fcn.1401bc186
mov al, byte [rdi + 9]
cmp al, 3
jne 0x14015e850
mov byte [r13], 3
jmp 0x14015ebdb
mov qword [rsp + 0xf8], r8
mov rcx, qword [rsi + 0x20]
mov qword [rsi + 0x28], rcx
cmp word [rsi], 0
movzx eax, word [rsi + 0x12]
mov word [rsp + 0xe0], ax
movups xmm0, xmmword [rsi + 2]
movaps xmmword [rsp + 0xd0], xmm0
je 0x14015e537
mov eax, dword [rsi + 0x14]
mov edx, dword [rsi + 0x18]
movzx r9d, word [rsi + 0x1c]
mov r8, qword [rsp + 0xd2]
mov r10d, dword [rsp + 0xda]
movzx r11d, word [rsp + 0xde]
movzx edi, word [rsp + 0xe0]
xorps xmm0, xmm0
movups xmmword [rsp + 0x1fc], xmm0
movups xmmword [rsp + 0x20c], xmm0
movups xmmword [rsp + 0x21c], xmm0
and dword [rsp + 0x25c], 0
movups xmmword [rsp + 0x22c], xmm0
movups xmmword [rsp + 0x23c], xmm0
rol r9w, 8
movups xmmword [rsp + 0x24c], xmm0
mov qword [rsp + 0x1e8], r8
mov dword [rsp + 0x1f0], r10d
mov word [rsp + 0x1f4], r11w
mov word [rsp + 0x1f6], di
mov dword [rsp + 0x1f8], edx
push 0x1c
pop r8
mov r10w, 0x17
jmp 0x14015e580
mov qword [rsp + 0xa0], r12
mov qword [rsp + 0xf8], r8
mov qword [rsp + 0xa8], r13
mov qword [rsp + 0xb0], r14
mov rbx, qword [rsi + 0x30]
mov qword [rsp + 0xc8], rsi
mov rsi, qword [rsi + 0x38]
jmp 0x14015e60c
lea rdx, [rsp + 0x1e8]
movzx r9d, word [rsp + 0xd4]
mov eax, dword [rsp + 0xd0]
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
push 0x10
pop r8
mov r10w, 2
lea rdx, [rsp + 0x1e0]
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 0x14015e5d1
call fcn.1400bab37
mov r15, rax
mov qword [rsp + 0x100], rax
mov rcx, rax
call fcn.1400bb456
cmp al, 0xd
jne 0x14015e842
lea rcx, [rsp + 0x100]
call fcn.1401346a8
mov qword [rsp + 0xa0], r12
mov rbx, qword [rsi + 0x28]
mov qword [rsi + 0x30], rbx
and qword [rsi + 0x38], 0
lea rax, [rsi + 0x30]
mov qword [rsp + 0xb0], rax
lea rax, [rsi + 0x70]
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0xc8], rsi
mov byte [rsi + 0x70], 0
xor esi, esi
lea rdi, str._usr_local_cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_1.36.0_src_net_tcp_stream.rs
mov rcx, rdi
call fcn.1401bb003
mov r13, rax
mov r12, rdx
mov qword [rsp + 0x1a0], rbx
mov qword [rsp + 0x1a8], rsi
mov qword [rsp + 0x290], rax
mov qword [rsp + 0x298], rdx
lea r14, [rdx + 0x120]
lea rax, [rdx + 0xc0]
test r13, r13
mov ecx, 0xc0
mov r15d, 0x120
cmove r15, rcx
cmove r14, rax
mov rcx, r14
mov rdx, rdi
call fcn.1401b8b28
lea rdi, [r14 + 0x20]
mov rcx, rdi
call fcn.14013885a
cmp byte [r14 + 0x50], 0
je 0x14015e6bd
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.1400ba16a
mov r14, rax
mov rcx, rdi
call fcn.1401387af
mov r13, qword [rsp + 0xa8]
mov r12, qword [rsp + 0xa0]
mov rsi, qword [rsp + 0xc8]
jmp 0x14015eb90
mov qword [rsp + 0xb8], rsi
mov qword [rsp + 0x1c8], r12
mov qword [rsp + 0xc0], rbx
mov qword [rsp + 0x1c0], r13
lea r12, [rsp + 0x1e0]
and qword [r12 + 0x17], 0
xorps xmm0, xmm0
movups xmmword [r12 + 7], xmm0
mov rax, qword [r12 + 0x1f]
mov qword [rsp + 0x138], rax
movups xmm1, xmmword [r12 + 0x10]
movups xmmword [rsp + 0x129], xmm1
movups xmm1, xmmword [r12]
movups xmmword [rsp + 0x119], xmm1
movups xmmword [rsp + 0x109], xmm0
movaps xmmword [rsp + 0x100], xmm0
mov rax, qword [rsp + 0x130]
mov qword [r12 + 0xa0], rax
mov rax, qword [rsp + 0x138]
mov qword [r12 + 0xa8], rax
movaps xmm0, xmmword [rsp + 0x120]
movaps xmmword [r12 + 0x90], xmm0
movaps xmm0, xmmword [rsp + 0x110]
movaps xmmword [r12 + 0x80], xmm0
movaps xmm0, xmmword [rsp + 0x100]
movaps xmmword [r12 + 0x70], xmm0
mov ecx, 0x100
mov edx, pe_nt_image_headers64
call fcn.1400c8ed5
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, r12
call main
and qword [r13 + 0xc0], 0
lock inc qword [r13]
jle 0x14015ed1f
lea r12, [r13 + 0x80]
mov qword [rsp + 0x100], r12
mov rax, qword [r14 + 0x40]
cmp rax, r12
mov rsi, qword [rsp + 0xc8]
je 0x14015ed3b
mov qword [r13 + 0x88], rax
and qword [r13 + 0x80], 0
test rax, rax
je 0x14015e7f9
mov qword [rax], r12
mov qword [r14 + 0x40], r12
cmp qword [r14 + 0x48], 0
jne 0x14015e808
mov qword [r14 + 0x48], r12
mov qword [rsp + 0x1d0], r13
mov rcx, rdi
call fcn.1401387af
cmp qword [rsp + 0xb8], 0
je 0x14015e86d
movabs r14, 0xc00000003
mov r12, qword [rsp + 0xa0]
mov r13, qword [rsp + 0xa8]
jmp 0x14015eb83
mov rcx, qword [rsi + 0x28]
call fcn.14015bbde
jmp 0x14015ec14
cmp al, 2
mov qword [rsp + 0xb0], r14
jne 0x14015e92a
mov r15, qword [rsp + 0x1e0]
jmp 0x14015ea6c
mov qword [rsp + 0x1b8], r13
mov rax, qword [rsp + 0x1c8]
mov rcx, qword [rax + r15]
mov r15, rax
lea rbx, [rcx + 0x18]
mov qword [rsp + 0x1d8], rbx
mov qword [rsp + 0xb8], rcx
lea rdx, [rcx + 0x20]
lea rdi, [rsp + 0x1e0]
mov rcx, rdi
call fcn.1400ba251
lea rdx, str._usr_local_cargo_registry_src_index.crates.io_6f17d22bba15001f_mio_0.8.10_src_sys_windows_selector.rs
mov rcx, rdi
call fcn.1400baaef
mov rdi, rax
mov qword [rsp + 0xe8], rax
mov byte [rsp + 0xf0], dl
lea rdx, [rax + 0x10]
mov rax, qword [rax + 0x20]
test rax, rax
mov r13, qword [rsp + 0xa8]
je 0x14015e8f7
mov rcx, qword [rdx]
mov rax, qword [rcx + rax*8 - 8]
mov rax, qword [rax]
cmp rax, 0x20
jbe 0x14015e9a1
mov rcx, qword [rbx]
mov rbx, rdx
call fcn.1400bb722
mov rdx, rbx
mov r14, rax
test rax, rax
je 0x14015e9a1
mov rcx, qword [rsp + 0xe8]
mov dl, byte [rsp + 0xf0]
call fcn.14008d52a
jmp 0x14015eb7b
lea rcx, [rsi + 0x40]
call fcn.1401babc1
mov rcx, qword [rax]
lea r9, [rsp + 0x100]
and dword [r9], 0
mov dword [rsp + 0x1e0], 4
mov qword [rsp + 0x20], rdi
mov edx, 0xffff
mov r8d, 0x1007
call sub.ws2_32.dll_getsockopt
cmp eax, 0xffffffff
je 0x14015ea5c
movsxd r15, dword [rsp + 0x100]
test r15, r15
jne 0x14015ea64
mov rbx, qword [rsi + 0x40]
mov r15, qword [rsi + 0x48]
mov rax, qword [rsi + 0x60]
mov qword [rsp + 0x2f0], rax
movups xmm0, xmmword [rsi + 0x50]
movaps xmmword [rsp + 0x2e0], xmm0
jmp 0x14015ebb0
mov rax, qword [rdi + 0x20]
test rax, rax
je 0x14015ed5d
mov rcx, qword [rdx]
mov rdi, qword [rcx + rax*8 - 8]
lock inc qword [rdi]
mov rbx, qword [rsp + 0xc0]
jle 0x14015ed1f
mov rcx, qword [rsp + 0xe8]
mov dl, byte [rsp + 0xf0]
call fcn.14008d52a
mov qword [rsp + 0x1b0], rdi
mov qword [rsp + 0x318], rdi
lea rdi, [rsp + 0x100]
mov rcx, rdi
mov rdx, rbx
mov r8d, 0x48000022
call fcn.1400bb8b3
cmp dword [rdi], 0
je 0x14015ea7a
xor r14d, r14d
lea r13, [0x1402ce5f8]
lea rdi, [rsp + 0x1e0]
cmp r14, 0xc
je 0x14015ec51
mov r8d, dword [r14 + r13]
mov rcx, rdi
mov rdx, qword [rsp + 0xc0]
call fcn.1400bb8b3
add r14, 4
cmp dword [rsp + 0x1e0], 0
jne 0x14015ea1c
mov rbx, qword [rsp + 0x1e8]
cmp rbx, qword [rsp + 0xc0]
je 0x14015ea1c
jmp 0x14015ea82
call sub.ws2_32.dll_WSAGetLastError
mov r15d, eax
shl r15, 0x20
or r15, 2
lea rcx, [rsi + 0x40]
call fcn.14015b9bc
jmp 0x14015ebb0
mov rbx, qword [rsp + 0x108]
mov ecx, pe_nt_image_headers64
call fcn.1400ba13b
mov rdi, rax
push 1
pop rax
mov qword [rdi], rax
mov qword [rdi + 8], rax
and qword [rdi + 0x10], 0
mov byte [rdi + 0x18], 0
and dword [rdi + 0x20], 0
lea rdx, [rdi + 0x10]
mov rax, qword [rsp + 0x1b0]
mov qword [rdi + 0x28], rax
xorps xmm0, xmm0
movups xmmword [rdi + 0x30], xmm0
movups xmmword [rdi + 0x40], xmm0
movups xmmword [rdi + 0x50], xmm0
mov qword [rdi + 0x60], rbx
movups xmmword [rdi + 0x68], xmm0
and word [rdi + 0x78], 0
lea rbx, [rsp + 0x1e0]
mov rcx, rbx
call fcn.1400ba21b
lea rdx, str._usr_local_cargo_registry_src_index.crates.io_6f17d22bba15001f_mio_0.8.10_src_sys_windows_selector.rs
mov rcx, rbx
call fcn.1400ba696
mov dword [rax + 0x60], 0x19d
mov qword [rax + 0x58], r12
mov rcx, rax
call fcn.14008d52a
mov rax, qword [rsp + 0xb8]
lock inc qword [rax]
jle 0x14015ed1f
lock inc qword [rdi]
mov r13, qword [rsp + 0xa8]
jle 0x14015ed1f
lea rbx, [rax + 0x10]
mov qword [rsp + 0x1e0], rax
mov qword [rsp + 0x1f0], r12
mov byte [rsp + 0x1f8], 3
mov qword [rsp + 0x1e8], rdi
mov rcx, rbx
mov rdx, rdi
mov r12, rax
call fcn.1400bb3b8
mov rcx, rbx
call fcn.1400bb404
test rax, rax
je 0x14015ec73
mov r14, rax
lea rcx, [rsp + 0x1e0]
call fcn.1400bb920
mov r12, qword [rsp + 0xa0]
lea rcx, [rsp + 0x1d0]
call fcn.1401b5b52
lea rcx, [rsp + 0x290]
call fcn.1401b53b3
lea rcx, [rsp + 0x1a0]
call fcn.1401ba50c
mov r15, r14
push 2
pop rbx
mov rax, qword [rsp + 0x2f0]
mov qword [rsp + 0x2b0], rax
movaps xmm0, xmmword [rsp + 0x2e0]
movaps xmmword [rsp + 0x2a0], xmm0
mov byte [r13], 1
cmp rbx, 3
jne 0x14015ebe7
mov qword [r12], 3
mov al, 3
jmp 0x14015ec3a
mov rax, qword [rsp + 0x2b0]
mov qword [rsp + 0x2d0], rax
movaps xmm0, xmmword [rsp + 0x2a0]
movaps xmmword [rsp + 0x2c0], xmm0
mov rcx, qword [rsp + 0xb0]
call fcn.14015e393
mov qword [r12], rbx
mov qword [r12 + 8], r15
movaps xmm0, xmmword [rsp + 0x2c0]
movups xmmword [r12 + 0x10], xmm0
mov rax, qword [rsp + 0x2d0]
mov qword [r12 + 0x20], rax
mov al, 1
mov byte [rsi + 0x78], al
lea rsp, [rbp + 0x2b8]
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov r14d, dword [rsp + 0x104]
shl r14, 0x20
or r14, 2
lea rcx, [rsp + 0x318]
call fcn.1400b996a
jmp 0x14015e82d
lea rax, [rsp + 0x1f0]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x300], xmm0
push 0x20
pop rcx
call fcn.1400ba13b
mov rbx, rax
mov qword [rax], r12
mov qword [rax + 8], rdi
movaps xmm0, xmmword [rsp + 0x300]
movups xmmword [rax + 0x10], xmm0
mov rcx, qword [rsp + 0x1a8]
call fcn.1400bb955
mov rdx, qword [rsp + 0x1c0]
cmp rdx, 2
mov r12, qword [rsp + 0xa0]
je 0x14015ebad
mov rcx, qword [rsp + 0x1a0]
lea rax, [rsi + 0x40]
mov qword [rsi + 0x40], rdx
mov qword [rsi + 0x48], r15
mov rdx, qword [rsp + 0x1b8]
mov qword [rsi + 0x50], rdx
mov qword [rsi + 0x58], rcx
mov qword [rsi + 0x60], rbx
mov qword [rsi + 0x68], rax
push 2
pop rbx
mov r14, qword [rsp + 0xb0]
mov r8, qword [rsp + 0xf8]
jmp 0x14015e408
lea rcx, str._async_fn__resumed_after_completion
lea r8, str._usr_local_cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_1.36.0_src_net_tcp_socket.rs
jmp 0x14015ed31
ud2
lea rcx, str._async_fn__resumed_after_completion
lea r8, str._usr_local_cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_1.36.0_src_net_tcp_stream.rs
push 0x23
pop rdx
call fcn.14007f700
ud2
add r14, 0x40
lea r8, [rsp + 0x1e0]
and qword [r8], 0
lea rdx, [rsp + 0x100]
mov rcx, r14
call fcn.1401ba416
ud2
lea rax, [rsp + 0x1d8]
lea rdx, [rsp + 0x318]
mov qword [rdx], rax
lea rax, [0x1400ba2a4]
mov qword [rdx + 8], rax
lea rax, [rsp + 0xe8]
mov qword [rdx + 0x10], rax
lea rax, [0x1400bab4d]
mov qword [rdx + 0x18], rax
push 2
pop rax
mov qword [rsp + 0x1e0], rax
mov qword [rsp + 0x1f0], rax
and qword [rsp + 0x200], 0
movabs rcx, 0x400000020
mov qword [rsp + 0x208], rcx
mov r8b, 3
mov byte [rsp + 0x210], r8b
mov qword [rsp + 0x218], rax
mov qword [rsp + 0x228], rax
mov qword [rsp + 0x238], 1
mov qword [rsp + 0x240], rcx
mov byte [rsp + 0x248], r8b
lea r8, str.internal_error:_entered_unreachable_code:_Cannot_acquire_afd____afd_group:
lea rcx, [rsp + 0x100]
mov qword [rcx], r8
mov qword [rcx + 8], rax
lea r8, [rsp + 0x1e0]
mov qword [rcx + 0x20], r8
mov qword [rcx + 0x28], rax
mov qword [rcx + 0x10], rdx
mov qword [rcx + 0x18], rax
lea rdx, str._usr_local_cargo_registry_src_index.crates.io_6f17d22bba15001f_mio_0.8.10_src_sys_windows_selector.rs
call fcn.14007e560
ud2