Function at 0x1800165f4
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xf0
mov rax, qword [0x180066008]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov eax, dword [rcx + 0xb8]
lea rbx, [rcx - 0x7b8]
mov rdi, rcx
bt eax, 0xf
jae 0x18001667e
test byte [0x180067c72], 0x40
je 0x18001665c
movzx r9d, word [rcx + 0x20]
lea rax, str.Received_alert_from_TLS
mov r8, rbx
mov qword [rsp + 0x20], rax
lea rdx, [0x180056d78]
call fcn.180042260
movzx eax, word [rdi + 0x20]
movzx r8d, al
bts r8, 8
mov edx, 2
xor r9d, r9d
mov rcx, rbx
call fcn.180002830
jmp 0x180016ae5
test al, 0x10
je 0x1800166bd
test byte [0x180067c73], 4
je 0x1800166bd
lea r9, str.0_RTT_accepted
or r8, 0xffffffffffffffff
mov edx, 0x80
lea rcx, [rbp - 0x39]
call fcn.180042088
lea r9, [rbp - 0x39]
mov r8, rbx
lea rdx, [0x180056cc8]
call fcn.180041678
mov eax, dword [rdi + 0xb8]
mov r12d, 1
test al, 0x20
je 0x180016722
test byte [0x180067c73], 4
je 0x1800166fc
lea r9, str.0_RTT_rejected
or r8, 0xffffffffffffffff
lea edx, [r12 + 0x7f]
lea rcx, [rbp - 0x39]
call fcn.180042088
lea r9, [rbp - 0x39]
mov r8, rbx
lea rdx, [0x180056cc8]
call fcn.180041678
cmp dword [rbx], 3
jne 0x18001671a
mov edx, r12d
mov rcx, rdi
call fcn.1800176e8
lea rcx, [rbx + 0x750]
call fcn.18004a178
jmp 0x180016722
mov rcx, rbx
call fcn.1800451c8
test byte [rdi + 0xb8], 8
je 0x1800167c4
test byte [0x180067c72], r12b
je 0x18001674b
mov r9b, byte [rdi + 0x1c]
lea rdx, [0x18005af48]
mov r8, rbx
call fcn.180044c50
mov eax, dword [rdi + 0x1c]
cmp eax, 2
jne 0x180016765
cmp dword [rbx], 3
jne 0x18001678a
xor edx, edx
mov rcx, rdi
call fcn.1800176e8
mov eax, dword [rdi + 0x1c]
cmp eax, 3
jne 0x18001678a
cmp dword [rbx], eax
jne 0x180016779
mov edx, r12d
mov rcx, rdi
call fcn.1800176e8
lea rcx, [rbx + 0xa08]
mov edx, 8
call fcn.180015bcc
cmp dword [rbx], 4
mov eax, dword [rdi + 0x1c]
jne 0x1800167a2
cmp eax, 3
jne 0x1800167c4
mov eax, dword [rdi + 0x30]
mov dword [rbx + 0xb24], eax
jmp 0x1800167c4
cmp eax, 2
jne 0x1800167b3
mov eax, dword [rdi + 0x2c]
mov dword [rbx + 0xb20], eax
mov eax, dword [rdi + 0x1c]
cmp eax, 3
jne 0x1800167c4
mov eax, dword [rdi + 0x30]
sub eax, dword [rdi + 0x2c]
mov dword [rbx + 0xb28], eax
test byte [rdi + 0xb8], 4
je 0x180016928
lea r8, [rdi + 0x170]
mov rcx, r8
call fcn.180022650
cmp rax, qword [r8 + 0x28]
jbe 0x180016810
test byte [0x180067c72], 0x40
je 0x180016805
lea r9, str.Leftover_crypto_data_in_previous_encryption_level.
mov r8, rbx
lea rdx, [0x180056b38]
call fcn.180041678
mov r8d, 0xa
jmp 0x180016669
mov eax, dword [rdi + 0x168]
mov dword [rdi + 0x16c], eax
test byte [0x180067c72], r12b
je 0x180016838
mov r9b, byte [rdi + 0x18]
lea rdx, [0x18005b068]
mov r8, rbx
call fcn.180044c50
cmp dword [rbx], 4
mov eax, dword [rdi + 0x18]
jne 0x18001686d
cmp eax, 2
jne 0x180016854
mov eax, dword [rdi + 0x168]
mov dword [rbx + 0xb20], eax
mov eax, dword [rdi + 0x18]
cmp eax, 3
jne 0x18001687e
mov eax, dword [rdi + 0x168]
sub eax, dword [rbx + 0xb20]
mov dword [rbx + 0xb28], eax
jmp 0x18001687e
cmp eax, 3
jne 0x18001687e
mov eax, dword [rdi + 0x168]
mov dword [rbx + 0xb24], eax
cmp qword [rbx + 0xaf8], 0
jne 0x1800168d5
lea rcx, [rbp - 0x49]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbp - 0x49]
xor edx, edx
mov ecx, dword [rbp - 0x49]
shr rax, 0x20
imul rax, rax, 0xf4240
div qword [0x180067c48]
mov r9, rax
shl rdx, 0x20
imul rax, rcx, 0xf4240
shl r9, 0x20
add rax, rdx
xor edx, edx
div qword [0x180067c48]
add rax, r9
mov qword [rbx + 0xaf8], rax
cmp dword [rdi + 0x18], 3
jne 0x180016928
lea rcx, [rbp - 0x49]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbp - 0x49]
xor edx, edx
mov ecx, dword [rbp - 0x49]
shr rax, 0x20
imul rax, rax, 0xf4240
div qword [0x180067c48]
mov r9, rax
shl rdx, 0x20
imul rax, rcx, 0xf4240
shl r9, 0x20
add rax, rdx
xor edx, edx
div qword [0x180067c48]
add rax, r9
mov qword [rbx + 0xb00], rax
mov eax, dword [rdi + 0xb8]
test al, 2
je 0x180016951
lea rcx, [rdi + 0x250]
mov edx, 2
call fcn.1800154f0
mov rcx, rdi
call fcn.1800056c4
mov eax, dword [rdi + 0xb8]
test al, 0x40
je 0x180016ad4
test byte [0x180067c71], 0x20
je 0x180016971
mov r8, rbx
lea rdx, [0x18005ade8]
call fcn.1800420e4
cmp dword [rbx], 4
jne 0x1800169c4
test byte [0x180067c73], 4
je 0x1800169ab
lea r9, str.Handshake_confirmed__server_
or r8, 0xffffffffffffffff
mov edx, 0x80
lea rcx, [rbp - 0x39]
call fcn.180042088
lea r9, [rbp - 0x39]
mov r8, rbx
lea rdx, [0x180056cc8]
call fcn.180041678
lea rcx, [rbx + 0xa08]
mov edx, 0x2000
call fcn.1800154f0
mov rcx, rdi
call fcn.18001f6d8
or byte [rbx + 0xe0], 8
mov rdx, r12
mov ecx, 5
call fcn.180015470
xor edx, edx
mov rcx, rbx
call fcn.180016568
cmp dword [rbx], 3
jne 0x180016a12
mov rcx, qword [rbx + 0x50]
mov rax, qword [rdi + 0x50]
lea rdx, [rcx + 0xca]
movzx ecx, word [rcx + 0xc8]
mov r8b, byte [rax]
lea r9, [rax + 1]
call fcn.18001f5b4
mov rdx, rax
mov qword [rdi + 0x50], rax
jmp 0x180016a16
mov rdx, qword [rdi + 0x50]
and dword [rbp - 0x69], 0
mov cl, byte [rdi + 0x10]
shr cl, 1
and cl, r12b
test byte [0x180067c73], 8
mov byte [rbp - 0x61], cl
mov al, byte [rdx]
mov byte [rbp - 0x60], al
lea rax, [rdx + 1]
mov qword [rbp - 0x59], rax
je 0x180016a6e
movzx eax, cl
lea r9, str.Indicating_QUIC_CONNECTION_EVENT_CONNECTED__Resume_hhu_
lea rcx, [rbp - 0x39]
mov dword [rsp + 0x20], eax
or r8, 0xffffffffffffffff
mov edx, 0x80
call fcn.180042088
lea r9, [rbp - 0x39]
mov r8, rbx
lea rdx, [0x180056c18]
call fcn.180041678
lea rdx, [rbp - 0x69]
mov rcx, rbx
call fcn.18001d4b4
mov al, byte [rdi + 0x10]
test al, 2
je 0x180016a91
mov rdx, r12
mov ecx, 3
call fcn.180015470
mov al, byte [rdi + 0x10]
and dword [rbx + 0xae8], 0xfffffff7
lea rcx, [rbx + 0x128]
movzx eax, al
mov rdx, rbx
and eax, 2
shl eax, 2
or dword [rbx + 0xae8], eax
call fcn.180039680
cmp dword [rbx], 4
jne 0x180016ad4
cmp dword [rdi + 0x30], 0
je 0x180016ad4
mov eax, dword [rdi + 0x28]
cmp dword [rdi + 0xc0], eax
jne 0x180016ad4
mov rcx, rbx
call fcn.1800275bc
test byte [rdi + 0xb8], 4
je 0x180016ae5
mov rcx, rbx
call fcn.180019690
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.180028c10
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r12, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret