Function at 0x14010e6a0
Capabilities:
Generate random numbers via winapi

Disassembly:
mov word [rsp + 0x20], r9w
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x520
mov rax, qword [0x1408fa960]
xor rax, rsp
mov qword [rsp + 0x510], rax
mov qword [rsp + 0x70], 0
mov rcx, qword [rsp + 0x530]
call fcn.14010f4c0
cdqe
mov edx, 1
mov rcx, rax
call fcn.14022d6f8
mov qword [rsp + 0x70], rax
xor eax, eax
mov word [rsp + 0x64], ax
xor eax, eax
mov word [rsp + 0x68], ax
lea rax, [rsp + 0xf8]
mov rdi, rax
xor eax, eax
mov ecx, reloc.msi.dll_MsiDatabaseGenerateTransformW
rep stosb byte [rdi], al
lea rax, [rsp + 0x110]
mov rdi, rax
xor eax, eax
mov ecx, 0x400
rep stosb byte [rdi], al
lea rcx, [0x14030ff78]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
je 0x14010e989
mov qword [rsp + 0x88], 0
lea rdx, [0x14030ff88]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0
je 0x14010e97a
xor eax, eax
mov word [rsp + 0x60], ax
mov rax, qword [rsp + 0x530]
cmp qword [rax + 0xd8], 0
jne 0x14010e7e6
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x530]
add rax, 0xd8
mov dword [rsp + 0x20], 0xf0000000
mov r9d, 1
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [rsp + MsiSummaryInfoSetPropertyW]
test eax, eax
je 0x14010e7e4
mov eax, 1
mov word [rsp + 0x60], ax
jmp 0x14010e7f0
mov eax, 1
mov word [rsp + 0x60], ax
movsx eax, word [rsp + 0x60]
test eax, eax
je 0x14010e8ee
mov rcx, qword [rsp + 0x530]
call fcn.14010f4c0
mov dword [rsp + 0x80], eax
mov rax, qword [rsp + 0x530]
mov rax, qword [rax + 0xd8]
mov qword [rsp + 0x98], rax
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x80]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
je 0x14010e85f
mov eax, 1
mov word [rsp + 0x64], ax
mov eax, 1
mov word [rsp + 0x68], ax
jmp 0x14010e8e9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0xa8]
call fcn.140048710
lea rax, [0x1409031e8]
mov qword [rsp + 0x50], rax
lea rax, [0x1409031e8]
mov qword [rsp + 0x48], rax
lea rax, [0x1409031e8]
mov qword [rsp + 0x40], rax
lea rax, [0x1409031e8]
mov qword [rsp + 0x38], rax
lea rax, [0x1409031e8]
mov qword [rsp + 0x30], rax
lea rax, [0x1409031e8]
mov qword [rsp + 0x28], rax
lea rax, [0x1409031e8]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xa8]
lea r8, str.CryptGenRandom_failed__d
mov edx, 0x3ff
lea rcx, [rsp + 0x110]
call fcn.14003c800
jmp 0x14010e978
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0xb8]
call fcn.140048710
lea rax, [0x1409031e8]
mov qword [rsp + 0x50], rax
lea rax, [0x1409031e8]
mov qword [rsp + 0x48], rax
lea rax, [0x1409031e8]
mov qword [rsp + 0x40], rax
lea rax, [0x1409031e8]
mov qword [rsp + 0x38], rax
lea rax, [0x1409031e8]
mov qword [rsp + 0x30], rax
lea rax, [0x1409031e8]
mov qword [rsp + 0x28], rax
lea rax, [0x1409031e8]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xb8]
lea r8, str.CryptAcquireContext_failed__d
mov edx, 0x3ff
lea rcx, [rsp + 0x110]
call fcn.14003c800
jmp 0x14010e987
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x84], eax
jmp 0x14010e996
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x84], eax
cmp qword [rsp + 0x78], 0
je 0x14010e9a9
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
movsx eax, word [rsp + 0x64]
test eax, eax
jne 0x14010eb91
xor eax, eax
mov word [rsp + 0x6c], ax
movsx eax, word [rsp + 0x68]
test eax, eax
jne 0x14010eb1e
movsx eax, word [rsp + 0x548]
test eax, eax
je 0x14010eaa6
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0xc8]
call fcn.140017fc0
lea rdx, [rsp + 0xc8]
lea rcx, str.Failed_to_generate_strong_seed___s_.__Attempting_fallback
call fcn.140102b80
mov r8d, 0x3ff
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0xf8]
call fcn.140111240
mov word [rsp + 0x6c], ax
movsx eax, word [rsp + 0x6c]
test eax, eax
jne 0x14010eaa4
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0xd8]
call fcn.140017fc0
lea rax, [0x1409031e8]
mov qword [rsp + 0x40], rax
lea rax, [0x1409031e8]
mov qword [rsp + 0x38], rax
lea rax, [0x1409031e8]
mov qword [rsp + 0x30], rax
lea rax, [0x1409031e8]
mov qword [rsp + 0x28], rax
lea rax, [0x1409031e8]
mov qword [rsp + 0x20], rax
lea r9, [0x1409031e8]
lea r8, [0x1409031e8]
lea rdx, [rsp + 0xd8]
lea rcx, str.Failed_to_seed_random_number_generator.___s__n
call fcn.140105490
call fcn.140237b14
jmp 0x14010eb1e
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0xe8]
call fcn.140017fc0
lea rax, [0x1409031e8]
mov qword [rsp + 0x40], rax
lea rax, [0x1409031e8]
mov qword [rsp + 0x38], rax
lea rax, [0x1409031e8]
mov qword [rsp + 0x30], rax
lea rax, [0x1409031e8]
mov qword [rsp + 0x28], rax
lea rax, [0x1409031e8]
mov qword [rsp + 0x20], rax
lea r9, [0x1409031e8]
lea r8, [0x1409031e8]
lea rdx, [rsp + 0xe8]
lea rcx, str.Failed_to_generate_strong_seed_and_fallback_disabled.___s_
call fcn.140105490
call fcn.140237b14
mov rax, qword [rsp + 0x530]
add rax, 0x58
mov rcx, rax
call fcn.140115920
mov rax, qword [rsp + 0x530]
add rax, 0x58
mov r8d, reloc.msi.dll_MsiDatabaseGenerateTransformW
lea rdx, [rsp + 0xf8]
mov rcx, rax
call fcn.140115950
mov rcx, qword [rsp + 0x530]
call fcn.14010f4c0
mov eax, eax
mov rcx, qword [rsp + 0x530]
add rcx, 0x58
mov r8d, eax
mov rdx, qword [rsp + 0x70]
call fcn.1401159d0
mov r8d, reloc.msi.dll_MsiDatabaseGenerateTransformW
xor edx, edx
lea rcx, [rsp + 0xf8]
call fcn.140223e30
cmp qword [rsp + 0x538], 0
je 0x14010ebeb
cmp dword [rsp + 0x540], 0
je 0x14010ebeb
mov rax, qword [rsp + 0x530]
mov dword [rax + 0x50], 1
mov rax, qword [rsp + 0x530]
mov rax, qword [rax + 8]
mov qword [rsp + 0xa0], rax
mov r8d, dword [rsp + 0x540]
mov rdx, qword [rsp + 0x538]
mov rax, qword [rsp + 0x530]
mov rcx, qword [rax]
call qword [rsp + reloc.msi.dll_MsiDatabaseIsTablePersistentA]
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x530]
call fcn.14010ec90
mov rcx, qword [rsp + 0x70]
call fcn.140229904
mov rcx, qword [rsp + 0x510]
xor rcx, rsp
call fcn.140222a60
add rsp, 0x520
pop rdi
ret