Function at 0x14004d1d4
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 0x14004d24d
cmp eax, 3
jne 0x14004da7c
lea r14, [rsi + 0x70]
lea rbx, [rsi + 0x30]
movzx eax, byte [rsi + 0x70]
test eax, eax
je 0x14004d306
cmp eax, 3
jne 0x14004da90
mov rax, qword [rsi + 0x68]
mov rdx, qword [rax + 0x10]
lea rdi, [rsp + 0xb0]
mov rcx, rdi
mov r8, r15
call fcn.140092a5a
mov al, byte [rdi + 9]
cmp al, 3
jne 0x14004d607
mov byte [r14], 3
jmp 0x14004d967
mov rcx, qword [rsi + 0x20]
mov qword [rsi + 0x28], rcx
cmp word [rsi], 0
movzx eax, word [rsi + 0x12]
mov word [rsp + 0x60], ax
movups xmm0, xmmword [rsi + 2]
movaps xmmword [rsp + 0x50], xmm0
je 0x14004d32a
mov eax, dword [rsi + 0x14]
mov edx, dword [rsi + 0x18]
movzx r9d, word [rsi + 0x1c]
mov r8, qword [rsp + 0x52]
mov r10d, dword [rsp + 0x5a]
movzx r11d, word [rsp + 0x5e]
movzx edi, word [rsp + 0x60]
xorps xmm0, xmm0
movups xmmword [rsp + 0xcc], xmm0
movups xmmword [rsp + 0xdc], xmm0
movups xmmword [rsp + 0xec], xmm0
and dword [rsp + 0x12c], 0
movups xmmword [rsp + 0xfc], xmm0
movups xmmword [rsp + 0x10c], xmm0
rol r9w, 8
movups xmmword [rsp + 0x11c], xmm0
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 0x14004d36f
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 0x14004d3ee
lea rdx, [rsp + 0xb8]
movzx r9d, word [rsp + 0x54]
mov eax, dword [rsp + 0x50]
rol r9w, 8
xorps xmm0, xmm0
movups xmmword [rdx + 0x60], xmm0
movups xmmword [rdx + 0x50], xmm0
movups xmmword [rdx + 0x40], xmm0
adc dword [rdx + 0x40], eax
movups xmmword [rdx + 0x30], xmm0
movups xmmword [rdx + 0x20], xmm0
and qword [rdx + 0x70], 0
movups xmmword [rdx + 0x10], xmm0
movups xmmword [rdx], xmm0
mov r8d, 0x10
mov r10w, 2
lea rdx, [rsp + 0xb0]
mov word [rdx], r10w
mov word [rdx + 2], r9w
mov dword [rdx + 4], eax
mov dword [rdx + 0x80], r8d
call qword [sym.imp.ws2_32.dll_connect]
adc eax, 0x54118
test eax, eax
je 0x14004d3bb
call fcn.14002ff92
mov rdi, rax
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x78], eax
mov rcx, rax
call fcn.140013e7f
cmp al, 0xd
jne 0x14004d5f4
lea rcx, [rsp + 0x78]
call fcn.1400237d8
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
and al, 0x38
lea rax, [rsi + 0x70]
mov qword [rsp + 0x28], rax
mov byte [rsi + 0x70], 0
xor r13d, r13d
lea rbx, str.C:Users_fhnir.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.35.1_src_net_tcp_stream.rs
mov rcx, rbx
call fcn.140091ac1
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 + 0x130]
lea rax, [rdx + 0xc8]
test rbp, rbp
mov ecx, 0xc8
mov r12d, 0x130
cmove r12, rcx
cmove r14, rax
mov rcx, r14
mov rdx, rbx
call fcn.14008f792
add r14, 0x20
mov rcx, r14
call fcn.14008fc20
mov rbx, rax
mov r14d, edx
cmp byte [rax + 0x38], 0
je 0x14004d49b
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.14002f6ac
mov r15, rax
mov rcx, rbx
mov edx, r14d
call fcn.14008fc4e
mov r14, qword [rsp + 0x28]
mov r12, qword [rsp + 0x30]
jmp 0x14004d91b
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x158], rbp
and qword [rsp + 0x8f], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x7f], xmm0
mov rax, qword [rsp + 0x97]
mov qword [rsp + 0xcf], rax
movups xmm1, xmmword [rsp + 0x88]
movaps xmmword [rsp + 0xc0], xmm1
sub dword [rsp + 0xc0], ecx
movups xmm1, xmmword [rsp + 0x78]
movaps xmmword [rsp + 0xb0], xmm1
movups xmmword [rsp + 0x80], xmm0
and qword [rsp + 0x90], 0
mov ecx, 0x100
mov edx, 0x80
call fcn.14008e8cc
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
movaps xmm0, xmmword [rsp + 0xb0]
movaps xmm1, xmmword [rsp + 0xc0]
movups xmmword [r13 + 0x89], xmm0
movups xmmword [r13 + 0x99], xmm1
mov rax, qword [rsp + 0xcf]
mov qword [r13 + 0xa8], rax
and qword [r13 + 0xb0], 0
movups xmm0, xmmword [rsp + 0x78]
movups xmm1, xmmword [rsp + 0x88]
movups xmmword [r13 + 0xb8], xmm0
movups xmmword [r13 + 0xc8], xmm1
lock inc qword [r13]
jle 0x14004da8c
lea r15, [r13 + 0x80]
mov qword [rsp + 0x78], r15
mov rax, qword [rbx + 0x28]
cmp rax, r15
je 0x14004daaa
mov qword [r13 + 0xc8], rax
and qword [r13 + 0xc0], 0
test rax, rax
je 0x14004d5bb
mov qword [rax + 0x40], r15
mov qword [rbx + 0x28], r15
cmp qword [rbx + 0x30], 0
jne 0x14004d5ca
mov qword [rbx + 0x30], r15
mov qword [rsp + 0x160], r13
mov rcx, rbx
mov edx, r14d
call fcn.14008fc4e
cmp qword [rsp + 0x40], 0
je 0x14004d621
movabs r15, 0xc00000003
jmp 0x14004d904
mov rcx, qword [rsi + 0x28]
call fcn.140045c50
xchg bh, bh
invalid
mov ebx, 2
jmp 0x14004d99d
cmp al, 2
mov qword [rsp + 0x38], rbx
jne 0x14004d6b3
add byte [rax], al
mov rdi, qword [rsp + 0xb0]
jmp 0x14004d7de
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.14002f71b
invalid
dec dword [rax - 0x73]
adc eax, 0x7d67d
mov rcx, rbx
call fcn.14002ff4a
mov rbx, rax
mov qword [rsp + 0x68], rax
push 0x70245488
lea r14, [rax + 0x10]
mov rax, qword [rax + 0x20]
test rax, rax
je 0x14004d689
mov rcx, qword [r14]
mov rax, qword [rcx + rax*8 - 8]
mov rax, qword [rax]
cmp rax, 0x20
jbe 0x14004d725
mov rcx, qword [r15]
mov rdx, r14
call fcn.140030912
mov r15, rax
test rax, rax
je 0x14004d725
mov rcx, qword [rsp + 0x68]
mov dl, byte [rsp + 0x70]
call fcn.14008fc4e
jmp 0x14004d904
lea rcx, [rsi + 0x40]
call fcn.1400919bb
mov rcx, qword [rax]
lea r9, [rsp + 0x78]
and dword [r9], 0
mov dword [rsp + 0xb0], 4
mov qword [rsp + 0x20], rdi
mov edx, 0xffff
mov r8d, 0x1007
call qword [sym.imp.ws2_32.dll_getsockopt]
cmp eax, 0xffffffff
je 0x14004d7ce
movsxd rdi, dword [rsp + 0x78]
test rdi, rdi
jne 0x14004d7d6
mov rbx, qword [rsi + 0x40]
mov rdi, qword [rsi + 0x48]
mov rax, qword [rsi + 0x60]
mov qword [rsp + 0x1d0], rax
movups xmm0, xmmword [rsi + 0x50]
movaps xmmword [rsp + 0x1c0], xmm0
jmp 0x14004d93d
mov rax, qword [rbx + 0x20]
test rax, rax
je 0x14004dac9
mov rcx, qword [r14]
mov rbx, qword [rcx + rax*8 - 8]
lock inc qword [rbx]
jle 0x14004da8c
invalid
mov qword [rsp + 0x150], r12
mov rcx, qword [rsp + 0x68]
mov dl, byte [rsp + 0x70]
call fcn.14008fc4e
mov rbp, rbx
mov qword [rsp + 0x1f8], rbx
lea rbx, [rsp + 0x78]
mov rcx, rbx
mov rdx, qword [rsp + 0x48]
mov r8d, 0x48000022
call fcn.140030aa8
cmp dword [rbx], 0
je 0x14004d7f1
xor r15d, r15d
lea r12, [0x1400cafc8]
lea rbx, [rsp + 0xb0]
cmp r15, 0xc
je 0x14004d8ea
mov r8d, dword [r15 + r12]
mov rcx, rbx
mov rdx, qword [rsp + 0x48]
call fcn.140030aa8
add r15, 4
cmp dword [rsp + 0xb0], 0
jne 0x14004d794
mov r14, qword [rsp + 0xb8]
cmp r14, qword [rsp + 0x48]
je 0x14004d794
jmp 0x14004d7f9
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov edi, eax
shl rdi, 0x20
or rdi, 2
lea rcx, [rsi + 0x40]
call fcn.14004599b
mov ebx, 2
jmp 0x14004d93d
mov r14, qword [rsp + 0x80]
mov ecx, 0x80
call fcn.14002f61b
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
xorps xmm0, xmm0
movups xmmword [rbx + 0x30], xmm0
movups xmmword [rbx + 0x40], xmm0
movups xmmword [rbx + 0x50], xmm0
mov qword [rbx + 0x60], r14
movups xmmword [rbx + 0x68], xmm0
and word [rbx + 0x78], 0
lea r14, [rsp + 0xb0]
add byte [rax], al
mov rcx, r14
call fcn.1400422c3
lea rdx, str.C:Users_fhnir.cargo_registry_srcindex.crates.io_6f17d22bba15001fmio_0.8.10_src_syswindows_selector.rs
mov rcx, r14
call fcn.14002faf0
mov dword [rax + 0x60], 0x19d
mov r15, qword [rsp + 0x40]
mov qword [rax + 0x58], r15
mov rcx, rax
call fcn.14008fc4e
mov r12, qword [rsp + 0x150]
lock inc qword [r12]
jle 0x14004da8c
lock inc qword [rbx]
jle 0x14004da8c
lea r14, [r12 + 0x10]
mov qword [rsp + 0xb0], r12
mov qword [rsp + 0xc0], r15
mov byte [rsp + 0xc8], 3
mov qword [rsp + 0xb8], rbx
pushfq
and al, 0xb8
add byte [rax], al
add byte [rcx + rcx*4 - 0xf], cl
mov rdx, rbx
call fcn.140030866
mov rcx, r14
call fcn.1400308b2
dec dword [rax - 0x7b]
test rax, rax
je 0x14004d9da
mov r15, rax
lea rcx, [rsp + 0xb0]
call fcn.140030b17
jmp 0x14004d904
mov r15d, dword [rsp + 0x7c]
shl r15, 0x20
or r15, 2
lea rcx, [rsp + 0x1f8]
call fcn.14002ee1d
lea rcx, [rsp + 0x160]
call fcn.14008d218
mov r12, qword [rsp + 0x30]
mov r14, qword [rsp + 0x28]
lea rcx, [rsp + 0x170]
call fcn.14008ca9d
lea rcx, [rsp + 0x140]
call fcn.140091243
mov ebx, 2
mov rdi, r15
mov rax, qword [rsp + 0x1d0]
mov qword [rsp + 0x190], rax
movaps xmm0, xmmword [rsp + 0x1c0]
movaps xmmword [rsp + 0x180], xmm0
mov byte [r14], 1
cmp rbx, 3
jne 0x14004d973
mov qword [r12], 3
mov al, 3
jmp 0x14004d9c3
mov rax, qword [rsp + 0x190]
mov qword [rsp + 0x1b0], rax
movaps xmm0, xmmword [rsp + 0x180]
movaps xmmword [rsp + 0x1a0], xmm0
mov rcx, qword [rsp + 0x38]
call fcn.14004d1b9
mov qword [r12], rbx
mov qword [r12 + 8], rdi
movaps xmm0, xmmword [rsp + 0x1a0]
movups 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
add byte [rax], al
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rax, [rsp + 0xc0]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x1e0], xmm0
mov ecx, 0x20
call fcn.14002f61b
mov r14, rax
mov qword [rax], r12
mov qword [rax + 8], rbx
movaps xmm0, xmmword [rsp + 0x1e0]
movups xmmword [rax + 0x10], xmm0
mov rcx, qword [rsp + 0x148]
call fcn.140030b4c
xor esi, edi
invalid
mov ebx, 2
mov rbp, qword [rsp + 0x158]
cmp rbp, 2
jne 0x14004da3c
mov r12, qword [rsp + 0x30]
mov r14, qword [rsp + 0x28]
jmp 0x14004d93d
invalid
invalid
invalid
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 0x14004d222
lea rcx, str._async_fn__resumed_after_completionunable_to_find_any_user_specified_roots_in_the_final_cert_chainC:Users_fhnir.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_util_0.7.10_srcutilpoll_buf.rs
lea r8, str.C:Users_fhnir.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.35.1_src_net_tcp_socket.rs
jmp 0x14004da9e
ud2
lea rcx, str._async_fn__resumed_after_completionunable_to_find_any_user_specified_roots_in_the_final_cert_chainC:Users_fhnir.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_util_0.7.10_srcutilpoll_buf.rs
lea r8, str.C:Users_fhnir.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.35.1_src_net_tcp_stream.rs
invalid
or byte [rax], al
mov edx, 0x23
call fcn.14009d5e0
ud2
add rbx, 0x28
lea r8, [rsp + 0xb0]
and qword [r8], 0
lea rdx, [rsp + 0x78]
mov rcx, rbx
fld1
mov bh, 0x2b
invalid
add byte [rdi], cl
invalid
lea rax, [rsp + 0x168]