Function at 0x140145b80
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 [0x140418a10]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov rcx, rdx
xor sil, sil
lea rax, [0x140348ca0]
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.140204460
movsxd r14, eax
mov rcx, r14
call fcn.1402b4964
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 0x140145c32
cdqe
mov byte [rax + rdi], bl
mov qword [rbp - 0x70], rbx
movups xmm0, xmmword [0x14032a958]
movups xmmword [rbp - 0x68], xmm0
movups xmm1, xmmword [0x14032a968]
movups xmmword [rbp - 0x58], xmm1
lea r8, [rbp - 0x70]
mov edx, r14d
mov rcx, rdi
call fcn.14018d6c0
lea rdx, [rbp - 0x70]
lea rcx, [rbp]
call fcn.14018d7b0
mov rcx, rdi
call fcn.1402b99fc
mov eax, dword [0x14042c9e0]
test al, 1
jne 0x140145ca8
or eax, 1
mov dword [0x14042c9e0], eax
lea rax, vtable.Core::Win32::RegistryKey.0
mov qword [0x14042c9e8], rax
mov qword [0x14042c9f0], 0xffffffff80000002
lea rcx, [0x1403017d0]
call fcn.1402bb344
lea rdx, [0x14034ee50]
lea rcx, [0x14042c9e8]
call fcn.1400eb8d0
mov rdi, rax
test rax, rax
je 0x140145df8
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 0x140145da6
cmp dword [rsp + 0x44], 3
jne 0x140145da6
mov edx, dword [rsp + 0x40]
lea rcx, [rsp + 0x58]
call fcn.1400d2ad0
mov rbx, qword [rsp + 0x68]
test al, al
je 0x140145da6
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 0x140145da6
cmp dword [rsp + 0x60], 0x20
je 0x140145d8b
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 0x140145da6
mov r8d, 0x20
lea rdx, [rbp]
mov rcx, rbx
call fcn.1402c4b40
test eax, eax
jne 0x140145da6
xor sil, sil
jmp 0x140145dd4
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 0x140145df8
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 0x140145e09
mov rcx, qword [rsp + 0x48]
call fcn.1402b9c20
movzx eax, sil
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.1402b9610
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret