Function at 0x180036770
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov qword [rsp + 0x80], 0xfffffffffffffffe
cmp qword [rsp + 0xa0], 0
je 0x1800367b7
cmp qword [rsp + 0xb0], 0
je 0x1800367b7
cmp qword [rsp + 0xb8], 0
jne 0x1800367c1
mov eax, 0x57
jmp 0x180036a9f
mov ecx, 0x400
call fcn.1800d4c50
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x48]
call fcn.1800011fe
nop
xor edx, edx
lea rcx, [rsp + 0x48]
call fcn.1800012df
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x400
mov r9, qword [rsp + 0x38]
mov r8d, 1
mov edx, dword [rsp + 0xa8]
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.ntdll.dll_ZwEnumerateValueKey]
mov dword [rsp + 0x40], eax
mov ecx, dword [rsp + 0x40]
call sub.ntdll.dll_RtlNtStatusToDosError
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
je 0x18003686c
mov ecx, dword [rsp + 0x58]
call fcn.1800357e0
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x68], eax
lea rcx, [rsp + 0x48]
call fcn.18000186b
mov eax, dword [rsp + 0x68]
jmp 0x180036a9f
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x38]
mov ecx, dword [rcx + 0x10]
cmp dword [rax], ecx
jae 0x1800368ab
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 0x367
lea rdx, [0x1801a7f78]
mov ecx, 2
call fcn.1800d5be0
cmp eax, 1
jne 0x1800368ab
int3
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x38]
mov ecx, dword [rcx + 0x10]
cmp dword [rax], ecx
jae 0x1800368da
mov dword [rsp + 0x6c], 0x57
lea rcx, [rsp + 0x48]
call fcn.18000186b
mov eax, dword [rsp + 0x6c]
jmp 0x180036a9f
mov rax, qword [rsp + 0xb8]
mov eax, dword [rax]
mov r8d, eax
xor edx, edx
mov rcx, qword [rsp + 0xb0]
call fcn.1800d63d0
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x10]
mov rcx, qword [rsp + 0x38]
add rcx, 0x14
mov rdx, qword [rsp + 0xb8]
mov edx, dword [rdx]
mov r9d, eax
mov r8, rcx
mov rcx, qword [rsp + 0xb0]
call fcn.1800d4a00
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x38]
mov ecx, dword [rcx + 0x10]
mov dword [rax], ecx
cmp qword [rsp + 0xc0], 0
jne 0x180036992
cmp qword [rsp + 0xc8], 0
je 0x180036977
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 0x372
lea rdx, [0x1801a7f98]
mov ecx, 2
call fcn.1800d5be0
cmp eax, 1
jne 0x180036977
int3
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x70], eax
lea rcx, [rsp + 0x48]
call fcn.18000186b
mov eax, dword [rsp + 0x70]
jmp 0x180036a9f
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x38]
mov ecx, dword [rcx + 0xc]
cmp dword [rax], ecx
jae 0x1800369d1
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 0x375
lea rdx, [0x1801a7fb8]
mov ecx, 2
call fcn.1800d5be0
cmp eax, 1
jne 0x1800369d1
int3
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x38]
mov ecx, dword [rcx + 0xc]
cmp dword [rax], ecx
jae 0x180036a00
mov dword [rsp + 0x74], 0x57
lea rcx, [rsp + 0x48]
call fcn.18000186b
mov eax, dword [rsp + 0x74]
jmp 0x180036a9f
mov rax, qword [rsp + 0xc8]
mov eax, dword [rax]
mov r8d, eax
xor edx, edx
mov rcx, qword [rsp + 0xc0]
call fcn.1800d63d0
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0xc]
mov qword [rsp + 0x88], rax
xor edx, edx
lea rcx, [rsp + 0x48]
call fcn.1800012df
mov rcx, qword [rsp + 0x38]
mov ecx, dword [rcx + 8]
add rax, rcx
mov rcx, qword [rsp + 0xc8]
mov ecx, dword [rcx]
mov rdx, qword [rsp + 0x88]
mov r9, rdx
mov r8, rax
mov edx, ecx
mov rcx, qword [rsp + 0xc0]
call fcn.1800d4a00
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x38]
mov ecx, dword [rcx + 0xc]
mov dword [rax], ecx
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x78], eax
lea rcx, [rsp + 0x48]
call fcn.18000186b
mov eax, dword [rsp + 0x78]
jmp 0x180036a9f
add rsp, 0x98
ret