Function at 0x1401d9b8f
Capabilities:
Connect socket

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x218
mov r15, r8
mov rsi, rdx
mov r12, rcx
movzx eax, byte [rdx + 0x78]
test eax, eax
je 0x1401d9c08
cmp eax, 3
jne 0x1401da45c
lea r14, [rsi + 0x70]
lea rbx, [rsi + 0x30]
movzx eax, byte [rsi + 0x70]
test eax, eax
je 0x1401d9cc0
cmp eax, 3
jne 0x1401da470
mov rax, qword [rsi + 0x68]
mov rdx, qword [rax + 0x10]
lea rdi, [rsp + 0xb0]
mov rcx, rdi
mov r8, r15
call fcn.1402af671
mov al, byte [rdi + 9]
cmp al, 3
jne 0x1401d9fc7
mov byte [r14], 3
jmp 0x1401da33f
mov rcx, qword [rsi + 0x20]
mov qword [rsi + 0x28], rcx
cmp word [rsi], 0
movzx eax, word [rsi + 0x12]
mov word [rsp + 0x90], ax
vmovups xmm0, xmmword [rsi + 2]
vmovaps xmmword [rsp + 0x80], xmm0
je 0x1401d9ce4
mov r9d, dword [rsi + 0x14]
mov edx, dword [rsi + 0x18]
movzx eax, word [rsi + 0x1c]
mov r8, qword [rsp + 0x82]
mov r10d, dword [rsp + 0x8a]
movzx r11d, word [rsp + 0x8e]
movzx edi, word [rsp + 0x90]
vxorps xmm0, xmm0, xmm0
and dword [rsp + 0x12c], 0
vmovups ymmword [rsp + 0xcc], ymm0
vmovups ymmword [rsp + 0xec], ymm0
rol ax, 8
vmovups ymmword [rsp + 0x10c], ymm0
mov qword [rsp + 0xb8], r8
mov dword [rsp + 0xc0], r10d
mov word [rsp + 0xc4], r11w
mov word [rsp + 0xc6], di
mov dword [rsp + 0xc8], edx
mov r8d, 0x1c
mov r10w, 0x17
jmp 0x1401d9d22
mov qword [rsp + 0x30], r12
mov qword [rsp + 0xa8], r15
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x38], rbx
mov r15, qword [rsi + 0x30]
mov r13, qword [rsi + 0x38]
jmp 0x1401d9da3
lea rdx, [rsp + 0xb8]
movzx eax, word [rsp + 0x84]
rol ax, 8
mov r9d, dword [rsp + 0x80]
vxorps xmm0, xmm0, xmm0
vmovups ymmword [rdx + 0x58], ymm0
vmovups ymmword [rdx + 0x40], ymm0
vmovups ymmword [rdx + 0x20], ymm0
vmovups ymmword [rdx], ymm0
mov r8d, 0x10
mov r10w, 2
lea rdx, [rsp + 0xb0]
mov word [rdx], r10w
mov word [rdx + 2], ax
mov dword [rdx + 4], r9d
mov dword [rdx + 0x80], r8d
vzeroupper
call sub.ws2_32.dll_connect
test eax, eax
je 0x1401d9d70
call fcn.1401338db
mov rdi, rax
mov qword [rsp + 0x50], rax
mov rcx, rax
call fcn.14001b929
cmp al, 0xd
jne 0x1401d9fb4
lea rcx, [rsp + 0x50]
call fcn.1400f4276
mov qword [rsp + 0x30], r12
mov qword [rsp + 0xa8], r15
mov r15, qword [rsi + 0x28]
mov qword [rsi + 0x30], r15
and qword [rsi + 0x38], 0
lea rax, [rsi + 0x30]
mov qword [rsp + 0x38], rax
lea rax, [rsi + 0x70]
mov qword [rsp + 0x28], rax
mov byte [rsi + 0x70], 0
xor r13d, r13d
lea rbx, str._6_
mov rcx, rbx
call fcn.1402ae21a
mov rbp, rax
mov rdi, rdx
mov qword [rsp + 0x140], r15
mov qword [rsp + 0x148], r13
mov qword [rsp + 0x170], rax
mov qword [rsp + 0x178], rdx
lea r14, [rdx + 0x138]
lea rax, [rdx + 0xd0]
test rbp, rbp
mov ecx, 0xd0
mov r12d, 0x138
cmove r12, rcx
cmove r14, rax
mov rcx, r14
mov rdx, rbx
call fcn.1402ab06f
add r14, 0x20
mov rcx, r14
call fcn.1402ab4e4
mov rbx, rax
mov r14d, edx
cmp byte [rax + 0x38], 0
je 0x1401d9e50
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
mov r8d, 0x38
mov cl, 0x27
call fcn.140132e8a
mov r15, rax
mov rcx, rbx
mov edx, r14d
call fcn.1402ab511
mov r14, qword [rsp + 0x28]
mov r12, qword [rsp + 0x30]
jmp 0x1401da2f1
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x158], rbp
and qword [rsp + 0x67], 0
vxorps xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x57], xmm0
mov rax, qword [rsp + 0x6f]
mov qword [rsp + 0xcf], rax
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0xb0], eax
movzx eax, word [rsp + 0x54]
mov word [rsp + 0xb4], ax
mov al, byte [rsp + 0x56]
mov byte [rsp + 0xb6], al
vmovups xmm1, xmmword [rsp + 0x57]
vmovups xmmword [rsp + 0xb7], xmm1
mov rax, qword [rsp + 0x67]
mov qword [rsp + 0xc7], rax
mov al, byte [rsp + 0x6f]
mov byte [rsp + 0xcf], al
vmovups xmmword [rsp + 0x58], xmm0
and qword [rsp + 0x68], 0
mov ecx, 0x100
mov edx, pe_nt_image_headers64
call fcn.1400e826e
mov r13, rax
mov eax, 1
mov qword [r13], rax
mov qword [r13 + 8], rax
and qword [r13 + 0x80], 0
mov byte [r13 + 0x88], 0
vmovups ymm0, ymmword [rsp + 0xb0]
vmovups ymmword [r13 + 0x89], ymm0
mov rax, qword [rsp + 0xcf]
mov qword [r13 + 0xa8], rax
and qword [r13 + 0xb0], 0
vmovups ymm0, ymmword [rsp + 0x50]
vmovups ymmword [r13 + 0xb8], ymm0
lock inc qword [r13]
jle 0x1401da46c
lea r15, [r13 + 0x80]
mov qword [rsp + 0x50], r15
mov rax, qword [rbx + 0x28]
cmp rax, r15
je 0x1401da48a
mov qword [r13 + 0xc8], rax
and qword [r13 + 0xc0], 0
test rax, rax
je 0x1401d9f78
mov qword [rax + 0x40], r15
mov qword [rbx + 0x28], r15
cmp qword [rbx + 0x30], 0
jne 0x1401d9f87
mov qword [rbx + 0x30], r15
mov qword [rsp + 0x160], r13
mov rcx, rbx
mov edx, r14d
vzeroupper
call fcn.1402ab511
cmp qword [rsp + 0x40], 0
je 0x1401d9fe1
movabs r15, 0xc00000003
jmp 0x1401da2da
mov rcx, qword [rsi + 0x28]
call fcn.1401d5044
mov ebx, 2
jmp 0x1401da377
cmp al, 2
mov qword [rsp + 0x38], rbx
jne 0x1401da07f
mov rdi, qword [rsp + 0xb0]
jmp 0x1401da1b0
mov qword [rsp + 0x40], r15
mov r12, qword [rdi + r12]
lea r15, [r12 + 0x18]
mov qword [rsp + 0x168], r15
lea rdx, [r12 + 0x20]
lea rbx, [rsp + 0xb0]
mov rcx, rbx
call fcn.140132f71
lea rdx, str._root_.cargo_registry_src_index.crates.io_6f17d22bba15001f_mio_0.8.9_src_sys_windows_selector.rsh_tT_
mov rcx, rbx
call fcn.140133893
mov rbx, rax
mov qword [rsp + 0x98], rax
mov byte [rsp + 0xa0], dl
lea r14, [rax + 0x10]
mov rax, qword [rax + 0x20]
test rax, rax
je 0x1401da04f
mov rcx, qword [r14]
mov rax, qword [rcx + rax*8 - 8]
mov rax, qword [rax]
cmp rax, 0x20
jbe 0x1401da0f2
mov rcx, qword [r15]
mov rdx, r14
call fcn.140134251
mov r15, rax
test rax, rax
je 0x1401da0f2
mov rcx, qword [rsp + 0x98]
mov dl, byte [rsp + 0xa0]
call fcn.1402ab511
jmp 0x1401da2da
lea rcx, [rsi + 0x40]
call fcn.1402ad68e
mov rcx, qword [rax]
lea r9, [rsp + 0x50]
and dword [r9], 0
mov dword [rsp + 0xb0], 4
mov qword [rsp + 0x20], rdi
mov edx, 0xffff
mov r8d, 0x1007
call sub.ws2_32.dll_getsockopt
cmp eax, 0xffffffff
je 0x1401da1a1
movsxd rdi, dword [rsp + 0x50]
test rdi, rdi
jne 0x1401da1a8
mov rbx, qword [rsi + 0x40]
mov rdi, qword [rsi + 0x48]
mov rax, qword [rsi + 0x60]
mov qword [rsp + 0x1d0], rax
vmovups xmm0, xmmword [rsi + 0x50]
vmovaps xmmword [rsp + 0x1c0], xmm0
jmp 0x1401da313
mov rax, qword [rbx + 0x20]
test rax, rax
je 0x1401da4ac
mov rcx, qword [r14]
mov rbx, qword [rcx + rax*8 - 8]
lock inc qword [rbx]
jle 0x1401da46c
mov qword [rsp + 0x150], r12
mov rcx, qword [rsp + 0x98]
mov dl, byte [rsp + 0xa0]
call fcn.1402ab511
mov rbp, rbx
mov qword [rsp + 0x1f8], rbx
lea rbx, [rsp + 0x50]
mov rcx, rbx
mov rdx, qword [rsp + 0x48]
mov r8d, 0x48000022
call fcn.1401343e2
cmp dword [rbx], 0
je 0x1401da1c3
xor r15d, r15d
lea r12, [0x140541020]
lea rbx, [rsp + 0xb0]
cmp r15, 0xc
je 0x1401da2c0
mov r8d, dword [r15 + r12]
mov rcx, rbx
mov rdx, qword [rsp + 0x48]
call fcn.1401343e2
add r15, 4
cmp dword [rsp + 0xb0], 0
jne 0x1401da167
mov r14, qword [rsp + 0xb8]
cmp r14, qword [rsp + 0x48]
je 0x1401da167
jmp 0x1401da1c8
call sub.ws2_32.dll_WSAGetLastError
mov edi, eax
shl rdi, 0x20
or rdi, 2
lea rcx, [rsi + 0x40]
call fcn.1401d4e1c
mov ebx, 2
jmp 0x1401da313
mov r14, qword [rsp + 0x58]
mov ecx, pe_nt_image_headers64
call fcn.1400d3319
mov rbx, rax
mov eax, 1
mov qword [rbx], rax
mov qword [rbx + 8], rax
and qword [rbx + 0x10], 0
mov byte [rbx + 0x18], 0
and dword [rbx + 0x20], 0
lea rdx, [rbx + 0x10]
mov qword [rbx + 0x28], rbp
vxorps xmm0, xmm0, xmm0
vmovups ymmword [rbx + 0x30], ymm0
vmovups ymmword [rbx + 0x40], ymm0
mov qword [rbx + 0x60], r14
vxorps xmm0, xmm0, xmm0
vmovups xmmword [rbx + 0x68], xmm0
and word [rbx + 0x78], 0
lea r14, [rsp + 0xb0]
mov rcx, r14
vzeroupper
call fcn.140132f3b
lea rdx, str._root_.cargo_registry_src_index.crates.io_6f17d22bba15001f_mio_0.8.9_src_sys_windows_selector.rsh_tT_
mov rcx, r14
call fcn.140133435
mov dword [rax + 0x60], 0x19d
mov r15, qword [rsp + 0x40]
mov qword [rax + 0x58], r15
mov rcx, rax
call fcn.1402ab511
mov r12, qword [rsp + 0x150]
lock inc qword [r12]
jle 0x1401da46c
lock inc qword [rbx]
jle 0x1401da46c
lea r14, [r12 + 0x10]
mov qword [rsp + 0xb0], r12
mov qword [rsp + 0xc0], r15
mov byte [rsp + 0xc8], 3
mov qword [rsp + 0xb8], rbx
mov rcx, r14
mov rdx, rbx
call fcn.1401341a5
mov rcx, r14
call fcn.1401341f1
test rax, rax
je 0x1401da3b6
mov r15, rax
lea rcx, [rsp + 0xb0]
call fcn.140134451
jmp 0x1401da2da
mov r15d, dword [rsp + 0x54]
shl r15, 0x20
or r15, 2
lea rcx, [rsp + 0x1f8]
call fcn.1401329d5
lea rcx, [rsp + 0x160]
call fcn.1402a8296
mov r12, qword [rsp + 0x30]
mov r14, qword [rsp + 0x28]
lea rcx, [rsp + 0x170]
call fcn.1401ac9b7
lea rcx, [rsp + 0x140]
call fcn.1402ac933
mov ebx, 2
mov rdi, r15
mov rax, qword [rsp + 0x1d0]
mov qword [rsp + 0x190], rax
vmovaps xmm0, xmmword [rsp + 0x1c0]
vmovaps xmmword [rsp + 0x180], xmm0
mov byte [r14], 1
cmp rbx, 3
jne 0x1401da34b
mov qword [r12], 3
mov al, 3
jmp 0x1401da39f
mov rax, qword [rsp + 0x190]
mov qword [rsp + 0x1b0], rax
vmovaps xmm0, xmmword [rsp + 0x180]
vmovaps xmmword [rsp + 0x1a0], xmm0
mov rcx, qword [rsp + 0x38]
call fcn.1401d9b74
mov qword [r12], rbx
mov qword [r12 + 8], rdi
vmovaps xmm0, xmmword [rsp + 0x1a0]
vmovups xmmword [r12 + 0x10], xmm0
mov rax, qword [rsp + 0x1b0]
mov qword [r12 + 0x20], rax
mov al, 1
mov byte [rsi + 0x78], al
add rsp, 0x218
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rax, [rsp + 0xc0]
vmovups xmm0, xmmword [rax]
vmovaps xmmword [rsp + 0x1e0], xmm0
mov ecx, 0x20
call fcn.1400d3319
mov r14, rax
mov qword [rax], r12
mov qword [rax + 8], rbx
vmovaps xmm0, xmmword [rsp + 0x1e0]
vmovups xmmword [rax + 0x10], xmm0
mov rcx, qword [rsp + 0x148]
call fcn.140134486
mov ebx, 2
mov rbp, qword [rsp + 0x158]
cmp rbp, 2
jne 0x1401da41c
mov r12, qword [rsp + 0x30]
mov r14, qword [rsp + 0x28]
jmp 0x1401da313
mov rcx, qword [rsp + 0x140]
lea rax, [rsi + 0x40]
mov qword [rsi + 0x40], rbp
mov qword [rsi + 0x48], rdi
mov qword [rsi + 0x50], r13
mov qword [rsi + 0x58], rcx
mov qword [rsi + 0x60], r14
mov qword [rsi + 0x68], rax
mov r12, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov r14, qword [rsp + 0x28]
mov r15, qword [rsp + 0xa8]
jmp 0x1401d9bdd
lea rcx, [0x1405a3370]
lea r8, str._root_.cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_1.33.0_src_net_tcp_socket.rs
jmp 0x1401da47e
ud2
lea rcx, [0x1405a3370]
lea r8, str._root_.cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_1.33.0_src_net_tcp_stream.rs
mov edx, 0x23
call fcn.1400b45f0
ud2
add rbx, 0x28
lea r8, [rsp + 0xb0]
and qword [r8], 0
lea rdx, [rsp + 0x50]
mov rcx, rbx
vzeroupper
call fcn.1402acda6
ud2
lea rax, [rsp + 0x168]
lea rdx, [rsp + 0x1f8]
mov qword [rdx], rax
lea rax, [0x140133239]
mov qword [rdx + 8], rax
lea rax, [rsp + 0x98]
mov qword [rdx + 0x10], rax
lea rax, [0x1401338f1]
mov qword [rdx + 0x18], rax
mov eax, 2
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xc0], rax
and qword [rsp + 0xd0], 0
movabs rcx, 0x400000020
mov qword [rsp + 0xd8], rcx
mov r8b, 3
mov byte [rsp + 0xe0], r8b
mov qword [rsp + 0xe8], rax
mov qword [rsp + 0xf8], rax
mov qword [rsp + 0x108], 1
mov qword [rsp + 0x110], rcx
mov byte [rsp + 0x118], r8b
lea r8, str.__rT_
lea rcx, [rsp + 0x50]
mov qword [rcx], r8
mov qword [rcx + 8], rax
lea r8, [rsp + 0xb0]
mov qword [rcx + 0x20], r8
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.9_src_sys_windows_selector.rsh_tT_
call fcn.1400b2c00
ud2