Function at 0x18000a4c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x140
lea rdx, str.REGISTRYMACHINESOFTWAREMicrosoftCryptography_
lea rcx, [rsp + 0x90]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov dword [rsp + 0xf8], 0xc0000001
mov dword [rsp + 0xc8], 0x30
mov qword [rsp + 0xd0], 0
mov dword [rsp + 0xe0], 0x40
lea rax, [rsp + 0x90]
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0xe8], 0
mov qword [rsp + 0xf0], 0
mov r8d, 0x6b6f6b6f
mov edx, 0x3e8
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov qword [rsp + 0xb0], rax
mov dword [rsp + 0x50], 0
xor eax, eax
cmp eax, 1
je 0x18000a6ed
mov eax, dword [rsp + 0x50]
add eax, 1
mov dword [rsp + 0x50], eax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rsp + 0xc8]
mov edx, 0xf003f
lea rcx, [rsp + 0x58]
call qword [sym.imp.ntoskrnl.exe_ZwCreateKey]
mov dword [rsp + 0xf8], eax
cmp dword [rsp + 0xf8], 0
jne 0x18000a6c0
lea rdx, str.MachineGuid
lea rcx, [rsp + 0x128]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rdx, [rsp + 0x120]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 2
lea rdx, [rsp + 0x128]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
mov dword [rsp + 0xf8], eax
cmp dword [rsp + 0xf8], 0xc0000034
je 0x18000a61e
cmp dword [rsp + 0x120], 0
jne 0x18000a63d
lea rdx, [0x18000fc50]
lea rcx, [rsp + 0xa0]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
jmp 0x18000a6ed
mov edx, dword [rsp + 0x120]
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov qword [rsp + 0x138], rax
lea rax, [rsp + 0x120]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x120]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x138]
mov r8d, 2
lea rdx, [rsp + 0x128]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
mov dword [rsp + 0xf8], eax
mov rax, qword [rsp + 0x138]
cmp dword [rax + 4], 1
jne 0x18000a6be
mov rdx, qword [rsp + 0x138]
add rdx, 0xc
lea rcx, [rsp + 0xa0]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
jmp 0x18000a6ed
jmp 0x18000a6e8
lea rdx, str.00000000_0000_0000_0000_000000000000
lea rcx, [rsp + 0xa0]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
cmp dword [rsp + 0x50], 0x14
jle 0x18000a6de
jmp 0x18000a6ed
mov ecx, 0x5dc
call fcn.18000c260
jmp 0x18000a55a
lea rdx, str.DFEGFEDF
lea rcx, [rsp + 0x70]
call qword [sym.imp.ntoskrnl.exe_RtlInitAnsiString]
mov r8d, 0x6b6f6b6f
mov edx, 0x1f4
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov qword [rsp + 0x88], rax
mov r8d, 0x1f4
xor edx, edx
mov rcx, qword [rsp + 0x88]
call fcn.18000dcd0
xor edx, edx
mov word [rsp + 0x80], dx
mov eax, 0x1f4
mov word [rsp + 0x82], ax
xor r8d, r8d
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x80]
call qword [sym.imp.ntoskrnl.exe_RtlAnsiStringToUnicodeString]
mov r8d, 0x6b6f6b6f
mov edx, 0x1f4
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov qword [rsp + 0xc0], rax
mov r8d, 0x1f4
xor edx, edx
mov rcx, qword [rsp + 0xc0]
call fcn.18000dcd0
xor edx, edx
mov word [rsp + 0xb8], dx
mov eax, 0x1f4
mov word [rsp + 0xba], ax
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0xb8]
call qword [sym.imp.ntoskrnl.exe_RtlAppendUnicodeStringToString]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0xb8]
call qword [sym.imp.ntoskrnl.exe_RtlAppendUnicodeStringToString]
mov r8d, 0x6b6f6b6f
mov edx, 0x1f4
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov qword [rsp + 0x68], rax
mov r8d, 0x1f4
xor edx, edx
mov rcx, qword [rsp + 0x68]
call fcn.18000dcd0
mov edx, 0x1f4
mov word [rsp + 0x62], dx
xor eax, eax
mov word [rsp + 0x60], ax
xor r8d, r8d
lea rdx, [rsp + 0xb8]
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_RtlUnicodeStringToAnsiString]
mov byte [rsp + 0x100], 0
lea rdi, [rsp + 0x101]
xor eax, eax
mov ecx, 0x13
rep stosb byte [rdi], al
movzx edx, word [rsp + 0x60]
lea r8, [rsp + 0x100]
mov rcx, qword [rsp + 0x68]
call fcn.180002360
movzx r11d, byte [rsp + 0x10f]
movzx edi, byte [rsp + 0x10b]
movzx edx, byte [rsp + 0x107]
movzx ecx, byte [rsp + 0x108]
movzx eax, byte [rsp + 0x105]
movzx r9d, byte [rsp + 0x109]
mov dword [rsp + 0x40], r11d
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], eax
lea r8, str._02X_02X_02X_02X_02X_02X
mov edx, 0x1a
mov rcx, qword [rsp + 0x150]
call fcn.18000d290
add rsp, 0x140
pop rdi
ret