Function at 0x180011130
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, 0x6f6a386b
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 0x18001135d
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 0x180011330
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 0x18001128e
cmp dword [rsp + 0x120], 0
jne 0x1800112ad
lea rdx, [0x1800171d0]
lea rcx, [rsp + 0xa0]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
jmp 0x18001135d
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 0x18001132e
mov rdx, qword [rsp + 0x138]
add rdx, 0xc
lea rcx, [rsp + 0xa0]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
jmp 0x18001135d
jmp 0x180011358
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 0x18001134e
jmp 0x18001135d
mov ecx, 0x5dc
call fcn.1800130a0
jmp 0x1800111ca
lea rdx, str.DFEGFEDF
lea rcx, [rsp + 0x70]
call qword [sym.imp.ntoskrnl.exe_RtlInitAnsiString]
mov r8d, 0x6f6a386b
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.180014bb0
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, 0x6f6a386b
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.180014bb0
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, 0x6f6a386b
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.180014bb0
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.180006580
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.180014130
add rsp, 0x140
pop rdi
ret