Function at 0x1401135ea
Capabilities:
Generate random numbers via winapi

Disassembly:
jmp 0x1402ea340
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 [0x140402080]
xor rax, rsp
mov qword [rsp + 0x3c8], rax
mov eax, 0x104
mov eax, eax
mov ecx, dword [0x1404175e4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov eax, dword [rax + rcx]
cmp dword [0x140417534], eax
jle 0x1402ea3e1
lea rcx, [0x140417534]
call fcn.1401149ea
cmp dword [0x140417534], 0xffffffff
jne 0x1402ea3e1
lea rcx, [0x140417528]
call fcn.140110d63
lea rcx, [0x140343f90]
call fcn.14011062e
nop
lea rcx, [0x140417534]
call fcn.140114d4b
lea rdx, [rsp + 0x24]
mov rcx, qword [rsp + 0x3f0]
call fcn.140115449
movzx eax, al
test eax, eax
jne 0x1402ea4f4
mov edx, 1
lea rcx, [rsp + 0x50]
call fcn.14010d26c
nop
lea rdx, [0x1403aa698]
lea rcx, [rsp + 0x50]
call fcn.14010ddca
lea rdx, [0x1403aa620]
mov rcx, rax
call fcn.14010ddca
lea rdx, [0x1403aa614]
mov rcx, rax
call fcn.14010ddca
mov edx, 0xcb
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
lea rdx, [0x1403aa610]
mov rcx, rax
call fcn.14010ddca
lea rdx, [0x1403aa5e8]
mov rcx, rax
call fcn.14010ddca
lea rdx, [0x14010d500]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, [0x140111cc2]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, [rsp + 0x148]
lea rcx, [rsp + 0x50]
call fcn.140111c0e
mov qword [rsp + 0x3a8], rax
mov rax, qword [rsp + 0x3a8]
mov qword [rsp + 0x3b0], rax
mov rdx, qword [rsp + 0x3b0]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140114864
nop
lea rcx, [rsp + 0x148]
call fcn.14010e8fb
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1402ea4ea
call qword [sym.imp.KERNEL32.dll_DebugBreak]
nop
lea rcx, [rsp + 0x50]
call fcn.140114aee
lea rdx, [rsp + 0x24]
mov rcx, qword [rsp + 0x3f0]
call fcn.140115449
movzx eax, al
test eax, eax
jne 0x1402ea565
mov ecx, 0x5b6
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
lea rdx, str.GenerateBlock_size
lea rcx, [rsp + 0x170]
call fcn.140110e9e
nop
lea rdx, [rsp + 0x170]
lea rcx, [rsp + 0x300]
call fcn.14010eed2
lea rdx, [0x140401028]
lea rcx, [rsp + 0x300]
call fcn.1401164c5
nop
lea rcx, [rsp + 0x170]
call fcn.14010e8fb
nop
lea rcx, [0x140417528]
call fcn.14010fe3b
xor r9d, r9d
mov r8d, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x3e8]
mov rcx, rax
call fcn.14010da19
mov dword [rsp + 0x198], eax
cmp dword [rsp + 0x198], 0
jge 0x1402ea6a0
mov edx, 1
lea rcx, [rsp + 0x1b0]
call fcn.14010d26c
nop
lea rdx, [0x1403aa778]
lea rcx, [rsp + 0x1b0]
call fcn.14010ddca
lea rdx, str.C:Users_sandmanDownloads_vcpkg_master_vcpkg_master_buildtreescryptopp_srcTOPP_8_9_0_d4af216c8d.cleanosrng.cpp
mov rcx, rax
call fcn.14010ddca
lea rdx, [0x1403aa6f4]
mov rcx, rax
call fcn.14010ddca
mov edx, 0xd2
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
lea rdx, [0x1403aa6f0]
mov rcx, rax
call fcn.14010ddca
lea rdx, str.CryptoPP::NonblockingRng::GenerateBlock
mov rcx, rax
call fcn.14010ddca
lea rdx, [0x14010d500]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, [0x140111cc2]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, [rsp + 0x2a8]
lea rcx, [rsp + 0x1b0]
call fcn.140111c0e
mov qword [rsp + 0x3b8], rax
mov rax, qword [rsp + 0x3b8]
mov qword [rsp + 0x3c0], rax
mov rdx, qword [rsp + 0x3c0]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140114864
nop
lea rcx, [rsp + 0x2a8]
call fcn.14010e8fb
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1402ea693
call qword [sym.imp.KERNEL32.dll_DebugBreak]
nop
lea rcx, [rsp + 0x1b0]
call fcn.140114aee
cmp dword [rsp + 0x198], 0
jge 0x1402ea70b
mov ecx, dword [rsp + 0x198]
call fcn.140112136
mov ecx, eax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
lea rdx, str.BCryptGenRandom
lea rcx, [rsp + 0x2d0]
call fcn.140110e9e
nop
lea rdx, [rsp + 0x2d0]
lea rcx, [rsp + 0x350]
call fcn.14010eed2
lea rdx, [0x140401028]
lea rcx, [rsp + 0x350]
call fcn.1401164c5
nop
lea rcx, [rsp + 0x2d0]
call fcn.14010e8fb
nop
mov rcx, rsp
lea rdx, [0x1403aaa50]
call fcn.14011413e
mov rcx, qword [rsp + 0x3c8]
xor rcx, rsp
call fcn.1401112c2
add rsp, 0x3d0
pop rdi
ret