Function at 0x140112600
Capabilities:
Generate random numbers via winapi

Disassembly:
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 [0x14023a080]
xor rax, rsp
mov qword [rsp + 0x3c8], rax
mov eax, 4
mov eax, eax
mov ecx, dword [0x140248820]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov eax, dword [rax + rcx]
cmp dword [0x1402481b8], eax
jle 0x1401126a1
lea rcx, [0x1402481b8]
call fcn.140125580
cmp dword [0x1402481b8], 0xffffffff
jne 0x1401126a1
lea rcx, [0x1402481b0]
call fcn.140112400
lea rcx, [0x1401aa150]
call fcn.1401254b0
nop
lea rcx, [0x1402481b8]
call fcn.140125520
lea rdx, [rsp + 0x24]
mov rcx, qword [rsp + 0x3f0]
call fcn.140112ec0
movzx eax, al
test eax, eax
jne 0x1401127b1
mov edx, 1
lea rcx, [rsp + 0x50]
call fcn.140006f00
nop
lea rdx, [0x1401e8ce8]
lea rcx, [rsp + 0x50]
call fcn.14000b390
lea rdx, [0x1401e8ca0]
mov rcx, rax
call fcn.14000b390
lea rdx, [0x1401e8c9c]
mov rcx, rax
call fcn.14000b390
mov edx, 0xbf
mov rcx, rax
call fcn.1400072e0
lea rdx, [0x1401e8c98]
mov rcx, rax
call fcn.14000b390
lea rdx, [0x1401e8c70]
mov rcx, rax
call fcn.14000b390
lea rdx, [fcn.14000b640]
mov rcx, rax
call fcn.1400074e0
lea rdx, [0x14000b6d0]
lea rcx, [0x140248350]
call fcn.1400074e0
lea rdx, [rsp + 0x148]
lea rcx, [rsp + 0x50]
call fcn.140006e00
mov qword [rsp + 0x3a8], rax
mov rax, qword [rsp + 0x3a8]
mov qword [rsp + 0x3b0], rax
mov rdx, qword [rsp + 0x3b0]
lea rcx, [0x1402484e0]
call fcn.14000b6f0
nop
lea rcx, [rsp + 0x148]
call fcn.140007740
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1401127a7
call qword [sym.imp.KERNEL32.dll_DebugBreak]
nop
lea rcx, [rsp + 0x50]
call fcn.140003bd0
lea rdx, [rsp + 0x24]
mov rcx, qword [rsp + 0x3f0]
call fcn.140112ec0
movzx eax, al
test eax, eax
jne 0x140112822
mov ecx, 0x5b6
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rdx, str.GenerateBlock_size
lea rcx, [rsp + 0x170]
call fcn.1400078e0
nop
lea rdx, [rsp + 0x170]
lea rcx, [rsp + 0x300]
call fcn.140112250
lea rdx, [0x1402387a8]
lea rcx, [rsp + 0x300]
call fcn.1401296a0
nop
lea rcx, [rsp + 0x170]
call fcn.140007740
nop
lea rcx, [0x1402481b0]
call fcn.140016530
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 0x140112957
mov edx, 1
lea rcx, [rsp + 0x1b0]
call fcn.140006f00
nop
lea rdx, [0x1401e8d98]
lea rcx, [rsp + 0x1b0]
call fcn.14000b390
lea rdx, str.C:UsersA1375_source_repos_shellcode_startercryptopp890osrng.cpp
mov rcx, rax
call fcn.14000b390
lea rdx, [0x1401e8d44]
mov rcx, rax
call fcn.14000b390
mov edx, 0xc6
mov rcx, rax
call fcn.1400072e0
lea rdx, [0x1401e8d40]
mov rcx, rax
call fcn.14000b390
lea rdx, str.CryptoPP::NonblockingRng::GenerateBlock
mov rcx, rax
call fcn.14000b390
lea rdx, [fcn.14000b640]
mov rcx, rax
call fcn.1400074e0
lea rdx, [0x14000b6d0]
lea rcx, [0x140248350]
call fcn.1400074e0
lea rdx, [rsp + 0x2a8]
lea rcx, [rsp + 0x1b0]
call fcn.140006e00
mov qword [rsp + 0x3b8], rax
mov rax, qword [rsp + 0x3b8]
mov qword [rsp + 0x3c0], rax
mov rdx, qword [rsp + 0x3c0]
lea rcx, [0x1402484e0]
call fcn.14000b6f0
nop
lea rcx, [rsp + 0x2a8]
call fcn.140007740
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x14011294a
call qword [sym.imp.KERNEL32.dll_DebugBreak]
nop
lea rcx, [rsp + 0x1b0]
call fcn.140003bd0
cmp dword [rsp + 0x198], 0
jne 0x1401129ae
lea rdx, [0x1401e8db0]
lea rcx, [rsp + 0x2d0]
call fcn.1400078e0
nop
lea rdx, [rsp + 0x2d0]
lea rcx, [rsp + 0x350]
call fcn.140112250
lea rdx, [0x1402387a8]
lea rcx, [rsp + 0x350]
call fcn.1401296a0
nop
lea rcx, [rsp + 0x2d0]
call fcn.140007740
nop
mov rcx, rsp
lea rdx, [0x1401e8e90]
call fcn.140125690
mov rcx, qword [rsp + 0x3c8]
xor rcx, rsp
call fcn.140124970
add rsp, 0x3d0
pop rdi
ret