Function at 0x413c6a
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 0x413cde
cmp eax, 3
jne 0x414606
lea rdi, [r14 + 0x28]
lea r15, [r14 + 0x68]
movzx eax, byte [r14 + 0x68]
test eax, eax
je 0x413d56
cmp eax, 3
jne 0x41461a
mov rax, qword [r14 + 0x60]
mov rdx, qword [rax + 0x20]
lea rbx, [rsp + 0xd8]
mov rcx, rbx
call fcn.0048e058
mov al, byte [rbx + 9]
cmp al, 3
jne 0x413d6c
mov byte [r15], 3
jmp 0x41439f
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.0044dabf
mov r8d, dword [r15 + 0x80]
mov rcx, rbx
mov rdx, r15
call sub.WS2_32.dll_connect
test eax, eax
je 0x413dc1
call fcn.0043d7cc
mov r13, rax
mov qword [rsp + 0x80], rax
and eax, 3
lea rcx, [0x00414714]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
mov al, byte [r13 + 0x10]
jmp 0x413dac
mov qword [rsp + 0x68], r8
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rsi
jmp 0x413dea
cmp al, 2
mov qword [rsp + 0x38], rdi
jne 0x413fd7
mov r13, qword [rsp + 0xd8]
jmp 0x4141ff
mov al, byte [r13 + 0xf]
jmp 0x413dac
mov rcx, r13
shr rcx, 0x20
call fcn.004509a0
jmp 0x413dac
mov rcx, r13
shr rcx, 0x20
cmp ecx, 0x29
mov eax, 0x29
cmovb eax, ecx
cmp al, 0xd
jne 0x413ec4
lea rcx, [rsp + 0x80]
call fcn.004056ad
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.0048d127
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.0048978d
mov rcx, r15
call sub.KERNEL32.dll_AcquireSRWLockShared
mov al, byte [r15 + 8]
test al, al
jne 0x4145cd
cmp byte [r15 + 0xa8], 0
je 0x413e6d
lea rdx, 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 r8d, 0x38
jmp 0x413ee4
mov esi, 2
cmp rsi, 0x15
je 0x413ed7
mov r14, qword [r15 + rsi*8]
mov rax, qword [r14 + 0x48]
cmp rax, qword [r14 + 0x50]
je 0x413ebf
lea r12, [r14 + 0x10]
mov rcx, r12
call fcn.00489e72
mov rbx, rax
mov ebp, edx
mov r13, qword [rax + 0x10]
mov rdi, qword [rax + 0x30]
cmp r13, rdi
jb 0x414048
mov r13, qword [r14 + 0x50]
cmp r13, rdi
jne 0x4140ab
mov rcx, rbx
mov edx, ebp
call fcn.0048b79a
inc rsi
jmp 0x413e72
mov rcx, qword [r14 + 0x20]
call fcn.0040582f
mov edi, 2
jmp 0x4143c5
lea rdx, str.reactor_at_max_registered_I_O_resources_mark_pending_called_when_the_timer_entry_is_in_an_invalid_state
mov r8d, 0x27
mov cl, 0x27
call fcn.0043cd4b
mov r13, rax
xor esi, esi
mov rcx, r15
call sub.KERNEL32.dll_ReleaseSRWLockShared
test sil, sil
je 0x413f4b
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.00489df5
mov ecx, 0x7f000000
mov edx, 0x18
mov r8, rbx
mov r9, rax
call fcn.00489df5
cmp qword [rsp + 0x70], 0
mov rsi, qword [rsp + 0x30]
je 0x413f5a
movabs r13, 0xc00000003
jmp 0x414357
mov r14, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x30]
jmp 0x414364
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.0043ce41
lea rdx, str._cargo_registry_src_index.crates.io_6f17d22bba15001f_mio_0.8.8_src_sys_windows_selector.rs
mov rcx, rdi
call fcn.0043d784
mov r15, rax
mov qword [rsp + 0x50], rax
mov byte [rsp + 0x58], dl
mov rax, qword [rax + 0x20]
test rax, rax
je 0x414122
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 0x41414d
lea rdx, [r15 + 0x10]
mov rax, qword [rsp + 0x48]
mov rcx, qword [rax + 0x28]
jmp 0x41412d
lea rcx, [r14 + 0x38]
call fcn.0048cc69
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 0x4141ef
mov r13d, dword [rsp + 0x80]
test r13, r13
jne 0x4141f7
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 0x414385
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.00489e46
and r12d, eax
mov ecx, 0x7f000000
mov edx, 0x18
mov r8, r12
xor r9d, r9d
call fcn.00489df5
mov qword [rsi + rdi + 0x40], rax
mov rdi, r13
jmp 0x41459c
mov rsi, rbx
add rsi, 0x20
mov rdx, rdi
test rdi, rdi
jne 0x4144c6
movabs rdx, 0x8000000000000001
mov rax, qword [rsi]
cmp rax, r13
jae 0x41446f
movabs rcx, 0x1745d1745d1745e
xor r8d, r8d
cmp r13, rcx
setb r8b
imul rdx, r13, 0x58
shl r8, 3
test rax, rax
je 0x414471
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 0x41447a
mov rdx, r15
add rdx, 0x10
mov rcx, qword [rbp + 0x68]
call fcn.0043e23a
mov r13, rax
test rax, rax
je 0x41414d
mov rcx, qword [rsp + 0x50]
mov dl, byte [rsp + 0x58]
call fcn.0048b79a
jmp 0x414357
mov rax, qword [r15 + 0x20]
test rax, rax
je 0x414649
mov rcx, qword [r15 + 0x18]
mov rdi, qword [rcx + rax*8 - 8]
lock inc qword [rdi]
jle 0x414616
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.0048b79a
mov qword [rsp + 0x48], rdi
mov rcx, r15
mov rdx, rbx
mov r8d, 0x48000022
call fcn.0043e3dc
cmp dword [r15], 0
je 0x41420d
xor r14d, r14d
lea r13, [0x004a1360]
lea r15, [rsp + 0xb0]
cmp r14, 0xc
je 0x41433b
mov r8d, dword [r14 + r13]
mov rcx, r15
mov rdx, rbx
call fcn.0043e3dc
add r14, 4
cmp dword [rsp + 0xb0], 0
jne 0x4141b9
mov rsi, qword [rsp + 0xb8]
cmp rsi, rbx
je 0x4141b9
jmp 0x414212
call sub.WS2_32.dll_WSAGetLastError
mov r13d, eax
shl r13, 0x20
or r13, 2
lea rcx, [r14 + 0x38]
call fcn.00405b72
jmp 0x414380
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.0043ccd4
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.0043cdec
lea rdx, str._cargo_registry_src_index.crates.io_6f17d22bba15001f_mio_0.8.8_src_sys_windows_selector.rs
mov rcx, r15
call fcn.0043d2a1
mov dword [rax + 0x60], 0x19d
mov r14, qword [rsp + 0xd0]
mov qword [rax + 0x48], r14
mov rcx, rax
call fcn.0048b79a
lock inc qword [rbp]
jle 0x414616
lock inc qword [rbx]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
jle 0x414616
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.0043e132
mov rcx, r15
call fcn.0043e17d
test rax, rax
je 0x4143f6
mov r13, rax
lea rcx, [rsp + 0xd8]
call fcn.0043e449
jmp 0x414357
mov r13d, dword [rsp + 0x54]
shl r13, 0x20
or r13, 2
lea rcx, [rsp + 0x48]
call fcn.0043c5b6
mov rsi, qword [rsp + 0x30]
mov rcx, r12
call fcn.0048befb
mov r14, qword [rsp + 0x60]
mov r15, qword [rsp + 0x40]
lea rcx, [rsp + 0x160]
call fcn.00405b5c
lea rcx, [rsp + 0x70]
call fcn.0048bea9
mov edi, 2
movaps xmm0, xmmword [rsp + 0x190]
movaps xmmword [rsp + 0x170], xmm0
mov byte [r15], 1
cmp rdi, 3
jne 0x4143ab
mov qword [rsi + 0x10], 3
mov al, 3
jmp 0x4143de
movaps xmm0, xmmword [rsp + 0x170]
movaps xmmword [rsp + 0x180], xmm0
mov rcx, qword [rsp + 0x38]
call fcn.0040648c
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.0043ccd4
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.0043e480
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 0x413cb6
jmp 0x4144bd
and qword [rsp + 0xe8], 0
lea rcx, [rsp + 0x80]
lea r9, [rsp + 0xd8]
call fcn.0043cba3
lea rax, [rsp + 0x80]
cmp qword [rax], 0
mov rcx, qword [rax + 8]
je 0x4144ab
mov rdx, qword [rsp + 0x90]
jmp 0x4144bd
mov qword [rbx + 0x28], rcx
mov qword [rbx + 0x20], r13
movabs rdx, 0x8000000000000001
call fcn.004076b3
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 0x41452a
mov rcx, rsi
call fcn.0048c5aa
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 0x414634
mov r13, qword [r14 + 0x58]
add r13, rdi
lock inc qword [r14]
jle 0x414616
imul r12, rdi, 0x58
add r12, qword [rbx + 0x28]
mov rcx, rbx
mov edx, ebp
call fcn.0048b79a
mov sil, 1
jmp 0x413ef0
lea rax, [r15 + 0x10]
lea r8, [rsp + 0xd8]
mov qword [r8], rax
mov qword [r8 + 8], r15
lea rax, [0x004a9070]
mov qword [rsp + 0x20], rax
lea rcx, [0x004aa9e8]
lea r9, [0x004a7590]
mov edx, 0x2b
call fcn.00429b90
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 0x414628
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.00428f60
ud2
lea rcx, str.assertion_failed:_idx___self.slots.len__
lea r8, str._cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_1.29.0_src_util_slab.rs
mov edx, 0x28
jmp 0x41462d
lea rax, [rsp + 0x48]
lea rdx, [rsp + 0xb0]
mov qword [rdx], rax
lea rax, [0x0043d1c6]
mov qword [rdx + 8], rax
lea rax, [rsp + 0x50]
mov qword [rdx + 0x10], rax
lea rax, [0x0043d81b]
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.00428180
ud2