Function at 0x180060190
Capabilities:
Generate random numbers via winapi

Disassembly:
mov r11, rsp
push rbp
push rbx
push rsi
push rdi
push r13
lea rbp, [r11 - 0x5f]
sub rsp, 0xf0
mov rax, qword [0x1800eb008]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rbx, rcx
mov qword [r11 + 0x18], r14
lea rax, [rbp - 0x71]
mov qword [r11 + 0x20], r15
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
lea rdx, str.SYSTEMCurrentControlSetControlProductOptions
xor r8d, r8d
mov esi, 1
call qword [0x1800afc88]
xor r13d, r13d
test eax, eax
jne 0x180060243
mov rcx, qword [rbp - 0x71]
lea rax, [rbp - 0x79]
mov qword [rsp + 0x28], rax
lea rdx, str.ProductType
lea rax, [rbp - 9]
mov dword [rbp - 0x79], 0x20
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [0x1800afc90]
test eax, eax
jne 0x180060239
lea rdx, str.WinNT
lea rcx, [rbp - 9]
call fcn.18009b5d0
test eax, eax
cmovne esi, r13d
mov rcx, qword [rbp - 0x71]
call qword [0x1800afc80]
lea rcx, str.NETAPI32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rdi, rax
test rax, rax
je 0x180060313
lea rdx, str.NetStatisticsGet
mov qword [rsp + 0x128], r12
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.NetApiBufferSize
mov rcx, rdi
mov r12, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.NetApiBufferFree
mov rcx, rdi
mov r14, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
test r12, r12
je 0x180060302
test r14, r14
je 0x180060302
test rax, rax
je 0x180060302
lea rax, str.LanmanWorkstation
mov qword [rbp - 0x71], r13
test esi, esi
lea rdx, str.LanmanServer
cmovne rdx, rax
lea rax, [rbp - 0x71]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor ecx, ecx
call r12
test eax, eax
jne 0x180060302
mov rcx, qword [rbp - 0x71]
lea rdx, [rbp - 0x79]
mov dword [rbp - 0x79], r13d
call r14
mov r8d, dword [rbp - 0x79]
mov rcx, rbx
mov rdx, qword [rbp - 0x71]
call fcn.18005f910
mov rcx, qword [rbp - 0x71]
call r15
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov r12, qword [rsp + 0x128]
xor eax, eax
lea rdx, str..PhysicalDrive_d
xor r8d, r8d
mov qword [rbp - 9], rax
lea rcx, [rbp - 9]
mov qword [rbp - 1], rax
mov qword [rbp + 7], rax
mov r15d, r13d
mov qword [rbp + 0xf], rax
mov qword [rbp + 0x17], rax
mov qword [rbp + 0x1f], rax
call qword [sym.imp.USER32.dll_wsprintfW]
xor r9d, r9d
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
lea rcx, [rbp - 9]
xor edx, edx
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x18006048c
nop word [rax + rax]
mov qword [rsp + 0x38], r13
lea rax, [rbp - 0x79]
mov qword [rsp + 0x30], rax
xor r9d, r9d
lea rax, [rbp - 0x69]
mov dword [rsp + 0x28], 0x58
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, 0x70020
mov dword [rbp - 0x79], r13d
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x180060420
movsxd rsi, dword [rbp - 0x79]
mov rdi, r13
test rsi, rsi
jle 0x180060420
nop word [rax + rax]
cmp dword [rbx + 0x504], 0x280
movzx ecx, byte [rbp + rdi - 0x69]
jne 0x1800603e8
mov dword [rbx + 0x504], r13d
movsxd rax, dword [rbx + 0x504]
add byte [rax + rbx], cl
mov eax, dword [rbx + 0x504]
and eax, 0x8000000f
jge 0x180060406
dec eax
or eax, 0xfffffff0
inc eax
test eax, eax
jne 0x180060412
mov rcx, rbx
call fcn.180060560
inc dword [rbx + 0x504]
inc rdi
cmp rdi, rsi
jl 0x1800603d0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
lea rdx, str..PhysicalDrive_d
inc r15d
mov qword [rbp - 9], rax
mov r8d, r15d
mov qword [rbp - 1], rax
lea rcx, [rbp - 9]
mov qword [rbp + 7], rax
mov qword [rbp + 0xf], rax
mov qword [rbp + 0x17], rax
mov qword [rbp + 0x1f], rax
call qword [sym.imp.USER32.dll_wsprintfW]
xor r9d, r9d
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
lea rcx, [rbp - 9]
xor edx, edx
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x180060380
mov r15, qword [rsp + 0x138]
mov r14, qword [rsp + 0x130]
cmp dword [rbx + 0x518], r13d
je 0x18006051c
mov rcx, qword [rbx + 0x510]
lea r8, [rbx + 0x280]
mov edx, 0x280
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
je 0x18006051c
mov rdi, r13
cmp dword [rbx + 0x504], 0x280
movzx ecx, byte [rbx + rdi + 0x280]
jne 0x1800604e0
mov dword [rbx + 0x504], r13d
movsxd rax, dword [rbx + 0x504]
add byte [rax + rbx], cl
mov eax, dword [rbx + 0x504]
and eax, 0x8000000f
jge 0x1800604fe
dec eax
or eax, 0xfffffff0
inc eax
test eax, eax
jne 0x18006050a
mov rcx, rbx
call fcn.180060560
inc dword [rbx + 0x504]
inc rdi
cmp rdi, 0x280
jl 0x1800604c5
lea rcx, [rbx + 0x280]
xor edx, edx
mov r8d, 0x280
call fcn.18008c000
mov rcx, rbx
call fcn.180060560
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.180072920
add rsp, 0xf0
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret