Function at 0x140137c00
Capabilities:
Delete registry value
Hash data using sha256
Query or enumerate registry value
Set registry value

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x48]
sub rsp, 0x130
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1403eaa10]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov rcx, rdx
xor sil, sil
lea rax, [0x140323de0]
mov qword [rsp + 0x48], rax
xor ebx, ebx
mov qword [rsp + 0x50], rbx
mov rax, qword [rdx]
lea rdx, [rsp + 0x48]
call qword [rax + 0x18]
lea rax, vtable.Core::Text::ASCIIEncoding.0
mov qword [rsp + 0x78], rax
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x78]
call fcn.1401ee180
movsxd r14, eax
mov rcx, r14
call fcn.140296f58
mov rdi, rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x54]
mov r8, qword [rsp + 0x48]
xor edx, edx
mov ecx, 0x4e4
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp eax, r14d
jge 0x140137cb2
cdqe
mov byte [rax + rdi], bl
mov qword [rbp - 0x70], rbx
movups xmm0, xmmword [0x1403072e8]
movups xmmword [rbp - 0x68], xmm0
movups xmm1, xmmword [0x1403072f8]
movups xmmword [rbp - 0x58], xmm1
lea r8, [rbp - 0x70]
mov edx, r14d
mov rcx, rdi
call fcn.14017c780
lea rdx, [rbp - 0x70]
lea rcx, [rbp]
call fcn.14017c870
mov rcx, rdi
call fcn.1402983dc
mov eax, dword [0x1403fe608]
test al, 1
jne 0x140137d28
or eax, 1
mov dword [0x1403fe608], eax
lea rax, vtable.Core::Win32::RegistryKey.0
mov qword [0x1403fe5e0], rax
mov qword [0x1403fe5e8], 0xffffffff80000002
lea rcx, [0x1402de040]
call fcn.140299c6c
lea rdx, [0x140329c48]
lea rcx, [0x1403fe5e0]
call fcn.1400ec430
mov rdi, rax
test rax, rax
je 0x140137e78
lea rax, vtable.Core::ByteArray.0
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x60], ebx
mov qword [rsp + 0x68], rbx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x40], ebx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x44]
xor r8d, r8d
lea rdx, str.MiniportHash
mov rcx, qword [rdi + 8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140137e26
cmp dword [rsp + 0x44], 3
jne 0x140137e26
mov edx, dword [rsp + 0x40]
lea rcx, [rsp + 0x58]
call fcn.1400d14a0
mov rbx, qword [rsp + 0x68]
test al, al
je 0x140137e26
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x44]
xor r8d, r8d
lea rdx, str.MiniportHash
mov rcx, qword [rdi + 8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140137e26
cmp dword [rsp + 0x60], 0x20
je 0x140137e0b
lea rdx, str.MiniportHash
mov rcx, qword [rdi + 8]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x140137e26
mov r8d, 0x20
lea rdx, [rbp]
mov rcx, rbx
call fcn.1402a2dc0
test eax, eax
jne 0x140137e26
xor sil, sil
jmp 0x140137e54
mov sil, 1
mov dword [rsp + 0x28], 0x20
lea rax, [rbp]
mov qword [rsp + 0x20], rax
mov r9d, 3
xor r8d, r8d
lea rdx, str.MiniportHash
mov rcx, qword [rdi + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [rax]
nop
test rbx, rbx
je 0x140137e78
mov r8, rbx
xor edx, edx
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop
cmp dword [rsp + 0x50], 0
jle 0x140137e89
mov rcx, qword [rsp + 0x48]
call fcn.140298600
movzx eax, sil
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.140297ff0
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret