Function at 0x4501c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x110
mov rax, qword [0x00065100]
xor rax, rsp
mov qword [rsp + 0x100], rax
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x28], rdx
mov r12, r8
lea rax, str.session_ticket_structure
mov r14, rdx
lea rbp, [rdx + 0x22]
lea r8, str.d:code20210715_kernelsslpcmonitorpolarssl2_ssl_srv.c
mov r9d, 0xe7
mov edx, 3
mov qword [rsp + 0x20], rax
mov rdi, rcx
call fcn.0003f71c
cmp r12, 0x22
jb 0x45358
mov rdx, qword [rdi + 0x1b0]
test rdx, rdx
je 0x45358
movzx eax, byte [r14 + 0x20]
shl eax, 8
movsxd rsi, eax
movzx eax, byte [r14 + 0x21]
or rsi, rax
lea rax, [rsi + 0x42]
lea r15, [rsi + rbp]
cmp r12, rax
jne 0x45358
xor bl, bl
xor ecx, ecx
mov al, byte [rdx + rcx]
xor al, byte [r14 + rcx]
inc rcx
or bl, al
cmp rcx, 0x10
jb 0x450c1
and dword [rsp + 0x28], 0
lea rax, [rsp + 0xe0]
lea rcx, [rdx + 0x250]
lea r9, [r12 - 0x20]
mov r8, r14
mov edx, 0x10
mov qword [rsp + 0x20], rax
call fcn.00034a28
lea rax, [rsp + 0xe0]
mov rdx, r15
xor r11d, r11d
sub rdx, rax
lea rax, [rsp + r11 + 0xe0]
inc r11
mov cl, byte [rdx + rax]
xor cl, byte [rax]
or bl, cl
cmp r11, 0x20
jb 0x4510f
test bl, bl
je 0x45135
mov eax, 0xffff8e80
jmp 0x4535d
mov rcx, qword [rdi + 0x1b0]
lea r9, [r14 + 0x10]
mov r8, rsi
xor edx, edx
add rcx, 0x130
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
call fcn.00035ddc
test eax, eax
jne 0x4535d
movzx r8d, byte [r15 - 1]
mov ebx, 0xffff8f00
mov rdx, r8
cmp r8, 2
jbe 0x45195
lea rcx, [r15 - 2]
lea r9, [rdx - 2]
cmp byte [rcx], r8b
cmovne eax, ebx
dec rcx
sub r9, 1
jne 0x4517e
test eax, eax
jne 0x4535d
sub rsi, rdx
lea rax, str.session_ticket_cleartext
lea r8, str.d:code20210715_kernelsslpcmonitorpolarssl2_ssl_srv.c
mov qword [rsp + 0x30], rsi
mov r9d, 0x117
mov edx, 3
mov rcx, rdi
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rax
call fcn.0003f71c
lea r12, [rsi + rbp]
lea rsi, [rbp + 0x98]
cmp rsi, r12
ja 0x4529e
lea rcx, [rsp + 0x40]
mov rdx, rbp
mov r8d, 0x98
call fcn.000550e0
lea rbp, [rsi + 3]
cmp rbp, r12
ja 0x4529e
movzx eax, byte [rsi + 1]
movzx ecx, byte [rsi]
shl ecx, 8
or ecx, eax
movzx eax, byte [rsi + 2]
shl ecx, 8
movsxd r13, ecx
or r13, rax
jne 0x45221
and qword [rsp + 0xa8], r13
jmp 0x45293
lea r14, [r13 + rbp]
cmp r14, r12
ja 0x4529e
mov r15d, 0x228
mov rcx, r15
call qword [0x00083fc0]
mov rsi, rax
mov qword [rsp + 0xa8], rax
test rax, rax
jne 0x45251
mov ebx, 0xffff8100
jmp 0x4529e
mov r8, r15
xor edx, edx
mov rcx, rax
call fcn.000554c0
mov r8, r13
mov rdx, rbp
mov rcx, rsi
call fcn.00037918
mov ebp, eax
test eax, eax
je 0x45290
mov rcx, rsi
call fcn.0003872c
mov rcx, rsi
call qword [0x00083fc8]
and qword [rsp + 0xa8], 0
mov ebx, ebp
jmp 0x4529a
mov rbp, r14
cmp rbp, r12
jne 0x4529e
xor ebx, ebx
test ebx, ebx
je 0x452d0
lea rcx, str.failed_to_parse_ticket_content
call fcn.0003f5b0
lea r8, str.d:code20210715_kernelsslpcmonitorpolarssl2_ssl_srv.c
mov r9d, 0x11c
mov edx, 1
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.0003f5f8
mov eax, ebx
jmp 0x4535d
call fcn.0003141c
sub eax, dword [rsp + 0x40]
cmp eax, dword [rdi + 0x1f8]
jle 0x45313
lea rcx, str.session_ticket_expired
call fcn.0003f5b0
lea r8, str.d:code20210715_kernelsslpcmonitorpolarssl2_ssl_srv.c
mov r9d, 0x125
mov edx, 1
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.0003f5f8
mov eax, 0xffff9280
jmp 0x4535d
mov rdx, qword [rdi + 0xd0]
lea rcx, [rsp + 0x58]
mov r8, qword [rdx + 0x10]
add rdx, 0x18
mov qword [rsp + 0x50], r8
call fcn.000550e0
mov rcx, qword [rdi + 0xd0]
call fcn.000310dc
mov rcx, qword [rdi + 0xd0]
lea rdx, [rsp + 0x40]
mov r8d, 0x98
call fcn.000550e0
xor eax, eax
jmp 0x4535d
mov eax, 0xffff8f00
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.00055060
mov rbx, qword [rsp + 0x168]
add rsp, 0x110
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret