Function at 0x413d22
Capabilities:
Connect socket

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x1b8
mov r14, rdx
mov rsi, rcx
movzx eax, byte [rdx + 0x78]
test eax, eax
je 0x413d96
cmp eax, 3
jne 0x4146ba
lea rdi, [r14 + 0x28]
lea r15, [r14 + 0x68]
movzx eax, byte [r14 + 0x68]
test eax, eax
je 0x413e0e
cmp eax, 3
jne 0x4146ce
mov rax, qword [r14 + 0x60]
mov rdx, qword [rax + 0x20]
lea rbx, [rsp + 0xd8]
mov rcx, rbx
call fcn.0048aa4c
mov al, byte [rbx + 9]
cmp al, 3
jne 0x413e24
mov byte [r15], 3
jmp 0x414453
mov qword [rsp + 0x68], r8
mov rbx, qword [r14 + 0x70]
mov qword [r14 + 0x20], rbx
movups xmm0, xmmword [r14]
movups xmm1, xmmword [r14 + 0x10]
lea rdx, [rsp + 0x80]
movaps xmmword [rdx + 0x10], xmm1
movaps xmmword [rdx], xmm0
lea r15, [rsp + 0xd8]
mov rcx, r15
call fcn.0044aaf7
mov r8d, dword [r15 + 0x80]
mov rcx, rbx
mov rdx, r15
call sub.WS2_32.dll_connect
test eax, eax
je 0x413e79
call fcn.0043d6c4
mov r13, rax
mov qword [rsp + 0x80], rax
and eax, 3
lea rcx, [0x004147c8]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
mov al, byte [r13 + 0x10]
jmp 0x413e64
mov qword [rsp + 0x68], r8
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rsi
jmp 0x413ea2
cmp al, 2
mov qword [rsp + 0x38], rdi
jne 0x41408b
mov r13, qword [rsp + 0xd8]
jmp 0x4142b3
mov al, byte [r13 + 0xf]
jmp 0x413e64
mov rcx, r13
shr rcx, 0x20
call fcn.0044d9e0
jmp 0x413e64
mov rcx, r13
shr rcx, 0x20
cmp ecx, 0x29
mov eax, 0x29
cmovb eax, ecx
cmp al, 0xd
jne 0x413f7b
lea rcx, [rsp + 0x80]
call fcn.004056d6
mov qword [rsp + 0x30], rsi
mov rax, qword [r14 + 0x20]
and qword [r14 + 0x28], 0
lea rcx, [r14 + 0x28]
mov qword [rsp + 0x38], rcx
mov qword [r14 + 0x30], rax
lea rax, [r14 + 0x68]
mov qword [rsp + 0x40], rax
mov byte [r14 + 0x68], 0
mov rsi, qword [r14 + 0x28]
mov qword [rsp + 0x60], r14
mov rdi, qword [r14 + 0x30]
lea rbx, str._cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_1.29.0_src_net_tcp_stream.rs
mov rcx, rbx
call fcn.00489b1e
mov r15, rdx
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x160], rax
mov qword [rsp + 0x168], rdx
lea rcx, [rdx + 0x130]
add r15, 0x10
test rax, rax
cmovne r15, rcx
mov rcx, r15
mov rdx, rbx
call fcn.00486373
mov rcx, r15
call sub.KERNEL32.dll_AcquireSRWLockShared
mov al, byte [r15 + 8]
test al, al
jne 0x414681
cmp byte [r15 + 0xa8], 0
je 0x413f24
lea rcx, str.A_Tokio_1.x_context_was_found__but_it_is_being_shutdown._cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_1.29.0_src_runtime_io_mod.rs
mov edx, 0x38
jmp 0x413f9a
mov esi, 2
cmp rsi, 0x15
je 0x413f8e
mov r14, qword [r15 + rsi*8]
mov rax, qword [r14 + 0x48]
cmp rax, qword [r14 + 0x50]
je 0x413f76
lea r12, [r14 + 0x10]
mov rcx, r12
call fcn.00486a5a
mov rbx, rax
mov ebp, edx
mov r13, qword [rax + 0x10]
mov rdi, qword [rax + 0x30]
cmp r13, rdi
jb 0x4140fc
mov r13, qword [r14 + 0x50]
cmp r13, rdi
jne 0x41415f
mov rcx, rbx
mov edx, ebp
call fcn.00488294
inc rsi
jmp 0x413f29
mov rcx, qword [r14 + 0x20]
call fcn.00405858
mov edi, 2
jmp 0x414479
lea rcx, str.reactor_at_max_registered_I_O_resources_mark_pending_called_when_the_timer_entry_is_in_an_invalid_state
mov edx, 0x27
call fcn.0044a841
mov r13, rax
xor esi, esi
mov rcx, r15
call sub.KERNEL32.dll_ReleaseSRWLockShared
test sil, sil
je 0x413fff
mov rbx, qword [r12 + 0x40]
shr ebx, 0x18
and ebx, 0x7f
mov ecx, 0xffffff
xor edx, edx
mov r8, r13
xor r9d, r9d
call fcn.004869dd
mov ecx, 0x7f000000
mov edx, 0x18
mov r8, rbx
mov r9, rax
call fcn.004869dd
cmp qword [rsp + 0x70], 0
mov rsi, qword [rsp + 0x30]
je 0x41400e
movabs r13, 0xc00000003
jmp 0x41440b
mov r14, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x30]
jmp 0x414418
mov r14, rax
mov rbx, qword [rsp + 0x78]
mov rbp, qword [r15 + 0xc0]
lea rdx, [rbp + 0x40]
mov qword [rsp + 0x48], rdx
lea rdi, [rsp + 0xd8]
mov rcx, rdi
call fcn.0043cdae
lea rdx, str._cargo_registry_src_index.crates.io_6f17d22bba15001f_mio_0.8.8_src_sys_windows_selector.rs
mov rcx, rdi
call fcn.0043d67c
mov r15, rax
mov qword [rsp + 0x50], rax
mov byte [rsp + 0x58], dl
mov rax, qword [rax + 0x20]
test rax, rax
je 0x4141d6
mov rcx, qword [r15 + 0x18]
mov rax, qword [rcx + rax*8 - 8]
mov rax, qword [rax]
mov r15, qword [rsp + 0x50]
cmp rax, 0x21
jb 0x414201
lea rdx, [r15 + 0x10]
mov rax, qword [rsp + 0x48]
mov rcx, qword [rax + 0x28]
jmp 0x4141e1
lea rcx, [r14 + 0x38]
call fcn.004896d3
mov rcx, qword [rax + 8]
lea r9, [rsp + 0x80]
and dword [r9], 0
mov dword [rsp + 0xd8], 4
mov qword [rsp + 0x20], rbx
mov edx, 0xffff
mov r8d, 0x1007
call sub.WS2_32.dll_getsockopt
cmp eax, 0xffffffff
je 0x4142a3
mov r13d, dword [rsp + 0x80]
test r13, r13
jne 0x4142ab
mov r13, qword [r14 + 0x38]
mov rbx, qword [r14 + 0x40]
mov rdi, qword [r14 + 0x48]
movups xmm0, xmmword [r14 + 0x50]
movaps xmmword [rsp + 0x190], xmm0
jmp 0x414439
mov rax, qword [rbx + 0x18]
mov rsi, qword [rbx + 0x28]
imul rdi, r13, 0x58
mov ecx, dword [rsi + rdi + 0x50]
mov qword [rbx + 0x10], rcx
inc rax
mov qword [rbx + 0x18], rax
mov qword [r14 + 0x48], rax
mov r12, qword [rsi + rdi + 0x40]
shr r12d, 0x18
and r12d, 0x7f
inc r12d
mov ecx, 0x7f000000
mov edx, 0x18
call fcn.00486a2e
and r12d, eax
mov ecx, 0x7f000000
mov edx, 0x18
mov r8, r12
xor r9d, r9d
call fcn.004869dd
mov qword [rsi + rdi + 0x40], rax
mov rdi, r13
jmp 0x414650
mov rsi, rbx
add rsi, 0x20
mov rdx, rdi
test rdi, rdi
jne 0x41457a
movabs rdx, 0x8000000000000001
mov rax, qword [rsi]
cmp rax, r13
jae 0x414523
movabs rcx, 0x1745d1745d1745e
xor r8d, r8d
cmp r13, rcx
setb r8b
imul rdx, r13, 0x58
shl r8, 3
test rax, rax
je 0x414525
imul rax, rax, 0x58
mov rcx, qword [rbx + 0x28]
mov qword [rsp + 0xd8], rcx
mov qword [rsp + 0xe0], rax
mov qword [rsp + 0xe8], 8
jmp 0x41452e
mov rdx, r15
add rdx, 0x10
mov rcx, qword [rbp + 0x68]
call fcn.0043e1b2
mov r13, rax
test rax, rax
je 0x414201
mov rcx, qword [rsp + 0x50]
mov dl, byte [rsp + 0x58]
call fcn.00488294
jmp 0x41440b
mov rax, qword [r15 + 0x20]
test rax, rax
je 0x4146fd
mov rcx, qword [r15 + 0x18]
mov rdi, qword [rcx + rax*8 - 8]
lock inc qword [rdi]
jle 0x4146ca
mov qword [rsp + 0xd0], r14
mov qword [rsp + 0x30], rsi
lea r15, [rsp + 0x50]
mov rcx, qword [r15]
mov dl, byte [r15 + 8]
call fcn.00488294
mov qword [rsp + 0x48], rdi
mov rcx, r15
mov rdx, rbx
mov r8d, 0x48000022
call fcn.0043e364
cmp dword [r15], 0
je 0x4142c1
xor r14d, r14d
lea r13, [0x0049cf48]
lea r15, [rsp + 0xb0]
cmp r14, 0xc
je 0x4143ef
mov r8d, dword [r14 + r13]
mov rcx, r15
mov rdx, rbx
call fcn.0043e364
add r14, 4
cmp dword [rsp + 0xb0], 0
jne 0x41426d
mov rsi, qword [rsp + 0xb8]
cmp rsi, rbx
je 0x41426d
jmp 0x4142c6
call sub.WS2_32.dll_WSAGetLastError
mov r13d, eax
shl r13, 0x20
or r13, 2
lea rcx, [r14 + 0x38]
call fcn.00405b85
jmp 0x414434
mov rsi, qword [rsp + 0x58]
lea r15, [rsp + 0xd8]
and qword [r15 + 4], 0
and word [r15 + 0xc], 0
mov eax, dword [r15 + 0x10]
mov dword [rsp + 0x90], eax
movups xmm0, xmmword [r15]
movaps xmmword [rsp + 0x80], xmm0
mov ecx, pe_nt_image_headers64
call fcn.0043cd6a
mov rbx, rax
mov eax, 1
mov qword [rbx], rax
mov qword [rbx + 8], rax
lea rdx, [rbx + 0x10]
and qword [rbx + 0x10], 0
mov byte [rbx + 0x18], 0
xorps xmm0, xmm0
movups xmmword [rbx + 0x20], xmm0
movups xmmword [rbx + 0x30], xmm0
movups xmmword [rbx + 0x40], xmm0
mov qword [rbx + 0x50], rsi
and qword [rbx + 0x58], 0
mov qword [rbx + 0x60], rdi
and dword [rbx + 0x68], 0
movaps xmm0, xmmword [rsp + 0x80]
movups xmmword [rbx + 0x6c], xmm0
mov eax, dword [rsp + 0x90]
mov dword [rbx + 0x7c], eax
mov rcx, r15
call fcn.0043ce20
lea rdx, str._cargo_registry_src_index.crates.io_6f17d22bba15001f_mio_0.8.8_src_sys_windows_selector.rs
mov rcx, r15
call fcn.0043d21c
mov dword [rax + 0x60], 0x19d
mov r14, qword [rsp + 0xd0]
mov qword [rax + 0x48], r14
mov rcx, rax
call fcn.00488294
lock inc qword [rbp]
jle 0x4146ca
lock inc qword [rbx]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
jle 0x4146ca
lea r15, [rbp + 0x10]
mov qword [rsp + 0xe0], rbp
mov qword [rsp + 0xd8], r14
mov byte [rsp + 0xf0], 3
mov qword [rsp + 0xe8], rbx
mov rcx, r15
mov rdx, rbx
call fcn.0043e0aa
mov rcx, r15
call fcn.0043e0f5
test rax, rax
je 0x4144aa
mov r13, rax
lea rcx, [rsp + 0xd8]
call fcn.0043e3d1
jmp 0x41440b
mov r13d, dword [rsp + 0x54]
shl r13, 0x20
or r13, 2
lea rcx, [rsp + 0x48]
call fcn.0043c756
mov rsi, qword [rsp + 0x30]
mov rcx, r12
call fcn.0048892d
mov r14, qword [rsp + 0x60]
mov r15, qword [rsp + 0x40]
lea rcx, [rsp + 0x160]
call fcn.004839af
lea rcx, [rsp + 0x70]
call fcn.004888a5
mov edi, 2
movaps xmm0, xmmword [rsp + 0x190]
movaps xmmword [rsp + 0x170], xmm0
mov byte [r15], 1
cmp rdi, 3
jne 0x41445f
mov qword [rsi + 0x10], 3
mov al, 3
jmp 0x414492
movaps xmm0, xmmword [rsp + 0x170]
movaps xmmword [rsp + 0x180], xmm0
mov rcx, qword [rsp + 0x38]
call fcn.0040646c
mov qword [rsi], r13
mov qword [rsi + 8], rbx
mov qword [rsi + 0x10], rdi
movaps xmm0, xmmword [rsp + 0x180]
movups xmmword [rsi + 0x18], xmm0
mov al, 1
mov byte [r14 + 0x78], al
add rsp, 0x1b8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rax, [rsp + 0xe8]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x1a0], xmm0
mov ecx, 0x20
call fcn.0043cd6a
mov rbx, rax
mov qword [rax], r14
mov qword [rax + 8], rbp
movaps xmm0, xmmword [rsp + 0x1a0]
movups xmmword [rax + 0x10], xmm0
lea r15, [rsp + 0x70]
mov rcx, r15
call fcn.0043e408
movups xmm0, xmmword [rsp + 0x160]
mov rcx, qword [r15 + 8]
mov r14, qword [rsp + 0x60]
lea rax, [r14 + 0x38]
mov qword [r14 + 0x38], rbx
mov qword [r14 + 0x40], rcx
movups xmmword [r14 + 0x48], xmm0
mov qword [r14 + 0x58], r12
mov qword [r14 + 0x60], rax
mov r15, qword [rsp + 0x40]
mov r8, qword [rsp + 0x68]
jmp 0x413d6e
jmp 0x414571
and qword [rsp + 0xe8], 0
lea rcx, [rsp + 0x80]
lea r9, [rsp + 0xd8]
call fcn.0044967a
lea rax, [rsp + 0x80]
cmp qword [rax], 0
mov rcx, qword [rax + 8]
je 0x41455f
mov rdx, qword [rsp + 0x90]
jmp 0x414571
mov qword [rbx + 0x28], rcx
mov qword [rbx + 0x20], r13
movabs rdx, 0x8000000000000001
call fcn.0040766c
mov rdx, qword [rbx + 0x30]
xorps xmm0, xmm0
movups xmmword [rsp + 0xdf], xmm0
movups xmm1, xmmword [rsp + 0xd8]
movups xmm2, xmmword [rsp + 0xe7]
movaps xmmword [rsp + 0x80], xmm1
movups xmmword [rsp + 0x8f], xmm2
movups xmmword [rsp + 0xe0], xmm0
movups xmm0, xmmword [rsp + 0xd8]
movaps xmmword [rsp + 0xb0], xmm0
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0xc0], rax
cmp rdx, qword [rsi]
jne 0x4145de
mov rcx, rsi
call fcn.00489059
mov rdx, qword [rbx + 0x30]
mov rax, qword [rbx + 0x28]
imul rcx, rdx, 0x58
and qword [rax + rcx], 0
mov byte [rax + rcx + 8], 0
movaps xmm0, xmmword [rsp + 0x80]
movups xmmword [rax + rcx + 9], xmm0
movups xmm0, xmmword [rsp + 0x8f]
movups xmmword [rax + rcx + 0x18], xmm0
and qword [rax + rcx + 0x28], 0
movaps xmm0, xmmword [rsp + 0xb0]
movups xmmword [rax + rcx + 0x30], xmm0
mov rdx, qword [rsp + 0xc0]
mov qword [rax + rcx + 0x40], rdx
mov qword [rax + rcx + 0x48], r12
and dword [rax + rcx + 0x50], 0
inc qword [rbx + 0x30]
inc qword [rbx + 0x10]
mov rax, qword [rbx + 0x18]
inc rax
mov qword [rbx + 0x18], rax
mov qword [r14 + 0x48], rax
mov byte [r14 + 0x60], 1
cmp qword [rbx + 0x30], rdi
jbe 0x4146e8
mov r13, qword [r14 + 0x58]
add r13, rdi
lock inc qword [r14]
jle 0x4146ca
imul r12, rdi, 0x58
add r12, qword [rbx + 0x28]
mov rcx, rbx
mov edx, ebp
call fcn.00488294
mov sil, 1
jmp 0x413fa4
lea rax, [r15 + 0x10]
lea r8, [rsp + 0xd8]
mov qword [r8], rax
mov qword [r8 + 8], r15
lea rax, [0x004a4aa0]
mov qword [rsp + 0x20], rax
lea rcx, [0x004a6418]
lea r9, [0x004a2fc0]
mov edx, 0x2b
call fcn.00429a50
ud2
lea rcx, str._async_fn__resumed_after_completion
lea r8, str._cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_1.29.0_src_net_tcp_socket.rs
jmp 0x4146dc
ud2
lea rcx, str._async_fn__resumed_after_completion
lea r8, str._cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_1.29.0_src_net_tcp_stream.rs
mov edx, 0x23
call fcn.00428e20
ud2
lea rcx, str.assertion_failed:_idx___self.slots.len__HaJ
lea r8, str._cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_1.29.0_src_util_slab.rs
mov edx, 0x28
jmp 0x4146e1
lea rax, [rsp + 0x48]
lea rdx, [rsp + 0xb0]
mov qword [rdx], rax
lea rax, [0x0043d16a]
mov qword [rdx + 8], rax
lea rax, [rsp + 0x50]
mov qword [rdx + 0x10], rax
lea rax, [0x0043d793]
mov qword [rdx + 0x18], rax
mov eax, 2
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0xe8], rax
movabs rcx, 0x2000000004
mov qword [rsp + 0xf8], rcx
mov r8b, 3
mov byte [rsp + 0x100], r8b
and qword [rsp + 0x108], 0
mov qword [rsp + 0x110], rax
mov qword [rsp + 0x120], rax
mov qword [rsp + 0x130], rcx
mov byte [rsp + 0x138], r8b
mov qword [rsp + 0x140], 1
lea r8, str.internal_error:_entered_unreachable_code:_Cannot_acquire_afd____afd_group:
lea rcx, [rsp + 0x80]
mov qword [rcx + 0x10], r8
mov qword [rcx + 0x18], rax
mov qword [rcx], rdi
mov qword [rcx + 8], rax
mov qword [rcx + 0x20], rdx
mov qword [rcx + 0x28], rax
lea rdx, str._cargo_registry_src_index.crates.io_6f17d22bba15001f_mio_0.8.8_src_sys_windows_selector.rs
call fcn.00428040
ud2