Function at 0x1800113e0
Capabilities:
Check for time delay via queryperformancecounter
Generate random numbers via winapi

Disassembly:
mov r11, rsp
push rdi
push r13
push r14
push r15
sub rsp, 0x308
mov rax, qword [0x180066008]
xor rax, rsp
mov qword [rsp + 0x2e0], rax
mov qword [r11 - 0x38], rsi
xor r15b, r15b
movzx esi, byte [r8 + 0x26]
mov r13, r8
mov r14, rdx
mov rdi, rcx
test sil, sil
je 0x180011546
mov qword [r11 - 0x28], rbx
mov rbx, qword [rcx + 0x360]
mov qword [r11 - 0x30], rbp
mov rbp, qword [r8 + 0x10]
test rbx, rbx
je 0x180011536
nop dword [rax]
cmp sil, byte [rbx + 0x11]
jne 0x180011459
mov r8, rsi
lea rdx, [rbx + 0x20]
mov rcx, rbp
call fcn.1800386d0
test eax, eax
je 0x180011466
mov rbx, qword [rbx]
test rbx, rbx
jne 0x180011440
jmp 0x180011536
movzx eax, byte [rbx + 0x10]
test al, 0x10
jne 0x180011536
test byte [0x180067c73], 4
je 0x1800114cc
movzx r8d, sil
lea rcx, [rsp + 0x30]
mov rdx, rbp
call fcn.18004318c
lea r9, str.First_usage_of_SrcCid:__s
mov qword [rsp + 0x20], rax
mov edx, 0x80
lea rcx, [rsp + 0x260]
mov r8, 0xffffffffffffffff
call fcn.180042088
lea r9, [rsp + 0x260]
mov r8, rdi
lea rdx, [0x180056cc8]
call fcn.180041678
movzx eax, byte [rbx + 0x10]
or al, 0x10
mov byte [rbx + 0x10], al
test al, 1
je 0x180011533
cmp dword [rdi], 4
jne 0x180011536
mov rax, qword [rbx]
test rax, rax
je 0x180011536
test byte [rax + 0x10], 1
lea rsi, [rax - 0x18]
je 0x180011536
mov rax, qword [rax]
mov qword [rbx], rax
test byte [0x180067c72], 1
je 0x18001151f
mov r9, qword [rsi + 0x30]
lea rax, [rsi + 0x38]
mov qword [rsp + 0x28], rax
lea rdx, [0x180056b08]
movzx eax, byte [rsi + 0x29]
mov r8, rdi
mov byte [rsp + 0x20], al
call fcn.180044ea8
mov rcx, qword [0x180069238]
mov r8, rsi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x180011536
mov r15b, 1
mov rbx, qword [rsp + 0x300]
mov rbp, qword [rsp + 0x2f8]
mov rcx, qword [r14]
mov rsi, qword [rsp + 0x2f0]
movzx eax, byte [rcx + 1]
test al, 8
jne 0x1800116c0
or al, 8
mov byte [rcx + 1], al
mov rdx, qword [r14]
test byte [rdx + 1], 1
jne 0x1800116db
test r15b, r15b
jne 0x18001157b
cmp qword [rdx + 0x58], 0
jne 0x1800115c5
mov rcx, rdi
call fcn.180025e4c
mov qword [rdx + 0x58], rax
mov rax, qword [r14]
mov rcx, qword [rax + 0x58]
test rcx, rcx
jne 0x1800115be
test byte [0x180067c72], 0x40
je 0x1800115b5
lea r9, str.No_unused_CID_for_new_path
mov r8, rdi
lea rdx, [0x180056b38]
call fcn.180041678
mov rax, qword [r14]
and byte [rax + 1], 0xf7
jmp 0x18001179a
or byte [rcx + 0x20], 8
mov rdx, qword [r14]
or byte [rdx + 1], 0x80
lea rcx, [rsp + 0x250]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rsp + 0x250]
xor edx, edx
mov rax, rcx
mov ecx, ecx
shr rax, 0x20
imul rax, rax, 0xf4240
div qword [0x180067c48]
mov rax, rdx
imul rdx, rcx, 0xf4240
mov rcx, qword [r14]
shl rax, 0x20
add rax, rdx
xor edx, edx
div qword [0x180067c48]
mov dword [rcx + 0x88], eax
xor ecx, ecx
mov rdx, qword [r14]
sub rdx, 0xffffffffffffff80
lea r9d, [rcx + 2]
lea r8d, [rcx + 8]
call qword [sym.imp.bcrypt.dll_BCryptGenRandom]
movzx eax, byte [rdi + 0x121]
test al, 0x10
je 0x1800116ad
and al, 0xef
lea rcx, [rsp + 0x250]
or al, 0x80
mov byte [rdi + 0x121], al
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rsp + 0x250]
xor edx, edx
mov rax, rcx
mov ecx, ecx
shr rax, 0x20
imul rax, rax, 0xf4240
div qword [0x180067c48]
mov rax, rdx
imul rdx, rcx, 0xf4240
shl rax, 0x20
xor ecx, ecx
add rax, rdx
xor edx, edx
div qword [0x180067c48]
lea rdx, [rdi + 0x1a0]
lea r9d, [rcx + 2]
mov dword [rdi + 0x1a8], eax
lea r8d, [rcx + 8]
call qword [sym.imp.bcrypt.dll_BCryptGenRandom]
lea rcx, [rdi + 0xa08]
mov edx, 0x400
call fcn.1800154f0
jmp 0x1800116db
test r15b, r15b
je 0x1800116db
test al, 2
jne 0x1800116d6
mov rdx, rcx
mov rcx, rdi
call fcn.180025be4
jmp 0x1800116db
and al, 0xfd
mov byte [rcx + 1], al
movzx eax, byte [r13 + 0x2d]
and al, 0xc
cmp al, 0xc
jne 0x18001179a
mov rdx, qword [r14]
test byte [rdx + 1], 1
jne 0x18001179a
mov rcx, rdi
call fcn.180049e78
lea rax, [rdi + 0x120]
mov qword [r14], rax
test byte [0x180067c71], 0x20
je 0x180011733
lea rax, [rdi + 0x15c]
mov r9b, 0x1c
mov r8, rdi
mov qword [rsp + 0x20], rax
lea rdx, [0x180056c08]
call fcn.180042304
mov rax, qword [r14]
add rax, 0x3c
mov dword [rsp + 0x230], 5
test byte [0x180067c73], 8
mov qword [rsp + 0x238], rax
je 0x18001178a
lea r9, str.Indicating_QUIC_CONNECTION_EVENT_PEER_ADDRESS_CHANGED
mov edx, 0x80
mov r8, 0xffffffffffffffff
lea rcx, [rsp + 0x260]
call fcn.180042088
lea r9, [rsp + 0x260]
mov r8, rdi
lea rdx, [0x180056c18]
call fcn.180041678
lea rdx, [rsp + 0x230]
mov rcx, rdi
call fcn.18001d4b4
mov rcx, qword [rsp + 0x2e0]
xor rcx, rsp
call fcn.180028c10
add rsp, 0x308
pop r15
pop r14
pop r13
pop rdi
ret