Function at 0x140033000
Capabilities:
Generate random numbers via rtlgenrandom
Generate random numbers via winapi

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x398
movaps xmmword [rsp + 0x380], xmm6
mov rbx, r8
mov rax, qword [r8 + 0x30]
mov qword [rsp + 0x80], rax
movups xmm0, xmmword [r8]
movups xmm1, xmmword [r8 + 0x10]
movups xmm2, xmmword [r8 + 0x20]
movaps xmmword [rsp + 0x70], xmm2
movaps xmmword [rsp + 0x60], xmm1
movaps xmmword [rsp + 0x50], xmm0
mov r8, qword [rsp + 0x50]
mov rax, qword [r8 + 0x20]
cmp rax, 0x31
jae 0x1400334cb
mov rdi, rdx
mov rsi, rcx
mov rcx, qword [rdx + 0x10]
mov r9, qword [rcx]
mov rcx, qword [r9 + 0x18]
cmp rcx, 7
jae 0x1400334e1
lea rdx, [rcx*8]
cmp rdx, rax
jne 0x14003349d
mov qword [rsp + 0x48], r8
lea r8, [rsp + 0x58]
sub r9, 0xffffffffffffff80
xorps xmm6, xmm6
movaps xmmword [rsp + 0x240], xmm6
movaps xmmword [rsp + 0x230], xmm6
movaps xmmword [rsp + 0x220], xmm6
mov qword [rsp + 0x30], rcx
lea rdx, [rsp + 0x220]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rcx
mov rcx, r8
mov rdx, rax
xor r8d, r8d
call fcn.14002bab0
test al, al
jne 0x14003349d
movaps xmm0, xmmword [rsp + 0x220]
movaps xmm1, xmmword [rsp + 0x230]
movaps xmm2, xmmword [rsp + 0x240]
movaps xmmword [rsp + 0x320], xmm2
movaps xmmword [rsp + 0x310], xmm1
movaps xmmword [rsp + 0x300], xmm0
mov r8, qword [rdi + 8]
mov rax, qword [r8]
mov rax, qword [rax + 8]
movaps xmmword [rsp + 0x240], xmm6
movaps xmmword [rsp + 0x230], xmm6
movaps xmmword [rsp + 0x220], xmm6
add r8, 0x10
lea rcx, [rsp + 0x220]
lea rdx, [rsp + 0x300]
call rax
movaps xmm0, xmmword [rsp + 0x220]
movaps xmm1, xmmword [rsp + 0x230]
movaps xmm2, xmmword [rsp + 0x240]
movaps xmmword [rsp + 0xb0], xmm2
movaps xmmword [rsp + 0xa0], xmm1
movaps xmmword [rsp + 0x90], xmm0
mov rax, qword [rdi]
mov qword [rsp + 0x40], rdi
mov r14, qword [rdi + 0x18]
movaps xmmword [rsp + 0x210], xmm6
movaps xmmword [rsp + 0x200], xmm6
movaps xmmword [rsp + 0x1f0], xmm6
movaps xmmword [rsp + 0x1e0], xmm6
mov rdi, qword [rax + 0x20]
cmp rdi, 0x41
jae 0x1400334f4
test rdi, rdi
je 0x14003321f
lea r12, [rsp + 0x1e0]
mov ebp, 0xffffffff
mov r15, rdi
jmp 0x1400331d8
add r12, r13
sub r15, r13
je 0x14003321f
cmp r15, rbp
mov r13d, 0xffffffff
cmovb r13, r15
xor ecx, ecx
mov rdx, r12
mov r8d, r13d
mov r9d, 2
call sub.bcrypt.dll_BCryptGenRandom
cmp eax, 0xbfffffff
jbe 0x1400331d0
mov rcx, r12
mov edx, r13d
call sub.ADVAPI32.dll_SystemFunction036
test al, al
jne 0x1400331d0
lea rax, [0x14015074e]
mov ecx, 0xa
jmp 0x140033472
movups xmm0, xmmword [r14 + 0x30]
movups xmm1, xmmword [r14 + 0x40]
movups xmm2, xmmword [r14 + 0x50]
movups xmm3, xmmword [r14 + 0x60]
movups xmmword [rsp + 0x140], xmm3
movups xmmword [rsp + 0x130], xmm2
movups xmmword [rsp + 0x120], xmm1
movups xmmword [rsp + 0x110], xmm0
xorps xmm0, xmm0
movups xmmword [rsp + 0x158], xmm0
movups xmmword [rsp + 0x168], xmm0
movups xmmword [rsp + 0x178], xmm0
movups xmmword [rsp + 0x188], xmm0
movups xmmword [rsp + 0x198], xmm0
movups xmmword [rsp + 0x1a8], xmm0
movups xmmword [rsp + 0x1b8], xmm0
movups xmmword [rsp + 0x1c8], xmm0
mov qword [rsp + 0x108], r14
mov qword [rsp + 0x150], 0
mov qword [rsp + 0x1d8], 0
lea rcx, [rsp + 0x108]
lea rdx, [rsp + 0x1e0]
mov r8, rdi
call fcn.140030730
mov rax, qword [rsp + 0x48]
mov r8, qword [rax + 0x20]
cmp r8, 0x31
jae 0x14003350a
lea r15, [rsp + 0x108]
mov rcx, r15
lea rdx, [rsp + 0x58]
call fcn.140030730
lea rcx, [rsp + 0x220]
mov r8d, 0xd8
mov rdx, r15
call sub.msvcrt.dll_memcpy
mov rax, qword [rsp + 0x220]
mov r9, qword [rax + 0x20]
movups xmm0, xmmword [rsp + 0x148]
movaps xmmword [rsp + 0x370], xmm0
movups xmm0, xmmword [rsp + 0x108]
movups xmm1, xmmword [rsp + 0x118]
movups xmm2, xmmword [rsp + 0x128]
movups xmm3, xmmword [rsp + 0x138]
movaps xmmword [rsp + 0x360], xmm3
movaps xmmword [rsp + 0x350], xmm2
movaps xmmword [rsp + 0x340], xmm1
movaps xmmword [rsp + 0x330], xmm0
cmp r9, 0x81
jae 0x140033523
lea r8, [rsp + 0x270]
mov rax, qword [rsp + 0x2f0]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0xc0]
lea rdx, [rsp + 0x330]
call fcn.140030a30
mov rax, qword [rsp + 0xc0]
test rax, rax
mov rcx, qword [rsp + 0x40]
je 0x140033462
add rbx, 0x38
movups xmm0, xmmword [rsp + 0xc8]
movups xmm1, xmmword [rsp + 0xd8]
movups xmm2, xmmword [rsp + 0xe8]
movups xmm3, xmmword [rsp + 0xf8]
movups xmmword [rsi + 0x38], xmm3
movups xmmword [rsi + 0x28], xmm2
movups xmmword [rsi + 0x18], xmm1
movaps xmm1, xmmword [rsp + 0x90]
movaps xmm2, xmmword [rsp + 0xa0]
movaps xmm3, xmmword [rsp + 0xb0]
movups xmmword [rsi + 0x70], xmm3
movups xmmword [rsi + 0x60], xmm2
movups xmmword [rsi + 0x50], xmm1
movups xmm1, xmmword [rbx]
movups xmm2, xmmword [rbx + 0x10]
movups xmm3, xmmword [rbx + 0x20]
movups xmm4, xmmword [rbx + 0x30]
movups xmmword [rsi + 0x80], xmm1
movups xmmword [rsi + 0x90], xmm2
movups xmmword [rsi + 0xa0], xmm3
movups xmmword [rsi + 0xb0], xmm4
movups xmm1, xmmword [rbx + 0x40]
movups xmmword [rsi + 0xc0], xmm1
movups xmm1, xmmword [rbx + 0x50]
movups xmmword [rsi + 0xd0], xmm1
movups xmm1, xmmword [rbx + 0x60]
movups xmmword [rsi + 0xe0], xmm1
mov qword [rsi], rax
movups xmmword [rsi + 8], xmm0
mov qword [rsi + 0x48], rcx
jmp 0x140033481
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xd0]
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rcx
mov qword [rsi], 0
movaps xmm6, xmmword [rsp + 0x380]
add rsp, 0x398
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rax, str._Users_caojian_.cargo_registry_src_index.crates.io_6f17d22bba15001f_ring_0.17.8_src_ec_suite_b_private_key.rs
mov qword [rsp + 0x20], rax
lea rcx, str.called__Result::unwrap____on_an__Err__value
lea r9, [0x14014ec50]
lea r8, [rsp + 0x220]
mov edx, 0x2b
call fcn.140008040
ud2
lea r8, str._Users_caojian_.cargo_registry_src_index.crates.io_6f17d22bba15001f_ring_0.17.8_src_ec_keys.rs
mov edx, 0x30
mov rcx, rax
call fcn.140006660
ud2
lea r8, str._Users_caojian_.cargo_registry_src_index.crates.io_6f17d22bba15001f_ring_0.17.8_src_ec_suite_b_ops.rs
mov edx, 6
call fcn.140006660
ud2
lea r8, [0x14014fd58]
mov edx, 0x40
mov rcx, rdi
call fcn.140006660
ud2
lea rax, str._Users_caojian_.cargo_registry_src_index.crates.io_6f17d22bba15001f_ring_0.17.8_src_ec_keys.rs
mov edx, 0x30
mov rcx, r8
mov r8, rax
call fcn.140006660
ud2
lea r8, str._Users_caojian_.cargo_registry_src_index.crates.io_6f17d22bba15001f_ring_0.17.8_src_digest.rs
mov edx, pe_nt_image_headers64
mov rcx, r9
call fcn.140006660
ud2