Function at 0x140031660
Capabilities:
Reference absolute stream path on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x1d8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x150], 0xfffffffffffffffe
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
mov r13, qword [0x140139038]
mov rax, qword [r13]
cmp rax, 5
jne 0x1400316f8
lea rax, str.C:Userswyf.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_tungstenite_0.21.0_srclib.rs:243_WebSocketStream.with_context
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], 1
lea rax, [rbp + 0x148]
mov qword [rbp + 0xd0], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0xd8], xmm0
mov qword [rsp + 0x20], 0
lea r8, str.tokio_tungsteniteC:Userswyf.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_tungstenite_0.21.0_srclib.rs
lea rcx, [rbp + 0xc0]
mov edx, 5
mov r9d, 0xf3
call fcn.140065970
mov rbx, qword [rbx]
mov rcx, qword [rdi + 0x28]
add rcx, 0x28
mov rdx, rbx
call fcn.140096fd0
mov rcx, qword [rdi + 0x30]
add rcx, 0x28
mov rdx, rbx
call fcn.140096fd0
lea rdx, [rdi + 0x38]
movabs rax, 0x8000000000000000
mov qword [rbp - 0x50], rax
lea rcx, [rbp + 0xc0]
lea r9, [rbp - 0x50]
mov r8, rdi
call fcn.140038500
mov rcx, qword [rbp + 0xc0]
cmp rcx, 0xf
jne 0x1400317f5
mov r14, qword [rdi + 0xb8]
test r14, r14
je 0x1400317d0
mov r15, qword [rdi + 0xb0]
lea r12, [rbp + 0xc0]
nop dword [rax + rax]
mov rcx, r12
mov rdx, rdi
mov r8, r15
mov r9, r14
call fcn.14003ab40
cmp qword [rbp + 0xc0], 0
mov rbx, qword [rbp + 0xc8]
jne 0x140031905
test rbx, rbx
je 0x1400318ee
mov r8, r14
sub r8, rbx
jb 0x140031b63
mov qword [rdi + 0xb8], 0
je 0x1400317d0
lea rdx, [r15 + rbx]
mov rcx, r15
call sub.VCRUNTIME140.dll_memmove
sub r14, rbx
mov qword [rdi + 0xb8], r14
jne 0x140031770
mov rcx, rdi
call fcn.14003aa10
test rax, rax
je 0x140031877
mov rbx, rax
mov qword [rbp + 0x30], 5
mov qword [rbp + 0x38], rax
jmp 0x140031911
movzx eax, byte [rbp + 0xc8]
movups xmm0, xmmword [rbp + 0xc9]
movups xmmword [rbp + 0x39], xmm0
movups xmm0, xmmword [rbp + 0xd9]
movups xmmword [rbp + 0x49], xmm0
movups xmm0, xmmword [rbp + 0xe9]
movups xmmword [rbp + 0x59], xmm0
movups xmm0, xmmword [rbp + 0xf9]
movups xmmword [rbp + 0x69], xmm0
movups xmm0, xmmword [rbp + 0x109]
movups xmmword [rbp + 0x79], xmm0
movups xmm0, xmmword [rbp + 0x119]
movups xmmword [rbp + 0x89], xmm0
movups xmm0, xmmword [rbp + 0x129]
movups xmmword [rbp + 0x99], xmm0
movups xmm0, xmmword [rbp + 0x138]
movups xmmword [rbp + 0xa8], xmm0
mov qword [rbp + 0x30], rcx
mov byte [rbp + 0x38], al
cmp rcx, 5
jne 0x140031999
mov rbx, qword [rbp + 0x38]
jmp 0x140031911
mov byte [rdi + 0x131], 0
lea rax, [rbp + 0xc8]
movaps xmm0, xmmword [rbp + 0x20]
movups xmmword [rbp + 0x138], xmm0
movaps xmm0, xmmword [rbp + 0x10]
movups xmmword [rbp + 0x128], xmm0
movaps xmm0, xmmword [rbp]
movups xmmword [rbp + 0x118], xmm0
movaps xmm0, xmmword [rbp - 0x10]
movups xmmword [rbp + 0x108], xmm0
movaps xmm0, xmmword [rbp - 0x50]
movaps xmm1, xmmword [rbp - 0x40]
movaps xmm2, xmmword [rbp - 0x30]
movaps xmm3, xmmword [rbp - 0x20]
movups xmmword [rbp + 0xf8], xmm3
movups xmmword [rbp + 0xe8], xmm2
movups xmmword [rbp + 0xd8], xmm1
movups xmmword [rbp + 0xc8], xmm0
mov byte [rdi + 0x13a], 1
mov ecx, 0xf
jmp 0x140031ab8
lea rdx, str.Connection_reset_while_sendingClient_handshake_initiated.
mov r8d, 0x1e
mov cl, 3
call fcn.1400395c0
mov rbx, rax
mov qword [rbp + 0x38], rbx
mov qword [rbp + 0x30], 5
mov rcx, rbx
call fcn.140039780
mov ecx, 5
cmp al, 0xd
jne 0x140031999
mov rax, qword [r13]
cmp rax, 5
jne 0x140031984
lea rax, str.WouldBlock
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], 1
lea rax, [0x1400cec38]
mov qword [rbp + 0xd0], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0xd8], xmm0
mov qword [rsp + 0x20], 0
lea r8, str.tokio_tungstenite::compatC:Userswyf.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_tungstenite_0.21.0_srccompat.rs
lea rcx, [rbp + 0xc0]
mov edx, 5
mov r9d, 0xc1
call fcn.140065970
lea rcx, [rbp + 0x30]
call fcn.140039ac0
mov qword [rsi], 0x10
jmp 0x140031b4c
movups xmm0, xmmword [rbp + 0xa8]
movaps xmmword [rbp + 0x20], xmm0
movups xmm0, xmmword [rbp + 0x98]
movaps xmmword [rbp + 0x10], xmm0
movups xmm0, xmmword [rbp + 0x88]
movaps xmmword [rbp], xmm0
movups xmm0, xmmword [rbp + 0x78]
movaps xmmword [rbp - 0x10], xmm0
movzx eax, byte [rbp + 0x38]
mov rdx, qword [rbp + 0x39]
mov r8d, dword [rbp + 0x41]
movzx r9d, word [rbp + 0x45]
movzx r10d, byte [rbp + 0x47]
movups xmm0, xmmword [rbp + 0x48]
movups xmm1, xmmword [rbp + 0x58]
movups xmm2, xmmword [rbp + 0x68]
movaps xmmword [rbp - 0x20], xmm2
movaps xmmword [rbp - 0x30], xmm1
movaps xmmword [rbp - 0x40], xmm0
mov byte [rbp - 0x50], al
mov qword [rbp - 0x4f], rdx
mov dword [rbp - 0x47], r8d
mov word [rbp - 0x43], r9w
mov byte [rbp - 0x41], r10b
mov qword [rbp + 0xc0], rcx
movzx eax, byte [rbp - 0x50]
mov rdx, qword [rbp - 0x4f]
mov r8d, dword [rbp - 0x47]
movzx r9d, word [rbp - 0x43]
movzx r10d, byte [rbp - 0x41]
movaps xmm0, xmmword [rbp - 0x40]
movaps xmm1, xmmword [rbp - 0x30]
movaps xmm2, xmmword [rbp - 0x20]
mov byte [rbp + 0xc8], al
mov qword [rbp + 0xc9], rdx
mov dword [rbp + 0xd1], r8d
mov word [rbp + 0xd5], r9w
mov byte [rbp + 0xd7], r10b
movups xmmword [rbp + 0xd8], xmm0
movups xmmword [rbp + 0xe8], xmm1
movups xmmword [rbp + 0xf8], xmm2
movaps xmm0, xmmword [rbp - 0x10]
movups xmmword [rbp + 0x108], xmm0
movaps xmm0, xmmword [rbp]
movups xmmword [rbp + 0x118], xmm0
movaps xmm0, xmmword [rbp + 0x10]
movups xmmword [rbp + 0x128], xmm0
movaps xmm0, xmmword [rbp + 0x20]
movups xmmword [rbp + 0x138], xmm0
mov byte [rdi + 0x13a], 1
cmp rcx, 3
jne 0x140031ab1
lea rcx, [rbp + 0xc0]
call fcn.1400322f0
mov ecx, 0xf
jmp 0x140031b00
lea rax, [rbp + 0xc8]
movups xmm0, xmmword [rax + 0x70]
movaps xmmword [rbp + 0xa0], xmm0
movups xmm0, xmmword [rax + 0x60]
movaps xmmword [rbp + 0x90], xmm0
movups xmm0, xmmword [rax + 0x50]
movaps xmmword [rbp + 0x80], xmm0
movups xmm0, xmmword [rax + 0x40]
movaps xmmword [rbp + 0x70], xmm0
movups xmm0, xmmword [rax]
adc byte [rax], al
movups xmm1, xmmword [rax + 0x10]
movups xmm2, xmmword [rax + 0x20]
movups xmm3, xmmword [rax + 0x30]
movaps xmmword [rbp + 0x60], xmm3
movaps xmmword [rbp + 0x50], xmm2
movaps xmmword [rbp + 0x40], xmm1
movaps xmmword [rbp + 0x30], xmm0
mov qword [rsi], rcx
movaps xmm0, xmmword [rbp + 0x30]
movaps xmm1, xmmword [rbp + 0x40]
movaps xmm2, xmmword [rbp + 0x50]
movaps xmm3, xmmword [rbp + 0x60]
movups xmmword [rsi + 8], xmm0
movups xmmword [rsi + 0x18], xmm1
movups xmmword [rsi + 0x28], xmm2
movups xmmword [rsi + 0x38], xmm3
movaps xmm0, xmmword [rbp + 0x70]
movups xmmword [rsi + 0x48], xmm0
movaps xmm0, xmmword [rbp + 0x80]
movups xmmword [rsi + 0x58], xmm0
movaps xmm0, xmmword [rbp + 0x90]
movups xmmword [rsi + 0x68], xmm0
movaps xmm0, xmmword [rbp + 0xa0]
movups xmmword [rsi + 0x78], xmm0
mov rax, rsi
add rsp, 0x1d8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea r8, [0x1400cc100]
mov rcx, rbx
mov rdx, r14
call fcn.1400c8700
int3