Function at 0x1401de578
Capabilities:
Generate random numbers via winapi

Disassembly:
jmp 0x1403ea8a0
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 [0x1406b3640]
xor rax, rsp
mov qword [rsp + 0x3c8], rax
mov eax, 0x104
mov eax, eax
mov ecx, dword [0x1406cbcac]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov eax, dword [rax + rcx]
cmp dword [0x1406cb1b4], eax
jle 0x1403ea942
lea rcx, [0x1406cb1b4]
call fcn.1401e0652
cmp dword [0x1406cb1b4], 0xffffffff
jne 0x1403ea942
lea rcx, [0x1406cb1a8]
call fcn.1401da388
lea rcx, [0x1405ac2a0]
call fcn.1401d97cb
nop
lea rcx, [0x1406cb1b4]
call fcn.1401e0c2e
nop
lea rdx, [rsp + 0x24]
mov rcx, qword [rsp + 0x3f0]
call fcn.1401e17e6
movzx eax, al
test eax, eax
jne 0x1403eaa55
mov edx, 1
lea rcx, [rsp + 0x50]
call fcn.1401d43f2
nop
lea rdx, [0x140610298]
lea rcx, [rsp + 0x50]
call fcn.1401d56d5
lea rdx, [0x140610268]
mov rcx, rax
call fcn.1401d56d5
lea rdx, [0x140610264]
mov rcx, rax
call fcn.1401d56d5
mov edx, 0xbf
mov rcx, rax
call fcn.1401d6549
lea rdx, [0x140610260]
mov rcx, rax
call fcn.1401d56d5
lea rdx, [0x140610238]
mov rcx, rax
call fcn.1401d56d5
lea rdx, [0x1401d484d]
mov rcx, rax
call fcn.1401db229
lea rdx, [0x1401dbc29]
lea rcx, [0x1406cb480]
call fcn.1401db229
nop
lea rdx, [rsp + 0x148]
lea rcx, [rsp + 0x50]
call fcn.1401dbb20
mov qword [rsp + 0x3a8], rax
mov rax, qword [rsp + 0x3a8]
mov qword [rsp + 0x3b0], rax
mov rdx, qword [rsp + 0x3b0]
lea rcx, [0x1406cb5d0]
call fcn.1401e03fa
nop
lea rcx, [rsp + 0x148]
call fcn.1401d68af
nop
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1403eaa4a
call qword [sym.imp.KERNEL32.dll_DebugBreak]
nop
lea rcx, [rsp + 0x50]
call fcn.1401e0823
nop
lea rdx, [rsp + 0x24]
mov rcx, qword [rsp + 0x3f0]
call fcn.1401e17e6
movzx eax, al
test eax, eax
jne 0x1403eaac7
mov ecx, 0x5b6
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop
lea rdx, str.GenerateBlock_size
lea rcx, [rsp + 0x170]
call fcn.1401da577
nop
lea rdx, [rsp + 0x170]
lea rcx, [rsp + 0x300]
call fcn.1401d720a
lea rdx, [0x1406b2200]
lea rcx, [rsp + 0x300]
call fcn.1401e328a
nop
lea rcx, [rsp + 0x170]
call fcn.1401d68af
nop
lea rcx, [0x1406cb1a8]
call fcn.1401dcf6b
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 0x1403eabff
mov edx, 1
lea rcx, [rsp + 0x1b0]
call fcn.1401d43f2
nop
lea rdx, [0x140610328]
lea rcx, [rsp + 0x1b0]
call fcn.1401d56d5
lea rdx, str.C:UsersSaad_VMDesktopcryptopp870osrng.cpp
mov rcx, rax
call fcn.1401d56d5
lea rdx, [0x1406102f4]
mov rcx, rax
call fcn.1401d56d5
mov edx, 0xc6
mov rcx, rax
call fcn.1401d6549
lea rdx, [0x1406102f0]
mov rcx, rax
call fcn.1401d56d5
lea rdx, str.CryptoPP::NonblockingRng::GenerateBlock
mov rcx, rax
call fcn.1401d56d5
lea rdx, [0x1401d484d]
mov rcx, rax
call fcn.1401db229
lea rdx, [0x1401dbc29]
lea rcx, [0x1406cb480]
call fcn.1401db229
nop
lea rdx, [rsp + 0x2a8]
lea rcx, [rsp + 0x1b0]
call fcn.1401dbb20
mov qword [rsp + 0x3b8], rax
mov rax, qword [rsp + 0x3b8]
mov qword [rsp + 0x3c0], rax
mov rdx, qword [rsp + 0x3c0]
lea rcx, [0x1406cb5d0]
call fcn.1401e03fa
nop
lea rcx, [rsp + 0x2a8]
call fcn.1401d68af
nop
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1403eabf1
call qword [sym.imp.KERNEL32.dll_DebugBreak]
nop
lea rcx, [rsp + 0x1b0]
call fcn.1401e0823
nop
cmp dword [rsp + 0x198], 0
jne 0x1403eac56
lea rdx, str.CryptGenRandom
lea rcx, [rsp + 0x2d0]
call fcn.1401da577
nop
lea rdx, [rsp + 0x2d0]
lea rcx, [rsp + 0x350]
call fcn.1401d720a
lea rdx, [0x1406b2200]
lea rcx, [rsp + 0x350]
call fcn.1401e328a
nop
lea rcx, [rsp + 0x2d0]
call fcn.1401d68af
nop
mov rcx, rsp
lea rdx, [0x140610420]
call fcn.1401df801
mov rcx, qword [rsp + 0x3c8]
xor rcx, rsp
call fcn.1401dabf8
add rsp, 0x3d0
pop rdi
ret