Function at 0x140056496
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 rsi, rdx
mov rbx, rcx
movzx eax, byte [rdx + 0x78]
push 2
pop r14
test eax, eax
je 0x14005651a
cmp eax, 3
jne 0x140056da1
lea r15, [rsi + 0x30]
lea r13, [rsi + 0x70]
movzx eax, byte [rsi + 0x70]
test eax, eax
je 0x1400565eb
cmp eax, 3
jne 0x140056db5
mov rax, qword [rsi + 0x68]
mov rdx, qword [rax + 0x10]
lea rdi, [rsp + 0x160]
mov rcx, rdi
call fcn.1400ada73
mov al, byte [rdi + 9]
cmp al, 3
jne 0x1400568f1
mov byte [r13], 3
jmp 0x140056c89
mov qword [rsp + 0x120], r8
mov rcx, qword [rsi + 0x20]
mov qword [rsi + 0x28], rcx
cmp word [rsi], 0
movzx eax, word [rsi + 0x12]
mov word [rsp + 0x90], ax
movups xmm0, xmmword [rsi + 2]
movaps xmmword [rsp + 0x80], xmm0
je 0x140056602
mov eax, dword [rsi + 0x14]
mov edx, dword [rsi + 0x18]
movzx r9d, word [rsi + 0x1c]
mov r8, qword [rsp + 0x82]
mov r10d, dword [rsp + 0x8a]
movzx r11d, word [rsp + 0x8e]
movzx edi, word [rsp + 0x90]
xorps xmm0, xmm0
movups xmmword [rsp + 0x17c], xmm0
movups xmmword [rsp + 0x18c], xmm0
movups xmmword [rsp + 0x19c], xmm0
and dword [rsp + 0x1dc], 0
movups xmmword [rsp + 0x1ac], xmm0
movups xmmword [rsp + 0x1bc], xmm0
rol r9w, 8
movups xmmword [rsp + 0x1cc], xmm0
mov qword [rsp + 0x168], r8
mov dword [rsp + 0x170], r10d
mov word [rsp + 0x174], r11w
mov word [rsp + 0x176], di
mov dword [rsp + 0x178], edx
push 0x1c
pop r8
mov r10w, 0x17
jmp 0x14005664b
mov qword [rsp + 0x120], r8
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x50], r15
jmp 0x1400566c0
lea rdx, [rsp + 0x168]
movzx r9d, word [rsp + 0x84]
mov eax, dword [rsp + 0x80]
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 + 0x160]
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 0x14005669d
call fcn.140034f74
mov r15, rax
mov qword [rsp + 0x80], rax
mov rcx, rax
call fcn.14004fb68
cmp al, 0xd
jne 0x1400568e3
lea rcx, [rsp + 0x80]
call fcn.14003ef26
mov rax, qword [rsi + 0x28]
mov qword [rsi + 0x30], rax
and qword [rsi + 0x38], 0
lea rax, [rsi + 0x30]
mov qword [rsp + 0x50], rax
lea rax, [rsi + 0x70]
mov qword [rsp + 0x40], rax
mov byte [rsi + 0x70], 0
mov qword [rsp + 0x70], rbx
mov rbx, qword [rsi + 0x30]
mov qword [rsp + 0x38], rsi
mov r12, qword [rsi + 0x38]
lea rdi, str.C:Usersmdool.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.32.0_src_net_tcp_stream.rs
mov rcx, rdi
call fcn.1400acac2
mov r15, rax
mov r13, rdx
mov qword [rsp + 0x130], rbx
mov qword [rsp + 0x138], r12
mov qword [rsp + 0x210], rax
mov qword [rsp + 0x218], rdx
lea r14, [rdx + 0x120]
lea rax, [rdx + 0xc0]
test r15, r15
mov ecx, 0xc0
mov esi, 0x120
cmove rsi, rcx
cmove r14, rax
mov rcx, r14
mov rdx, rdi
call fcn.1400a9b93
lea rdi, [r14 + 0x20]
mov rcx, rdi
call fcn.140043170
cmp byte [r14 + 0x50], 0
je 0x140056774
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.1400344b5
mov r15, rax
mov rcx, rdi
call fcn.14004317f
mov r13, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
jmp 0x140056c3b
mov qword [rsp + 0x150], rsi
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x148], r15
lea r15, [rsp + 0x160]
and qword [r15 + 0x17], 0
xorps xmm0, xmm0
movups xmmword [r15 + 7], xmm0
mov rax, qword [r15 + 0x1f]
mov qword [rsp + 0xb8], rax
movups xmm1, xmmword [r15 + 0x10]
movups xmmword [rsp + 0xa9], xmm1
movups xmm1, xmmword [r15]
movups xmmword [rsp + 0x99], xmm1
movups xmmword [rsp + 0x89], xmm0
movaps xmmword [rsp + 0x80], 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.140025820
push 1
pop rcx
mov qword [rax], rcx
mov qword [rax + 8], rcx
lea rcx, [rax + 0x10]
mov r8d, 0xb0
mov rdx, r15
mov r15, rax
call sub.VCRUNTIME140.dll_memcpy
and qword [r15 + 0xc0], 0
lock inc qword [r15]
jle 0x140056db1
lea rbx, [r15 + 0x80]
mov qword [rsp + 0x80], rbx
mov rax, qword [r14 + 0x40]
cmp rax, rbx
mov r12, qword [rsp + 0x150]
je 0x140056dcd
mov qword [r15 + 0x88], rax
and qword [r15 + 0x80], 0
test rax, rax
je 0x1400568a3
mov qword [rax], rbx
mov qword [r14 + 0x40], rbx
cmp qword [r14 + 0x48], 0
jne 0x1400568b2
mov qword [r14 + 0x48], rbx
mov qword [rsp + 0x158], r15
mov rcx, rdi
call fcn.14004317f
cmp qword [rsp + 0x48], 0
je 0x14005690b
movabs r15, 0xc00000003
mov r13, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
jmp 0x140056c2e
mov rcx, qword [rsi + 0x28]
call fcn.14004ee28
jmp 0x140056cbe
cmp al, 2
mov qword [rsp + 0x50], r15
jne 0x140056998
mov r15, qword [rsp + 0x160]
jmp 0x140056b02
mov qword [rsp + 0x48], rbx
mov rax, qword [rsp + 0x68]
mov r14, qword [rax + r12]
lea rbx, [r14 + 0x18]
mov qword [rsp + 0x128], rbx
lea rdx, [r14 + 0x20]
lea r12, [rsp + 0x160]
mov rcx, r12
call fcn.14003455e
lea rdx, str.C:Usersmdool.cargo_registry_srcindex.crates.io_6f17d22bba15001fmio_0.8.8_src_syswindows_selector.rs
mov rcx, r12
call fcn.140034f2c
mov rdi, rax
mov qword [rsp + 0x58], rax
mov byte [rsp + 0x60], dl
lea rdx, [rax + 0x10]
mov rax, qword [rax + 0x20]
test rax, rax
mov qword [rsp + 0x140], r15
je 0x140056a10
mov rcx, qword [rdx]
mov rax, qword [rcx + rax*8 - 8]
mov rax, qword [rax]
cmp rax, 0x20
jbe 0x140056a3d
mov rax, qword [rsp + 0x128]
mov rdi, qword [rsp + 0x58]
lea rdx, [rdi + 0x10]
mov rcx, qword [rax]
jmp 0x140056a13
lea rcx, [rsi + 0x40]
call fcn.1400ac83d
mov rcx, qword [rax]
lea r9, [rsp + 0x80]
and dword [r9], 0
mov dword [rsp + 0x160], 4
mov qword [rsp + 0x20], rdi
mov edx, 0xffff
mov r8d, 0x1007
call qword [sym.imp.ws2_32.dll_getsockopt]
cmp eax, 0xffffffff
je 0x140056af1
mov r15d, dword [rsp + 0x80]
test r15, r15
jne 0x140056afa
mov r14, qword [rsi + 0x40]
mov r15, qword [rsi + 0x48]
mov rax, qword [rsi + 0x60]
mov qword [rsp + 0x270], rax
movups xmm0, xmmword [rsi + 0x50]
movaps xmmword [rsp + 0x260], xmm0
jmp 0x140056c5e
mov rcx, qword [rbx]
call fcn.140035956
mov r15, rax
test rax, rax
mov r13, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
je 0x140056a47
mov rcx, qword [rsp + 0x58]
mov dl, byte [rsp + 0x60]
call fcn.1400348e5
jmp 0x140056c2e
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x38]
mov rax, qword [rdi + 0x20]
test rax, rax
je 0x140056def
mov rcx, qword [rdi + 0x10]
mov rbx, qword [rcx + rax*8 - 8]
lock inc qword [rbx]
jle 0x140056db1
mov qword [rsp + 0x38], r14
mov rcx, qword [rsp + 0x58]
mov dl, byte [rsp + 0x60]
call fcn.1400348e5
mov qword [rsp + 0x298], rbx
lea rdi, [rsp + 0x80]
mov rcx, rdi
mov rdx, qword [rsp + 0x78]
mov r8d, 0x48000022
call fcn.140035aec
cmp dword [rdi], 0
je 0x140056b10
xor r15d, r15d
lea r13, [0x1400f25a8]
lea rdi, [rsp + 0x160]
cmp r15, 0xc
je 0x140056c0c
mov r8d, dword [r15 + r13]
mov rcx, rdi
mov rdx, qword [rsp + 0x78]
call fcn.140035aec
mov rax, qword [rsp + 0x78]
add r15, 4
cmp dword [rsp + 0x160], 0
jne 0x140056ab4
mov r14, qword [rsp + 0x168]
cmp r14, rax
je 0x140056ab4
jmp 0x140056b18
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov r15d, eax
shl r15, 0x20
or r15, 2
lea rcx, [rsi + 0x40]
call fcn.14004eb7a
jmp 0x140056c5e
mov r14, qword [rsp + 0x88]
mov ecx, 0x80
call fcn.140015353
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 qword [rdi + 0x28], rbx
xorps xmm0, xmm0
movups xmmword [rdi + 0x30], xmm0
movups xmmword [rdi + 0x40], xmm0
movups xmmword [rdi + 0x50], xmm0
mov qword [rdi + 0x60], r14
movups xmmword [rdi + 0x68], xmm0
and word [rdi + 0x78], 0
lea rbx, [rsp + 0x160]
mov rcx, rbx
call fcn.1400268ba
lea rdx, str.C:Usersmdool.cargo_registry_srcindex.crates.io_6f17d22bba15001fmio_0.8.8_src_syswindows_selector.rs
mov rcx, rbx
call fcn.140034a8f
mov dword [rax + 0x60], 0x19d
mov rcx, qword [rsp + 0x48]
mov qword [rax + 0x58], rcx
mov rcx, rax
call fcn.1400348e5
mov r14, qword [rsp + 0x38]
lock inc qword [r14]
jle 0x140056db1
lock inc qword [rdi]
mov r13, qword [rsp + 0x40]
jle 0x140056db1
lea rbx, [r14 + 0x10]
mov qword [rsp + 0x160], r14
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x170], rax
mov byte [rsp + 0x178], 3
mov qword [rsp + 0x168], rdi
mov rcx, rbx
mov rdx, rdi
call fcn.1400358aa
mov rcx, rbx
call fcn.1400358f6
test rax, rax
je 0x140056cf6
mov r15, rax
lea rcx, [rsp + 0x160]
call fcn.140035b5b
jmp 0x140056c2e
mov r15d, dword [rsp + 0x84]
shl r15, 0x20
or r15, 2
lea rcx, [rsp + 0x298]
call fcn.140033ca2
mov r13, qword [rsp + 0x40]
lea rcx, [rsp + 0x158]
call fcn.1400a78ed
lea rcx, [rsp + 0x210]
call fcn.1400a713c
lea rcx, [rsp + 0x130]
call fcn.1400abd71
mov rbx, qword [rsp + 0x70]
push 2
pop r14
mov rax, qword [rsp + 0x270]
mov qword [rsp + 0x230], rax
movaps xmm0, xmmword [rsp + 0x260]
movaps xmmword [rsp + 0x220], xmm0
mov byte [r13], 1
cmp r14, 3
jne 0x140056c94
mov qword [rbx], 3
mov al, 3
jmp 0x140056cdf
mov rax, qword [rsp + 0x230]
mov qword [rsp + 0x250], rax
movaps xmm0, xmmword [rsp + 0x220]
movaps xmmword [rsp + 0x240], xmm0
mov rcx, qword [rsp + 0x50]
call fcn.14005647b
mov qword [rbx], r14
mov qword [rbx + 8], r15
movaps xmm0, xmmword [rsp + 0x240]
movups xmmword [rbx + 0x10], xmm0
mov rax, qword [rsp + 0x250]
mov qword [rbx + 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 + 0x170]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x280], xmm0
push 0x20
pop rcx
call fcn.140015353
mov rbx, rax
mov qword [rax], r14
mov qword [rax + 8], rdi
movaps xmm0, xmmword [rsp + 0x280]
movups xmmword [rax + 0x10], xmm0
mov rcx, qword [rsp + 0x138]
call fcn.140035b90
mov rdx, qword [rsp + 0x148]
cmp rdx, 2
jne 0x140056d55
mov rbx, qword [rsp + 0x70]
push 2
pop r14
mov r15, qword [rsp + 0x68]
jmp 0x140056c5e
mov rcx, qword [rsp + 0x130]
lea rax, [rsi + 0x40]
mov qword [rsi + 0x40], rdx
mov rdx, qword [rsp + 0x68]
mov qword [rsi + 0x48], rdx
mov rdx, qword [rsp + 0x140]
mov qword [rsi + 0x50], rdx
mov qword [rsi + 0x58], rcx
mov qword [rsi + 0x60], rbx
mov qword [rsi + 0x68], rax
mov rbx, qword [rsp + 0x70]
push 2
pop r14
mov r15, qword [rsp + 0x50]
mov r8, qword [rsp + 0x120]
jmp 0x1400564f1
lea rcx, str._async_fn__resumed_after_completionunable_to_find_any_user_specified_roots_in_the_final_cert_chainC:Usersmdool.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_util_0.7.9_srcutilpoll_buf.rs
lea r8, str.C:Usersmdool.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.32.0_src_net_tcp_socket.rs
jmp 0x140056dc3
ud2
lea rcx, str._async_fn__resumed_after_completionunable_to_find_any_user_specified_roots_in_the_final_cert_chainC:Usersmdool.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_util_0.7.9_srcutilpoll_buf.rs
lea r8, str.C:Usersmdool.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.32.0_src_net_tcp_stream.rs
push 0x23
pop rdx
call fcn.1400bd250
ud2
add r14, 0x40
lea r8, [rsp + 0x160]
and qword [r8], 0
lea rdx, [rsp + 0x80]
mov rcx, r14
call fcn.1400c0ae2
ud2
lea rax, [rsp + 0x128]
lea rdx, [rsp + 0x298]
mov qword [rdx], rax
lea rax, [0x1400349b0]
mov qword [rdx + 8], rax
lea rax, [rsp + 0x58]
mov qword [rdx + 0x10], rax
lea rax, [0x140034f8b]
mov qword [rdx + 0x18], rax
push 2
pop rax
mov qword [rsp + 0x160], rax
mov qword [rsp + 0x170], rax
and qword [rsp + 0x180], 0
movabs rcx, 0x400000020
mov qword [rsp + 0x188], rcx
mov r8b, 3
mov byte [rsp + 0x190], r8b
mov qword [rsp + 0x198], rax
mov qword [rsp + 0x1a8], rax
mov qword [rsp + 0x1b8], 1
mov qword [rsp + 0x1c0], rcx
mov byte [rsp + 0x1c8], 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], r12
mov qword [rcx + 0x28], rax
mov qword [rcx + 0x10], rdx
mov qword [rcx + 0x18], rax
lea rdx, str.C:Usersmdool.cargo_registry_srcindex.crates.io_6f17d22bba15001fmio_0.8.8_src_syswindows_selector.rs
call fcn.1400bd090
ud2