Function at 0x140015bd0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x4e8
mov rax, qword [0x14001d2d0]
xor rax, rsp
mov qword [rsp + 0x4d0], rax
mov qword [rsp + 0x60], 0
mov dword [rsp + 0x50], 0
lea rax, [rsp + 0xc0]
mov rdi, rax
xor eax, eax
mov ecx, 0x410
rep stosb byte [rdi], al
mov dword [rsp + 0x44], 0
mov byte [rsp + 0x40], 1
mov dword [rsp + 0x54], 0
mov rax, qword [rsp + 0x508]
cmp dword [rax + 8], 0
jge 0x140015c4d
mov rax, qword [rsp + 0x508]
mov eax, dword [rax + 8]
jmp 0x140015fce
mov rax, qword [rsp + 0x500]
add rax, 0x3098
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x58]
xor r8d, r8d
mov rcx, qword [rsp + 0x508]
mov rdx, qword [rcx]
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_CmCallbackGetKeyObjectIDEx]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jge 0x140015c91
xor eax, eax
jmp 0x140015fce
lea rax, [rsp + 0xa0]
mov rdi, rax
mov rsi, qword [rsp + 0x58]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov r8d, 3
lea rdx, [rsp + 0xa0]
mov rcx, qword [rsp + 0x500]
call fcn.140014800
movzx eax, al
test eax, eax
jne 0x140015cdc
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ntoskrnl.exe_CmCallbackReleaseKeyObjectIDEx]
xor eax, eax
jmp 0x140015fce
mov rax, qword [rsp + 0x508]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x48], rax
lea r9, [rsp + 0x70]
mov rax, qword [rsp + 0x48]
mov r8, qword [rax + 0x10]
mov rax, qword [rsp + 0x48]
mov edx, dword [rax + 0xc]
mov rcx, qword [rsp + 0x500]
call fcn.140015280
movzx eax, al
test eax, eax
jne 0x140015d29
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ntoskrnl.exe_CmCallbackReleaseKeyObjectIDEx]
xor eax, eax
jmp 0x140015fce
movzx eax, word [rsp + 0x70]
xor edx, edx
mov ecx, 2
div rcx
xor ecx, ecx
mov rdx, qword [rsp + 0x78]
mov word [rdx + rax*2], cx
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x6864694e
mov byte [rsp + 0x28], 0
mov rax, qword [sym.imp.ntoskrnl.exe_CmKeyObjectType]
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
mov edx, 0x200
mov rax, qword [rsp + 0x508]
mov rcx, qword [rax]
call qword [sym.imp.ntoskrnl.exe_ObOpenObjectByPointerWithTag]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jge 0x140015da8
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ntoskrnl.exe_CmCallbackReleaseKeyObjectIDEx]
xor eax, eax
jmp 0x140015fce
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x18]
mov r8d, eax
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0xb0]
call fcn.140004ab0
cmp qword [rsp + 0x60], 0
je 0x140015f85
mov dword [rsp + 0xc4], 3
mov rax, qword [rsp + 0x58]
movzx eax, word [rax]
xor edx, edx
mov ecx, 2
div rcx
mov r8, rax
mov rax, qword [rsp + 0x58]
mov rdx, qword [rax + 8]
lea rcx, [rsp + 0xc8]
call fcn.14000b490
movzx eax, byte [rsp + 0x40]
test eax, eax
je 0x140015f83
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 8]
add eax, dword [rsp + 0x54]
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x48]
mov ecx, dword [rcx + 0x18]
mov dword [rsp + 0x20], ecx
mov r9, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
mov r8d, dword [rcx + 0xc]
mov edx, eax
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ntoskrnl.exe_ZwEnumerateValueKey]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jge 0x140015e66
mov byte [rsp + 0x40], 0
jmp 0x140015e07
lea r9, [rsp + 0x70]
mov rax, qword [rsp + 0x48]
mov r8, qword [rax + 0x10]
mov rax, qword [rsp + 0x48]
mov edx, dword [rax + 0xc]
mov rcx, qword [rsp + 0x500]
call fcn.140015280
movzx eax, al
test eax, eax
jne 0x140015e95
mov byte [rsp + 0x40], 0
movzx eax, word [rsp + 0x70]
xor edx, edx
mov ecx, 2
div rcx
xor ecx, ecx
mov rdx, qword [rsp + 0x78]
mov word [rdx + rax*2], cx
mov eax, 2
imul rax, rax, 0
xor ecx, ecx
mov word [rsp + rax + 0x2c6], cx
movzx eax, word [rsp + 0x70]
xor edx, edx
mov ecx, 2
div rcx
mov r8, rax
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x2c6]
call fcn.14000b450
lea rdx, [rsp + 0xc0]
mov rcx, qword [rsp + 0x500]
call fcn.140014c40
movzx eax, al
test eax, eax
jne 0x140015f74
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x20]
mov ecx, dword [rsp + 0x50]
mov dword [rax], ecx
mov eax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
mov rdi, qword [rcx + 0x10]
mov rsi, qword [rsp + 0x60]
mov ecx, eax
rep movsb byte [rdi], byte [rsi]
jmp 0x140015f68
mov byte [rsp + 0x40], 0
jmp 0x140015e07
mov eax, dword [rsp + 0x54]
inc eax
mov dword [rsp + 0x54], eax
jmp 0x140015e07
jmp 0x140015f8d
mov dword [rsp + 0x44], 0
mov rax, qword [rsp + 0x508]
mov ecx, dword [rsp + 0x44]
mov dword [rax + 0x18], ecx
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ntoskrnl.exe_CmCallbackReleaseKeyObjectIDEx]
mov dword [rsp + 0x6c], 0
lea rcx, [rsp + 0xb0]
call fcn.140004bd0
mov eax, dword [rsp + 0x6c]
mov rcx, qword [rsp + 0x4d0]
xor rcx, rsp
call fcn.140018ca0
add rsp, 0x4e8
pop rdi
pop rsi
ret