Function at 0x14001a140
Capabilities:
Generate random numbers via winapi

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x1400f3e08]
xor rax, rsp
mov qword [rbp + 0x30], rax
xor r15d, r15d
movzx r14d, dl
test byte [0x1400f8b3b], 0x80
mov rbx, rcx
mov esi, r15d
lea rdi, [r15 - 1]
je 0x14001a1f6
lea r9, str.Peer_Transport_Parameters_Set
mov r8, rdi
mov edx, 0x80
lea rcx, [rbp - 0x50]
call fcn.1400015d0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x30], rbx
mov qword [rbp - 0x78], rax
lea rcx, [rbp - 0x50]
mov rax, rdi
mov qword [rbp - 0x70], 8
nop dword [rax]
inc rax
cmp byte [rcx + rax], sil
jne 0x14001a1c0
inc eax
mov dword [rbp - 0x5c], r15d
mov dword [rbp - 0x60], eax
lea rcx, [rbp - 0x50]
lea rax, [rsp + 0x78]
mov qword [rbp - 0x68], rcx
mov r9d, 3
mov qword [rsp + 0x20], rax
lea rdx, [0x1400d0508]
call fcn.140001460
or byte [rbx + 0xf2], 0x10
mov edx, dword [rbx + 0x670]
bt edx, 0xe
jae 0x14001a224
mov rcx, qword [rbx + 0x6d0]
movzx eax, byte [rbx + 0x106]
cmp rax, rcx
jbe 0x14001a22b
mov byte [rbx + 0x106], cl
jmp 0x14001a22b
mov byte [rbx + 0x106], 2
test r14b, r14b
jne 0x14001a4e9
test byte [rbx + 0xe3], 0x40
je 0x14001a255
bt edx, 0x13
jae 0x14001a255
mov rcx, rbx
call fcn.1400197a0
mov esi, eax
test eax, eax
js 0x14001a4c0
cmp dword [rbx], 3
jne 0x14001a283
test byte [rbx + 0xf3], 0x40
jne 0x14001a26c
cmp dword [rbx + 0xf40], r15d
je 0x14001a283
test dword [rbx + 0x670], 0x80000
jne 0x14001a283
mov r8d, SafeArrayLock
jmp 0x14001a4c8
test dword [rbx + 0x670], 0x100
je 0x14001a2a5
mov rax, qword [rbx + 0x4f8]
movups xmm0, xmmword [rbx + 0x708]
or byte [rax + 0x20], 0x40
movups xmmword [rax + 0x10], xmm0
cmp byte [rbx + 0xe3], r15b
jge 0x14001a2ed
test dword [rbx + 0x670], 0x400000
jbe 0x14001a2ed
mov r9d, 2
lea rdx, [rsp + 0x38]
xor ecx, ecx
lea r8d, [r9 - 1]
call qword [sym.imp.bcrypt.dll_BCryptGenRandom]
movzx eax, byte [rsp + 0x38]
add al, al
xor al, byte [rbx + 0xf4]
and al, 2
xor byte [rbx + 0xf4], al
or dword [rbx + 0xe48], 0x10
test byte [rbx + 0xe4], 8
je 0x14001a3b3
mov eax, dword [rbx + 0x670]
shr eax, 0x17
shl al, 2
xor al, byte [rbx + 0xf4]
and al, 4
mov dword [rsp + 0x40], reloc.WS2_32.dll_recv
xor al, byte [rbx + 0xf4]
mov byte [rbx + 0xf4], al
shr al, 2
and al, 1
test byte [0x1400f8b3c], 1
mov byte [rsp + 0x48], al
je 0x14001a3a6
movzx eax, al
lea r9, str.Indicating_QUIC_CONNECTION_EVENT_RELIABLE_RESET_NEGOTIATED__IsNegotiated_hhu_
mov r8, rdi
mov dword [rsp + 0x20], eax
mov edx, 0x80
lea rcx, [rbp - 0x50]
call fcn.1400015d0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x30], rbx
mov qword [rbp - 0x78], rax
lea rcx, [rbp - 0x50]
mov rax, rdi
mov qword [rbp - 0x70], 8
inc rax
cmp byte [rcx + rax], r15b
jne 0x14001a370
inc eax
mov dword [rbp - 0x5c], r15d
mov dword [rbp - 0x60], eax
lea rcx, [rbp - 0x50]
lea rax, [rsp + 0x78]
mov qword [rbp - 0x68], rcx
mov r9d, 3
mov qword [rsp + 0x20], rax
lea rdx, [0x1400d0190]
call fcn.140001460
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140015f70
test byte [rbx + 0xe4], 0x10
je 0x14001a4a3
mov eax, dword [rbx + 0x670]
mov ecx, eax
shr ecx, 0x18
shl cl, 3
xor cl, byte [rbx + 0xf4]
and cl, 8
shr eax, 0x19
xor cl, byte [rbx + 0xf4]
shl al, 4
xor al, cl
mov dword [rsp + 0x40], SafeArrayGetElement
and al, 0x10
xor cl, al
movzx edx, cl
mov byte [rbx + 0xf4], cl
shr dl, 3
shr cl, 4
and dl, 1
and cl, 1
mov byte [rsp + 0x48], dl
test byte [0x1400f8b3c], 1
mov byte [rsp + 0x49], cl
je 0x14001a496
movzx eax, cl
lea r9, str.Indicating_QUIC_CONNECTION_EVENT_ONE_WAY_DELAY_NEGOTIATED__Send_hhu_Recv_hhu_
movzx ecx, dl
mov r8, rdi
mov dword [rsp + 0x28], eax
mov edx, 0x80
mov dword [rsp + 0x20], ecx
lea rcx, [rbp - 0x50]
call fcn.1400015d0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x30], rbx
mov qword [rbp - 0x78], rax
lea rcx, [rbp - 0x50]
mov rax, rdi
mov qword [rbp - 0x70], 8
nop word [rax + rax]
inc rax
cmp byte [rcx + rax], r15b
jne 0x14001a460
inc eax
mov dword [rbp - 0x5c], r15d
mov dword [rbp - 0x60], eax
lea rcx, [rbp - 0x50]
lea rax, [rsp + 0x78]
mov qword [rbp - 0x68], rcx
mov r9d, 3
mov qword [rsp + 0x20], rax
lea rdx, [0x1400d0190]
call fcn.140001460
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140015f70
mov rcx, rbx
call fcn.1400195e0
test al, al
je 0x14001a4c0
cmp dword [rbx], 3
jne 0x14001a4e9
mov rcx, rbx
call fcn.14001a5f0
test al, al
jne 0x14001a4e9
test esi, esi
jne 0x14001a4e2
lea r8d, [rsi + 8]
xor r9d, r9d
mov word [rsp + 0x20], r15w
mov rcx, rbx
lea edx, [r9 + 2]
call fcn.140017410
mov esi, 0x80410004
mov eax, esi
jmp 0x14001a5c5
mov rax, qword [rbx + 0x698]
lea rcx, [rbx + 0x808]
mov r8, qword [rbx + 0x6a8]
test r14b, r14b
mov rdx, qword [rbx + 0x6a0]
sete r9b
mov qword [rbx + 0xd80], rax
call fcn.14003bef0
lea rcx, [rbx + 0xde0]
call fcn.140036500
test byte [rbx + 0xf0], 4
je 0x14001a5c3
movzx eax, byte [rbx + 0xf1]
test al, 8
je 0x14001a5bb
test dword [rbx + 0x670], 0x40000
je 0x14001a5bb
test byte [0x1400f8b3b], 0x80
je 0x14001a5c3
lea r9, str.Negotiated_Disable_1_RTT_Encryption
mov r8, rdi
mov edx, 0x80
lea rcx, [rbp - 0x50]
call fcn.1400015d0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x30], rbx
mov qword [rbp - 0x78], rax
lea rax, [rbp - 0x50]
mov qword [rbp - 0x70], 8
inc rdi
cmp byte [rax + rdi], r15b
jne 0x14001a583
lea rax, [rbp - 0x50]
mov dword [rbp - 0x5c], r15d
mov qword [rbp - 0x68], rax
lea rdx, [0x1400d0508]
lea rax, [rsp + 0x78]
inc edi
mov r9d, 3
mov qword [rsp + 0x20], rax
mov dword [rbp - 0x60], edi
call fcn.140001460
jmp 0x14001a5c3
and al, 0xf7
mov byte [rbx + 0xf1], al
xor eax, eax
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.14007f5b0
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret