Function at 0x1802bcf90
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x1e8
lea rbp, [rsp + 0x80]
mov r13, r8
mov qword [rbp + 0x130], rdx
mov qword [rbp + 0x120], rcx
mov eax, dword [0x1805275f8]
xor edx, edx
div dword [0x1805275fc]
and eax, 0x7efd7598
or eax, 0x27ab12f6
or eax, 0x5f63949
cmp eax, 0xc73e8c82
jae 0x1802bd7f3
mov eax, dword [0x180527600]
mov ecx, dword [0x180527604]
sub eax, ecx
shr eax, 4
imul rax, rax, 0x1336178f
shr rax, 0x31
add eax, 0xc8f6ddf7
imul rcx, rax, 0x1e73f161
shr rcx, 0x3c
mov eax, 0x20
call fcn.18045a590
sub rsp, rax
mov r11, rsp
mov eax, 0x130
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 r12, rsp
mov eax, 0x90
call fcn.18045a590
sub rsp, rax
mov r10, rsp
mov eax, 0x90
call fcn.18045a590
sub rsp, rax
mov r15, rsp
mov eax, 0x90
call fcn.18045a590
sub rsp, rax
mov rbx, rsp
mov eax, 0x40
call fcn.18045a590
sub rsp, rax
mov rdi, rsp
mov eax, 0x40
call fcn.18045a590
sub rsp, rax
mov rdx, rsp
mov eax, 0x10
call fcn.18045a590
sub rsp, rax
mov r8, rsp
mov eax, 0x10
call fcn.18045a590
sub rsp, rax
mov r9, rsp
mov eax, 0x150
call fcn.18045a590
sub rsp, rax
mov rax, rsp
cmp ecx, 0x56dff45a
je 0x1802bd7f3
jmp 0x1802bd0de
cmp qword [r13], 2
mov qword [rbp + 0x148], r8
mov qword [rbp + 0x160], rdx
mov qword [rbp + 0x128], rax
je 0x1802bd1af
mov qword [rbp + 0x118], r11
mov qword [rbp + 0x138], r10
mov qword [rbp + 0x110], r9
sub rsp, 0x20
mov rcx, rdi
mov rdx, r13
mov r8d, 0x38
call fcn.180468b10
add rsp, 0x20
mov rdx, r13
add rdx, 0x38
sub rsp, 0x20
mov rcx, rbx
mov r8d, 0x88
call fcn.180468b10
add rsp, 0x20
mov rax, r13
add rax, 0xc0
mov rax, qword [rax]
mov qword [rbp + 0x150], rax
mov rax, qword [r13 + 0xc8]
mov qword [rbp + 0x158], rax
mov rax, qword [r13 + 0xd0]
mov qword [rbp + 0x140], rax
mov rdx, qword [rbp + 0x130]
add rdx, 0x48
sub rsp, 0x20
mov rcx, r15
mov r8, rbx
call fcn.1803f0240
add rsp, 0x20
mov rax, qword [r15]
mov r13, r15
add r13, 8
cmp rax, 0
je 0x1802bd30a
jmp 0x1802bd345
mov r12, r9
add r13, 8
mov al, byte [0x1805297c8]
sub rsp, 0x20
mov ecx, 0x1000
mov edx, 1
call fcn.1802cbf10
add rsp, 0x20
mov rdi, rax
cmp rdi, 0
jne 0x1802bd1f5
sub rsp, 0x20
mov ecx, 1
mov edx, 0x1000
call fcn.180407090
add rsp, 0x20
ud2
mov al, byte [0x1805297c8]
sub rsp, 0x20
mov ecx, 0x1000
mov edx, 1
call fcn.1802cbf10
add rsp, 0x20
mov rbx, rax
cmp rbx, 0
sete al
test al, 1
jne 0x1802bd222
jmp 0x1802bd23b
sub rsp, 0x20
mov ecx, 1
mov edx, 0x1000
call fcn.180407090
add rsp, 0x20
ud2
sub rsp, 0x20
mov rcx, rbx
xor edx, edx
mov r8d, 0x1000
call fcn.1804691b0
mov rcx, qword [rbp + 0x148]
xor edx, edx
mov r8d, 0x10
call fcn.1804691b0
add rsp, 0x20
mov eax, dword [0x180527608]
xor edx, edx
div dword [0x18052760c]
xor eax, 0xf39888ea
mov ecx, 0xf88abd1e
xor edx, edx
div ecx
and eax, 0xda8f2e66
cmp eax, 0xe89d1b2d
ja 0x1802bd800
jmp 0x1802bd295
mov esi, dword [0x180527610]
or esi, dword [0x180527614]
or esi, 0x87eb970
sub esi, 0xd1ca233b
xor esi, 0xcbe8e81e
sub rsp, 0x20
mov rcx, qword [rbp + 0x160]
mov rdx, r13
mov r8d, 0x38
call fcn.180468b10
add rsp, 0x20
cmp esi, 0xf42a8f58
je 0x1802bd295
jmp 0x1802bd2da
sub rsp, 0x20
mov rcx, r12
xor edx, edx
mov r8d, 0x10
call fcn.1804691b0
add rsp, 0x20
mov r15d, 0x1000
mov r14d, 2
mov rsi, qword [rbp + 0x128]
jmp 0x1802bd59e
sub rsp, 0x20
mov rcx, qword [rbp + 0x138]
mov rdx, r13
mov r8d, 0x88
call fcn.180468b10
add rsp, 0x20
mov rax, qword [0x180528ce8]
mov rax, qword [rax]
cmp rax, 4
setb al
test al, 1
jne 0x1802bd451
jmp 0x1802bd3c9
mov rsi, qword [r13]
add rsi, 0xfffffffffffffffd
cmp rsi, 0xc
setb cl
cmp rsi, 0xa
setne r8b
mov r14, qword [rbp + 0x120]
mov eax, dword [0x180527618]
add eax, dword [0x18052761c]
and eax, 0x3bcb80e2
mov r9d, 0xa61b0baf
xor edx, edx
div r9d
and eax, 0xd44df402
cmp eax, 0x1ac23055
jae 0x1802bd82e
jmp 0x1802bd391
mov edx, dword [0x180527620]
sub edx, dword [0x180527624]
xor edx, 0xbf505afd
or edx, 0x3550e66f
or edx, 0x9daffbdb
mov al, cl
and al, r8b
cmp edx, 0xe29724dc
je 0x1802bd391
test al, 1
jne 0x1802bd781
jmp 0x1802bd621
lea rax, str.Client_handshake_done.
mov qword [r12], rax
mov qword [r12 + 8], 1
mov qword [r12 + 0x20], 0
mov eax, 8
mov qword [r12 + 0x10], rax
mov qword [r12 + 0x18], 0
lea rcx, str.C:Userslucak.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tungstenite_0.24.0_srchandshakeclient.rs
sub rsp, 0x20
call fcn.180424ea0
add rsp, 0x20
lea rcx, str.tungstenite::handshake::clientParsed_headers
mov qword [r14], rcx
mov qword [r14 + 8], 0x1e
lea rcx, str.tungstenite::handshake::clientParsed_headers
mov qword [r14 + 0x10], rcx
mov qword [r14 + 0x18], 0x1e
mov qword [r14 + 0x20], rax
sub rsp, 0x30
mov rcx, r12
mov edx, 4
mov r8, r14
xor r9d, r9d
call fcn.180424d90
add rsp, 0x30
mov r14, qword [rdi]
add rdi, 8
sub rsp, 0x20
mov rcx, rsi
mov rdx, rdi
mov r8d, 0x30
call fcn.180468b10
add rsp, 0x20
mov rdi, qword [rbp + 0x118]
mov rax, qword [rbp + 0x150]
mov qword [rdi], rax
mov rax, qword [rbp + 0x158]
mov qword [rdi + 8], rax
mov rax, qword [rbp + 0x140]
mov qword [rdi + 0x10], rax
lea rcx, [rbp + 0xc8]
sub rsp, 0x20
mov rdx, qword [rbp + 0x130]
mov r8d, 0x48
call fcn.180468b10
add rsp, 0x20
mov rcx, rsi
add rcx, 0x30
lea r9, [rbp + 0xc8]
sub rsp, 0x20
mov rdx, rdi
mov r8d, 1
call fcn.1803edae0
add rsp, 0x20
sub rsp, 0x20
mov rcx, qword [rbp + 0x160]
mov rdx, rsi
mov r8d, 0x38
call fcn.180468b10
add rsp, 0x20
mov r15, qword [rsi + 0x38]
mov rdi, qword [rsi + 0x40]
mov rax, qword [rsi + 0x48]
mov rcx, qword [rbp + 0x148]
mov qword [rcx], rax
mov rax, qword [rsi + 0x50]
mov qword [rcx + 8], rax
mov rbx, qword [rsi + 0x58]
mov rax, rsi
add rax, 0x60
mov rcx, qword [rax]
mov r12, qword [rbp + 0x110]
mov qword [r12], rcx
mov rax, qword [rax + 8]
mov qword [r12 + 8], rax
add rsi, 0x70
lea rcx, [rbp - 0x80]
sub rsp, 0x20
mov rdx, rsi
mov r8d, 0xc0
call fcn.180468b10
add rsp, 0x20
lea rcx, [rbp - 0x80]
add rcx, 0xc0
sub rsp, 0x20
mov rdx, qword [rbp + 0x138]
mov r8d, 0x88
call fcn.180468b10
add rsp, 0x20
lea rdx, [rbp - 0x80]
sub rsp, 0x20
mov rsi, qword [rbp + 0x128]
mov rcx, rsi
mov r8d, 0x148
call fcn.180468b10
add rsp, 0x20
mov rax, qword [rbp + 0x120]
mov qword [rax], r14
mov r14, rax
mov rcx, r14
add rcx, 8
sub rsp, 0x20
mov rdx, qword [rbp + 0x160]
mov r8d, 0x38
call fcn.180468b10
add rsp, 0x20
mov qword [r14 + 0x40], r15
mov qword [r14 + 0x48], rdi
mov rcx, qword [rbp + 0x148]
mov rax, qword [rcx]
mov qword [r14 + 0x50], rax
mov rax, qword [rcx + 8]
mov qword [r14 + 0x58], rax
mov qword [r14 + 0x60], rbx
mov rax, qword [r12]
mov qword [r14 + 0x68], rax
mov rax, qword [r12 + 8]
mov qword [r14 + 0x70], rax
mov rcx, r14
add rcx, 0x78
sub rsp, 0x20
mov rdx, rsi
mov r8d, 0x148
call fcn.180468b10
add rsp, 0x20
jmp 0x1802bd7dc
mov rax, r15
add rax, 0x78
mov rdx, qword [rax]
mov rax, rdx
shl rax, 1
test rax, rax
je 0x1802bd659
jmp 0x1802bd638
add r15, 0x80
mov rcx, qword [r15]
sub rsp, 0x20
mov r8d, 1
call fcn.1802cbf20
add rsp, 0x20
jmp 0x1802bd659
jmp 0x1802bd6cc
mov rcx, r14
add rcx, 8
sub rsp, 0x20
mov rdx, r13
mov r8d, 0x70
call fcn.180468b10
add rsp, 0x20
mov rax, qword [rbp + 0x150]
mov qword [r14 + 0x78], rax
mov rax, qword [rbp + 0x158]
mov qword [r14 + 0x80], rax
mov rax, qword [rbp + 0x140]
mov qword [r14 + 0x88], rax
mov qword [r14], 3
cmp rsi, 0xb
seta al
cmp rsi, 0xa
sete cl
or al, cl
test al, 1
jne 0x1802bd657
jmp 0x1802bd6ba
sub rsp, 0x20
mov rcx, r13
call fcn.1802c2c80
add rsp, 0x20
jmp 0x1802bd657
sub rsp, 0x20
mov rcx, rdi
call fcn.1802c3590
add rsp, 0x20
mov rcx, rdi
add rcx, 0x28
mov rax, qword [rdi + 0x28]
lock dec qword [rax]
sete al
jmp 0x1802bd6f0
test al, 1
jne 0x1802bd6f6
jmp 0x1802bd759
sub rsp, 0x20
call fcn.180275540
add rsp, 0x20
mov eax, dword [0x180527628]
imul eax, dword [0x18052762c]
or eax, 0xb3cefad0
add eax, 0x55470984
mov ecx, 0xce733ce9
xor edx, edx
div ecx
cmp eax, 0x53dff73f
ja 0x1802bd83b
mov eax, dword [0x180527630]
xor edx, edx
div dword [0x180527634]
or eax, 0xe7f51d67
imul eax, eax, 0xeb89ea2c
xor eax, 0xc4c847b7
cmp eax, 0xfca8df9c
je 0x1802bd83b
jmp 0x1802bd759
add rdi, 0x30
mov rax, qword [rdi]
lock dec qword [rax]
sete al
test al, 1
jne 0x1802bd76d
jmp 0x1802bd77f
sub rsp, 0x20
mov rcx, rdi
call fcn.180275540
add rsp, 0x20
jmp 0x1802bd77f
jmp 0x1802bd7dc
mov rcx, r14
add rcx, 8
sub rsp, 0x20
mov rdx, r13
mov r8d, 0x88
call fcn.180468b10
add rsp, 0x20
mov qword [r14], 3
mov rdx, qword [rbp + 0x150]
mov rcx, qword [rbp + 0x158]
cmp rdx, 0
je 0x1802bd6cc
cmp rcx, 0
setne al
sub rsp, 0x20
mov r8d, 1
call fcn.1802cbf20
add rsp, 0x20
jmp 0x1802bd6cc
mov rax, r14
lea rsp, [rbp + 0x168]
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
movabs byte [0xe9e6b86940f7bfa6], al
in al, 0xf7
invalid
idiv dword [rcx]
or al, 0xc4
mov dl, 0x94
or eax, 0x48bc619f
sub esp, 0x20
mov rcx, qword [rbp + 0x160]
mov rdx, r13
mov r8d, 0x38
call fcn.180468b10
add rsp, 0x20
jmp 0x1802bd293
pop rbx
jmp 0x1802bd817
lodsd eax, dword [rsi]
mov esp, 0xa03fa539
in al, dx
xchg ecx, eax
jmp 0x1802bd72e