Function at 0x1804364e0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov rdi, rdx
mov qword [rbp], rcx
mov eax, dword [0x18079e7c8]
xor eax, dword [0x18079e7cc]
add eax, 0xe7e7718c
or eax, 0x91f91d86
or eax, 0x83626997
cmp eax, 0xcd44cf11
je 0x1804369b6
jmp 0x180436524
mov eax, dword [0x18079e7d0]
mov ecx, dword [0x18079e7d4]
or eax, ecx
imul ecx, eax, 0xa559810a
add ecx, 0xbcecdb4
mov eax, 0xf0
call fcn.180698e80
sub rsp, rax
mov r14, rsp
mov eax, 0x1c0
call fcn.180698e80
sub rsp, rax
mov rdx, rsp
mov eax, 0x30
call fcn.180698e80
sub rsp, rax
mov rsi, rsp
mov eax, 0x30
call fcn.180698e80
sub rsp, rax
mov r15, rsp
mov eax, 0xa0
call fcn.180698e80
sub rsp, rax
mov r13, rsp
mov eax, 0x40
call fcn.180698e80
sub rsp, rax
mov r12, rsp
cmp ecx, 0xd3d28180
je 0x180436524
jmp 0x1804365ac
mov eax, dword [0x18079e7d8]
sub eax, dword [0x18079e7dc]
add eax, 0x1104041
sub eax, 0xd8d0d105
sub eax, 0x664eb398
cmp eax, 0x3744d96d
jbe 0x1804369c7
jmp 0x1804365d4
mov eax, dword [0x18079e7e0]
or eax, dword [0x18079e7e4]
add eax, 0x6e2dd04a
xor eax, 0x9081f1f7
imul eax, eax, 0x4bfc3144
mov rbx, qword [rdi]
mov qword [rdi], 3
cmp eax, 0xd29d3f39
jae 0x1804365d4
jmp 0x180436603
cmp rbx, 3
jne 0x18043660d
ud2
mov qword [rbp - 0x10], r8
mov qword [rbp - 0x20], rdx
mov rdx, rdi
add rdx, 8
sub rsp, 0x20
mov rcx, r13
mov r8d, 0x98
call fcn.1806a7400
add rsp, 0x20
mov rax, qword [rdi + 0xa0]
mov qword [rbp - 8], rax
mov rax, rdi
add rax, 0xa8
mov rdx, qword [rax]
mov rax, qword [rdi + 0xe0]
mov qword [r12 + 0x30], rax
movups xmm0, xmmword [rdi + 0xb0]
movups xmm1, xmmword [rdi + 0xc0]
movups xmm2, xmmword [rdi + 0xd0]
movups xmmword [r12 + 0x20], xmm2
movups xmmword [r12 + 0x10], xmm1
movups xmmword [r12], xmm0
mov rax, qword [0x1807af330]
mov rax, qword [rax]
mov rcx, qword [rbp - 0x10]
mov qword [rbp - 0x18], rdx
cmp rax, 5
jne 0x18043672a
lea rax, [0x1806c8540]
mov qword [r15], rax
mov rax, r15
add rax, 8
mov qword [rax], 1
mov rax, r15
add rax, 0x20
mov qword [rax], 0
mov eax, 8
mov qword [r15 + 0x10], rax
mov qword [r15 + 0x18], 0
lea rcx, str.C:Userslucak.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_tungstenite_0.24.0_srchandshake.rsSetting_context_in_handshake
sub rsp, 0x20
call fcn.180662ad0
add rsp, 0x20
lea rcx, str.tokio_tungstenite::handshakeSetting_ctx_when_starting_handshake
mov qword [rsi], rcx
mov qword [rsi + 8], 0x1c
lea rcx, str.tokio_tungstenite::handshakeSetting_ctx_when_starting_handshake
mov qword [rsi + 0x10], rcx
mov qword [rsi + 0x18], 0x1c
mov qword [rsi + 0x20], rax
sub rsp, 0x30
mov rcx, r15
mov edx, 5
mov r8, rsi
xor r9d, r9d
call fcn.1806629c0
add rsp, 0x30
mov rcx, qword [rbp - 0x10]
mov rsi, qword [rcx]
mov rcx, qword [rbp - 8]
add rcx, 0x10
sub rsp, 0x20
mov rdx, rsi
call fcn.180662000
add rsp, 0x20
mov r15, qword [rbp - 0x18]
mov rcx, r15
add rcx, 0x10
sub rsp, 0x20
mov rdx, rsi
call fcn.180662000
add rsp, 0x20
mov qword [r14], rbx
mov rcx, r14
add rcx, 8
sub rsp, 0x20
mov rdx, r13
mov r8d, 0x98
call fcn.1806a7400
add rsp, 0x20
mov rax, qword [rbp - 8]
mov qword [r14 + 0xa0], rax
mov qword [r14 + 0xa8], r15
mov rcx, r14
add rcx, 0xb0
sub rsp, 0x20
mov rdx, r12
mov r8d, 0x38
call fcn.1806a7400
mov rsi, qword [rbp - 0x20]
mov rcx, rsi
mov rdx, r14
call fcn.18041ad00
mov r8, rsi
add rsp, 0x20
cmp qword [r8], 2
je 0x1804367e9
sub rsp, 0x20
mov rsi, qword [rbp]
mov rcx, rsi
mov rdx, r8
mov r8d, 0x1c0
call fcn.1806a7400
add rsp, 0x20
jmp 0x180436858
mov rdx, r8
add rdx, 8
mov rax, qword [r8 + 8]
cmp rax, 3
sete al
mov ecx, dword [0x18079e7e8]
imul ecx, dword [0x18079e7ec]
or ecx, 0x6193e120
or ecx, 0x9f06304b
sub ecx, 0xca8c04d9
cmp ecx, 0x5e8bd9f1
ja 0x1804369df
jmp 0x180436828
mov ecx, dword [0x18079e7f0]
add ecx, dword [0x18079e7f4]
or ecx, 0x9be3049d
imul ecx, ecx, 0xdef8339c
add ecx, 0x950b5570
cmp ecx, 0x586c1380
je 0x180436828
test al, 1
jne 0x1804368e0
jmp 0x18043686c
mov rax, rsi
lea rsp, [rbp + 8]
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
sub rsp, 0x20
mov rcx, rdi
mov r8d, 0xe8
call fcn.1806a7400
add rsp, 0x20
mov rsi, qword [rbp]
mov qword [rsi], 3
mov eax, dword [0x18079e7f8]
add eax, dword [0x18079e7fc]
and eax, 0x44e8c6d6
sub eax, 0xfc693ba4
or eax, 0x8f1f7438
cmp eax, 0x54c24975
je 0x1804369ec
jmp 0x1804368b5
mov eax, dword [0x18079e800]
or eax, dword [0x18079e804]
mov ecx, 0xe3254c88
xor edx, edx
div ecx
xor eax, 0x14e9e2d8
and eax, 0x1b20c037
cmp eax, 0x96cd6875
jae 0x1804368b5
jmp 0x180436858
mov eax, dword [0x18079e808]
xor edx, edx
div dword [0x18079e80c]
imul eax, eax, 0xd59b3aa5
mov ecx, 0x7ac1311
xor edx, edx
div ecx
sub eax, 0x5d50ed44
cmp eax, 0xb4a806e3
je 0x1804369f9
mov eax, dword [0x18079e810]
xor edx, edx
div dword [0x18079e814]
or eax, 0x48506ad7
and eax, 0x149c6ce9
add eax, 0x580b4f4f
mov rdx, r8
add rdx, 0x10
cmp eax, 0xd2f183f4
ja 0x1804369f9
mov rsi, qword [rbp]
jmp 0x180436942
mov rcx, rsi
add rcx, 0x10
sub rsp, 0x20
mov r8d, 0x88
call fcn.1806a7400
add rsp, 0x20
mov qword [rsi], 2
mov qword [rsi + 8], 3
mov eax, dword [0x18079e818]
and eax, dword [0x18079e81c]
add byte [rbx], ah
add eax, 0x367ea5
or eax, 0xfe6461cd
and eax, 0x75b67fd0
add eax, 0x387fe5fd
cmp eax, 0x9b14ef0f
je 0x180436a0a
mov eax, dword [0x18079e820]
imul eax, dword [0x18079e824]
imul eax, eax, 0x54170d87
push rsp
sub eax, 0x74558b89
sub eax, 0xead22225
cmp eax, 0x9fc49a49
jb 0x180436a0a
jmp 0x180436858
jo 0x180436a1b
sub dword [rax + rsi*2 - 0x59], edx
jl 0x18043699f
je 0x180436970
invalid
scasd eax, dword [rdi]
out 0xa6, eax
xchg edi, eax
and eax, 0x3c356428
cmp dh, byte [rbp + 0x48]
mov dword [rdi], 3
jmp 0x1804365d2
cmc
xchg edi, eax
ficomp dword [rdx - 0x6f]
sub al, 0xe6
hlt
popfq
outsb dx, byte [rsi]
xchg edi, eax
scasb al, byte [rdi]
mov dword [rbx - 0x10], 0xfebae95a
invalid
mov dword [rax - 0x3f], ebx
add eax, 0xf0390da2
mov bh, 0x69
jns 0x180436a09
jmp 0x18043690d
inc dword [rsi + 0x4ae9342]
add al, 0x5a
xchg byte [rdx - 0x6d], al
scasb al, byte [rdi]
add al, 4
pop rdx
mov cl, 0x41
or eax, 0x72e96fdc
invalid
int3