Function at 0x1401c5e11
Capabilities:
Generate random numbers via winapi

Disassembly:
jmp 0x1403b6c10
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x3d0
lea rdi, [rsp + 0x20]
mov ecx, 0xec
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x3e0]
mov rax, qword [0x1406610c0]
xor rax, rsp
mov qword [rsp + 0x3c8], rax
mov eax, 0x104
mov eax, eax
mov ecx, dword [0x1406794a4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov eax, dword [rax + rcx]
cmp dword [0x140678994], eax
jle 0x1403b6cb1
lea rcx, [0x140678994]
call fcn.1401c7d51
cmp dword [0x140678994], 0xffffffff
jne 0x1403b6cb1
lea rcx, [0x140678988]
call fcn.1401c1f19
lea rcx, [0x140562bc0]
call fcn.1401c13f7
nop
lea rcx, [0x140678994]
call fcn.1401c82e7
lea rdx, [rsp + 0x24]
mov rcx, qword [rsp + 0x3f0]
call fcn.1401c8e1d
movzx eax, al
test eax, eax
jne 0x1403b6dc1
mov edx, 1
lea rcx, [rsp + 0x50]
call fcn.1401bc3cf
nop
lea rdx, [0x1405c3b78]
lea rcx, [rsp + 0x50]
call fcn.1401bd5d6
lea rdx, [0x1405c3b50]
mov rcx, rax
call fcn.1401bd5d6
lea rdx, [0x1405c3b4c]
mov rcx, rax
call fcn.1401bd5d6
mov edx, 0xbf
mov rcx, rax
call fcn.1401be3a0
lea rdx, [0x1405c3b48]
mov rcx, rax
call fcn.1401bd5d6
lea rdx, [0x1405c3b20]
mov rcx, rax
call fcn.1401bd5d6
lea rdx, [0x1401bc7e9]
mov rcx, rax
call fcn.1401c2d15
lea rdx, [0x1401c36a2]
lea rcx, [0x140678c50]
call fcn.1401c2d15
lea rdx, [rsp + 0x148]
lea rcx, [rsp + 0x50]
call fcn.1401c35a3
mov qword [rsp + 0x3a8], rax
mov rax, qword [rsp + 0x3a8]
mov qword [rsp + 0x3b0], rax
mov rdx, qword [rsp + 0x3b0]
lea rcx, [0x140678dc0]
call fcn.1401c7b08
nop
lea rcx, [rsp + 0x148]
call fcn.1401be6e8
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1403b6db7
call qword [sym.imp.KERNEL32.dll_DebugBreak]
nop
lea rcx, [rsp + 0x50]
call fcn.1401c7f04
lea rdx, [rsp + 0x24]
mov rcx, qword [rsp + 0x3f0]
call fcn.1401c8e1d
movzx eax, al
test eax, eax
jne 0x1403b6e32
mov ecx, 0x5b6
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rdx, str.GenerateBlock_size
lea rcx, [rsp + 0x170]
call fcn.1401c2103
nop
lea rdx, [rsp + 0x170]
lea rcx, [rsp + 0x300]
call fcn.1401befbc
lea rdx, [0x140660360]
lea rcx, [rsp + 0x300]
call fcn.1401ca79a
nop
lea rcx, [rsp + 0x170]
call fcn.1401be6e8
nop
lea rcx, [0x140678988]
call fcn.1401c48fe
mov r8, qword [rsp + 0x3e8]
mov edx, dword [rsp + 0x24]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
mov dword [rsp + 0x198], eax
cmp dword [rsp + 0x198], 0
jne 0x1403b6f67
mov edx, 1
lea rcx, [rsp + 0x1b0]
call fcn.1401bc3cf
nop
lea rdx, [0x1405c3c00]
lea rcx, [rsp + 0x1b0]
call fcn.1401bd5d6
lea rdx, str.D:c_libcryptopp870osrng.cpp
mov rcx, rax
call fcn.1401bd5d6
lea rdx, [0x1405c3bd4]
mov rcx, rax
call fcn.1401bd5d6
mov edx, 0xc6
mov rcx, rax
call fcn.1401be3a0
lea rdx, [0x1405c3bd0]
mov rcx, rax
call fcn.1401bd5d6
lea rdx, str.CryptoPP::NonblockingRng::GenerateBlock
mov rcx, rax
call fcn.1401bd5d6
lea rdx, [0x1401bc7e9]
mov rcx, rax
call fcn.1401c2d15
lea rdx, [0x1401c36a2]
lea rcx, [0x140678c50]
call fcn.1401c2d15
lea rdx, [rsp + 0x2a8]
lea rcx, [rsp + 0x1b0]
call fcn.1401c35a3
mov qword [rsp + 0x3b8], rax
mov rax, qword [rsp + 0x3b8]
mov qword [rsp + 0x3c0], rax
mov rdx, qword [rsp + 0x3c0]
lea rcx, [0x140678dc0]
call fcn.1401c7b08
nop
lea rcx, [rsp + 0x2a8]
call fcn.1401be6e8
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1403b6f5a
call qword [sym.imp.KERNEL32.dll_DebugBreak]
nop
lea rcx, [rsp + 0x1b0]
call fcn.1401c7f04
cmp dword [rsp + 0x198], 0
jne 0x1403b6fbe
lea rdx, str.CryptGenRandom
lea rcx, [rsp + 0x2d0]
call fcn.1401c2103
nop
lea rdx, [rsp + 0x2d0]
lea rcx, [rsp + 0x350]
call fcn.1401befbc
lea rdx, [0x140660360]
lea rcx, [rsp + 0x350]
call fcn.1401ca79a
nop
lea rcx, [rsp + 0x2d0]
call fcn.1401be6e8
nop
mov rcx, rsp
lea rdx, [0x1405c3d00]
call fcn.1401c6fa5
mov rcx, qword [rsp + 0x3c8]
xor rcx, rsp
call fcn.1401c2734
add rsp, 0x3d0
pop rdi
ret