Function at 0x7d714c10
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x120
lea eax, [ebp - 0x120]
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x120]
mov dword [ebp - 4], ecx
mov edx, dword [0x7d729fd0]
movzx eax, byte [edx]
and eax, 8
je 0x7d714ce1
mov ecx, 1
imul ecx, ecx, 0
movsx edx, byte [ecx + str.D:DevelopOne_CoreOne_Core_Apiwrappers_basekernelbase_wrapper_reg.c]
cmp edx, 0x2e
jne 0x7d714c5c
mov dword [ebp - 0x14], 0x12
jmp 0x7d714c63
mov dword [ebp - 0x14], 0x21
push 0x7d7262d0
push 0x6be
push 0x7d72a40c
mov eax, dword [ebp - 0x14]
add eax, str.D:DevelopOne_CoreOne_Core_Apiwrappers_basekernelbase_wrapper_reg.c
push eax
mov ecx, dword [0x7d729fd0]
push ecx
push 3
call fcn.7d721620
add esp, 0x18
cmp eax, 0xffffffff
je 0x7d714ce1
cmp dword [ebp + 0x10], 0
je 0x7d714ca1
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
mov dword [ebp - 0x20], eax
jmp 0x7d714ca8
mov dword [ebp - 0x20], 0
mov ecx, dword [ebp + 0x34]
push ecx
mov edx, dword [ebp + 0x30]
push edx
mov eax, dword [ebp + 0x2c]
push eax
mov ecx, dword [ebp + 0x28]
push ecx
mov edx, dword [ebp + 0x24]
push edx
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push str.__p__p__d__p__p__p__p__p__p__p__p__n
call fcn.7d721690
add esp, 0x30
cmp dword [ebp + 0xc], 0
je 0x7d714d00
cmp dword [ebp + 0x10], 0
jne 0x7d714d00
call fcn.7d716640
test eax, eax
je 0x7d714d00
mov eax, 0x57
jmp 0x7d714f85
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.7d716540
add esp, 8
mov dword [ebp + 8], eax
cmp dword [ebp + 8], 0
jne 0x7d714d21
mov eax, 6
jmp 0x7d714f85
lea ecx, [ebp - 0x10]
push ecx
push 0x100
lea edx, [ebp - 0x120]
push edx
push 2
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ntext.dll_NtQueryKey]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x7d714d54
cmp dword [ebp - 0xc], 0x80000005
je 0x7d714d54
jmp 0x7d714f64
cmp dword [ebp + 0xc], 0
jne 0x7d714d64
cmp dword [ebp + 0x10], 0
je 0x7d714e5f
cmp dword [ebp - 0xc], 0x80000005
jne 0x7d714dc6
lea ecx, [ebp - 0x120]
cmp dword [ebp - 8], ecx
je 0x7d714d84
mov edx, dword [ebp - 8]
push edx
call fcn.7d7165e0
add esp, 4
mov eax, dword [ebp - 0x10]
push eax
call fcn.7d7165c0
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x7d714da3
mov eax, 8
jmp 0x7d714f85
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], ecx
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
push 2
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ntext.dll_NtQueryKey]
mov dword [ebp - 0xc], eax
jmp 0x7d714d64
cmp dword [ebp - 0xc], 0
je 0x7d714dd1
jmp 0x7d714f64
cmp dword [ebp + 0xc], 0
je 0x7d714e3c
cmp dword [ebp + 0x10], 0
je 0x7d714e3c
mov eax, dword [ebp + 0x10]
cmp dword [eax], 0
je 0x7d714e3c
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
add eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.ntext.dll_RtlUnicodeToMultiByteN]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
cmp edx, dword [ebp - 0x18]
jne 0x7d714e2e
mov dword [ebp - 0xc], 0x80000005
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
sub ecx, 1
mov edx, dword [ebp + 0x10]
mov dword [edx], ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ebp + 0xc]
mov byte [edx + ecx], 0
jmp 0x7d714e5d
cmp dword [ebp + 0x10], 0
je 0x7d714e5d
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
add eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.ntext.dll_RtlUnicodeToMultiByteSize]
jmp 0x7d714e66
mov dword [ebp - 0xc], 0
cmp dword [ebp + 0x18], 0
je 0x7d714e77
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x14]
mov dword [edx], ecx
cmp dword [ebp + 0x1c], 0
je 0x7d714e8a
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x18]
shr eax, 1
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], eax
cmp dword [ebp + 0x20], 0
je 0x7d714e9d
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x1c]
shr eax, 1
mov ecx, dword [ebp + 0x20]
mov dword [ecx], eax
cmp dword [ebp + 0x24], 0
je 0x7d714eae
mov edx, dword [ebp + 0x24]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x20]
mov dword [edx], ecx
cmp dword [ebp + 0x28], 0
je 0x7d714ec1
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x24]
shr eax, 1
mov ecx, dword [ebp + 0x28]
mov dword [ecx], eax
cmp dword [ebp + 0x2c], 0
je 0x7d714ed2
mov edx, dword [ebp + 0x2c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x28]
mov dword [edx], ecx
cmp dword [ebp + 0x34], 0
je 0x7d714ee8
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov edx, dword [ebp + 0x34]
mov dword [edx], eax
mov dword [edx + 4], ecx
cmp dword [ebp + 0x30], 0
je 0x7d714f64
mov eax, dword [0x7d729fd0]
movzx ecx, byte [eax]
and ecx, 1
je 0x7d714f5b
mov edx, 1
imul edx, edx, 0
movsx eax, byte [edx + str.D:DevelopOne_CoreOne_Core_Apiwrappers_basekernelbase_wrapper_reg.c]
cmp eax, 0x2e
jne 0x7d714f18
mov dword [ebp - 0x1c], 0x12
jmp 0x7d714f1f
mov dword [ebp - 0x1c], 0x21
push 0x7d7262d0
push 0x6f1
push 0x7d72a40c
mov ecx, dword [ebp - 0x1c]
add ecx, str.D:DevelopOne_CoreOne_Core_Apiwrappers_basekernelbase_wrapper_reg.c
push ecx
mov edx, dword [0x7d729fd0]
push edx
push 0
call fcn.7d721620
add esp, 0x18
cmp eax, 0xffffffff
je 0x7d714f5b
push str.security_argument_not_supported._n
call fcn.7d721690
add esp, 4
mov eax, dword [ebp + 0x30]
mov dword [eax], 0
lea ecx, [ebp - 0x120]
cmp dword [ebp - 8], ecx
je 0x7d714f7b
mov edx, dword [ebp - 8]
push edx
call fcn.7d7165e0
add esp, 4
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ntext.dll_RtlNtStatusToDosError]
mov esp, ebp
pop ebp
ret 0x30