Function at 0x1400c31c0
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]
movaps xmmword [rbp + 0x220], xmm6
and rsp, 0xffffffffffffff80
mov r14, r8
mov rsi, rdx
mov rdi, rcx
movzx eax, byte [rdx + 0x78]
test eax, eax
je 0x1400c325d
cmp eax, 3
jne 0x1400c3f43
lea r13, [rsi + 0x30]
lea r15, [rsi + 0x70]
movzx eax, byte [rsi + 0x70]
test eax, eax
je 0x1400c332b
cmp eax, 3
jne 0x1400c3f72
mov rcx, qword [rsi + 0x68]
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 0x1400c3340
mov edx, dword [rsi + 0x14]
mov r8d, dword [rsi + 0x18]
movzx eax, word [rsi + 0x1c]
mov r9, qword [rsp + 0xd2]
mov r10d, dword [rsp + 0xda]
movzx r11d, word [rsp + 0xde]
movzx ebx, word [rsp + 0xe0]
xorps xmm0, xmm0
movups xmmword [rsp + 0x17c], xmm0
and al, 0x7c
add dword [rax], eax
add byte [rdi], cl
adc dword [rsp + 0x18c], eax
movups xmmword [rsp + 0x19c], xmm0
movups xmmword [rsp + 0x1ac], xmm0
movups xmmword [rsp + 0x1bc], xmm0
movups xmmword [rsp + 0x1cc], xmm0
rol ax, 8
mov dword [rsp + 0x1dc], 0
mov qword [rsp + 0x168], r9
mov dword [rsp + 0x170], r10d
mov word [rsp + 0x174], r11w
mov word [rsp + 0x176], bx
mov dword [rsp + 0x178], r8d
mov r8d, 0x1c
mov r9w, 0x17
jmp 0x1400c3393
mov qword [rsp + 0x210], r14
mov qword [rsp + 0xb0], r15
jmp 0x1400c3408
lea r8, [rsp + 0x168]
movzx eax, word [rsp + 0xd4]
rol ax, 8
mov edx, dword [rsp + 0xd0]
xorps xmm0, xmm0
movups xmmword [r8 + 0x60], xmm0
movups xmmword [r8 + 0x50], xmm0
movups xmmword [r8 + 0x40], xmm0
movups xmmword [r8 + 0x30], xmm0
movups xmmword [r8 + 0x20], xmm0
movups xmmword [r8 + 0x10], xmm0
movups xmmword [r8], xmm0
mov qword [r8 + 0x70], 0
mov r8d, 0x10
mov r9w, 2
mov word [rsp + 0x160], r9w
mov word [rsp + 0x162], ax
mov dword [rsp + 0x164], edx
mov dword [rsp + 0x1e0], r8d
lea rdx, [rsp + 0x160]
call qword [sym.imp.ws2_32.dll_connect]
test eax, eax
je 0x1400c33dc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov ecx, eax
call fcn.1400d4970
cmp al, 0xd
jne 0x1400c34d4
mov qword [rsp + 0x210], r14
mov rax, qword [rsi + 0x28]
lea r13, [rsi + 0x30]
mov qword [rsi + 0x30], rax
mov qword [rsi + 0x38], 0
lea rax, [rsi + 0x70]
mov qword [rsp + 0xb0], rax
mov byte [rsi + 0x70], 0
mov rax, qword [rsi + 0x30]
mov qword [rsp + 0xa0], rax
mov r15, qword [rsi + 0x38]
lea rcx, str.C:Usersmpx16.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.35.1_src_net_tcp_stream.rs
call fcn.1400ef630
mov qword [rsp + 0xf0], rax
mov qword [rsp + 0xf8], rdx
lea r14, [rdx + 0x120]
lea rcx, [rdx + 0xc0]
test rax, rax
mov eax, 0xc0
mov r12d, 0x120
cmove r12, rax
cmove r14, rcx
cmp qword [rdx + r12], 0
je 0x1400c3f29
mov rbx, rdx
mov cl, 1
xor eax, eax
lock cmpxchg byte [r14 + 0x20], cl
jne 0x1400c3591
cmp byte [r14 + 0x50], 0
je 0x1400c35a5
call fcn.1400f01f0
mov rbx, rax
xor ecx, ecx
mov al, 1
lock cmpxchg byte [r14 + 0x20], cl
jne 0x1400c3c22
mov r12, qword [rsp + 0xa0]
lea rcx, [rsp + 0xf8]
cmp qword [rsp + 0xf0], 0
je 0x1400c3755
shl rbx, 0x20
or rbx, 2
mov rcx, qword [rsi + 0x28]
call qword [sym.imp.ws2_32.dll_closesocket]
mov r14d, 2
jmp 0x1400c37f1
lea rcx, [r14 + 0x20]
call fcn.1401130f0
cmp byte [r14 + 0x50], 0
jne 0x1400c3481
mov qword [rsp + 0xc8], r13
xorps xmm0, xmm0
movups xmmword [rsp + 0x109], xmm0
movaps xmmword [rsp + 0x100], xmm0
movaps xmmword [rsp + 0x120], xmm0
mov qword [rsp + 0x130], 0
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x200], rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x208], rax
movaps xmmword [rsp + 0x1f0], xmm0
movaps xmm0, xmmword [rsp + 0x110]
movaps xmmword [rsp + 0x1e0], xmm0
movaps xmm0, xmmword [rsp + 0x100]
movaps xmmword [rsp + 0x1d0], xmm0
movzx eax, byte [0x14018af58]
mov rcx, qword [0x14018aea8]
test rcx, rcx
jne 0x1400c3648
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x1400c3f61
mov rcx, rax
mov qword [0x14018aea8], rax
mov r8d, 0x180
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x1400c3f61
mov r13, rax
and r13, 0xffffffffffffff80
mov qword [r13 + 0x78], rax
mov qword [r13 + 0x80], 1
mov qword [r13 + 0x88], 1
lea rcx, [r13 + 0x90]
lea rdx, [rsp + 0x160]
mov r8d, 0xb0
call sub.VCRUNTIME140.dll_memcpy
mov qword [r13 + 0x140], 0
lock inc qword [r13 + 0x80]
jle 0x1400c3f5d
sub r13, 0xffffffffffffff80
lea rdx, [r13 + 0x80]
mov qword [rsp + 0x100], rdx
mov rax, qword [r14 + 0x40]
cmp rax, rdx
je 0x1400c3f8c
mov qword [r13 + 0x88], rax
mov qword [r13 + 0x80], 0
test rax, rax
je 0x1400c36ed
mov qword [rax], rdx
mov qword [r14 + 0x40], rdx
cmp qword [r14 + 0x48], 0
je 0x1400c3830
xor ecx, ecx
mov al, 1
lock cmpxchg byte [r14 + 0x20], cl
jne 0x1400c3844
test r15, r15
je 0x1400c385f
movabs rbx, 0xc00000003
mov qword [r14 + 0x48], rdx
xor ecx, ecx
mov al, 1
lock cmpxchg byte [r14 + 0x20], cl
je 0x1400c370c
add r14, 0x20
mov rcx, r14
mov r14, rdx
call fcn.140112d20
mov rdx, r14
test r15, r15
jne 0x1400c3715
mov qword [rsp + 0xb8], rdx
mov r14, qword [rbx + r12]
lea rbx, [r14 + 0x18]
mov qword [rsp + 0x228], rbx
lea rcx, [r14 + 0x20]
mov qword [rsp + 0xa8], rcx
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov rax, qword [0x14018af50]
shl rax, 1
test rax, rax
jne 0x1400c3d9d
xor edx, edx
movzx eax, byte [r14 + 0x28]
test al, al
mov r12, qword [rsp + 0xa0]
jne 0x1400c3dbc
add r14, 0x20
mov rcx, r14
call fcn.140112d20
jmp 0x1400c3499
call fcn.1401178c0
mov edx, eax
xor dl, 1
movzx eax, byte [r14 + 0x28]
movzx eax, byte [rsi + 0x28]
lea rcx, str.A_Tokio_1.x_context_was_found__but_IO_is_disabled._Call__enable_io__on_the_runtime_builder_to_enable_IO.A_Tokio_1.x_context_was_found__but_timers_are_disabled._Call__enable_time__on_the_runtime_builder_to_enable_timers.Oh_no__We_never_placed_the_Core_back__this_is_a_bug_
lea r8, str.C:Usersmpx16.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.35.1_src_net_tcp_stream.rs
or ecx, dword [rcx]
add byte [rdx + 0x68], bh
lea rcx, str._async_fn__resumed_after_completionunable_to_find_any_user_specified_roots_in_the_final_cert_chain
mov ecx, 0x80
mov edx, 0x100
call fcn.14010fbd0
invalid
lea rcx, str._async_fn__resumed_after_completionunable_to_find_any_user_specified_roots_in_the_final_cert_chain
mov qword [rsp + 0x160], 0
add r14, 0x40