Function at 0x1800132a0
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 [0x1800c4650]
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 0x18001351c
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.18004dba0
nop
lea rcx, [rbp + 0xf]
call fcn.180028de0
nop
lea rcx, [rbp + 0x17]
call fcn.18004dc00
nop
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
lea rcx, [rbp + 0x17]
call fcn.18004e0c0
lea r9, [rbp + 0xf]
mov r8d, 8
lea rdx, [rbp + 0x3f]
lea rcx, [rbp + 0x17]
call fcn.18004dc50
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.180028d00
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.18004dc30
nop
lea rcx, [rbp + 0xf]
call fcn.180028e70
nop
call fcn.18004c710
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.1800327a0
add rsp, 0x90
pop rbp
ret