Function at 0x1802c1090
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x48
lea rbp, [rsp + 0x40]
mov r12, r8
mov rdi, rdx
mov qword [rbp - 8], rcx
mov eax, 0x30
call fcn.18045a590
sub rsp, rax
mov rsi, rsp
mov eax, 0x30
call fcn.18045a590
sub rsp, rax
mov r14, rsp
mov eax, 0x30
call fcn.18045a590
sub rsp, rax
mov rbx, rsp
mov eax, 0x10
call fcn.18045a590
sub rsp, rax
mov rcx, rsp
mov eax, 0x30
call fcn.18045a590
sub rsp, rax
mov r15, rsp
mov eax, 0x90
call fcn.18045a590
sub rsp, rax
mov qword [rbp - 0x18], rsp
mov eax, 0x90
call fcn.18045a590
sub rsp, rax
mov r13, rsp
mov qword [rbp - 0x10], rcx
mov rax, qword [0x180528ce8]
mov rax, qword [rax]
cmp rax, 5
jne 0x1802c11bf
lea rax, [0x18048a500]
mov qword [r14], rax
mov qword [r14 + 8], 1
mov qword [r14 + 0x20], 0
mov rax, rbp
mov qword [r14 + 0x10], rax
mov qword [r14 + 0x18], 0
lea rcx, str.C:Userslucak.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_tungstenite_0.24.0_src_lib.rs
sub rsp, 0x20
call fcn.180424ea0
add rsp, 0x20
lea rcx, str.tokio_tungsteniteC:Userslucak.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_tungstenite_0.24.0_src_lib.rs:243_WebSocketStream.with_context
mov qword [rsi], rcx
mov qword [rsi + 8], 0x11
mov rcx, rsi
add rcx, 0x10
lea rdx, str.tokio_tungsteniteC:Userslucak.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_tungstenite_0.24.0_src_lib.rs:243_WebSocketStream.with_context
mov qword [rcx], rdx
mov qword [rsi + 0x18], 0x11
mov qword [rsi + 0x20], rax
sub rsp, 0x30
mov rcx, r14
mov edx, 5
mov r8, rsi
xor r9d, r9d
call fcn.180424d90
add rsp, 0x30
lea rcx, [rbp - 0x40]
sub rsp, 0x20
mov rdx, r12
mov r8d, 0x28
call fcn.180468b10
add rsp, 0x20
mov rdx, rdi
add rdx, 0x38
lea r9, [rbp - 0x40]
sub rsp, 0x20
mov rcx, r13
mov r8, rdi
call fcn.180290740
add rsp, 0x20
mov rax, qword [r13]
mov rcx, rax
sub rcx, 5
je 0x1802c1293
jmp 0x1802c120a
sub rax, 0xf
jne 0x1802c12ab
jmp 0x1802c1216
mov eax, dword [0x180527938]
or eax, dword [0x18052793c]
or eax, 0x2f0738b3
xor eax, 0x49becbca
xor eax, 0xfd6d7a46
cmp eax, 0x13d7bf4c
je 0x1802c1538
mov r15, qword [rbp - 8]
jmp 0x1802c1242
mov eax, dword [0x180527940]
sub eax, dword [0x180527944]
imul ecx, eax, 0x47abce37
xor ecx, 0x21bcd261
or ecx, 0x8a298319
mov rax, rdi
add rax, 0x13a
cmp ecx, 0xbc916cf8
ja 0x1802c1242
jmp 0x1802c1273
mov byte [rax], 1
mov qword [r15], 0xf
jmp 0x1802c127f
mov rax, r15
lea rsp, [rbp + 8]
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov r14, qword [r13 + 8]
sub rsp, 0x20
mov rcx, r14
call fcn.1802c1690
add rsp, 0x20
cmp al, 0xd
je 0x1802c12ec
sub rsp, 0x20
mov rsi, qword [rbp - 0x18]
mov rcx, rsi
mov rdx, r13
mov r8d, 0x88
call fcn.180468b10
add rsp, 0x20
mov byte [rdi + 0x13a], 1
mov rax, qword [0x180528ce8]
mov rax, qword [rax]
mov rcx, qword [rbp - 0x10]
cmp rax, 4
jb 0x1802c1516
jmp 0x1802c1488
mov eax, dword [0x180527948]
and eax, dword [0x18052794c]
add eax, 0x39dda0d1
imul eax, eax, 0x2f2d2d5c
xor eax, 0xc8bb14b9
cmp eax, 0x5d70999b
jbe 0x1802c1549
mov eax, dword [0x180527950]
sub eax, dword [0x180527954]
mov ecx, 0x97e4fb6f
xor edx, edx
div ecx
imul ecx, eax, 0x95d39c31
add ecx, 0xc274e2f2
mov rax, rdi
add rax, 0x13a
cmp ecx, 0x221a244e
je 0x1802c1549
mov r15, qword [rbp - 8]
jmp 0x1802c134f
mov byte [rax], 0
mov qword [r15], 0xf
mov eax, r14d
and eax, 3
lea rcx, [0x18048b118]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
mov qword [rcx], rsi
lea rax, [0x1803ecfd0]
mov qword [rcx + 8], rax
lea rax, str.websocket_start_send_error:
mov qword [r15], rax
mov qword [r15 + 8], 1
mov qword [r15 + 0x20], 0
mov qword [r15 + 0x10], rcx
mov qword [r15 + 0x18], 1
lea rcx, str.C:Userslucak.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_tungstenite_0.24.0_src_lib.rs
sub rsp, 0x20
call fcn.180424ea0
add rsp, 0x20
lea rcx, str.tokio_tungsteniteC:Userslucak.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_tungstenite_0.24.0_src_lib.rs:243_WebSocketStream.with_context
mov qword [rbx], rcx
mov qword [rbx + 8], 0x11
lea rcx, str.tokio_tungsteniteC:Userslucak.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_tungstenite_0.24.0_src_lib.rs:243_WebSocketStream.with_context
mov qword [rbx + 0x10], rcx
mov qword [rbx + 0x18], 0x11
mov qword [rbx + 0x20], rax
sub rsp, 0x30
mov rcx, r15
mov edx, 4
mov r8, rbx
xor r9d, r9d
call fcn.180424d90
add rsp, 0x30
jmp 0x1802c1516
sub rsp, 0x20
mov r15, qword [rbp - 8]
mov rcx, r15
mov rdx, rsi
mov r8d, 0x88
call fcn.180468b10
add rsp, 0x20
jmp 0x1802c127f
sub byte [rdx], dl
push 0xe
xchg dword [rbx], edx
xchg r8, rax
add al, byte [rax - 0xc16d089]
cld
invalid
and al, 0xbf
mov dl, 4
invalid