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

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x1d0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x148], 0xfffffffffffffffe
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x1403ce428]
cmp rax, 5
jne 0x1401bea2e
mov rax, qword [0x1403cd9f8]
cmp rax, 2
lea rax, [0x140323010]
cmove rax, qword [0x1403cd008]
lea rcx, [0x1403c0b88]
cmove rcx, qword [section..data]
mov qword [rbp + 0xe8], 5
lea rdx, str.tokio_tungsteniteC:Users_runneradmin.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_tungstenite_0.20.1_srclib.rswebsocket_close_error:
mov qword [rbp + 0xf0], rdx
mov qword [rbp + 0xf8], 0x11
lea r8, str.C:Users_runneradmin.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_tungstenite_0.20.1_srclib.rs:243_WebSocketStream.with_context
mov qword [rbp + 0x108], r8
mov qword [rbp + 0x110], 1
lea r8, [rbp + 0x30]
mov qword [rbp + 0x118], r8
xorps xmm0, xmm0
movups xmmword [rbp + 0x120], xmm0
mov qword [rbp + 0xb8], 0
mov qword [rbp + 0xc0], rdx
mov qword [rbp + 0xc8], 0x11
mov qword [rbp + 0xd0], 0
lea rdx, [0x1403267a1]
mov qword [rbp + 0xd8], rdx
mov qword [rbp + 0xe0], 0x6d
movabs rdx, 0xf300000001
mov qword [rbp + 0x100], rdx
lea rdx, [rbp + 0xb8]
call qword [rax + 0x28]
lea rbx, [rsi + 0x100]
mov rdi, qword [rdi]
mov rcx, qword [rsi + 0x228]
mov r14, qword [rsi + 0x230]
add rcx, 0x28
mov rdx, rdi
call fcn.1401574c0
add r14, 0x28
mov rcx, r14
mov rdx, rdi
call fcn.1401574c0
lea rdi, [rbp + 0xb8]
mov rcx, rdi
mov rdx, rsi
mov r8, rbx
call fcn.1401b73b0
lea rcx, [rbp - 0x58]
mov rdx, rdi
call fcn.1401be790
cmp dword [rbp - 0x58], 0x10
jne 0x1401bea92
mov eax, 1
jmp 0x1401bec27
lea rcx, [rbp + 0xb8]
lea rdx, [rbp - 0x58]
mov r8d, 0x88
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsi + 0x23a], 1
mov rsi, qword [rbp + 0xb8]
cmp rsi, 3
jne 0x1401beacf
lea rcx, [rbp + 0xb8]
call fcn.1401b8730
xor edx, edx
jmp 0x1401bec25
movups xmm0, xmmword [rbp + 0x130]
movaps xmmword [rbp + 0xa0], xmm0
movups xmm0, xmmword [rbp + 0x120]
movaps xmmword [rbp + 0x90], xmm0
movups xmm0, xmmword [rbp + 0x110]
movaps xmmword [rbp + 0x80], xmm0
movups xmm0, xmmword [rbp + 0x100]
movaps xmmword [rbp + 0x70], xmm0
movups xmm0, xmmword [rbp + 0xc0]
movups xmm1, xmmword [rbp + 0xd0]
movups xmm2, xmmword [rbp + 0xe0]
movups xmm3, xmmword [rbp + 0xf0]
movaps xmmword [rbp + 0x60], xmm3
movaps xmmword [rbp + 0x50], xmm2
movaps xmmword [rbp + 0x40], xmm1
movaps xmmword [rbp + 0x30], xmm0
xor edx, edx
mov eax, 0
cmp esi, 0xf
je 0x1401bec27
movzx eax, byte [0x1403ce430]
mov rcx, qword [0x1403cdf08]
test rcx, rcx
jne 0x1401beb6c
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x1401bec35
mov rcx, rax
mov qword [0x1403cdf08], rax
mov r8d, 0x88
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x1401bec35
mov rdi, rax
mov qword [rax], rsi
movaps xmm0, xmmword [rbp + 0x30]
movaps xmm1, xmmword [rbp + 0x40]
movaps xmm2, xmmword [rbp + 0x50]
movaps xmm3, xmmword [rbp + 0x60]
movups xmmword [rax + 8], xmm0
movups xmmword [rax + 0x18], xmm1
movups xmmword [rax + 0x28], xmm2
movups xmmword [rax + 0x38], xmm3
movaps xmm0, xmmword [rbp + 0x70]
movups xmmword [rax + 0x48], xmm0
movaps xmm0, xmmword [rbp + 0x80]
movups xmmword [rax + 0x58], xmm0
movaps xmm0, xmmword [rbp + 0x90]
movups xmmword [rax + 0x68], xmm0
movaps xmm0, xmmword [rbp + 0xa0]
movups xmmword [rax + 0x78], xmm0
movzx eax, byte [0x1403ce430]
mov rcx, qword [0x1403cdf08]
test rcx, rcx
jne 0x1401bebfa
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x1401bec46
mov rcx, rax
mov qword [0x1403cdf08], rax
mov r8d, 0x18
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x1401bec46
mov rdx, rax
mov qword [rax], rdi
lea rax, fcn.1401b8730
mov qword [rdx + 8], rax
mov byte [rdx + 0x10], 0x27
inc rdx
xor eax, eax
add rsp, 0x1d0
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
mov ecx, 8
mov edx, 0x88
call fcn.1402e6e10
ud2
mov qword [rbp + 0x140], rdi
mov ecx, 8
mov edx, 0x18
call fcn.1402e6e10
ud2