Function at 0x140014a30
Capabilities:
Generate random numbers via winapi

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov qword [rbp - 0x60], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x140042010]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdi, rdx
mov r14, rcx
mov qword [rbp - 0x58], rdx
xor ebx, ebx
mov qword [rbp - 0x40], rbx
mov esi, 0xf
mov qword [rbp - 0x38], rsi
mov byte [rbp - 0x50], bl
lea ecx, [rbx + 0x20]
call fcn.1400174f4
mov qword [rbp - 0x40], 0x10
mov qword [rbp - 0x38], 0x1f
xor ecx, ecx
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov byte [rax + 0x10], cl
mov qword [rbp - 0x50], rax
lea r8, [rbp - 0x50]
cmp qword [rbp - 0x38], 0x10
cmovae r8, rax
xor eax, eax
mov qword [r8], rax
mov qword [r8 + 8], rax
mov rax, qword [r14 + 8]
test rax, rax
je 0x140014aea
lea edx, [rbx + 0x10]
mov rcx, r8
call rax
test al, al
setne r14b
test al, al
jne 0x140014b24
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.GenRandom:_RtlGenRandom_SystemFunction036_failed:__u
call fcn.1400146a0
jmp 0x140014b24
cmp byte [r14 + 0x10], 0
je 0x140014b47
mov edx, 0x10
mov rcx, qword [r14 + 0x18]
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
setne r14b
test eax, eax
jne 0x140014b24
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
mov edx, 0x10
lea rcx, str.GenRandom:_CryptGenRandom_failed__size_d__lasterror_u
call fcn.1400146a0
test r14b, r14b
je 0x140014b47
movups xmm0, xmmword [rbp - 0x50]
movups xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [rbp - 0x40]
movups xmmword [rbp - 0x20], xmm1
mov qword [rbp - 0x38], rsi
mov rsi, qword [rbp - 0x18]
mov r14, qword [rbp - 0x20]
jmp 0x140014b94
mov r14, rbx
mov qword [rbp - 0x20], rbx
mov qword [rbp - 0x18], rsi
mov byte [rbp - 0x30], bl
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x140014b90
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140014b8b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140014c89
call fcn.140017530
mov qword [rbp - 0x38], rsi
mov byte [rbp - 0x50], 0
mov qword [rbp - 0x40], rbx
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], 7
mov word [rdi], bx
lea rdx, [r14 + r14]
mov rcx, rdi
call fcn.140015100
mov rcx, qword [rbp - 0x30]
test r14, r14
je 0x140014c2c
lea r8, [0x14003a0b0]
nop word [rax + rax]
lea rax, [rbp - 0x30]
cmp rsi, 0x10
cmovae rax, rcx
movzx eax, byte [rax + rbx]
shr rax, 4
movzx edx, word [r8 + rax*2]
mov rax, rdi
cmp qword [rdi + 0x18], 8
jb 0x140014bf6
mov rax, qword [rdi]
mov word [rax + rbx*4], dx
lea rax, [rbp - 0x30]
cmp rsi, 0x10
cmovae rax, rcx
movzx eax, byte [rax + rbx]
and eax, 0xf
movzx edx, word [r8 + rax*2]
mov rax, rdi
cmp qword [rdi + 0x18], 8
jb 0x140014c1f
mov rax, qword [rdi]
mov word [rax + rbx*4 + 2], dx
inc rbx
cmp rbx, r14
jb 0x140014bd0
cmp rsi, 0x10
jb 0x140014c5c
lea rdx, [rsi + 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140014c57
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140014c83
call fcn.140017530
mov rax, rdi
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400174d0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.14001bb5c
int3
call fcn.14001bb5c
int3