Function at 0x140002a50
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 - 0x47]
sub rsp, 0xa0
mov rax, qword [0x14000a040]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rdi, rcx
mov qword [rbp - 9], rcx
xor r14d, r14d
mov dword [rbp - 0x29], r14d
xorps xmm0, xmm0
movups xmmword [rbp + 0x1f], xmm0
mov ecx, 0x40
call fcn.140005210
mov rsi, rax
mov qword [rbp + 0x1f], rax
mov qword [rbp + 0x2f], 0x3e
mov qword [rbp + 0x37], 0x3f
movups xmm0, xmmword [str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x140007660]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [0x140007670]
movups xmmword [rax + 0x20], xmm0
movsd xmm0, qword [0x140007680]
movsd qword [rax + 0x30], xmm0
mov eax, dword [0x140007688]
mov dword [rsi + 0x38], eax
movzx eax, word [0x14000768c]
mov word [rsi + 0x3c], ax
mov byte [rsi + 0x3e], r14b
xorps xmm1, xmm1
movdqu xmmword [rbp + 7], xmm1
mov qword [rbp + 0x17], r14
mov ecx, 0x20
call fcn.140005210
mov rcx, rax
mov qword [rbp + 7], rax
add rax, 0x20
mov qword [rbp + 0x17], rax
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
movups xmmword [rcx + 0x10], xmm0
mov qword [rbp + 0xf], rax
mov qword [rbp - 1], r14
mov dword [rsp + 0x20], 0xf0000000
mov r9d, 1
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 1]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x140002ccf
mov r8, qword [rbp + 7]
mov edx, 0x20
mov rcx, qword [rbp - 1]
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
xor edx, edx
mov rcx, qword [rbp - 1]
test eax, eax
je 0x140002ca8
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], send
mov byte [rdi], r14b
mov dword [rbp - 0x29], 1
mov edx, 0x20
mov rcx, rdi
call fcn.1400041c0
mov qword [rdi + 0x10], r14
mov ebx, r14d
movabs r15, 0x842108421084211
nop word [rax + rax]
mov rax, qword [rbp + 7]
movzx ecx, byte [rax + rbx]
mov rax, r15
mul rcx
mov eax, ecx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 5
imul rax, rax, 0x3e
sub rcx, rax
movzx r9d, byte [rcx + rsi]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x140002c15
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0xf
jbe 0x140002c0a
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140002c1d
mov rcx, rdi
call fcn.140004310
inc rbx
cmp rbx, 0x20
jb 0x140002bc0
mov rcx, qword [rbp + 7]
test rcx, rcx
je 0x140002c6f
mov rdx, qword [rbp + 0x17]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002c5e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002c5e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005254
xorps xmm0, xmm0
movdqu xmmword [rbp + 7], xmm0
mov qword [rbp + 0x17], r14
mov edx, 0x40
mov rcx, rsi
call fcn.140005254
mov rax, rdi
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.1400051f0
lea r11, [rsp + 0xa0]
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
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
lea rdx, str.Failed_to_generate_secure_random_bytes.
lea rcx, [rbp - 0x21]
call fcn.1400022e0
lea rdx, [0x140008a38]
lea rcx, [rbp - 0x21]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rdx, str.Failed_to_acquire_cryptographic_context.
lea rcx, [rbp - 0x21]
call fcn.1400022e0
lea rdx, [0x140008a38]
lea rcx, [rbp - 0x21]
call sub.VCRUNTIME140.dll__CxxThrowException
int3