Function at 0x1400d00c0
Capabilities:
Generate random numbers via winapi

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0x100
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x158], rbx
mov rax, qword [0x14019f388]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov rdi, r8
mov r14, rdx
mov r12, rcx
mov qword [rsp + 0x40], rcx
mov rbx, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 8
jb 0x1400d0113
mov r14, qword [rdx]
movabs rax, 0x7ffffffffffffffe
mov r13d, 7
cmp rbx, 8
jae 0x1400d0140
movups xmm0, xmmword [r14]
movups xmmword [rsp + 0x48], xmm0
mov r15d, r13d
mov qword [rbp - 0x79], r13
mov rsi, qword [rsp + 0x48]
jmp 0x1400d017a
mov r15, rbx
or r15, r13
cmp r15, rax
cmova r15, rax
lea rdx, [r15 + 1]
lea rcx, [rsp + 0x48]
call fcn.1400cc510
mov rsi, rax
mov qword [rsp + 0x48], rax
lea r8, [rbx*2 + 2]
mov rdx, r14
mov rcx, rax
call fcn.14010e170
mov qword [rbp - 0x79], r15
mov qword [rsp + 0x58], rbx
mov rcx, rbx
movups xmm0, xmmword [str.0123456789abcdef]
movups xmmword [rbp - 0x19], xmm0
movups xmm1, xmmword [0x14015b7d8]
movups xmmword [rbp - 9], xmm1
movzx eax, word [0x14015b7e8]
mov word [rbp + 7], ax
movups xmm0, xmmword [str.123456789abcdef]
movups xmmword [rbp + 0xf], xmm0
xor eax, eax
lea r8d, [rax + 0x20]
mov r14d, eax
lea rdx, [0x140148ab0]
test rbx, rbx
je 0x1400d0350
nop word [rax + rax]
lea rax, [rsp + 0x48]
cmp r15, 8
cmovae rax, rsi
cmp word [rax + r14*2], 0x25
jne 0x1400d033f
cmp r8d, 0x20
jne 0x1400d02ed
mov dword [rsp + 0x20], 0xf0000040
lea r9d, [r8 - 0x1f]
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x1400d0217
xor ebx, ebx
jmp 0x1400d028d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp eax, 0x80090016
jne 0x1400d0289
mov dword [rsp + 0x20], 0xf0000048
mov r9d, 1
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x1400d024c
xor ebx, ebx
jmp 0x1400d028d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp eax, 0x8009000f
jne 0x1400d0289
mov dword [rsp + 0x20], 0xf0000040
mov r9d, 1
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x1400d0281
xor ebx, ebx
jmp 0x1400d028d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
jne 0x1400d02be
lea r8, [rbp + 0xf]
mov edx, 0x10
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
jne 0x1400d02ad
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
test ebx, ebx
je 0x1400d02dc
test rdi, rdi
je 0x1400d0531
mov dword [rdi], ebx
test ebx, ebx
setne al
mov byte [rdi + 4], al
lea rdx, [0x140148ab0]
mov qword [rdi + 8], rdx
test rdi, rdi
je 0x1400d02ea
cmp dword [rdi], 0
jne 0x1400d038d
xor r8d, r8d
mov eax, r8d
test r8d, r8d
jns 0x1400d02f9
lea eax, [r8 + 1]
sar eax, 1
cdqe
movsx eax, byte [rbp + rax + 0xf]
mov ecx, r8d
and ecx, 1
shl ecx, 2
sar eax, cl
inc r8d
lea rcx, [rsp + 0x48]
cmp r15, 8
cmovae rcx, rsi
and eax, 0xf
movzx eax, word [rbp + rax*2 - 0x19]
mov word [rcx + r14*2], ax
mov r15, qword [rbp - 0x79]
mov rcx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x48]
lea rdx, [0x140148ab0]
inc r14
cmp r14, rcx
jb 0x1400d01d0
mov rbx, rcx
xor eax, eax
test rdi, rdi
je 0x1400d035f
mov dword [rdi], eax
mov byte [rdi + 4], 0
mov qword [rdi + 8], rdx
mov qword [r12 + 0x10], rax
mov qword [r12 + 0x18], rax
lea rdi, [rsp + 0x48]
cmp r15, 8
cmovae rdi, rsi
cmp rbx, 8
jae 0x1400d0477
movups xmm0, xmmword [rdi]
movups xmmword [r12], xmm0
jmp 0x1400d04b3
xor eax, eax
mov qword [r12 + 0x10], rax
mov qword [r12 + 0x18], r13
mov word [r12], ax
mov qword [rbp - 9], rax
mov qword [rbp - 1], shutdown
mov byte [rbp - 0x19], al
xor r8d, r8d
lea rdx, [0x140147cc0]
lea rcx, [rbp - 0x19]
call fcn.1400056a0
nop
mov r14, qword [rbp - 9]
test r14, r14
je 0x1400d03f9
lea rdi, [rbp - 0x19]
cmp qword [rbp - 1], 0x10
cmovae rdi, qword [rbp - 0x19]
lea rbx, [rbp - 0x19]
cmovae rbx, qword [rbp - 0x19]
call fcn.1400cd780
mov r9, rax
lea rdx, [r14 + rdi]
mov r8, r12
mov rcx, rbx
call fcn.1400cc580
nop
mov rdx, qword [rbp - 1]
cmp rdx, 0x10
jb 0x1400d0435
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400d042f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400d0525
call fcn.14010bf48
nop
cmp r15, 8
jb 0x1400d04f5
lea rdx, [r15*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x1400d046c
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400d052b
mov rcx, rsi
call fcn.14010bf48
nop
jmp 0x1400d04f5
mov r13, rbx
or r13, 7
movabs rax, 0x7ffffffffffffffe
cmp r13, rax
cmova r13, rax
lea rdx, [r13 + 1]
mov rcx, r12
call fcn.1400cc510
mov qword [r12], rax
lea r8, [rbx*2 + 2]
mov rdx, rdi
mov rcx, rax
call fcn.14010e170
nop
mov qword [r12 + 0x10], rbx
mov qword [r12 + 0x18], r13
cmp r15, 8
jb 0x1400d04f5
lea rdx, [r15*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x1400d04ec
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400d051f
mov rcx, rsi
call fcn.14010bf48
nop
mov rax, r12
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.14010c930
mov rbx, qword [rsp + 0x158]
add rsp, 0x100
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14011263c
nop
call fcn.14011263c
nop
call fcn.14011263c
nop
call fcn.1400ccd20
mov r8, rax
lea r9, str.boost::filesystem::unique_path
mov edx, ebx
lea rcx, [rbp - 0x69]
call fcn.1400cc390
lea rdx, [0x14019bd90]
lea rcx, [rbp - 0x69]
call fcn.14010d400
int3