Function at 0x1400ced10
Capabilities:
Connect socket

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x108
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
mov eax, dword [0x1401a230c]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
movzx eax, byte [rax + 0x128]
test eax, eax
je 0x1400cee0e
cmp eax, 1
je 0x1400cee3c
xor ebp, ebp
movzx eax, byte [rdi + 0xe8]
test eax, eax
jne 0x1400cee70
mov rcx, qword [rdi + 0x90]
mov qword [rdi + 0x98], rcx
mov eax, dword [rdi + 0x72]
movzx edx, word [rdi + 0x76]
shl rdx, 0x20
or rdx, rax
test byte [rdi + 0x70], 1
je 0x1400ceea4
mov r10d, dword [rdi + 0x84]
mov r8d, dword [rdi + 0x88]
movzx eax, word [rdi + 0x8c]
shr rdx, 0x10
mov dword [rsp + 0x50], edx
mov rdx, qword [rdi + 0x78]
mov qword [rsp + 0x54], rdx
mov edx, dword [rdi + 0x80]
mov dword [rsp + 0x5c], edx
xorps xmm0, xmm0
movups xmmword [rsp + 0x64], xmm0
movups xmmword [rsp + 0x74], xmm0
movups xmmword [rsp + 0x84], xmm0
movups xmmword [rsp + 0x94], xmm0
movups xmmword [rsp + 0xa4], xmm0
movups xmmword [rsp + 0xb4], xmm0
mov dword [rsp + 0xc4], 0
rol ax, 8
mov dword [rsp + 0x60], r8d
mov r8d, 0x1c
mov r9w, 0x17
mov edx, r10d
jmp 0x1400ceef8
mov eax, dword [0x1401a230c]
mov rcx, qword gs:[0x58]
mov r14, qword [rcx + rax*8]
lea rcx, [r14 + 0xd8]
lea rdx, [0x140061f30]
call fcn.1400de7b0
mov byte [r14 + 0x128], 1
mov eax, dword [0x1401a230c]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
cmp byte [rax + 0x125], 0
sete bpl
and bpl, byte [rax + 0x124]
movzx eax, byte [rdi + 0xe8]
test eax, eax
je 0x1400ced64
cmp eax, 3
jne 0x1400cf289
lea r15, [rdi + 0xe0]
movzx eax, byte [rdi + 0xe0]
test eax, eax
je 0x1400cef5b
cmp eax, 3
jne 0x1400cf295
mov rax, qword [rdi + 0xd8]
jmp 0x1400cefcf
mov rax, rdx
shr rax, 0x20
rol ax, 8
xorps xmm0, xmm0
movups xmmword [rsp + 0xb0], xmm0
movups xmmword [rsp + 0xa0], xmm0
movups xmmword [rsp + 0x90], xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0xc0], 0
mov r8d, 0x10
mov r9w, 2
mov word [rsp + 0x48], r9w
mov word [rsp + 0x4a], ax
mov dword [rsp + 0x4c], edx
mov dword [rsp + 0xc8], r8d
lea rdx, [rsp + 0x48]
call qword [sym.imp.ws2_32.dll_connect]
test eax, eax
je 0x1400cef2f
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x2733
jne 0x1400cf0b4
mov rdx, qword [rdi + 0x98]
mov qword [rdi + 0xa0], rdx
mov qword [rdi + 0xa8], 0
lea r15, [rdi + 0xe0]
mov byte [rdi + 0xe0], 0
xor r8d, r8d
jmp 0x1400cef69
mov rdx, qword [rdi + 0xa0]
mov r8, qword [rdi + 0xa8]
lea rcx, [rsp + 0x48]
call fcn.1400fc0d0
mov rcx, qword [rsp + 0x48]
mov r14, qword [rsp + 0x50]
cmp rcx, 2
je 0x1400cf22a
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x40], rax
movups xmm0, xmmword [rsp + 0x58]
movaps xmmword [rsp + 0x30], xmm0
lea rax, [rdi + 0xb0]
mov qword [rdi + 0xb0], rcx
mov qword [rdi + 0xb8], r14
movaps xmm0, xmmword [rsp + 0x30]
movups xmmword [rdi + 0xc0], xmm0
mov rcx, qword [rsp + 0x40]
mov qword [rdi + 0xd0], rcx
mov qword [rdi + 0xd8], rax
mov rdx, qword [rax + 0x10]
lea r14, [rsp + 0x48]
mov rcx, r14
mov r8, rbx
mov r9b, 1
call fcn.1400f6360
movzx eax, byte [rsp + 0x51]
cmp al, 3
jne 0x1400cf0a6
mov byte [r15], 3
mov byte [rdi + 0xe8], 3
mov eax, dword [0x1401a230c]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
movzx eax, byte [rax + 0x128]
cmp eax, 2
je 0x1400cf087
cmp eax, 1
je 0x1400cf050
mov eax, dword [0x1401a230c]
mov rcx, qword gs:[0x58]
mov r14, qword [rcx + rax*8]
lea rcx, [r14 + 0xd8]
lea rdx, [0x140061f30]
call fcn.1400de7b0
mov byte [r14 + 0x128], 1
mov eax, dword [0x1401a230c]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
movzx r14d, byte [rax + 0x124]
mov ecx, r14d
xor cl, 1
cmp byte [rax + 0x125], 0
setne al
or bpl, cl
or bpl, al
je 0x1400cf177
mov rcx, rdi
mov rdx, rbx
call fcn.1400f7e00
test al, al
je 0x1400cf16b
mov qword [rsi], 4
jmp 0x1400cf279
cmp al, 2
jne 0x1400cf0d6
mov r14, qword [rsp + 0x48]
jmp 0x1400cf21e
mov r14d, eax
shl r14, 0x20
or r14, 2
mov rcx, qword [rdi + 0x98]
call qword [sym.imp.ws2_32.dll_closesocket]
mov eax, 2
jmp 0x1400cf253
mov rcx, qword [rdi + 0xc8]
cmp rcx, 0xffffffffffffffff
je 0x1400cf2a1
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x48], 4
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x30]
mov edx, 0xffff
mov r8d, 0x1007
call qword [sym.imp.ws2_32.dll_getsockopt]
cmp eax, 0xffffffff
je 0x1400cf20d
movsxd r14, dword [rsp + 0x30]
test r14, r14
jne 0x1400cf216
mov rax, qword [rdi + 0xb0]
mov r14, qword [rdi + 0xb8]
mov rcx, qword [rdi + 0xd0]
mov qword [rsp + 0x100], rcx
movups xmm0, xmmword [rdi + 0xc0]
movaps xmmword [rsp + 0xf0], xmm0
mov byte [rdi + 0xe0], 1
cmp rax, 3
je 0x1400ceff7
jmp 0x1400cf233
mov qword [rsi], 3
jmp 0x1400cf279
mov eax, dword [0x1401a230c]
mov rcx, qword gs:[0x58]
mov r15, qword [rcx + rax*8]
mov byte [r15 + 0x124], 0
mov rcx, rdi
mov rdx, rbx
call fcn.1400f7e00
movzx eax, al
add rax, 3
mov qword [rsi], rax
movzx eax, byte [r15 + 0x128]
cmp eax, 2
je 0x1400cf279
cmp eax, 1
je 0x1400cf1ea
mov eax, dword [0x1401a230c]
mov rcx, qword gs:[0x58]
mov rsi, qword [rcx + rax*8]
lea rcx, [rsi + 0xd8]
lea rdx, [0x1400f48e0]
call fcn.1400de7b0
mov byte [rsi + 0x128], 1
mov eax, dword [0x1401a230c]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov byte [rax + 0x124], r14b
mov byte [rax + 0x125], 0
add dword [rax], eax
add byte [rax], al
jmp 0x1400cf279
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov r14d, eax
shl r14, 0x20
or r14, 2
invalid
invalid
lea rcx, [rdi + 0xb0]
call fcn.14005aaa0
mov byte [r15], 1
mov eax, 2
mov rcx, qword [rsp + 0x100]
mov qword [rsp + 0xe0], rcx
mov dword [rsp + 0xe0], ecx
movaps xmm0, xmmword [rsp + 0xf0]
movaps xmmword [rsp + 0xd0], xmm0
mov byte [rdi + 0xe8], 1
mov qword [rsi], rax
mov qword [rsi + 8], r14
movaps xmm0, xmmword [rsp + 0xd0]
movups xmmword [rsi + 0x10], xmm0
mov rax, qword [rsp + 0xe0]
mov qword [rsi + 0x20], rax
add rsp, 0x108
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
lea rcx, str.C:Usersz0mbj.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.36.0_src_net_tcp_socket.rs
call fcn.140126970
lea rcx, [0x1401613b0]
call fcn.140126970
lea rcx, str.C:Usersz0mbj.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.36.0_srciopoll_evented.rs
call fcn.1401266e0
int3