Function at 0x14029eac0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x388
movaps xmmword [rsp + 0x370], xmm6
mov rdi, rdx
mov rax, qword [r8 + 0x30]
mov qword [rsp + 0x70], rax
movups xmm0, xmmword [r8]
movups xmm1, xmmword [r8 + 0x10]
movups xmm2, xmmword [r8 + 0x20]
movaps xmmword [rsp + 0x60], xmm2
movaps xmmword [rsp + 0x50], xmm1
movaps xmmword [rsp + 0x40], xmm0
mov rax, qword [rsp + 0x40]
mov rdx, qword [rax + 0x20]
cmp rdx, 0x31
jae 0x14029efd3
mov rsi, rcx
mov rax, qword [rdi + 0x10]
mov r9, qword [rax]
mov rcx, qword [r9 + 0x20]
cmp rcx, 7
jae 0x14029efe7
lea rax, [rcx*8]
cmp rax, rdx
jne 0x14029efa7
mov rbx, r8
lea r14, [rsp + 0x48]
add r9, 0x88
xorps xmm6, xmm6
movaps xmmword [rsp + 0xd0], xmm6
movaps xmmword [rsp + 0xc0], xmm6
movaps xmmword [rsp + 0xb0], xmm6
mov qword [rsp + 0x30], rcx
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov rcx, r14
xor r8d, r8d
call fcn.1402996b0
test al, al
jne 0x14029efa7
movaps xmm0, xmmword [rsp + 0xb0]
movaps xmm1, xmmword [rsp + 0xc0]
movaps xmm2, xmmword [rsp + 0xd0]
movaps xmmword [rsp + 0x310], xmm2
movaps xmmword [rsp + 0x300], xmm1
movaps xmmword [rsp + 0x2f0], xmm0
mov r8, qword [rdi + 8]
mov rax, qword [r8]
mov rax, qword [rax + 0x10]
movaps xmmword [rsp + 0xd0], xmm6
movaps xmmword [rsp + 0xc0], xmm6
movaps xmmword [rsp + 0xb0], xmm6
add r8, 8
lea rcx, [rsp + 0xb0]
lea rdx, [rsp + 0x2f0]
call rax
movaps xmm0, xmmword [rsp + 0xb0]
movaps xmm1, xmmword [rsp + 0xc0]
movaps xmm2, xmmword [rsp + 0xd0]
movaps xmmword [rsp + 0xa0], xmm2
movaps xmmword [rsp + 0x90], xmm1
movaps xmmword [rsp + 0x80], xmm0
mov rax, qword [rdi]
mov r12, qword [rdi + 0x18]
movaps xmmword [rsp + 0x2e0], xmm6
movaps xmmword [rsp + 0x2d0], xmm6
movaps xmmword [rsp + 0x2c0], xmm6
movaps xmmword [rsp + 0x2b0], xmm6
mov r15, qword [rax + 0x20]
cmp r15, 0x41
jae 0x14029eff8
test r15, r15
je 0x14029ec7c
lea rcx, [rsp + 0x2b0]
mov edx, r15d
call sub.advapi32.dll_SystemFunction036
test al, al
je 0x14029ef3d
movups xmm0, xmmword [r12 + 0x30]
movups xmm1, xmmword [r12 + 0x40]
movups xmm2, xmmword [r12 + 0x50]
movups xmm3, xmmword [r12 + 0x60]
movups xmmword [rsp + 0x1c8], xmm3
movups xmmword [rsp + 0x1b8], xmm2
movups xmmword [rsp + 0x1a8], xmm1
movups xmmword [rsp + 0x198], xmm0
mov rax, qword [0x1405c4228]
test rax, rax
jne 0x14029ed19
mov ecx, 1
xor eax, eax
lock cmpxchg qword [0x1405c4228], rcx
jne 0x14029ed19
lea rax, [0x1405c4228]
mov qword [rsp + 0xb0], rax
call fcn.1403d56c0
mov byte [0x1405c4230], 1
mov byte [rsp + 0xb8], 0
mov eax, 2
xchg qword [0x1405c4228], rax
lea rcx, [rsp + 0xb0]
call fcn.1402c7e10
jmp 0x14029ed29
pause
mov rax, qword [0x1405c4228]
cmp rax, 1
je 0x14029ed10
cmp rax, 2
jne 0x14029ef71
xorps xmm0, xmm0
movups xmmword [rsp + 0x250], xmm0
movups xmmword [rsp + 0x240], xmm0
movups xmmword [rsp + 0x230], xmm0
movups xmmword [rsp + 0x220], xmm0
movups xmmword [rsp + 0x210], xmm0
movups xmmword [rsp + 0x200], xmm0
movups xmmword [rsp + 0x1f0], xmm0
movups xmmword [rsp + 0x1e0], xmm0
mov qword [rsp + 0x190], r12
mov qword [rsp + 0x1d8], 0
mov qword [rsp + 0x260], 0
lea rcx, [rsp + 0x190]
lea rdx, [rsp + 0x2b0]
mov r8, r15
call fcn.140293ce0
mov rax, qword [rsp + 0x40]
mov r8, qword [rax + 0x20]
cmp r8, 0x31
jae 0x14029f00c
lea r15, [rsp + 0x190]
mov rcx, r15
mov rdx, r14
call fcn.140293ce0
lea rcx, [rsp + 0xb0]
mov r8d, 0xd8
mov rdx, r15
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsp + 0xb0]
mov r9, qword [rax + 0x20]
movups xmm0, xmmword [rsp + 0x1d0]
movaps xmmword [rsp + 0x360], xmm0
movups xmm0, xmmword [rsp + 0x190]
movups xmm1, xmmword [rsp + 0x1a0]
movups xmm2, xmmword [rsp + 0x1b0]
movups xmm3, xmmword [rsp + 0x1c0]
movaps xmmword [rsp + 0x350], xmm3
movaps xmmword [rsp + 0x340], xmm2
movaps xmmword [rsp + 0x330], xmm1
movaps xmmword [rsp + 0x320], xmm0
cmp r9, 0x81
jae 0x14029f023
lea r8, [rsp + 0x100]
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x268]
lea rdx, [rsp + 0x320]
call fcn.1402939a0
mov rdx, qword [rsp + 0x268]
mov rax, qword [rsp + 0x270]
mov rcx, qword [rsp + 0x278]
test rdx, rdx
je 0x14029ef49
add rbx, 0x38
movups xmm0, xmmword [rsp + 0x280]
movups xmm1, xmmword [rsp + 0x290]
movups xmm2, xmmword [rsp + 0x2a0]
movups xmmword [rsi + 0x38], xmm2
movups xmmword [rsi + 0x28], xmm1
movups xmmword [rsi + 0x18], xmm0
movups xmm0, xmmword [rbx + 0x60]
movups xmmword [rsi + 0xe0], xmm0
movups xmm0, xmmword [rbx + 0x50]
movups xmmword [rsi + 0xd0], xmm0
movups xmm0, xmmword [rbx + 0x40]
movups xmmword [rsi + 0xc0], xmm0
movups xmm0, xmmword [rbx]
movups xmm1, xmmword [rbx + 0x10]
movups xmm2, xmmword [rbx + 0x20]
movups xmm3, xmmword [rbx + 0x30]
movups xmmword [rsi + 0xb0], xmm3
movups xmmword [rsi + 0xa0], xmm2
movups xmmword [rsi + 0x90], xmm1
movups xmmword [rsi + 0x80], xmm0
movaps xmm0, xmmword [rsp + 0x80]
movaps xmm1, xmmword [rsp + 0x90]
movaps xmm2, xmmword [rsp + 0xa0]
movups xmmword [rsi + 0x50], xmm0
movups xmmword [rsi + 0x60], xmm1
movups xmmword [rsi + 0x70], xmm2
mov qword [rsi], rdx
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rcx
mov qword [rsi + 0x48], rdi
jmp 0x14029ef58
lea rax, str.RNG_failed
mov ecx, 0xa
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rcx
mov qword [rsi], 0
movaps xmm6, xmmword [rsp + 0x370]
add rsp, 0x388
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
cmp rax, 3
jne 0x14029ef8f
lea rcx, str.Once_has_panicked
lea r8, [0x140469df0]
mov edx, 0x11
call fcn.1403f1d50
lea rcx, [0x140469d3b]
lea r8, [0x140469dc0]
mov edx, 0x28
call fcn.1403f1d50
lea rax, [0x14046b2f8]
mov qword [rsp + 0x20], rax
lea rcx, str.called__Result::unwrap____on_an__Err__valueC:Userswarden.cargo_registry_srcindex.crates.io_6f17d22bba15001f_ring_0.16.20_srcec_suite_bprivate_key.rs
lea r9, [0x14046b238]
lea r8, [rsp + 0xb0]
mov edx, 0x2b
call fcn.1403f2080
lea r8, [0x14046aaf0]
mov rcx, rdx
mov edx, 0x30
call fcn.1403f21c0
lea r8, [0x14046aca8]
mov edx, 6
call fcn.1403f21c0
lea r8, [0x14046b580]
mov edx, 0x40
mov rcx, r15
call fcn.1403f21c0
lea rax, [0x14046aaf0]
mov edx, 0x30
mov rcx, r8
mov r8, rax
call fcn.1403f21c0
lea r8, [0x1404699e8]
mov edx, 0x80
mov rcx, r9
call fcn.1403f21c0
int3