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

Disassembly:
sub rsp, 0x98
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov rax, qword [0x18009c160]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov byte [rsp + 0x78], 0
xor eax, eax
mov dword [rsp + 0x79], eax
mov word [rsp + 0x7d], ax
mov byte [rsp + 0x7f], al
lea rax, [rsp + 0x30]
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 0x180005f80
mov dword [rsp + 0x3c], 4
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.seed
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor r11d, r11d
mov dword [rsp + 0x38], r11d
mov dword [rsp + 0x78], r11d
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x7c], eax
call fcn.180037040
nop
lea rcx, [rsp + 0x48]
call fcn.180036b30
nop
lea rcx, [rsp + 0x50]
call fcn.1800370a0
nop
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
lea rcx, [rsp + 0x50]
call fcn.180037560
lea r9, [rsp + 0x48]
mov r8d, 8
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x50]
call fcn.1800370f0
lea r11, [rsp + 0x30]
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, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 3
xor r8d, r8d
lea rdx, str.Policy
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r11, [rsp + 0x30]
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, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 3
xor r8d, r8d
lea rdx, str.Policy
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r11, [rsp + 0x30]
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, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 3
xor r8d, r8d
lea rdx, str.Policy
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r11, [rsp + 0x30]
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, [rsp + 0x48]
call fcn.180036a50
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 [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rsp + 0x50]
call fcn.1800370d0
nop
lea rcx, [rsp + 0x48]
call fcn.180036bc0
nop
call fcn.180036c60
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1800190b0
add rsp, 0x98
ret