Function at 0x1400340a4
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
mov eax, 0x1088
call fcn.14013dce0
sub rsp, rax
mov rsi, rcx
lea rdi, [rsp + 0x68]
mov r8d, 0x1020
mov rcx, rdi
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov ebx, 0x800
mov r14d, 0xffffffff
mov r15, qword [sym.imp.ADVAPI32.dll_SystemFunction036]
test rbx, rbx
je 0x14003415c
cmp rbx, r14
mov edx, 0xffffffff
cmovb rdx, rbx
sub rbx, rdx
lea r12, [rdi + rdx]
mov rcx, rdi
call r15
mov rdi, r12
test al, al
jne 0x1400340e4
call fcn.140034593
lea rcx, [rsp + 0x20]
mov qword [rcx], rax
lea rax, [rsp + 0x28]
mov qword [rax], rcx
lea rdx, [0x14014af78]
lea rcx, [rsp + 0x38]
mov qword [rcx], rdx
mov edx, 1
mov qword [rcx + 8], rdx
and qword [rcx + 0x20], 0
lea r8, [0x14004dcd0]
mov qword [rax + 8], r8
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], rdx
lea rdx, str.C:Usersuser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_rand_0.4.6_srcos.rscouldnt_generate_random_bytes:
call fcn.14013f6e0
ud2
xorps xmm0, xmm0
movups xmmword [rsp + 0x1078], xmm0
movups xmmword [rsp + 0x1068], xmm0
movabs rcx, 0x647c4677a2884b7c
movabs rax, 0xb9f8b322c73ac862
movabs rdx, 0x8c0ea5053d4712a0
movabs r9, 0xb29b2e824a595524
movabs r8, 0x82f053db8355e0ce
movabs r11, 0x48fe4a0fa5a09315
movabs r10, 0xae985bf2cbfc89ed
movabs rdi, 0x98f5704f6c44c0ab
mov ebx, 0x838
cmp rbx, 0x1038
je 0x1400342c8
add rcx, qword [rsp + rbx - 0x7d0]
add rax, qword [rsp + rbx - 0x7c8]
add rdx, qword [rsp + rbx - 0x7c0]
add r9, qword [rsp + rbx - 0x7b8]
add r8, qword [rsp + rbx - 0x7b0]
add r11, qword [rsp + rbx - 0x7a8]
add r10, qword [rsp + rbx - 0x7a0]
add rdi, qword [rsp + rbx - 0x798]
sub rcx, r8
mov r14, rdi
shr r14, 9
xor r14, r11
add rdi, rcx
sub rax, r14
lea r11, [rax + rcx]
shl rcx, 9
xor rcx, r10
sub rdx, rcx
mov r15, rax
shr r15, 0x17
xor r15, rdi
add rax, rdx
sub r9, r15
lea r10, [r9 + rdx]
shl rdx, 0xf
mov r12, rdx
xor r12, r11
sub r8, r12
lea rdi, [r8 + r9]
shr r9, 0xe
xor rax, r9
sub r14, rax
lea r9, [r14 + r8]
shl r8, 0x14
mov rdx, r8
xor rdx, r10
sub rcx, rdx
lea r11, [rcx + r14]
shr r14, 0x11
xor r14, rdi
sub r15, r14
lea r10, [r15 + rcx]
shl rcx, 0xe
xor rcx, r9
mov qword [rsp + rbx + 0x30], r12
mov qword [rsp + rbx + 0x38], rax
mov qword [rsp + rbx + 0x40], rdx
mov qword [rsp + rbx + 0x48], r14
mov qword [rsp + rbx + 0x50], rcx
mov qword [rsp + rbx + 0x58], r11
mov qword [rsp + rbx + 0x60], r10
mov qword [rsp + rbx + 0x68], r15
add rbx, 0x40
mov rdi, r15
mov r8, rcx
mov r9, r14
mov rcx, r12
jmp 0x1400341c4
mov ebx, 0x838
cmp rbx, 0x1038
je 0x1400343b9
add rcx, qword [rsp + rbx + 0x30]
add rax, qword [rsp + rbx + 0x38]
add rdx, qword [rsp + rbx + 0x40]
add r9, qword [rsp + rbx + 0x48]
add r8, qword [rsp + rbx + 0x50]
add r11, qword [rsp + rbx + 0x58]
add r10, qword [rsp + rbx + 0x60]
add rdi, qword [rsp + rbx + 0x68]
sub rcx, r8
mov r14, rdi
shr r14, 9
xor r14, r11
add rdi, rcx
sub rax, r14
lea r11, [rax + rcx]
shl rcx, 9
xor rcx, r10
sub rdx, rcx
mov r15, rax
shr r15, 0x17
xor r15, rdi
add rax, rdx
sub r9, r15
lea r10, [r9 + rdx]
shl rdx, 0xf
mov r12, rdx
xor r12, r11
sub r8, r12
lea rdi, [r8 + r9]
shr r9, 0xe
xor rax, r9
sub r14, rax
lea r9, [r14 + r8]
shl r8, 0x14
mov rdx, r8
xor rdx, r10
sub rcx, rdx
lea r11, [rcx + r14]
shr r14, 0x11
xor r14, rdi
sub r15, r14
lea r10, [r15 + rcx]
shl rcx, 0xe
xor rcx, r9
mov qword [rsp + rbx + 0x30], r12
mov qword [rsp + rbx + 0x38], rax
mov qword [rsp + rbx + 0x40], rdx
mov qword [rsp + rbx + 0x48], r14
mov qword [rsp + rbx + 0x50], rcx
mov qword [rsp + rbx + 0x58], r11
mov qword [rsp + rbx + 0x60], r10
mov qword [rsp + rbx + 0x68], r15
add rbx, 0x40
mov rdi, r15
mov r8, rcx
mov r9, r14
mov rcx, r12
jmp 0x1400342cd
lea rdi, [rsi + 8]
lea rbx, [rsp + 0x68]
mov rcx, rbx
call fcn.1400343f0
mov r8d, 0x1020
mov rcx, rdi
mov rdx, rbx
call sub.VCRUNTIME140.dll_memcpy
and qword [rsi], 0
add rsp, 0x1088
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret