Function at 0x1401b9450
Capabilities:
Encrypt data via sspi
Reference absolute stream path on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xe8
mov r14, r9
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x1403ce428]
lea r15, [0x140323010]
cmp rax, 5
jne 0x1401b9549
mov rax, qword [0x1403cd9f8]
cmp rax, 2
mov rax, qword [0x1403cd008]
cmovne rax, r15
lea rcx, [0x1403c0b88]
cmove rcx, qword [section..data]
mov qword [rsp + 0x60], 5
lea rdx, str.tokio_tungstenite::compatC:Users_runneradmin.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_tungstenite_0.20.1_srccompat.rs
mov qword [rsp + 0x68], rdx
mov qword [rsp + 0x70], 0x19
lea r8, str.C:Users_runneradmin.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_tungstenite_0.20.1_srccompat.rs:167_Write.write
mov qword [rsp + 0x80], r8
mov qword [rsp + 0x88], 1
lea r8, [rsp + 0x28]
mov qword [rsp + 0x90], r8
xorps xmm0, xmm0
movups xmmword [rsp + 0x98], xmm0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x40], 0x19
mov qword [rsp + 0x48], 0
lea rdx, [0x140327359]
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x58], 0x70
movabs rdx, 0xa700000001
mov qword [rsp + 0x78], rdx
lea rdx, [rsp + 0x30]
call qword [rax + 0x28]
mov rax, qword [0x1403ce428]
cmp rax, 5
jne 0x1401b961c
mov rax, qword [0x1403cd9f8]
cmp rax, 2
mov rax, qword [0x1403cd008]
cmovne rax, r15
lea rcx, [0x1403c0b88]
cmove rcx, qword [section..data]
mov qword [rsp + 0x60], 5
lea rdx, str.tokio_tungstenite::compatC:Users_runneradmin.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_tungstenite_0.20.1_srccompat.rs
mov qword [rsp + 0x68], rdx
mov qword [rsp + 0x70], 0x19
lea r8, str.C:Users_runneradmin.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_tungstenite_0.20.1_srccompat.rs:126_AllowStd.with_context
mov qword [rsp + 0x80], r8
mov qword [rsp + 0x88], 1
lea r8, [rsp + 0x28]
mov qword [rsp + 0x90], r8
xorps xmm0, xmm0
movups xmmword [rsp + 0x98], xmm0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x40], 0x19
mov qword [rsp + 0x48], 0
lea rdx, [0x140327359]
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x58], 0x70
movabs rdx, 0x7e00000001
mov qword [rsp + 0x78], rdx
lea rdx, [rsp + 0x30]
call qword [rax + 0x28]
mov rax, qword [rdi + 0x128]
add rax, 0x10
lea rcx, [0x140326e18]
mov qword [rsp + 0xc8], rcx
mov qword [rsp + 0xd0], rax
lea rax, [rsp + 0xc8]
mov qword [rsp + 0xb8], rax
mov rax, qword [0x1403ce428]
cmp rax, 5
jne 0x1401b971f
mov rax, qword [0x1403cd9f8]
cmp rax, 2
cmove r15, qword [0x1403cd008]
lea rcx, [0x1403c0b88]
cmove rcx, qword [section..data]
mov qword [rsp + 0x60], 5
lea rax, str.tokio_tungstenite::compatC:Users_runneradmin.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_tungstenite_0.20.1_srccompat.rs
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], 0x19
lea rdx, str.C:Users_runneradmin.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_tungstenite_0.20.1_srccompat.rs:169_Write.with_context_write____poll_write
mov qword [rsp + 0x80], rdx
mov qword [rsp + 0x88], 1
lea rdx, [rsp + 0x28]
mov qword [rsp + 0x90], rdx
xorps xmm0, xmm0
movups xmmword [rsp + 0x98], xmm0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], 0x19
mov qword [rsp + 0x48], 0
lea rax, [0x140327359]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0x70
movabs rax, 0xa900000001
mov qword [rsp + 0x78], rax
lea rdx, [rsp + 0x30]
call qword [r15 + 0x28]
cmp dword [rdi], 2
jne 0x1401b9756
add rdi, 8
mov qword [rsp + 0x20], r14
lea rcx, [rsp + 0x30]
lea r8, [rsp + 0xb8]
mov rdx, rdi
mov r9, rbx
call fcn.1402aa230
cmp qword [rsp + 0x30], 2
je 0x1401b9b31
jmp 0x1401b9b48
lea rax, [rsp + 0xb8]
mov qword [rdi + 0x38], rax
lea rcx, [rsp + 0x30]
mov rdx, rdi
call fcn.1401b5d00
mov eax, dword [rsp + 0x30]
cmp eax, 2
jne case.default.0x1401b9790
mov rbx, qword [rsp + 0x38]
mov eax, ebx
and eax, 3
lea rcx, [0x1401b9bb4]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
movzx eax, byte [rbx + 0x10]
cmp al, 0xd
je 0x1401b9b09
jmp 0x1401b9b13
test eax, eax
je 0x1401b9850
mov rdx, qword [rdi + 0xb0]
mov r15, qword [rdi + 0xb8]
cmp r15, rdx
jne 0x1401b99d9
mov edx, dword [rsp + 0x34]
mov r12, qword [rsp + 0x38]
mov ebp, r12d
shr r12, 0x20
cmp r14, r12
cmovb r12, r14
lea r8, [r12 + rdx]
add rbp, r8
mov r13, rbp
sub r13, r15
mov qword [rsp + 0xb0], r8
jbe 0x1401b98cc
mov rax, qword [rdi + 0xa8]
sub rax, r15
mov r9, r15
cmp rax, r13
jb 0x1401b9873
mov rax, qword [rdi + 0xa0]
lea rcx, [rax + r9]
cmp r13, 2
jb 0x1401b98b7
lea r8, [r13 - 1]
mov r14, rdx
xor edx, edx
mov rbp, r9
mov r15, rax
call sub.VCRUNTIME140.dll_memset
mov r9, rbp
mov r8, qword [rsp + 0xb0]
mov rdx, r14
lea r9, [r13 - 1]
add r9, rbp
add r15, r9
mov rcx, r15
jmp 0x1401b98bc
movabs rbx, 0x8009031700000002
mov rcx, rbx
shr rcx, 0x20
call fcn.14028f0e0
cmp al, 0xd
je 0x1401b9b09
jmp 0x1401b9b13
lea rcx, [rdi + 0xa0]
mov qword [rsp + 0xc0], rdx
mov rdx, r15
mov r14, r8
mov r8, r13
call fcn.1402eac30
mov r8, r14
mov rdx, qword [rsp + 0xc0]
mov r9, qword [rdi + 0xb0]
mov rax, qword [rdi + 0xa0]
lea rcx, [rax + r9]
cmp r13, 2
jae 0x1401b981b
cmp rbp, r15
je 0x1401b98c2
mov byte [rcx], 0
inc r9
mov qword [rdi + 0xb0], r9
mov r15, r9
cmp r15, r8
jb 0x1401b9b8f
mov r13, qword [rdi + 0xa0]
lea rbp, [rdx + r13]
mov rcx, rbp
mov r14, rdx
mov rdx, rbx
mov r8, r12
call sub.VCRUNTIME140.dll_memcpy
cmp r15, r14
jb 0x1401b9ba0
mov rax, qword [rsp + 0xb0]
sub r15d, eax
add rax, r13
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x34], 7
mov qword [rsp + 0x38], r13
mov dword [rsp + 0x40], r12d
mov dword [rsp + 0x44], 1
mov qword [rsp + 0x48], rbp
mov dword [rsp + 0x50], r15d
mov dword [rsp + 0x54], 6
mov qword [rsp + 0x58], rax
movabs rax, 0x400000000
mov qword [rsp + 0xd8], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0xe0], rax
lea rcx, [rdi + 0xc0]
lea r8, [rsp + 0xd8]
xor edx, edx
xor r9d, r9d
call qword [sym.imp.secur32.dll_EncryptMessage]
test eax, eax
je 0x1401b99a2
mov ebx, eax
shl rbx, 0x20
or rbx, 2
mov eax, ebx
and eax, 3
lea rcx, [0x1401b9bb4]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
mov eax, dword [rsp + 0x40]
add eax, dword [rsp + 0x30]
add eax, dword [rsp + 0x50]
mov rdx, qword [rdi + 0xb0]
cmp rdx, rax
jb 0x1401b99c4
mov qword [rdi + 0xb0], rax
mov rdx, rax
mov qword [rdi + 0xb8], 0
mov qword [rdi + 0x100], r12
xor r15d, r15d
cmp r15, rdx
je 0x1401b9a52
lea r14, [rdi + 0x10]
lea r12, [rsp + 0x30]
nop word [rax + rax]
mov rax, rdx
sub rax, r15
jb 0x1401b9b64
mov r8, qword [rdi + 0x38]
test r8, r8
je 0x1401b9b75
mov r9, qword [rdi + 0xa0]
add r9, r15
mov qword [rsp + 0x20], rax
mov rcx, r12
mov rdx, r14
call fcn.1402aa230
mov rax, qword [rsp + 0x30]
cmp rax, 2
je 0x1401b9b09
mov rbx, qword [rsp + 0x38]
test rax, rax
jne 0x1401b9a80
add r15, rbx
mov qword [rdi + 0xb8], r15
mov rdx, qword [rdi + 0xb0]
cmp r15, rdx
jne 0x1401b99f0
mov rax, qword [rdi + 0x100]
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], rax
mov qword [rdi + 0x38], 0
cmp qword [rsp + 0x30], 2
je 0x1401b9b31
jmp 0x1401b9b48
mov eax, ebx
and eax, 3
lea rcx, [0x1401b9bb4]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
cmp byte [rbx + 0xf], 0xd
jne 0x1401b9b13
lea r14, [rbx - 1]
mov qword [rsp + 0x30], 2
mov qword [rdi + 0x38], 0
mov rdi, qword [rbx - 1]
mov rbx, qword [rbx + 7]
mov rcx, rdi
call qword [rbx]
cmp qword [rbx + 8], 0
je 0x1401b9ae1
cmp qword [rbx + 0x10], 0x11
jb 0x1401b9acf
mov rdi, qword [rdi - 8]
mov rcx, qword [0x1403cdf08]
xor edx, edx
mov r8, rdi
call qword [sym.imp.kernel32.dll_HeapFree]
mov rcx, qword [0x1403cdf08]
xor edx, edx
mov r8, r14
call qword [sym.imp.kernel32.dll_HeapFree]
cmp qword [rsp + 0x30], 2
je 0x1401b9b31
jmp 0x1401b9b48
mov rax, rbx
shr rax, 0x20
cmp eax, 0xd
jne 0x1401b9b13
mov qword [rdi + 0x38], 0
jmp 0x1401b9b31
mov qword [rsp + 0x30], 1
mov qword [rsp + 0x38], rbx
mov qword [rdi + 0x38], 0
cmp qword [rsp + 0x30], 2
jne 0x1401b9b48
movabs rax, 0xd00000003
mov qword [rsi + 8], rax
mov qword [rsi], 1
jmp 0x1401b9b50
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
add rsp, 0xe8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea r8, [0x14032a8c8]
mov rcx, r15
call fcn.1402ea380
ud2
lea rcx, str.assertion_failed:__self.context.is_null__
lea r8, [0x140327188]
mov edx, 0x29
call fcn.1402ea480
ud2
lea r8, [0x14032a828]
mov rcx, qword [rsp + 0xb0]
jmp 0x1401b9baa
lea r8, [0x14032a840]
mov rcx, r14
mov rdx, r15
call fcn.1402ea400
ud2