Function at 0x180014870
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
mov qword [rbp + 0x37], 0xfffffffffffffffe
mov rax, qword [0x1800cb660]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov byte [rbp + 0x3f], 0
xor eax, eax
mov dword [rbp + 0x40], eax
mov word [rbp + 0x44], ax
mov byte [rbp + 0x46], al
lea rax, [rbp - 9]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SYSTEMWPAPnP
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x180014aec
mov dword [rbp + 3], 4
lea rax, [rbp + 3]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 7]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.seed
mov rcx, qword [rbp - 9]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rbp - 9]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor r11d, r11d
mov dword [rbp - 1], r11d
mov dword [rbp + 0x3f], r11d
mov eax, dword [rbp + 7]
mov dword [rbp + 0x43], eax
call fcn.180050bd0
nop
lea rcx, [rbp + 0xf]
call fcn.18002bb10
nop
lea rcx, [rbp + 0x17]
call fcn.180050c30
nop
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
lea rcx, [rbp + 0x17]
call fcn.1800510f0
lea r9, [rbp + 0xf]
mov r8d, 8
lea rdx, [rbp + 0x3f]
lea rcx, [rbp + 0x17]
call fcn.180050c80
lea r11, [rbp - 9]
mov qword [rsp + 0x20], r11
mov r9d, 0x20006
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftDriver_Signing
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [rsp + 0x28], 1
lea rax, [rbp - 1]
mov qword [rsp + 0x20], rax
mov r9d, 3
xor r8d, r8d
lea rdx, str.Policy
mov rcx, qword [rbp - 9]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rbp - 9]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r11, [rbp - 9]
mov qword [rsp + 0x20], r11
mov r9d, 0x20006
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftNon_Driver_Signing
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [rsp + 0x28], 1
lea rax, [rbp - 1]
mov qword [rsp + 0x20], rax
mov r9d, 3
xor r8d, r8d
lea rdx, str.Policy
mov rcx, qword [rbp - 9]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rbp - 9]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r11, [rbp - 9]
mov qword [rsp + 0x20], r11
mov r9d, 0x20006
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftDriver_Signing
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [rsp + 0x28], 1
lea rax, [rbp - 1]
mov qword [rsp + 0x20], rax
mov r9d, 3
xor r8d, r8d
lea rdx, str.Policy
mov rcx, qword [rbp - 9]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rbp - 9]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r11, [rbp - 9]
mov qword [rsp + 0x20], r11
mov r9d, 0x20006
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionSetup
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea rcx, [rbp + 0xf]
call fcn.18002ba30
mov dword [rsp + 0x28], reloc.WS2_32.dll_recv
mov qword [rsp + 0x20], rax
mov r9d, 3
xor r8d, r8d
lea rdx, str.PrivateHash
mov rcx, qword [rbp - 9]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rbp - 9]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rbp + 0x17]
call fcn.180050c60
nop
lea rcx, [rbp + 0xf]
call fcn.18002bba0
nop
call fcn.18005d6b0
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.1800356a0
add rsp, 0x90
pop rbp
ret