Function at 0x18029c2c0
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, r9
mov qword [rbp - 0x38], r8
mov r11, rdx
mov eax, dword [0x180524cc0]
xor eax, dword [0x180524cc4]
or eax, 0xaa0cd69c
and eax, 0xe89b4582
imul eax, eax, 0xdf0d4e4a
cmp eax, 0x9bca25dc
jb 0x18029c9ce
mov eax, dword [0x180524cc8]
mov edx, dword [0x180524ccc]
sub eax, edx
imul edx, eax, 0xdf866bc9
and edx, 0x48004540
mov eax, 0x30
call fcn.18045a590
sub rsp, rax
mov r9, rsp
mov eax, 0x90
call fcn.18045a590
sub rsp, rax
mov r10, rsp
mov eax, 0x30
call fcn.18045a590
sub rsp, rax
mov rsi, rsp
mov eax, 0x10
call fcn.18045a590
sub rsp, rax
mov r8, rsp
mov eax, 0x30
call fcn.18045a590
sub rsp, rax
mov r15, rsp
mov r14, r12
add r14, 0x10
mov rdi, qword [r12 + 0x10]
cmp edx, 0x76000d1c
je 0x18029c9ce
mov qword [rbp - 0x20], r10
mov qword [rbp - 0x28], r9
mov qword [rbp - 8], rcx
jmp 0x18029c396
mov eax, 0xa
mov edx, 4
cmp rdi, 0x10000
cmovb rax, rdx
mov edx, 2
cmp rdi, 0x7e
cmovb rax, rdx
mov rbx, r12
add rbx, 0x1f
mov cl, byte [r12 + 0x1f]
mov edx, 4
xor r10d, r10d
mov r13b, cl
cmp cl, 0
cmove rdx, r10
mov rcx, r11
add rcx, 0x28
mov qword [rbp - 0x10], rcx
mov rcx, r11
add rcx, 0x38
mov r9, qword [r11 + 0x38]
mov r10, r9
add r10, rdi
add r10, rdx
add r10, rax
cmp r10, qword [r11 + 0x58]
ja 0x18029c4de
mov qword [rbp - 0x18], r9
mov eax, dword [0x180524cd0]
add eax, dword [0x180524cd4]
or eax, 0xa5155840
mov r10d, 0x87e7035
xor edx, edx
div r10d
add eax, 0xf049b9fc
cmp eax, 0x542800ba
jbe 0x18029c9df
jmp 0x18029c434
mov eax, dword [0x180524cd8]
mov edx, dword [0x180524cdc]
and eax, edx
imul rdx, rax, 0x295f8b81
shr rdx, 0x3d
or edx, 0xd473288e
mov rax, qword [0x180528ce8]
mov rax, qword [rax]
cmp edx, 0xa1a4d81d
jb 0x18029c434
jmp 0x18029c467
mov qword [rbp - 0x30], r11
mov qword [rbp], rcx
cmp rax, 5
sete r10b
mov eax, dword [0x180524ce0]
xor edx, edx
div dword [0x180524ce4]
imul eax, eax, 0x9f9cd307
add eax, 0x925bceff
imul eax, eax, 0xd0df5c88
cmp eax, 0x575a061e
je 0x18029c9f6
mov eax, dword [0x180524ce8]
imul eax, dword [0x180524cec]
xor eax, 0xaf589278
imul eax, eax, 0xcad2854e
mov r11d, 0x150eefa0
xor edx, edx
div r11d
cmp eax, 0xa44e9af7
je 0x18029c9f6
test r10b, 1
jne 0x18029c567
jmp 0x18029c651
mov rbx, qword [rbp - 8]
mov rsi, rbx
add rsi, 8
mov eax, dword [0x180524cf0]
sub eax, dword [0x180524cf4]
imul eax, eax, 0x179ca9a3
xor eax, 0x4bfd8314
add eax, 0x91706581
cmp eax, 0x6890ed2e
ja 0x18029ca03
mov eax, dword [0x180524cf8]
xor edx, edx
div dword [0x180524cfc]
and eax, 0x619069ce
mov ecx, 0x76a71f72
xor edx, edx
div ecx
mov edi, eax
xor edi, 0x3cded101
sub rsp, 0x20
mov rcx, rsi
mov rdx, r12
mov r8d, 0x28
call fcn.180468b10
add rsp, 0x20
mov qword [rbx], 9
cmp edi, 0x7d95f24
jbe 0x18029ca03
jmp 0x18029c562
jmp 0x18029c9ba
mov qword [r8], r12
lea rax, [0x1803ec680]
mov qword [r8 + 8], rax
lea rax, str.writing_frame
mov qword [r15], rax
mov qword [r15 + 8], 1
mov qword [r15 + 0x20], 0
mov qword [r15 + 0x10], r8
mov qword [r15 + 0x18], 1
lea rcx, str.C:Userslucak.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tungstenite_0.24.0_srcprotocol_framemod.rsreceived_frame
sub rsp, 0x20
call fcn.180424ea0
add rsp, 0x20
lea rcx, str.tungstenite::protocol::frameno_frame_received
mov qword [rsi], rcx
mov qword [rsi + 8], 0x1c
lea rcx, str.tungstenite::protocol::frameno_frame_received
mov qword [rsi + 0x10], rcx
mov rcx, rsi
add rcx, 0x18
mov qword [rcx], 0x1c
mov qword [rsi + 0x20], rax
sub rsp, 0x30
mov rcx, r15
mov edx, 5
mov r8, rsi
xor r9d, r9d
call fcn.180424d90
add rsp, 0x30
mov rdi, qword [r14]
mov r13b, byte [rbx]
mov eax, dword [0x180524d00]
sub eax, dword [0x180524d04]
add eax, 0x26c900d4
sub eax, 0xa52d216e
sub eax, 0x28ba2a7a
cmp eax, 0x4f1c289d
je 0x18029ca34
jmp 0x18029c627
mov eax, dword [0x180524d08]
xor eax, dword [0x180524d0c]
mov r8d, 0xa47e06fe
xor edx, edx
div r8d
sub eax, 0x6b02532b
xor eax, 0xa4ef8dc4
cmp eax, 0x7cbf3bf0
jae 0x18029c627
jmp 0x18029c651
mov eax, dword [0x180524d10]
add eax, dword [0x180524d14]
mov r8d, 0x36e17472
xor edx, edx
div r8d
add eax, 0x96d107a2
imul eax, eax, 0x28612a49
cmp eax, 0x100e973a
mov rdx, qword [rbp - 0x18]
mov r14, qword [rbp - 0x10]
jb 0x18029ca41
mov eax, dword [0x180524d18]
add eax, dword [0x180524d1c]
imul eax, eax, 0x15a64dd
or eax, 0x9b056e16
add eax, 0x7f53626b
mov ecx, 0xa
mov r8d, 4
cmp rdi, 0x10000
cmovb rcx, r8
mov r8d, 2
cmp rdi, 0x7e
cmovb rcx, r8
mov r8d, 4
xor r10d, r10d
cmp r13b, 0
cmove r8, r10
add r8, rdi
add r8, rcx
mov rcx, qword [r14]
sub rcx, rdx
cmp r8, rcx
seta cl
cmp eax, 0x1f37392c
je 0x18029ca41
test cl, 1
mov rbx, qword [rbp - 8]
jne 0x18029c74b
jmp 0x18029c6ff
sub rsp, 0x20
mov rsi, qword [rbp - 0x28]
mov rcx, rsi
mov rdx, r12
mov r8d, 0x28
call fcn.180468b10
add rsp, 0x20
sub rsp, 0x20
mov rdi, qword [rbp - 0x20]
mov rcx, rdi
mov rdx, rsi
mov r8, r14
call fcn.1802beca0
add rsp, 0x20
cmp qword [rdi], 0xf
sete al
test al, 1
mov rax, qword [rbp]
mov rcx, qword [rbp - 0x30]
jne 0x18029c76c
jmp 0x18029c77a
sub rsp, 0x30
mov rcx, r14
mov r9d, 1
mov qword [rsp + 0x20], 1
call fcn.180268a00
add rsp, 0x30
jmp 0x18029c6ff
mov rsi, qword [rax]
mov rax, qword [rcx + 0x60]
cmp rsi, rax
ja 0x18029c78a
jmp 0x18029c77e
ud2
mov qword [rbx], 0xf
jmp 0x18029c9ba
mov eax, dword [0x180524d20]
add eax, dword [0x180524d24]
imul eax, eax, 0x7ec9182f
xor eax, 0x6ddd3b4
add eax, 0x6953dabc
cmp eax, 0xcb830b3
jb 0x18029ca52
mov eax, dword [0x180524d28]
or eax, dword [0x180524d2c]
or eax, 0x73401a2b
add eax, 0xffc58aa2
sub eax, 0xccd52760
cmp eax, 0xbfeefb87
je 0x18029ca52
jmp 0x18029c7d9
mov rdi, qword [rcx + 0x30]
jmp 0x18029c7eb
mov qword [rbx], 0xf
jmp 0x18029c9ba
sub rsp, 0x20
mov rcx, qword [rbp - 0x38]
mov rdx, rdi
mov r8, rsi
call fcn.1802c95f0
add rsp, 0x20
mov rcx, rdx
cmp rax, 0
jne 0x18029c81f
cmp rcx, 0
sete al
test al, 1
mov r9, qword [rbp]
jne 0x18029c885
jmp 0x18029c907
mov eax, dword [0x180524d30]
xor eax, dword [0x180524d34]
or eax, 0x542acef6
and eax, 0xa54a6367
sub eax, 0x37ee49a1
cmp eax, 0x565e2430
jb 0x18029ca5f
jmp 0x18029c847
mov edx, dword [0x180524d38]
add edx, dword [0x180524d3c]
sub edx, 0xbbc44dd4
add edx, 0x271f5b71
sub edx, 0x44317838
mov qword [rbx], 5
mov rax, rbx
add rax, 8
cmp edx, 0xcb84ca46
je 0x18029c847
jmp 0x18029c87d
mov qword [rax], rcx
jmp 0x18029c9ba
lea rdx, str.Connection_reset_while_sending
sub rsp, 0x20
mov ecx, 3
mov r8d, 0x1e
call fcn.18029d430
add rsp, 0x20
mov qword [rbx], 5
mov qword [rbx + 8], rax
mov eax, dword [0x180524d40]
imul eax, dword [0x180524d44]
xor eax, 0xcfb2df44
mov ecx, 0xacacdbc6
xor edx, edx
div ecx
and eax, 0x9669ee91
cmp eax, 0x10c37a33
je 0x18029ca73
mov eax, dword [0x180524d48]
or eax, dword [0x180524d4c]
imul eax, eax, 0x142537e3
imul eax, eax, 0x5a131f90
sub eax, 0xe407ec5b
cmp eax, 0x58286fd2
je 0x18029ca73
jmp 0x18029c9ba
mov eax, dword [0x180524d50]
imul eax, dword [0x180524d54]
and eax, 0x9bc4c19e
add eax, 0x5272e227
imul eax, eax, 0x3474a054
cmp eax, 0xa26c5cb8
jae 0x18029ca80
jmp 0x18029c931
mov eax, dword [0x180524d58]
xor eax, dword [0x180524d5c]
mov r8d, 0x47c878fa
xor edx, edx
div r8d
sub eax, 0x2415f99
xor eax, 0xceb00485
cmp rsi, rcx
setb dl
cmp eax, 0xc4dbffce
jae 0x18029c931
jmp 0x18029c961
test dl, 1
jne 0x18029c968
jmp 0x18029c96c
ud2
mov qword [r9], 0
cmp rsi, rcx
sete al
test al, 1
jne 0x18029c7df
jmp 0x18029c983
mov rdx, rdi
add rdx, rcx
sub rsi, rcx
sub rsp, 0x20
mov rcx, rdi
mov r8, rsi
call fcn.180468b10
add rsp, 0x20
mov rax, qword [rbp]
mov qword [rax], rsi
cmp rsi, 0
sete al
test al, 1
jne 0x18029c7df
jmp 0x18029c7eb
mov rax, rbx
lea rsp, [rbp + 8]
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov dl, 0x62
cmpsd dword [rsi], dword [rdi]
lodsd eax, dword [rsi]
mov dl, 0x62
cmpsd dword [rsi], dword [rdi]
lodsd eax, dword [rsi]
mov ebx, 0xe9064f1c
invalid
insb byte [rdi], dx
mov ch, 0x2a
mov ah, 0xb1
sub byte [rsi + rsi], bh
mov rax, qword [0x180528ce8]
mov rax, qword [rax]
jmp 0x18029c432
pop rcx
stosd dword [rdi], eax
movabs r14, 0xfffa9ee9bc0d9049
dec dword [rax + rax - 0x64]
xchg edi, eax
invalid
add byte [rdi + rdx*4 - 0x570487c1], r11b
and eax, 0x4801f2fb
sub esp, 0x20
mov rcx, rsi
mov rdx, r12
mov r8d, 0x28
call fcn.180468b10
add rsp, 0x20
mov qword [rbx], 9
jmp 0x18029c510
cli
in al, 0x2e
jrcxz 0x18029caac
sbb dword [rax + rbp*4 - 0x41b17], 0xffffffff
mov ah, byte [rbx + 0x36105c61]
retf
push rbx
test al, 0x53
jg 0x18029ca7d
enter 0x52e9, 0xfffffffffffffffd
invalid
mov ecx, 0x3861ab2
scasb al, byte [rdi]
push rbx
xor ecx, dword [rax - 0x39]
add eax, dword [0x16929ca6f]
sar ch, cl
invalid
or ecx, dword [rbp + 0x45afedb6]
add eax, 0xfe5ae94a
invalid
invalid
pop rdx
mov ecx, ds
push r8
jae 0x18029caed
jmp 0x18029c92f
cmp ebx, 0
sete al
test al, 1
jne 0x18029cac3
jmp 0x18029cab8
add rdx, 0x30
mov r14, qword [rdx]
jmp 0x18029cacc
jmp 0x18029cac3
mov qword [rsi], 0xf
jmp 0x18029cae5
mov rcx, rdi
mov rdx, r14
mov r8, rbx
call fcn.1802c95f0
mov rcx, rdx
cmp rax, 0
je 0x18029caf4
jmp 0x18029cb04
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
cmp rcx, 0
sete al
test al, 1
jne 0x18029cb71
jmp 0x18029cbf9
mov qword [rsi], 5
mov eax, dword [0x180524d60]
xor edx, edx
div dword [0x180524d64]
imul eax, eax, 0x2ee6c895
xor eax, 0x7cce9780
mov r8d, 0xb612e470
xor edx, edx
div r8d
cmp eax, 0x2ed1468c
je 0x18029cc9f
mov eax, dword [0x180524d68]
add eax, dword [0x180524d6c]
or eax, 0x4174f95
mov r8d, 0x40dbf99f
xor edx, edx
div r8d
and eax, 0x9ca1d413
mov qword [rsi + 8], rcx
cmp eax, 0xbb329ca6
jae 0x18029cc9f
jmp 0x18029cb6c
jmp 0x18029cae5
lea rdx, str.Connection_reset_while_sending
mov ecx, 3
mov r8d, 0x1e
call fcn.18029d430
mov rcx, rax
mov qword [rsi], 5
mov eax, dword [0x180524d70]
or eax, dword [0x180524d74]
mov r8d, 0x4e7b4354
xor edx, edx
div r8d
xor eax, 0x78a91800
imul eax, eax, 0x67877b2d
cmp eax, 0x6454157d
ja 0x18029ccb4
mov eax, dword [0x180524d78]
or eax, dword [0x180524d7c]
imul eax, eax, 0x12388948
and eax, 0x51944156
imul edx, eax, 0x1182bb4
mov rax, rsi
add rax, 8
cmp edx, 0x85177fca
jbe 0x18029ccb4
jmp 0x18029cbf1
mov qword [rax], rcx
jmp 0x18029cae5
mov eax, dword [0x180524d80]
or eax, dword [0x180524d84]
and eax, 0x40579fa2
imul eax, eax, 0xa7f6ea21
and eax, 0x27748b4d
cmp eax, 0xd93dcd81
jae 0x18029ccc5
jmp 0x18029cc22
mov eax, dword [0x180524d88]
xor eax, dword [0x180524d8c]
or eax, 0xed0c668d
mov r8d, 0xa3b3a2c1
xor edx, edx
div r8d
mov r8d, 0xcb27d06f
xor edx, edx
div r8d
cmp eax, 0x3233979d
je 0x18029cc22
jmp 0x18029cc52
cmp rbx, rcx
setb al
test al, 1
jne 0x18029cc5e
jmp 0x18029cc62
ud2
mov qword [r15], 0
cmp rbx, rcx
sete al
test al, 1
jne 0x18029cac1
jmp 0x18029cc79
mov rdx, r14
add rdx, rcx
sub rbx, rcx
mov rcx, r14
mov r8, rbx
call fcn.180468b10
mov qword [r15], rbx
cmp rbx, 0
je 0x18029cac1
jmp 0x18029cacc
invalid
adc ecx, edx
sbb cl, dl
pop rsp
mov word [rdx - 0x7b5021c1], ss
xchg ecx, ebp
cli
invalid
test eax, 0xb458a3a7
cli
or al, byte [rsi - 0x17]
invalid